/* ================================================
   HOME — Premium Hero + Sections
   Editorial composition: asymmetric left-aligned typography
   ================================================ */

/* ===== Hero Image Treatment ===== */
.cinematic-hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background: #080A0E;
}

.cinematic-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cinematic-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 20s ease-out;
  will-change: transform;
}

.cinematic-media.ken-burns img {
  transform: scale(1.06);
}

/* Cinematic dark gradient overlay
   Left darker for headline, right retains image, bottom for info card
   Cleaner left-to-right treatment — simpler vignette, not complex diagonal */
.cinematic-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    /* Left/centre — headline area (dark zone) */
    linear-gradient(to right,
      rgba(8, 10, 14, 0.82) 0%,
      rgba(8, 10, 14, 0.62) 14%,
      rgba(8, 10, 14, 0.40) 30%,
      rgba(8, 10, 14, 0.22) 46%,
      rgba(8, 10, 14, 0.10) 62%,
      rgba(8, 10, 14, 0.04) 76%,
      transparent 100%
    ),
    /* Bottom — subtle for info card shelf */
    linear-gradient(to bottom,
      transparent 48%,
      rgba(8, 10, 14, 0.06) 66%,
      rgba(8, 10, 14, 0.16) 100%
    ),
    /* Slight top darkening for navbar area */
    linear-gradient(to bottom,
      rgba(8, 10, 14, 0.30) 0%,
      rgba(8, 10, 14, 0.14) 8%,
      transparent 22%
    );
}
/* ===== Grain overlay on hero ===== */
.cinematic-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  mix-blend-mode: overlay;
}

/* ===== Editorial Content Composition ===== */
.cinematic-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 8vw;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Left column: brand statement — left aligned, left 55% */
.hero-statement {
  position: relative;
  z-index: 2;
  max-width: 640px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-statement__eyebrow {
  margin-bottom: 22px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-statement__eyebrow.revealed {
  opacity: 1;
  transform: translateY(0);
}

.hero-title {
  font-size: clamp(52px, 8vw, 110px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: #FAFAF7;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.1s, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
}
.hero-title.revealed {
  opacity: 1;
  transform: translateY(0);
}
.hero-title .engraved-heading {
  background: linear-gradient(180deg,
    #F97316 0%,
    #F97316 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-style: italic;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.8)) drop-shadow(0 6px 18px rgba(249,115,22,0.3));
  line-height: 0.92;
}

.hero-sub {
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
  max-width: 560px;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.25s, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
}
.hero-sub.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* CTA buttons */
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.4s, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.4s;
}
.hero-cta.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Trust pills under CTAs */
.hero-trust {
  margin-top: 18px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.5s, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.5s;
}
.hero-trust.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Right column: glass info card (bottom-right) ===== */
.hero-metadata {
  position: absolute;
  right: 8vw;
  bottom: 60px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: flex-end;
}

.metadata-panel {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 32px 34px;
  min-width: 240px;
  max-width: 280px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.20);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s var(--ease-out);
  opacity: 0;
  transform: translateY(18px);
}
.metadata-panel.revealed {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}
.metadata-panel:hover {
  border-color: rgba(249, 115, 22, 0.4);
  box-shadow: 0 8px 36px rgba(0,0,0,0.28), 0 0 24px rgba(249,115,22,0.12);
  transform: translateY(-2px);
}

.metadata-panel__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.metadata-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.50);
}

.metadata-value {
  font-size: 15px;
  font-weight: 500;
  color: #FFFFFF;
  text-align: right;
  letter-spacing: -0.01em;
}

.metadata-divider {
  width: 28px;
  height: 1px;
  background: rgba(255, 255, 255, 0.10);
  margin: 10px 0;
}

.metadata-footer {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.metadata-contact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 3px 0;
}

.metadata-contact .metadata-label {
  font-size: 10px;
}

.metadata-link {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--brand);
  text-decoration: none;
  transition: color 0.2s ease;
}
.metadata-link:hover {
  color: #FB923C;
  text-decoration: underline;
}

/* Stats strip moved BELOW hero (separate section, see below) */
.hero-score-strip {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0;
}

.score-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-right: 20px;
}
.score-item:last-child { padding-right: 0; }

.score-value {
  font-family: "Archivo Expanded", "Space Grotesk", sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.03em;
  line-height: 1;
}

.score-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
}

.score-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.10);
  margin: 0 18px 0 22px;
}

/* ===== Stats strip section (below hero) ===== */
.stats-strip-section {
  background: #0D0F12;
  padding: 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.stats-strip-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

/* ===== Geometric accent ===== */
.hero-geometry {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.geometry-line {
  position: absolute;
}

.geometry-line--top {
  top: 120px;
  left: 6vw;
  right: 6vw;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(249, 115, 22, 0.12) 25%,
    rgba(249, 115, 22, 0.12) 75%,
    transparent);
}

.geometry-line--left {
  top: 160px;
  left: 4vw;
  bottom: 180px;
  width: 1px;
  background: linear-gradient(180deg,
    transparent,
    rgba(249, 115, 22, 0.06) 30%,
    rgba(249, 115, 22, 0.06) 70%,
    transparent);
}

/* ===== Introduction Grid ===== */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.intro-text { padding: 6px 0; }

.intro-heading {
  font-size: clamp(26px, 3.2vw, 38px);
  font-family: "Archivo Expanded", "Space Grotesk", sans-serif;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 14px;
}

.intro-body {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.72;
  max-width: 50ch;
  margin-bottom: 10px;
}

.intro-visual { position: relative; }

.intro-image-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(26, 26, 24, 0.06);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.3),
    0 14px 36px rgba(0,0,0,0.04),
    0 0 18px var(--brand-glow);
}

.intro-image-wrap img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-out);
}
.intro-image-wrap:hover img { transform: scale(1.02); }

.intro-image-caption {
  font-size: 10px;
  color: var(--ink-faint);
  margin-top: 6px;
  padding: 0 2px;
  letter-spacing: 0.02em;
}

/* ===== Material Story ===== */
.material-story__header {
  max-width: 640px;
  margin-bottom: 40px;
}

.material-heading {
  font-size: clamp(26px, 3.2vw, 40px);
  font-family: "Archivo Expanded", "Space Grotesk", sans-serif;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 12px;
}

.material-intro {
  font-size: 15.5px;
  color: var(--ink-muted);
  line-height: 1.7;
  max-width: 56ch;
}

.material-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.material-step {
  padding: 18px 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  transition: transform 0.25s var(--ease-out), border-color 0.25s ease, background 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.material-step:hover {
  transform: translateY(-2px);
  border-color: var(--glass-border-hover);
  background: var(--glass-bg-hover);
}

.material-step__number {
  font-family: "Archivo Expanded", "Space Grotesk", sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.08em;
}

.material-step__icon {
  font-size: 24px;
  line-height: 1;
}

.material-step__title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.material-step__desc {
  font-size: 11px;
  color: var(--ink-muted);
  line-height: 1.5;
}

/* ===== Sections spacing ===== */
.stats-grid { margin-top: 0; }
.services-grid { margin-top: 24px; }

/* ===== Why Grid ===== */
.why-grid { margin-top: 24px; }

.why-grid .card { padding: 22px; }
.why-grid .card .card-accent { display: none; }

/* ===== CTA ===== */
.cta-banner { padding: 72px 0; }
.cta-card { padding: 40px 36px; }

/* ===== Reveal stagger (consistent) ===== */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}
.reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0.03s; }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: 0.07s; }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: 0.11s; }
.reveal-stagger.revealed > *:nth-child(4) { transition-delay: 0.15s; }
.reveal-stagger.revealed > *:nth-child(5) { transition-delay: 0.19s; }
.reveal-stagger.revealed > *:nth-child(6) { transition-delay: 0.23s; }
.reveal-stagger.revealed > * { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .cinematic-content {
    padding: 0 6vw;
  }

  .hero-metadata {
    right: 6vw;
    bottom: 32px;
  }

  .metadata-panel {
    padding: 24px 22px;
    min-width: 200px;
    max-width: 240px;
  }

  .material-steps { grid-template-columns: 1fr 1fr 1fr; }

  .hero-title { font-size: clamp(44px, 7vw, 80px); }
  .hero-sub { font-size: 18px; }
}

@media (max-width: 768px) {
  .cinematic-content {
    padding: 0 4vw;
    height: auto;
    min-height: 100svh;
    padding-top: 96px;
    padding-bottom: 24px;
    justify-content: flex-start;
  }

  .hero-metadata {
    position: static;
    right: auto;
    bottom: auto;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
  }

  .metadata-panel {
    position: relative;
    min-width: 100%;
    max-width: 460px;
    flex: 1;
    padding: 20px 18px;
  }

  .metadata-panel__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .metadata-value {
    text-align: left;
  }

  .metadata-divider { display: none; }

  .metadata-footer {
    margin-top: 10px;
    padding-top: 10px;
  }

  .metadata-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 3px 0 5px;
  }

  .metadata-contact + .metadata-contact {
    padding-top: 8px;
    border-top: 1px solid rgba(255,255,255,0.06);
  }

  .hero-score-strip { display: none; }

  .hero-statement {
    max-width: 100%;
  }

  .hero-title { font-size: clamp(36px, 12vw, 56px); }
  .hero-sub { font-size: 16px; max-width: 100%; }

  .hero-cta { flex-direction: column; gap: 10px; }

  .btn { width: 100%; justify-content: center; }

  .material-steps { grid-template-columns: 1fr 1fr; }

  .services-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .cta-card { padding: 28px 20px; }

  .hero-trust { justify-content: center; }

  .geometry-line--top { display: none; }
  .geometry-line--left { display: none; }
}

@media (max-width: 480px) {
  .cinematic-content {
    padding: 0 5vw;
    padding-top: 100px;
  }

  .hero-title { font-size: clamp(30px, 14vw, 44px); }
  .hero-sub { font-size: 14.5px; }

  .material-steps { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .cta-card { padding: 24px 18px; }
  .intro-grid { grid-template-columns: 1fr; gap: 28px; }
  .metadata-panel { padding: 16px 14px; }
}

/* ===== Mobile hero — subtle ===== */
@media (max-width: 640px) {
  .cinematic-hero {
    min-height: 100svh;
  }

  .cinematic-overlay {
    background:
      linear-gradient(105deg,
        rgba(8, 10, 14, 0.92) 0%,
        rgba(8, 10, 14, 0.72) 20%,
        rgba(8, 10, 14, 0.42) 42%,
        rgba(8, 10, 14, 0.20) 60%,
        rgba(8, 10, 14, 0.08) 78%,
        transparent 100%
      ),
      linear-gradient(to bottom,
        transparent 45%,
        rgba(8, 10, 14, 0.10) 66%,
        rgba(8, 10, 14, 0.20) 100%
      );
  }

  .scroll-indicator { display: none; }
}
