/* =============================================
   DESIGN TOKENS
   ============================================= */
:root {
  --navy:        #0f1f3d;
  --navy-deep:   #091530;
  --navy-mid:    #162d55;
  --graphite:    #2c3444;
  --steel:       #4a5568;
  --steel-light: #7a8699;
  --copper:      #b87333;
  --copper-light:#d4924a;
  --white:       #ffffff;
  --off-white:   #f5f6f8;
  --light-gray:  #e8eaf0;
  --text-dark:   #1a2335;
  --text-body:   #3d4a5c;
  --text-muted:  #6b7a92;

  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Inter', system-ui, sans-serif;

  --radius:      4px;
  --radius-lg:   8px;
  --shadow-sm:   0 2px 8px rgba(15,31,61,0.08);
  --shadow-md:   0 8px 32px rgba(15,31,61,0.14);
  --shadow-lg:   0 20px 60px rgba(15,31,61,0.22);

  --max-w:       1120px;
  --section-pad: 96px 24px;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { height: 100%; width: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

/* =============================================
   LAYOUT UTILITIES
   ============================================= */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* =============================================
   TYPOGRAPHY UTILITIES
   ============================================= */
.section-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 14px;
}
.section-label.light { color: var(--copper-light); }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 28px;
}
.section-title.centered { text-align: center; }

.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper-light);
  margin-bottom: 20px;
  display: block;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
  text-align: center;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  padding: 16px 40px;
  box-shadow: 0 4px 16px rgba(15,31,61,0.28);
  border: 2px solid var(--navy);
}
.btn-primary:hover {
  background: var(--navy-mid);
  box-shadow: 0 8px 28px rgba(15,31,61,0.36);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  padding: 14px 36px;
  border: 2px solid var(--navy);
}
.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-nav {
  background: var(--navy);
  color: var(--white);
  padding: 10px 24px;
  font-size: 0.82rem;
  border: 2px solid var(--navy);
}
.btn-nav:hover { background: var(--navy-mid); }

.btn-large { padding: 20px 56px; font-size: 1rem; }

/* =============================================
   NAV
   ============================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(9, 21, 48, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-tagline {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper-light);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(
      160deg,
      rgba(9,21,48,0.94) 0%,
      rgba(15,31,61,0.88) 50%,
      rgba(22,45,85,0.82) 100%
    ),
    /* Layered steel-tone gradient simulating factory floor lighting */
    linear-gradient(
      to bottom right,
      #1a2a4a 0%,
      #2c3a52 30%,
      #3d4e66 55%,
      #4a5c78 75%,
      #2e3d55 100%
    );
  padding: 140px 24px 96px;
  overflow: hidden;
}

/* Subtle geometric texture overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 60px,
      rgba(255,255,255,0.014) 60px,
      rgba(255,255,255,0.014) 61px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 80px,
      rgba(255,255,255,0.01) 80px,
      rgba(255,255,255,0.01) 81px
    );
  pointer-events: none;
}

/* Copper accent line */
.hero::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--copper), transparent 80%);
}

.hero-content {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  z-index: 1;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  margin-bottom: 44px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
}

.hero-sub strong {
  color: var(--copper-light);
  font-weight: 500;
}

/* =============================================
   EQUATION SECTION
   ============================================= */
.equation-section {
  padding: var(--section-pad);
  background: var(--off-white);
  border-top: 1px solid var(--light-gray);
  border-bottom: 1px solid var(--light-gray);
}

.equation-block {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 40px;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
}

.equation-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--navy), var(--copper), var(--navy));
}

.eq-term {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 32px;
  text-align: center;
  flex: 1;
  min-width: 160px;
}

.eq-icon {
  font-size: 1.8rem;
  color: var(--steel);
  margin-bottom: 10px;
  line-height: 1;
}

.eq-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.eq-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eq-op {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--steel-light);
  padding: 0 8px;
  flex-shrink: 0;
  align-self: center;
}

.eq-equals {
  color: var(--copper);
  font-size: 2.2rem;
  font-weight: 700;
}

.eq-result {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius);
  margin: -8px -4px;
}

.eq-result .eq-icon { color: var(--copper-light); }
.eq-result .eq-name { color: var(--white); }
.eq-result .eq-sub  { color: rgba(255,255,255,0.55); }

/* =============================================
   METRICS SECTION
   ============================================= */
.metrics-section {
  padding: 80px 24px;
  background: var(--navy-deep);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.metric-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 28px;
  background: rgba(255,255,255,0.03);
  border-right: 1px solid rgba(255,255,255,0.06);
  transition: background 0.2s;
}
.metric-card:last-child { border-right: none; }
.metric-card:hover { background: rgba(255,255,255,0.06); }

.metric-number {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 12px;
}

.metric-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  line-height: 1.4;
  margin-bottom: 8px;
}

.metric-period {
  font-size: 0.72rem;
  color: var(--copper-light);
  letter-spacing: 0.06em;
  font-weight: 500;
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-section {
  padding: var(--section-pad);
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}

.about-visual {
  position: sticky;
  top: 100px;
}

.about-photo-wrap {
  position: relative;
  margin-bottom: 24px;
  padding-bottom: 12px;
  padding-right: 12px;
}

.about-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
  display: block;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-lg);
}

.about-photo-frame {
  position: absolute;
  bottom: -10px;
  right: -10px;
  left: 10px;
  top: 10px;
  border: 2px solid var(--copper);
  border-radius: var(--radius-lg);
  z-index: 0;
  opacity: 0.45;
}

.about-stat-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 24px;
}

.about-stat {
  padding: 24px 28px;
  border-bottom: 1px solid var(--light-gray);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.about-stat:last-child { border-bottom: none; }

.as-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.as-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.about-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius);
  margin-top: 8px;
}

.badge-icon {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--copper-light);
  font-family: var(--font-serif);
  flex-shrink: 0;
}

.badge-text {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.4;
  font-weight: 400;
}

.about-content { }

.about-body {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-credentials {
  margin: 32px 0 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-credentials li {
  font-size: 0.92rem;
  color: var(--text-body);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

.about-credentials li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--copper);
}

/* =============================================
   TESTIMONIAL SECTION
   ============================================= */
.testimonial-section {
  padding: var(--section-pad);
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--graphite) 100%);
}

.testimonial-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 64px 72px;
  position: relative;
  max-width: 880px;
  margin: 32px auto 0;
  box-shadow: var(--shadow-lg);
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, transparent, var(--copper), transparent);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.testimonial-quote-mark {
  font-family: var(--font-serif);
  font-size: 6rem;
  line-height: 0.7;
  color: var(--copper);
  opacity: 0.5;
  margin-bottom: 24px;
  display: block;
}

.testimonial-text {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-style: italic;
  color: rgba(255,255,255,0.88);
  line-height: 1.7;
  margin-bottom: 48px;
}

.testimonial-metrics {
  display: flex;
  align-items: center;
  gap: 0;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.t-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  padding: 0 16px;
}

.t-number {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.t-desc {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

.t-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  padding: 112px 24px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 40px,
      rgba(255,255,255,0.012) 40px,
      rgba(255,255,255,0.012) 41px
    );
}

.cta-inner {
  position: relative;
  text-align: center;
  max-width: 720px;
}

.cta-headline {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 24px;
}

.cta-body {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  margin-bottom: 48px;
  font-weight: 300;
}

.cta-note {
  margin-top: 20px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
}

/* Override primary button inside dark CTA */
.cta-section .btn-primary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.cta-section .btn-primary:hover {
  background: var(--off-white);
  box-shadow: 0 12px 44px rgba(0,0,0,0.4);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 32px 24px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.02em;
}

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .metric-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .metric-card:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.06); }
  .metric-card:last-child { border-bottom: none; }

  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { position: static; }

  .equation-block { gap: 8px; }
  .eq-term { padding: 18px 16px; min-width: 130px; }
}

@media (max-width: 640px) {
  :root { --section-pad: 64px 20px; }

  .nav-brand { font-size: 0.85rem; }

  .hero { padding: 120px 20px 72px; }

  .metrics-grid { grid-template-columns: 1fr; }
  .metric-card { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.06); }

  .equation-block { flex-direction: column; padding: 32px 20px; }
  .eq-op { transform: rotate(90deg); padding: 4px 0; }
  .eq-equals { transform: none; }
  .eq-result { margin: 8px -4px; width: calc(100% + 8px); }

  .testimonial-card { padding: 40px 28px; }
  .testimonial-metrics { flex-direction: column; gap: 24px; }
  .t-divider { width: 48px; height: 1px; }

  .footer-inner { flex-direction: column; text-align: center; }

  .btn-large { padding: 18px 40px; }
}
