/* ==========================================================================
   Cliffer — Design Tokens
   ========================================================================== */
:root {
  --graphite:    #15181c;
  --charcoal:    #15181c;
  --slate:       #1e2229;
  --slate-mid:   #232830;
  --slate-line:  #343b45;
  --ivory:       #efede6;
  --ivory-dim:   #e2ded3;
  --steel:       #3e5c76;
  --steel-light: #6f8fac;
  --brass:       #b08d57;
  --brass-light: #c8a96e;
  --white:       #ffffff;

  /* Glass */
  --glass-bg:      rgba(255,255,255,0.05);
  --glass-border:  rgba(255,255,255,0.10);
  --glass-blur:    blur(20px);
  --glass-bg-med:  rgba(255,255,255,0.08);

  /* Type */
  --font-head: "Space Grotesk", "Arial Narrow", sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  /* Type scale */
  --step-xl: clamp(2.8rem, 5.8vw, 5.6rem);
  --step-lg: clamp(2rem,  3.6vw, 3.2rem);
  --step-md: clamp(1.4rem, 2vw,  1.9rem);
  --step-sm: 1.05rem;
  --step-xs: 0.85rem;

  /* Layout */
  --container: 1240px;
  --gutter:    clamp(20px, 5vw, 64px);
  --radius:    2px;

  /* Motion */
  --ease:        cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--graphite);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; cursor: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; cursor: none; }

@media (hover: none), (pointer: coarse) {
  body, a, button { cursor: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:focus-visible {
  outline: 2px solid var(--steel-light);
  outline-offset: 3px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: var(--step-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel-light);
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--brass);
  flex-shrink: 0;
}

/* ==========================================================================
   Section Utilities
   ========================================================================== */
.section {
  padding: clamp(72px, 10vw, 128px) 0;
}
.section--dark {
  background: var(--graphite);
  color: var(--ivory);
}
.section--slate {
  background: var(--slate-mid);
  color: var(--ivory);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: clamp(40px, 5vw, 64px);
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.section--dark .section-head,
.section--slate .section-head,
.features-section .section-head { border-bottom-color: rgba(255,255,255,0.08); }
.section-head h2 {
  font-family: var(--font-head);
  font-size: var(--step-lg);
  font-weight: 500;
  max-width: 14ch;
  line-height: 1.1;
}
.section-head .lede {
  max-width: 40ch;
  font-size: var(--step-sm);
  color: rgba(21,24,28,0.60);
}
.section--dark .section-head .lede,
.section--slate .section-head .lede,
.features-section .section-head .lede { color: rgba(239,237,230,0.60); }
.features-section .section-head h2,
.features-section .section-head .eyebrow { color: var(--ivory); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border: 1px solid var(--graphite);
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:hover { background: var(--graphite); color: var(--ivory); }
.btn--solid {
  background: var(--steel);
  border-color: var(--steel);
  color: var(--white);
}
.btn--solid:hover { background: var(--brass); border-color: var(--brass); }
.btn--light {
  border-color: rgba(239,237,230,0.35);
  color: var(--ivory);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
}
.btn--light:hover {
  background: var(--ivory);
  color: var(--graphite);
  border-color: var(--ivory);
}
.btn--glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--ivory);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}
.btn--glass:hover {
  background: rgba(176,141,87,0.2);
  border-color: var(--brass);
  color: var(--ivory);
}

/* ==========================================================================
   Custom Cursor — Two-ring system (desktop fine-pointer only)
   ========================================================================== */
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brass);
  z-index: 9999;
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 0;
  will-change: left, top;
  transition: opacity 0.3s var(--ease);
}
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(176, 141, 87, 0.7);
  z-index: 9998;
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 0;
  will-change: left, top, width, height;
  transition: width 0.35s var(--ease-spring), height 0.35s var(--ease-spring),
              border-color 0.3s var(--ease), opacity 0.3s var(--ease),
              background 0.3s var(--ease);
}
.cursor-dot.is-active  { opacity: 1; }
.cursor-ring.is-active { opacity: 1; }
.cursor-ring.is-hover  {
  width: 58px; height: 58px;
  border-color: rgba(176, 141, 87, 0.4);
  background: rgba(176, 141, 87, 0.06);
}
.cursor-ring.is-clicking {
  width: 24px; height: 24px;
  background: rgba(176, 141, 87, 0.25);
}
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: background 0.4s var(--ease), padding 0.35s var(--ease), box-shadow 0.35s var(--ease), backdrop-filter 0.4s var(--ease);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header.is-scrolled {
  background: rgba(21,24,28,0.80);
  backdrop-filter: blur(16px) saturate(1.8);
  -webkit-backdrop-filter: blur(16px) saturate(1.8);
  padding: 14px 0;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 4px 24px rgba(0,0,0,0.18);
}
.logo {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ivory);
  letter-spacing: 0.02em;
}
.logo span { color: var(--brass); }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  position: relative;
}
.nav-desktop a {
  color: rgba(239,237,230,0.85);
  font-size: 0.92rem;
  font-family: var(--font-head);
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  transition: color 0.25s var(--ease);
}
.nav-desktop a:hover { color: var(--ivory); }
.nav-desktop a.btn { padding: 12px 24px; white-space: nowrap; }
/* underline removed — sliding indicator handles this */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 32px;
  height: 22px;
  position: relative;
  padding: 0;
}
.nav-toggle span {
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  background: var(--ivory);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  border-radius: 2px;
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 10px; }
.nav-toggle span:nth-child(3) { top: 20px; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

.nav-mobile {
  position: fixed;
  inset: 0;
  background: rgba(21,24,28,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
  padding: 0 var(--gutter);
  transform: translateX(100%);
  transition: transform 0.5s var(--ease);
}
.nav-mobile.is-open { transform: translateX(0); }
.nav-mobile a {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  color: var(--ivory);
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}
.nav-mobile a:hover { color: var(--brass); transform: translateX(8px); }

.nav-indicator {
  position: absolute;
  bottom: -4px;
  height: 2px;
  background: var(--brass);
  width: 0;
  transition: transform 0.35s var(--ease), width 0.35s var(--ease);
  pointer-events: none;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  background: var(--graphite);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img, .hero-media video {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.5;
}
/* parallax wrapper so transform doesn't fight image-reveal opacity */
.hero-media-inner {
  position: absolute; inset: 0;
  will-change: transform;
}
.hero-media img.image-reveal { opacity: 0; transform: none; }
.hero-media img.image-reveal.is-loaded { opacity: 0.5; transform: none; }
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(
    170deg,
    rgba(21,24,28,0.2) 0%,
    rgba(21,24,28,0.35) 35%,
    rgba(21,24,28,0.75) 65%,
    rgba(21,24,28,0.97) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 var(--gutter) clamp(56px, 8vw, 96px);
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
}
.hero-content .eyebrow {
  color: var(--steel-light);
  margin-bottom: 24px;
}
.hero-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: var(--step-xl);
  color: var(--ivory);
  line-height: 1.02;
  max-width: 16ch;
  position: relative;
  display: inline-block;
  letter-spacing: -0.02em;
}
.hero-title .draw-line {
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 20px;
  background: linear-gradient(90deg, var(--brass) 0%, var(--brass-light) 60%, transparent 100%);
  transform-origin: left;
  transform: scaleX(0);
}
.hero-sub {
  margin-top: 28px;
  max-width: 50ch;
  color: rgba(239,237,230,0.72);
  font-size: var(--step-sm);
  line-height: 1.65;
}
.hero-actions {
  margin-top: 40px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero glass floating stats */
.hero-floaters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 48px;
}
.hero-floater {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 50px;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.hero-floater:hover {
  background: rgba(176,141,87,0.12);
  border-color: rgba(176,141,87,0.3);
  transform: translateY(-3px);
}
.hero-floater-num {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brass-light);
  line-height: 1;
}
.hero-floater-label {
  font-size: 0.78rem;
  color: rgba(239,237,230,0.7);
  font-family: var(--font-head);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  right: var(--gutter);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(239,237,230,0.4);
  font-family: var(--font-head);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, var(--brass), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.15); }
}

/* ==========================================================================
   Stats Bar
   ========================================================================== */
.stats-bar {
  background: var(--graphite);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: clamp(36px, 5vw, 56px) 0;
  position: relative;
  overflow: hidden;
}
.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 100% at 20% 50%, rgba(176,141,87,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 60% 100% at 80% 50%, rgba(62,92,118,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 20px;
  border-right: 1px solid rgba(255,255,255,0.07);
  transition: background 0.3s var(--ease);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(255,255,255,0.03); }
.stat-value {
  display: flex;
  align-items: baseline;
  gap: 2px;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-number {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--ivory);
  letter-spacing: -0.03em;
}
.stat-suffix {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  font-weight: 600;
  color: var(--brass);
}
.stat-label {
  font-family: var(--font-head);
  font-size: 0.75rem;
  color: rgba(239,237,230,0.45);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

/* ==========================================================================
   Feature Grid ("What Sets Cliffer Apart") — Glassmorphic Dark
   ========================================================================== */
.features-section {
  background: var(--graphite);
  color: var(--ivory);
  padding: clamp(72px, 10vw, 128px) 0;
  position: relative;
  overflow: hidden;
}
/* Radial glow mesh behind the cards */
.features-section::before {
  content: '';
  position: absolute;
  top: -30%; left: 50%;
  transform: translateX(-50%);
  width: min(900px, 100vw);
  height: min(900px, 100vw);
  background: radial-gradient(circle at center,
    rgba(176,141,87,0.09) 0%,
    rgba(62,92,118,0.06) 40%,
    transparent 70%
  );
  pointer-events: none;
  animation: meshPulse 8s ease-in-out infinite;
}
.features-section::after {
  content: '';
  position: absolute;
  bottom: -20%; left: 10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(62,92,118,0.08) 0%, transparent 65%);
  pointer-events: none;
}
@keyframes meshPulse {
  0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(1); }
  50%       { opacity: 1;   transform: translateX(-50%) scale(1.08); }
}

.feature-grid {
  display: flex;
  gap: 20px;
  align-items: stretch;
  width: 100%;
  position: relative;
  z-index: 1;
}

.feature {
  flex: 1 1 0px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 3.5vw, 44px) clamp(20px, 2.5vw, 36px);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-top: 2px solid rgba(176,141,87,0.35);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: 4px;
  position: relative;
  cursor: default;
  overflow: hidden;
  transition:
    transform 0.65s var(--ease-spring),
    opacity 0.5s ease,
    box-shadow 0.65s ease,
    border-color 0.4s ease,
    background 0.4s ease;
}

/* Large watermark number */
.feature-num {
  position: absolute;
  top: -10px; right: 16px;
  font-family: var(--font-head);
  font-size: clamp(4.5rem, 8vw, 7rem);
  font-weight: 700;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  letter-spacing: -0.05em;
  pointer-events: none;
  transition: color 0.4s ease;
  user-select: none;
}

/* Corner bracket detail */
.feature::before {
  content: "";
  position: absolute;
  top: 16px; left: 16px;
  width: 10px; height: 10px;
  border-top: 1.5px solid rgba(176,141,87,0.5);
  border-left: 1.5px solid rgba(176,141,87,0.5);
  transition: border-color 0.4s ease, transform 0.55s var(--ease-spring);
}

@media (min-width: 901px) {
  .feature-grid:hover .feature {
    opacity: 0.55;
    transform: scale(0.975);
  }
  .feature-grid .feature:hover {
    opacity: 1;
    transform: scale(1.025);
    z-index: 5;
    background: rgba(255,255,255,0.09);
    border-color: rgba(176,141,87,0.5);
    border-top-color: var(--brass);
    box-shadow:
      0 24px 64px rgba(0,0,0,0.35),
      0 0 0 1px rgba(176,141,87,0.15),
      inset 0 1px 0 rgba(255,255,255,0.08);
  }
  .feature-grid .feature:hover .feature-num {
    color: rgba(176,141,87,0.12);
  }
  .feature-grid .feature:hover::before {
    border-color: var(--brass);
    transform: translate(-4px, -4px);
  }
  .feature-grid .feature:hover .feature-visual {
    transform: scale(1.04) translateY(-3px);
  }
  .feature-grid .feature:hover .feature-content p {
    color: rgba(239,237,230,0.85);
  }
}

.feature-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.feature-index {
  font-family: var(--font-head);
  font-size: var(--step-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--brass);
}
.feature[data-feature="finish"] .feature-index { color: var(--steel-light); }
.feature[data-feature="reinforcement"] .feature-index { color: rgba(239,237,230,0.6); }

.feature-badge {
  font-family: var(--font-body);
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(176,141,87,0.12);
  color: var(--brass-light);
  font-weight: 500;
  border: 1px solid rgba(176,141,87,0.2);
  letter-spacing: 0.03em;
}
.feature[data-feature="finish"] .feature-badge {
  background: rgba(111,143,172,0.12);
  color: var(--steel-light);
  border-color: rgba(111,143,172,0.2);
}
.feature[data-feature="reinforcement"] .feature-badge {
  background: rgba(255,255,255,0.07);
  color: rgba(239,237,230,0.7);
  border-color: rgba(255,255,255,0.1);
}

.feature-content h3 {
  font-family: var(--font-head);
  font-size: var(--step-md);
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--ivory);
  letter-spacing: -0.01em;
}
.feature-content p {
  font-size: 0.9rem;
  color: rgba(239,237,230,0.6);
  line-height: 1.65;
  transition: color 0.5s ease;
}

/* Feature internal visuals */
.feature-visual {
  margin: 24px 0 20px;
  transition: transform 0.65s var(--ease-spring);
}
.visual-canvas {
  height: 100px;
  border-radius: 6px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0 12px;
}
.visual-sound {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}
.visual-laser {
  background: rgba(21,24,28,0.6);
  border: 1px solid rgba(255,255,255,0.08);
}
.visual-steel {
  background: rgba(35,40,48,0.8);
  border: 1px solid rgba(255,255,255,0.08);
}
.visual-pill {
  position: absolute;
  bottom: 8px; right: 10px;
  font-family: var(--font-head);
  font-size: 0.65rem;
  letter-spacing: 0.07em;
  font-weight: 700;
  color: var(--brass-light);
  text-transform: uppercase;
}
.visual-laser .visual-pill { color: var(--brass-light); }
.visual-steel .visual-pill { color: #a0aec0; }

.feature-svg { width: 100%; max-height: 56px; }

.sound-wave-bar {
  transform-origin: center;
  animation: soundWaveBounce 1.8s ease-in-out infinite alternate;
}
@keyframes soundWaveBounce {
  0%   { transform: scaleY(0.25); opacity: 0.35; }
  100% { transform: scaleY(1);    opacity: 1; }
}
.laser-track {
  stroke-dasharray: 180;
  animation: laserTrackDraw 3.2s var(--ease) infinite;
}
@keyframes laserTrackDraw {
  0%   { stroke-dashoffset: 180; opacity: 0; }
  20%  { opacity: 1; }
  80%  { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0.3; }
}
.laser-weld-point { animation: weldBeacon 3.2s var(--ease) infinite; }
@keyframes weldBeacon {
  0%,45%   { opacity: 0; transform: scale(0.5); }
  60%      { opacity: 1; transform: scale(1.4); }
  80%,100% { opacity: 0.4; transform: scale(1); }
}
.steel-ghost-frame {
  width: 100%; height: 52px;
  border: 1px dashed rgba(111,143,172,0.3);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}
.steel-core-bar {
  width: 100%; height: 34px;
  border-radius: 2px;
  background: linear-gradient(90deg, #4a5568 0%, #cbd5e0 40%, #e2e8f0 50%, #4a5568 80%, #2d3748 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.2);
}
.steel-core-bar::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.65), transparent);
  transform: translateX(-150%) skewX(-20deg);
  animation: steelGleam 2.8s cubic-bezier(0.4,0,0.2,1) infinite;
}
@keyframes steelGleam {
  0%,25% { transform: translateX(-150%) skewX(-20deg); }
  75%,100% { transform: translateX(150%) skewX(-20deg); }
}
.steel-text {
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #1a202c;
}
.steel-thickness {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brass);
}
.feature-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.spec-label {
  font-family: var(--font-head);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: rgba(239,237,230,0.4);
  font-weight: 600;
  text-transform: uppercase;
}
.spec-value {
  font-size: 0.82rem;
  color: rgba(239,237,230,0.8);
  font-weight: 500;
}

/* ==========================================================================
   Product Grid (Doors / Windows)
   ========================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2px;
  background: rgba(239,237,230,0.06);
}
.product-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--slate-mid);
  display: block;
}
.product-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.product-card:hover img { transform: scale(1.09); }
.product-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(21,24,28,0) 30%, rgba(21,24,28,0.92) 100%);
  z-index: 1;
  transition: opacity 0.4s var(--ease);
}
.product-card:hover::before { opacity: 0.85; }
.product-label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 22px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateY(6px);
  transition: transform 0.4s var(--ease);
}
.product-card:hover .product-label { transform: translateY(0); }
.product-label span {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ivory);
  letter-spacing: 0.01em;
}
.product-label .arrow {
  color: var(--brass);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  font-size: 1.1rem;
}
.product-card:hover .product-label .arrow {
  opacity: 1;
  transform: translateX(0);
}
.grid-more { text-align: center; margin-top: 32px; }

/* ==========================================================================
   Clients Strip — Glass cards, seamless marquee, fade masks
   ========================================================================== */
.clients {
  background: var(--slate);
  padding: clamp(56px, 7vw, 88px) 0 clamp(48px, 6vw, 72px);
  overflow: hidden;
  position: relative;
}
.clients-header { margin-bottom: 40px; }
.clients-header .eyebrow { margin-bottom: 14px; }
.clients-header h2 {
  font-family: var(--font-head);
  font-size: var(--step-md);
  font-weight: 600;
  color: var(--ivory);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.clients-header .lede {
  max-width: 48ch;
  color: rgba(239,237,230,0.55);
  font-size: 0.95rem;
}

/* Marquee wrapper with fade masks */
.clients-marquee {
  position: relative;
}
.clients-marquee::before,
.clients-marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: clamp(60px, 8vw, 120px);
  z-index: 2;
  pointer-events: none;
}
.clients-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--slate) 0%, transparent 100%);
}
.clients-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--slate) 0%, transparent 100%);
}

.clients-track {
  display: flex;
  align-items: center;
  animation: scroll-left 32s linear infinite;
  will-change: transform;
  width: max-content;
}
@media (hover: hover) and (pointer: fine) {
  .clients-marquee:hover .clients-track { animation-play-state: paused; }
}

/* Each set of logos */
.clients-set {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-shrink: 0;
  padding-right: 16px;
}

@keyframes scroll-left {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

.client-logo {
  width: clamp(140px, 16vw, 200px);
  height: 88px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 4px;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.client-logo:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(176,141,87,0.25);
}
.client-logo img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.55;
  transition: opacity 0.3s var(--ease);
}
.client-logo:hover img { opacity: 0.9; }

/* ==========================================================================
   Split Promo (Doors / Windows) — Enhanced glass overlay
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.split-panel {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  padding: clamp(32px, 4vw, 56px);
  color: var(--ivory);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  transition: flex 0.6s var(--ease);
}
.split-panel::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(
    160deg,
    rgba(21,24,28,0.05) 0%,
    rgba(21,24,28,0.5) 50%,
    rgba(21,24,28,0.92) 100%
  );
  transition: background 0.5s var(--ease);
}
.split-panel:hover::before {
  background: linear-gradient(
    160deg,
    rgba(21,24,28,0.1) 0%,
    rgba(21,24,28,0.4) 40%,
    rgba(21,24,28,0.85) 100%
  );
}
.split-panel-inner {
  position: relative;
  z-index: 1;
  padding: 28px 32px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-left: 2px solid var(--brass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 2px;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.split-panel:hover .split-panel-inner {
  background: rgba(255,255,255,0.09);
  border-color: rgba(176,141,87,0.3);
  border-left-color: var(--brass-light);
}
.split-panel h3 {
  font-family: var(--font-head);
  font-size: var(--step-lg);
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.split-panel p {
  max-width: 36ch;
  color: rgba(239,237,230,0.75);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 20px;
}
.contact-detail dt {
  font-family: var(--font-head);
  font-size: 0.8rem;
  color: var(--steel-light);
  margin-bottom: 6px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.contact-detail dd { margin: 0; font-size: 1.05rem; line-height: 1.6; }
.map-frame {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #0f1114;
  color: rgba(239,237,230,0.6);
  padding: 64px 0 28px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-logo {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ivory);
  letter-spacing: -0.01em;
}
.footer-logo::after {
  content: '.';
  color: var(--brass);
}
.footer-accordions {
  display: flex;
  gap: clamp(24px, 5vw, 72px);
  flex-wrap: wrap;
}
.accordion { min-width: 180px; }
.accordion-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  color: var(--ivory);
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 0;
  transition: color 0.2s var(--ease);
}
.accordion-trigger:hover { color: var(--brass-light); }
.accordion-trigger .plus {
  transition: transform 0.35s var(--ease), color 0.2s var(--ease);
  font-size: 1.1rem;
  color: rgba(239,237,230,0.4);
}
.accordion.is-open .accordion-trigger .plus {
  transform: rotate(45deg);
  color: var(--brass);
}
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
  font-size: 0.88rem;
  line-height: 1.8;
  color: rgba(239,237,230,0.55);
}
.accordion-panel > div { padding: 12px 0 4px; }
.accordion-panel a { transition: color 0.2s var(--ease); }
.accordion-panel a:hover { color: var(--brass-light); }
.accordion.is-open .accordion-panel { max-height: 260px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.82rem;
  color: rgba(239,237,230,0.35);
}

/* WhatsApp FAB */
.whatsapp-fab {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 80;
  box-shadow: 0 8px 28px rgba(37,211,102,0.35);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 36px rgba(37,211,102,0.45);
}
.whatsapp-fab svg { width: 28px; height: 28px; fill: #fff; }

/* ==========================================================================
   Product Detail Pages
   ========================================================================== */
.breadcrumb {
  padding: 110px var(--gutter) 0;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  font-size: 0.82rem;
  color: rgba(21,24,28,0.45);
  font-family: var(--font-head);
  letter-spacing: 0.02em;
}
.breadcrumb a:hover { color: var(--steel); }
.breadcrumb .sep { margin: 0 8px; color: rgba(21,24,28,0.25); }

.product-hero { padding: 28px 0 0; }
.product-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.product-hero-media {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 4px;
}
.product-hero-media::before {
  content: "";
  position: absolute; top: 14px; left: 14px;
  width: 12px; height: 12px;
  border-top: 1px solid var(--brass);
  border-left: 1px solid var(--brass);
  z-index: 1;
}
.product-hero-media::after {
  content: "";
  position: absolute; bottom: 14px; right: 14px;
  width: 12px; height: 12px;
  border-bottom: 1px solid var(--brass);
  border-right: 1px solid var(--brass);
  z-index: 1;
}
.product-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.product-hero-title {
  font-family: var(--font-head);
  font-size: var(--step-lg);
  font-weight: 600;
  max-width: 12ch;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.product-hero-copy {
  font-size: 1.05rem;
  color: rgba(21,24,28,0.68);
  max-width: 52ch;
  margin-bottom: 28px;
  line-height: 1.65;
}
.spec-list {
  margin-top: 36px;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.spec-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.spec-row dt {
  font-family: var(--font-head);
  font-size: 0.82rem;
  color: var(--steel);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.spec-row dd { margin: 0; font-size: 0.92rem; color: rgba(21,24,28,0.75); }

.detail-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.detail-feature h4 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--ivory);
}
.detail-feature p {
  font-size: 0.9rem;
  color: rgba(239,237,230,0.65);
  line-height: 1.65;
}

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: 40px clamp(24px, 4vw, 56px);
  border: 1px solid rgba(62,92,118,0.4);
  border-left: 3px solid var(--brass);
  background: rgba(62,92,118,0.06);
  border-radius: 4px;
}
.cta-banner h3 {
  font-family: var(--font-head);
  font-size: var(--step-md);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(21,24,28,0.08);
}

/* ==========================================================================
   Curtain
   ========================================================================== */
.curtain {
  position: fixed; inset: 0;
  z-index: 200;
  background: var(--graphite);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.75s var(--ease);
}
.curtain span {
  font-family: var(--font-head);
  color: var(--brass);
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}
.curtain.is-hidden { transform: translateY(-100%); }
.no-js .curtain { display: none; }

/* ==========================================================================
   Scroll reveals
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: calc(var(--reveal-i, 0) * 80ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Tilt cards + magnetic buttons
   ========================================================================== */
.tilt-card {
  --mx: 50%; --my: 50%;
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
}
.tilt-card::after {
  content: "";
  position: absolute; inset: 0;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(240px circle at var(--mx) var(--my), rgba(176,141,87,0.18), transparent 65%);
  transition: opacity 0.35s var(--ease);
}
.tilt-card:hover::after { opacity: 1; }
.product-card.tilt-card:hover img { transform: scale(1.09); }
.btn.magnetic {
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery-section {
  background: var(--graphite);
  color: var(--ivory);
  border-top: 1px solid rgba(239,237,230,0.06);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.gallery-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid rgba(239,237,230,0.08);
  background: var(--graphite);
  cursor: none;
  overflow: hidden;
  text-align: left;
  aspect-ratio: 1/1;
  border-radius: 6px;
  transition: border-color 0.3s var(--ease), transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease);
}
.gallery-card:hover, .gallery-card:focus-visible {
  border-color: var(--brass);
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(176,141,87,0.2);
  outline: none;
}
.gallery-card .gallery-media { position: relative; width: 100%; height: 100%; overflow: hidden; }
.gallery-card img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.55s var(--ease);
}
.gallery-card:hover img { transform: scale(1.07); }
.gallery-overlay { display: none; }

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox {
  position: fixed; inset: 0;
  z-index: 9999;
  background: rgba(8,10,14,0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-dialog {
  position: relative;
  max-width: 92vw; max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: scale(0.95);
  transition: transform 0.35s var(--ease);
}
.lightbox.is-open .lightbox-dialog { transform: scale(1); }
.lightbox-img-wrap {
  position: relative;
  max-width: 100%; max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.8);
  border: 1px solid rgba(239,237,230,0.1);
  background: var(--graphite);
}
.lightbox-img {
  max-width: 90vw; max-height: 78vh;
  width: auto; height: auto;
  object-fit: contain; display: block;
}
.lightbox-caption {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(239,237,230,0.7);
  font-family: var(--font-head);
  font-size: 0.88rem;
  letter-spacing: 0.03em;
}
.lightbox-btn {
  background: rgba(30,35,42,0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(239,237,230,0.15);
  color: var(--ivory);
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
  position: absolute;
}
.lightbox-btn:hover { background: var(--brass); border-color: var(--brass); transform: scale(1.1); }
.lightbox-close { top: 20px; right: 20px; position: fixed; z-index: 10; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); position: fixed; z-index: 10; }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); position: fixed; z-index: 10; }
.lightbox-prev:hover { transform: translateY(-50%) scale(1.1); }
.lightbox-next:hover { transform: translateY(-50%) scale(1.1); }

/* ==========================================================================
   Marquee Text Band
   ========================================================================== */
.text-band {
  background: var(--brass);
  overflow: hidden;
  padding: 18px 0;
  position: relative;
}
.text-band-track {
  display: flex;
  gap: 0;
  animation: textScroll 18s linear infinite;
  will-change: transform;
  width: max-content;
}
.text-band-set {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  white-space: nowrap;
}
.text-band-item {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--graphite);
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.text-band-item::after {
  content: "✦";
  font-size: 0.6rem;
  opacity: 0.5;
}
@keyframes textScroll {
  from { transform: translate3d(0,0,0); }
  to   { transform: translate3d(-50%,0,0); }
}

/* ==========================================================================
   Process Section — How We Build
   ========================================================================== */
.process-section {
  background: var(--ivory);
  color: var(--graphite);
  padding: clamp(72px, 10vw, 128px) 0;
  position: relative;
  overflow: hidden;
}
.process-section::before {
  content: 'PROCESS';
  position: absolute;
  right: -40px; top: 50%;
  transform: translateY(-50%) rotate(90deg);
  font-family: var(--font-head);
  font-size: clamp(5rem, 12vw, 10rem);
  font-weight: 800;
  color: rgba(21,24,28,0.03);
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  position: relative;
  counter-reset: step;
  margin-top: clamp(40px, 5vw, 64px);
}
.process-step {
  padding: clamp(28px, 3vw, 44px) clamp(20px, 2vw, 32px);
  background: #fff;
  border-top: 2px solid transparent;
  position: relative;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.45s var(--ease-spring);
  counter-increment: step;
}
.process-step:hover {
  border-top-color: var(--brass);
  background: #fafaf8;
  transform: translateY(-4px);
}
.process-step-num {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(21,24,28,0.06);
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -0.05em;
}
.process-step-icon {
  width: 40px; height: 40px;
  margin-bottom: 18px;
  color: var(--brass);
}
.process-step h4 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--graphite);
}
.process-step p {
  font-size: 0.88rem;
  color: rgba(21,24,28,0.6);
  line-height: 1.65;
}
.process-connector {
  position: absolute;
  top: 60px; right: -1px;
  width: 2px; height: 24px;
  background: rgba(176,141,87,0.2);
}
.process-step:last-child .process-connector { display: none; }

/* ==========================================================================
   Material Callout — Full-bleed editorial strip
   ========================================================================== */
.material-section {
  position: relative;
  min-height: 560px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}
.material-image {
  position: relative;
  overflow: hidden;
}
.material-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.material-section:hover .material-image img { transform: scale(1.04); }
.material-image::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 60%, var(--graphite) 100%);
}
.material-copy {
  background: var(--graphite);
  color: var(--ivory);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 5vw, 80px) clamp(32px, 4vw, 64px);
  position: relative;
  z-index: 1;
}
.material-copy .eyebrow { margin-bottom: 24px; }
.material-copy h2 {
  font-family: var(--font-head);
  font-size: var(--step-lg);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--ivory);
}
.material-copy h2 em {
  font-style: normal;
  color: var(--brass-light);
}
.material-copy p {
  font-size: 0.98rem;
  color: rgba(239,237,230,0.7);
  line-height: 1.7;
  max-width: 44ch;
  margin-bottom: 32px;
}
.material-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 36px;
}
.material-spec {
  padding: 16px 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 2px solid var(--brass);
  border-radius: 2px;
}
.material-spec-val {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ivory);
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}
.material-spec-label {
  font-size: 0.72rem;
  color: rgba(239,237,230,0.45);
  font-family: var(--font-head);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ==========================================================================
   Testimonial / Trust section
   ========================================================================== */
.trust-section {
  background: var(--slate-mid);
  color: var(--ivory);
  padding: clamp(72px, 10vw, 112px) 0;
  position: relative;
  overflow: hidden;
}
.trust-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 50% 80% at 0% 50%, rgba(176,141,87,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 100% 50%, rgba(62,92,118,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}
.trust-card {
  padding: clamp(24px, 3vw, 36px);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 2px solid rgba(176,141,87,0.3);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: background 0.3s var(--ease), border-top-color 0.3s var(--ease), transform 0.4s var(--ease-spring);
}
.trust-card:hover {
  background: rgba(255,255,255,0.07);
  border-top-color: var(--brass);
  transform: translateY(-4px);
}
.trust-quote {
  font-size: 0.95rem;
  color: rgba(239,237,230,0.8);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}
.trust-quote::before {
  content: '\201C';
  font-family: var(--font-head);
  font-size: 2.5rem;
  color: var(--brass);
  line-height: 0.5;
  display: block;
  margin-bottom: 12px;
  font-style: normal;
}
.trust-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.trust-author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--steel) 0%, var(--brass) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ivory);
  flex-shrink: 0;
}
.trust-author-name {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ivory);
  line-height: 1.2;
}
.trust-author-role {
  font-size: 0.75rem;
  color: rgba(239,237,230,0.45);
  letter-spacing: 0.03em;
}

/* ==========================================================================
   Scroll-edge settle animations
   ========================================================================== */
body.edge-top .hero       { animation: settle-from-top 0.8s var(--ease) both; }
body.edge-bottom .site-footer { animation: settle-from-bottom 0.8s var(--ease) both; }
@keyframes settle-from-top    { 0% { transform: translateY(8px); } 100% { transform: translateY(0); } }
@keyframes settle-from-bottom { 0% { transform: translateY(-8px); } 100% { transform: translateY(0); } }

/* ==========================================================================
   Image reveal
   ========================================================================== */
.image-reveal {
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 0.75s var(--ease), transform 0.95s var(--ease);
  transition-delay: var(--image-delay, 0ms);
}
.image-reveal.is-loaded { opacity: 1; transform: scale(1); }
.hero-media img.image-reveal { opacity: 0; }
.hero-media img.image-reveal.is-loaded { opacity: 0.5; }
img.image-reveal {
  transition: opacity 0.75s var(--ease), transform 0.95s var(--ease);
  transition-delay: var(--image-delay, 0ms);
}

/* Performance: GPU layers for animated elements only */
.clients-track, .cursor-dot, .cursor-ring { will-change: transform; }
.hero-media img { will-change: transform; }

/* ==========================================================================
   Reduced Motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .curtain { display: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .tilt-card { transform: none !important; }
  .cursor-dot, .cursor-ring { display: none; }
  body.edge-top .hero, body.edge-bottom .site-footer { animation: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid rgba(255,255,255,0.07); border-right: 1px solid rgba(255,255,255,0.07); }
  .stat-item:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.07); border-right: none; }
}

@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: block; }
  .split { grid-template-columns: 1fr; }
  .split-panel { min-height: 380px; }

  .feature-grid { flex-direction: column; gap: 16px; }
  .feature {
    flex: none;
    width: 100%;
    opacity: 0.75;
    transform: scale(0.97);
    transition: opacity 0.55s var(--ease-spring), transform 0.55s var(--ease-spring), border-color 0.4s ease, box-shadow 0.55s ease, background 0.4s ease;
  }
  .feature.is-active {
    opacity: 1;
    transform: scale(1);
    background: rgba(255,255,255,0.09);
    border-top-color: var(--brass);
    border-color: rgba(176,141,87,0.4);
    box-shadow: 0 20px 56px rgba(0,0,0,0.3);
  }
  .feature.is-active .feature-num { color: rgba(176,141,87,0.1); }
  .feature.is-active::before { border-color: var(--brass); transform: translate(-4px,-4px); }

  .contact-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .product-hero-grid { grid-template-columns: 1fr; }
  .product-hero-grid .product-hero-media { order: -1; aspect-ratio: 16/9; }
  .detail-features { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
  .lightbox-btn { width: 42px; height: 42px; }
  .hero-floaters { gap: 8px; }
  .hero-floater { padding: 10px 16px; }

  /* New sections responsive */
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(2) .process-connector { display: none; }
  .material-section { grid-template-columns: 1fr; min-height: auto; }
  .material-image { height: 300px; }
  .material-image::after { background: linear-gradient(180deg, transparent 40%, var(--graphite) 100%); }
  .trust-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-floaters { display: none; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 2px; }
  .product-grid:has(> .product-card:nth-child(odd):last-child)::after { content: ""; }
  .section--dark .product-grid:has(> .product-card:nth-child(odd):last-child)::after { background: var(--graphite); }
  .section:not(.section--dark) .product-grid:has(> .product-card:nth-child(odd):last-child)::after { background: var(--ivory); }
  .section--slate .product-grid:has(> .product-card:nth-child(odd):last-child)::after { background: var(--slate-mid); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .footer-top { flex-direction: column; }
  .footer-accordions { width: 100%; gap: 16px; }
  .accordion { min-width: 0; flex: 1 1 40%; }
  .accordion-trigger { width: max-content; justify-content: flex-start; gap: 12px; }
  .breadcrumb { padding-top: 100px; }
  .cta-banner { flex-direction: column; align-items: flex-start; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-close { top: 12px; right: 12px; }
  .split-panel-inner { padding: 20px 20px; }
  .hero-scroll { display: none; }
  .process-steps { grid-template-columns: 1fr; }
  .material-specs { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
}
