/* ==========================================================================
   Carter Industries — Innovations Division
   ========================================================================== */

:root {
  --black: #05070a;
  --near-black: #0a0d12;
  --panel: #0e1219;
  --panel-2: #12161f;
  --line: rgba(212, 175, 91, 0.14);
  --line-strong: rgba(212, 175, 91, 0.32);
  --gold: #d4af5b;
  --gold-bright: #f2cf7e;
  --gold-dim: #8a713a;
  --silver: #c7ccd4;
  --white: #f5f6f8;
  --gray: #9aa1ac;
  --gray-dim: #676e79;
  --moss: #4c7a4a;
  --moss-bright: #7fae5e;
  --radius: 2px;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Montserrat', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--black);
  padding: 12px 20px;
  z-index: 999;
  font-family: var(--sans);
  font-weight: 600;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ---------- Section labels / titles ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  margin-right: 12px;
  vertical-align: middle;
}

.title {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--white);
  line-height: 1.15;
  margin: 0 0 20px;
}
.title-xl { font-size: clamp(38px, 5.4vw, 68px); }
.title-lg { font-size: clamp(30px, 4vw, 46px); }
.title-md { font-size: clamp(22px, 2.6vw, 30px); }

.title .accent { color: var(--gold); font-style: italic; }

.lede {
  font-size: 18px;
  font-weight: 300;
  color: var(--gray);
  max-width: 620px;
}

.divider {
  width: 64px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 24px 0;
}

.section { padding: 120px 0; position: relative; }
.section-tight { padding: 80px 0; }
.section-alt { background: var(--near-black); }
.section-border-top { border-top: 1px solid var(--line); }

/* ---------- Fade in ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(.16,1,.3,1), transform 0.9s cubic-bezier(.16,1,.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ---------- Nav ---------- */
#navbar {
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 18px 0;
  background: rgba(5, 7, 10, 0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: padding 0.35s ease;
}
#navbar.scrolled { padding: 12px 0; }
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo-img { width: 34px; height: 34px; object-fit: contain; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav-logo-main {
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 2px;
  color: var(--white);
}
.nav-logo-sub {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 38px;
  margin: 0; padding: 0;
}
.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--silver);
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--gold-bright); }
.nav-links a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 22px; height: 1px; background: var(--gold); }

.mobile-nav {
  position: fixed;
  inset: 0;
  top: 68px;
  background: rgba(5,7,10,0.98);
  z-index: 480;
  padding: 40px 32px;
}
.mobile-nav-links { list-style: none; margin: 0 0 32px; padding: 0; display: flex; flex-direction: column; gap: 26px; }
.mobile-nav-links a { font-family: var(--serif); font-size: 24px; color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 34px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--black);
}
.btn-gold:hover { box-shadow: 0 8px 30px rgba(212,175,91,0.35); transform: translateY(-2px); }
.btn-outline {
  border-color: var(--line-strong);
  color: var(--white);
  background: transparent;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-bright); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--black);
}
.hero-media {
  width: 100%;
  display: block;
}
.hero-fade {
  height: 120px;
  margin-top: -120px;
  position: relative;
  background: linear-gradient(180deg, transparent, var(--black));
}
.scroll-cue {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 22px 0 0;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray);
}
.scroll-cue .line { width: 34px; height: 1px; background: var(--gold); position: relative; overflow: hidden; }
.scroll-cue .line::after {
  content: '';
  position: absolute;
  left: -100%; top: 0; width: 100%; height: 100%;
  background: var(--gold-bright);
  animation: scrollRight 1.8s ease-in-out infinite;
}
@keyframes scrollRight {
  0% { left: -100%; }
  60% { left: 100%; }
  100% { left: 100%; }
}

/* ---------- Division intro ---------- */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.intro-copy p { color: var(--gray); font-size: 16px; margin-bottom: 18px; }
.value-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 18px; }
.value-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--silver);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.value-list li strong { color: var(--white); display: block; font-family: var(--serif); font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.value-num { font-family: var(--serif); font-size: 22px; color: var(--gold); min-width: 34px; }

.intro-visual {
  position: relative;
  border: 1px solid var(--line-strong);
  padding: 8px;
}
.intro-visual img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Product picker (buttons under Featured Innovations) ---------- */
.product-picker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 4px 0 32px;
}
.product-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line-strong);
  background: var(--panel);
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}
.product-card:hover { border-color: var(--gold); background: var(--panel-2); transform: translateY(-3px); }
.product-card img {
  width: 56px; height: 56px;
  object-fit: contain;
  background: #f2f2f2;
  padding: 6px;
  flex-shrink: 0;
}
.product-card-body { flex: 1; min-width: 0; }
.product-card-eyebrow {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.product-card-title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
}
.product-card-arrow {
  color: var(--gold);
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.product-card:hover .product-card-arrow { transform: translateX(4px); }

/* ---------- Product spotlight badge ---------- */
.spotlight-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}
.spotlight-tag .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--moss-bright);
  box-shadow: 0 0 10px var(--moss-bright);
}

/* ---------- Product hero ---------- */
.product-hero {
  background: radial-gradient(ellipse at 70% 20%, rgba(212,175,91,0.07), transparent 55%), var(--black);
  padding-top: 140px;
}
.product-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 70px;
  align-items: center;
}
.product-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.product-hero-visual::before {
  content: '';
  position: absolute;
  inset: 10%;
  background: radial-gradient(circle, rgba(212,175,91,0.14), transparent 70%);
  filter: blur(20px);
  z-index: 0;
}
.product-hero-visual img {
  position: relative;
  z-index: 1;
  max-height: 560px;
  width: auto;
  margin: 0 auto;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,0.6));
}
.product-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 40px;
  border-top: 1px solid var(--line);
}
.spec {
  padding: 20px 20px 0 0;
  border-right: 1px solid var(--line);
}
.spec:last-child { border-right: none; }
.spec-num { font-family: var(--serif); font-size: 26px; color: var(--gold-bright); font-weight: 600; }
.spec-label { font-size: 11px; letter-spacing: 1px; color: var(--gray); margin-top: 4px; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.gallery-item {
  position: relative;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #eef1f4, #dde2e7);
  overflow: hidden;
  aspect-ratio: 3/4;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: contain;
  padding: 18px;
  transition: transform 0.6s cubic-bezier(.16,1,.3,1);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(180deg, transparent, rgba(5,7,10,0.85));
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-bright);
  font-weight: 600;
}

/* ---------- Feature cards (How it works) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.feature-card {
  background: var(--near-black);
  padding: 40px 30px;
  transition: background 0.3s ease;
}
.feature-card:hover { background: var(--panel-2); }
.feature-icon {
  width: 44px; height: 44px;
  margin-bottom: 24px;
  color: var(--gold);
}
.feature-icon svg { width: 100%; height: 100%; }
.feature-card h3 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 12px;
}
.feature-card p { font-size: 13.5px; color: var(--gray); margin: 0; }

/* ---------- Smart capabilities list ---------- */
.capability-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: start;
}
.capability-list { list-style: none; margin: 0; padding: 0; }
.capability-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.capability-item:first-child { padding-top: 0; }
.capability-index {
  font-family: var(--serif);
  font-size: 30px;
  color: var(--gold-dim);
  font-weight: 600;
}
.capability-item h4 {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--white);
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.badge-dev {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--moss-bright);
  border: 1px solid rgba(127,174,94,0.4);
  padding: 3px 8px;
  border-radius: 999px;
}
.capability-item p { font-size: 13.5px; color: var(--gray); margin: 0; }

/* ---------- Stats band ---------- */
.stats-band {
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.stat {
  padding: 64px 40px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: var(--serif);
  font-size: clamp(38px, 4.5vw, 56px);
  font-weight: 600;
  color: var(--gold-bright);
  line-height: 1;
}
.stat-label {
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray);
}

/* ---------- Process / how moss stays healthy ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 34px;
}
.step::before {
  counter-increment: step;
  content: '0' counter(step);
  font-family: var(--serif);
  font-size: 15px;
  color: var(--gold);
  position: absolute;
  top: 0; left: 0;
  letter-spacing: 1px;
}
.step-line { width: 100%; height: 1px; background: var(--line); margin: 10px 0 20px; }
.step h4 { font-family: var(--serif); font-size: 19px; color: var(--white); margin: 0 0 10px; font-weight: 600; }
.step p { font-size: 13.5px; color: var(--gray); margin: 0; }

/* ---------- Sustainability split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
}
.split-panel { padding: 64px; }
.split-panel + .split-panel { border-left: 1px solid var(--line); }
.split-panel h3 { font-family: var(--serif); font-size: 26px; margin: 0 0 16px; }
.split-panel p { color: var(--gray); font-size: 14.5px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chip {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--silver);
  border: 1px solid var(--line-strong);
  padding: 8px 14px;
  border-radius: 999px;
}

/* ---------- Status note ---------- */
.status-note {
  border-left: 3px solid var(--gold);
  background: var(--panel);
  padding: 30px 36px;
}
.status-note .eyebrow { margin-bottom: 10px; }
.status-note p { color: var(--gray); font-size: 14px; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  padding: 130px 0;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(212,175,91,0.09), transparent 60%),
    var(--near-black);
  border-top: 1px solid var(--line);
}
.cta-band .title { margin: 0 auto 18px; max-width: 680px; }
.cta-band .lede { margin: 0 auto 40px; max-width: 560px; }
.cta-actions { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
footer { background: var(--black); border-top: 1px solid var(--line); padding: 80px 0 30px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line);
}
.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.footer-brand img { width: 38px; height: 38px; object-fit: contain; }
.footer-brand-main { font-family: var(--serif); font-size: 19px; letter-spacing: 1px; }
.footer-brand-sub { font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); margin-top: 3px; }
.footer-text { color: var(--gray); font-size: 13.5px; max-width: 340px; margin-top: 18px; }
.footer-col-title { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.footer-links a { font-size: 13.5px; color: var(--silver); }
.footer-links a:hover { color: var(--gold-bright); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 11.5px;
  color: var(--gray-dim);
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .intro-grid, .capability-row, .product-hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars-row { grid-template-columns: repeat(2, 1fr); }
  .pillar-cell:nth-child(2) { border-right: none; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: none; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split-panel + .split-panel { border-left: none; border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 620px) {
  .section { padding: 80px 0; }
  .product-picker { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .product-specs { grid-template-columns: 1fr; }
  .spec { border-right: none; border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 16px; }
  .feature-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .split-panel { padding: 40px 28px; }
}
