/* =========================================
   Inventor's Concept Lab — Theme CSS
   Typography: Fraunces + DM Sans
   Palette: Navy, black, gold — premium brand
   ========================================= */

:root {
  --bg: #F7F8FC;
  --fg: #0A0F1E;
  --accent: #C9A84C;
  --accent-light: #B8943F;
  --accent-glow: rgba(201, 168, 76, 0.15);
  --navy: #0F1B3D;
  --navy-light: #1A2B5A;
  --navy-mid: #243770;
  --muted: #6B7394;
  --border: #D8DCE8;
  --surface: #EDF0F7;
  --surface-alt: #E2E6F0;
  --ink: #2D3352;
  --white: #FFFFFF;
}

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

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
}

/* ---- Header ---- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 27, 61, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.12);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-name {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 1.1rem;
  color: #F7F8FC;
  letter-spacing: 0.01em;
}

.header-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.header-nav a {
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(247, 248, 252, 0.7);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.header-nav a:hover { color: var(--accent); }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(201, 168, 76, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--navy), transparent);
  pointer-events: none;
}

.hero-svg-wrap {
  position: absolute;
  inset: 0;
}

.hero-svg-wrap svg.hero-scene {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 160px 32px 100px;
  width: 100%;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--accent);
}

.hero-headline {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1.08;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  max-width: 700px;
}

.hero-lede {
  font-size: 1.15rem;
  font-weight: 300;
  color: rgba(247, 248, 252, 0.6);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--navy);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 6px;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.25);
}

.hero-cta:hover {
  background: #D4B45E;
  transform: translateY(-1px);
}

/* ---- Section Shared ---- */
.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

/* ---- Manifesto ---- */
.manifesto {
  background: var(--white);
  padding: 96px 32px;
  border-bottom: 1px solid var(--border);
}

.manifesto-inner {
  max-width: 820px;
  margin: 0 auto;
}

.manifesto-label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 36px;
}

.label-line {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--accent);
}

.manifesto-quote {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.4;
  color: var(--fg);
  margin-bottom: 64px;
  letter-spacing: -0.01em;
}

.manifesto-stats {
  display: flex;
  align-items: center;
  gap: 0;
}

.stat {
  flex: 1;
  padding: 0 32px;
}

.stat:first-child { padding-left: 0; }
.stat:last-child { padding-right: 0; }

.stat-number {
  display: block;
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 2.2rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}

/* ---- Approach ---- */
.approach {
  padding: 100px 32px;
  background: var(--bg);
}

.approach-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.approach-header {
  text-align: center;
  margin-bottom: 72px;
}

.approach-header h2 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--fg);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.approach-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

.approach-steps {
  display: grid;
  grid-template-columns: 1fr 40px 1fr 40px 1fr;
  align-items: start;
  gap: 0;
}

.step { padding: 0; }

.step-number {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.step h3 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--fg);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.step p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.step-illustration {
  width: 100%;
  max-width: 180px;
  display: block;
}

.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 60px;
}

/* ---- Services ---- */
.services {
  padding: 100px 32px;
  background: var(--navy);
}

.services-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.services-header {
  text-align: center;
  margin-bottom: 64px;
}

.services-header h2 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

.services-header .section-tag {
  color: var(--accent);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.service-card {
  background: rgba(26, 43, 90, 0.6);
  padding: 36px 32px;
  position: relative;
  transition: background 0.2s;
  border: 1px solid rgba(201, 168, 76, 0.08);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.service-card:hover { background: rgba(36, 55, 112, 0.7); }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  color: var(--accent);
  margin-bottom: 20px;
}

.service-card h3 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 1.05rem;
  color: #FFFFFF;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 0.85rem;
  color: rgba(247, 248, 252, 0.6);
  line-height: 1.7;
}

/* ---- Closing / CTA ---- */
.closing {
  padding: 120px 32px;
  background: var(--fg);
  text-align: center;
}

.closing-inner {
  max-width: 700px;
  margin: 0 auto;
}

.closing-headline {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: #FFFFFF;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.closing-sub {
  font-size: 1rem;
  color: rgba(247, 248, 252, 0.5);
  margin-bottom: 48px;
  line-height: 1.7;
}

.closing-cta-text {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.closing-email-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 1.4rem;
  color: #FFFFFF;
  text-decoration: none;
  border-bottom: 1px solid rgba(247, 248, 252, 0.2);
  padding-bottom: 4px;
  transition: color 0.2s, border-color 0.2s;
}

.closing-email-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* Messenger CTA Button */
.messenger-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--navy);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 16px 36px;
  border-radius: 6px;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 24px rgba(201, 168, 76, 0.3);
  margin-top: 12px;
}

.messenger-cta:hover {
  background: #D4B45E;
  transform: translateY(-1px);
}

/* ---- Footer ---- */
.site-footer {
  background: var(--navy);
  padding: 48px 32px;
  border-top: 1px solid rgba(201, 168, 76, 0.12);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 1rem;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(247, 248, 252, 0.5);
  margin-bottom: 8px;
}

.footer-legal {
  font-size: 0.75rem;
  color: rgba(247, 248, 252, 0.35);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .manifesto-stats { flex-direction: column; gap: 24px; }
  .stat-divider { display: none; }
  .stat { padding: 0; }
  .approach-steps { grid-template-columns: 1fr; gap: 48px; }
  .step-connector { display: none; }
}

@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .header-nav { display: none; }
  .hero-content { padding-top: 100px; padding-bottom: 60px; }
}
