@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;700;900&family=Barlow:wght@400;500;600;700&family=JetBrains+Mono:wght@400;700&display=swap');

:root {
  --navy: #264F4A;
  --navy-dark: #1C3A36;
  --steel-blue: #D61E35;
  --gold: #D61E35;
  --gold-hover: #E82A45;
  --cream: #D9DDDC;
  --off-white: #E8EBEA;
  --charcoal: #1A1A1A;
  
  --font-display: 'Archivo', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --transition: all 0.3s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background-color: var(--off-white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* Utilities */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.text-gold {
  color: var(--gold);
}

.bg-dark {
  background-color: var(--navy-dark);
  color: white;
}

.bg-light {
  background-color: var(--cream);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--steel-blue);
  font-weight: 700;
  display: inline-block;
  margin-bottom: 1rem;
}
.bg-dark .eyebrow {
  color: var(--gold);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.125rem;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--gold);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(201, 169, 97, 0.4);
}

.btn-white {
  background-color: #ffffff;
  color: var(--gold);
}
.btn-white:hover {
  background-color: var(--off-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.4);
}
.btn-secondary {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background-color: white;
  color: var(--navy-dark);
}

/* Airflow Motif */
.airflow-motif {
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--steel-blue) 80%, transparent);
  opacity: 0.5;
  margin: 2rem 0;
  position: relative;
  overflow: hidden;
}

.airflow-motif::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
  animation: wind 3s infinite linear;
}

@keyframes wind {
  0% { left: -100%; }
  100% { left: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .airflow-motif::after {
    animation: none;
  }
}

/* 1. Top Contact Bar */
.top-bar {
  background-color: var(--navy);
  color: white;
  padding: 0.5rem 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left, .top-bar-right {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.top-bar a:hover {
  color: var(--gold);
}

/* Header */
.main-header {
  background-color: white;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.main-nav ul {
  display: flex;
  gap: 2rem;
}

.main-nav a {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--charcoal);
  font-size: 1rem;
}

.main-nav a:hover {
  color: var(--gold);
}

/* 2. Hero Section */
.hero {
  background-color: var(--navy-dark);
  color: white;
  padding: 5rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

.hero p.subheadline {
  font-size: 1.25rem;
  color: #d1d5db;
  margin-bottom: 2.5rem;
  max-width: 90%;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.hero-microcopy {
  font-size: 0.875rem;
  color: #9ca3af;
  font-family: var(--font-mono);
}

.hero-visual {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.1);
  aspect-ratio: 4/3;
  background-color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual-placeholder {
  color: var(--steel-blue);
  font-family: var(--font-mono);
  text-align: center;
  padding: 2rem;
  border: 2px dashed rgba(255,255,255,0.2);
  margin: 2rem;
  border-radius: 4px;
}

/* 3. Trust Bar */
.trust-bar {
  background-color: white;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.trust-bar .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  align-items: center;
}
.trust-item {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.trust-item:not(:last-child)::after {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--gold);
}

/* 4. Problem Framing */
.problem-framing {
  padding: 6rem 0;
  background-color: var(--off-white);
  text-align: center;
}
.problem-framing h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--navy-dark);
}
.problem-intro {
  max-width: 800px;
  margin: 0 auto 4rem;
  font-size: 1.125rem;
  color: #4b5563;
}
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: left;
}
.quote-card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  border-top: 4px solid var(--steel-blue);
  position: relative;
}
.quote-card::before {
  content: '“';
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--cream);
  position: absolute;
  top: -1rem;
  left: 1rem;
  z-index: 0;
}
.quote-card p {
  position: relative;
  z-index: 1;
  font-style: italic;
  font-size: 1.125rem;
  color: var(--charcoal);
  font-weight: 500;
}

/* 5. Product Pillars */
.product-pillar {
  padding: 6rem 0;
}
.product-pillar:nth-child(odd) {
  background-color: white;
}
.product-pillar:nth-child(even) {
  background-color: var(--cream);
}
.pillar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.pillar-image-left .pillar-visual {
  order: -1;
}
.pillar-visual {
  background-color: var(--navy);
  aspect-ratio: 1;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.svg-placeholder {
  width: 60%;
  height: 60%;
  stroke: var(--gold);
  stroke-width: 2;
  fill: none;
}
.pillar-visual.no-bg {
  background-color: transparent;
  display: block;
}
.vent-types-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
  height: 100%;
}
.vent-type {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  background-color: var(--navy);
  aspect-ratio: 1;
}
.vent-type img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.purlin-type {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  background-color: var(--navy);
}
.purlin-type img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
.vent-label {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(27, 42, 74, 0.85); /* Navy transparent */
  color: white;
  text-align: center;
  padding: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}
.pillar-content h3 {
  font-size: 2rem;
  color: var(--navy-dark);
  margin-bottom: 1.5rem;
}
.pillar-problem {
  font-weight: 700;
  margin-bottom: 1rem;
  color: #dc2626; /* Deep red for problem */
}
.pillar-solution {
  font-size: 1.125rem;
  margin-bottom: 2rem;
}
.usp-list {
  margin-bottom: 2.5rem;
}
.usp-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
}
.usp-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 900;
}
.mini-cta {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--steel-blue);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.25rem;
}
.mini-cta:hover {
  color: var(--navy);
}

/* 6. Why Geometric Steels */
.why-geometric {
  padding: 6rem 0;
}
.why-geometric h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}
.why-intro {
  max-width: 800px;
  font-size: 1.125rem;
  color: #d1d5db;
  margin-bottom: 4rem;
}
.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.diff-card {
  background-color: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 2rem;
  border-radius: 8px;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: var(--transition);
}
.diff-card:hover {
  background-color: rgba(255,255,255,0.1);
  border-color: var(--gold);
}
.diff-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  color: var(--gold);
}
.diff-card p {
  font-weight: 600;
  font-size: 1.125rem;
}

/* 7. Proof & Credentials */
.proof {
  padding: 6rem 0;
  background-color: var(--off-white);
  text-align: center;
}
.proof h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--navy-dark);
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}
.proof-card {
  background-color: white;
  padding: 2.5rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border-bottom: 4px solid var(--navy);
}
.proof-card-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 1.5rem;
  color: var(--steel-blue);
}
.proof-card p {
  font-weight: 600;
  color: var(--charcoal);
}
.cert-strip {
  display: inline-flex;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  padding: 1rem 3rem;
  background-color: var(--cream);
  border-radius: 50px;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--navy);
  border: 1px solid rgba(0,0,0,0.1);
}

/* 8. New Factory Build */
.new-factory {
  padding: 6rem 0;
  background-color: var(--steel-blue);
  color: white;
  text-align: center;
}
.new-factory h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}
.new-factory p {
  max-width: 800px;
  margin: 0 auto 2.5rem;
  font-size: 1.25rem;
}
.new-factory-ctas {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* 9. Final CTA Band */
.final-cta {
  padding: 6rem 0;
  background-color: var(--navy-dark);
  color: white;
  text-align: center;
}
.final-cta h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.final-cta p {
  font-size: 1.25rem;
  color: #9ca3af;
  margin-bottom: 2.5rem;
}
.final-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* 10. Footer */
.footer {
  background-color: #0b1324;
  color: #9ca3af;
  padding: 4rem 0 2rem;
  font-size: 0.875rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}
.footer-col h4 {
  color: white;
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}
.footer-col ul li {
  margin-bottom: 0.75rem;
}
.footer-col ul li a:hover {
  color: var(--gold);
}
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-family: var(--font-mono);
}

/* Sticky Mobile CTA */
.sticky-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
}
.sticky-mobile-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50%;
  padding: 1rem;
  font-weight: 700;
  font-size: 1.125rem;
  gap: 0.5rem;
}
.sticky-call {
  background-color: var(--navy-dark);
  color: white;
}
.sticky-wa {
  background-color: #25D366;
  color: white;
}

/* Detailed Case Studies */
.detailed-case-studies {
  padding: 5rem 0;
  background-color: var(--off-white);
}
.detailed-case-studies .section-header {
  margin-bottom: 3rem;
}
.detailed-case-studies .section-header h2 {
  font-size: 2.5rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.detailed-case-studies .section-header.center {
  text-align: center;
}
.case-study-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  margin-bottom: 4rem;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.case-study-block.reverse .case-content {
  order: 2;
}
.case-content {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.case-content .eyebrow {
  color: var(--steel-blue);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  display: block;
}
.case-content h3 {
  font-size: 2rem;
  color: var(--navy-dark);
  margin-bottom: 1.5rem;
}
.case-highlights {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
  background: var(--off-white);
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid var(--gold);
}
.case-highlights li {
  margin-bottom: 0.5rem;
}
.case-highlights li:last-child {
  margin-bottom: 0;
}
.case-challenge, .case-solution {
  margin-bottom: 1rem;
  line-height: 1.6;
}
.case-solution {
  color: var(--navy);
}
.case-visual {
  height: 100%;
}
.case-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid, .pillar-grid {
    gap: 2rem;
  }
  .quote-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-grid, .pillar-grid, .diff-grid, .case-study-block {
    grid-template-columns: 1fr;
  }
  .case-study-block.reverse .case-content {
    order: 0;
  }
  .case-study-block .case-visual {
    order: -1;
    min-height: 250px;
  }
  .case-content {
    padding: 2rem;
  }
  .pillar-image-left .pillar-visual, .pillar-grid > .pillar-visual {
    order: -1;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero-ctas, .new-factory-ctas, .final-cta-buttons {
    flex-direction: column;
  }
  .proof-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .top-bar-left {
    display: none;
  }
  .top-bar .container {
    justify-content: center;
  }
  .trust-bar .container {
    gap: 1rem;
  }
  .trust-item:not(:last-child)::after {
    display: none;
  }
  .trust-item {
    font-size: 0.75rem;
    width: 100%;
    justify-content: center;
  }
  .main-header .container {
    flex-direction: column;
    gap: 1rem;
  }
  .main-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 60px; /* Space for sticky footer */
  }
  .sticky-mobile-cta {
    display: flex;
  }
}
