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

:root {
  --bg: #fbf9f4;
  --surface-low: #f5f3ee;
  --surface-lowest: #ffffff;
  --surface-high: #eae8e3;
  --on-surface: #1b1c19;
  --on-surface-variant: #52443f;
  --on-surface-muted: #84746e;
  --primary: #845241;
  --primary-container: #c68b77;
  --primary-hover: #6d3f31;
  --secondary-container: #e5dfd7;
  --outline-variant: #d6c2bc;
  --inverse-surface: #30312e;
  --inverse-text: #f2f1ec;
  --error: #ba1a1a;

  --font-headline: 'Newsreader', serif;
  --font-body: 'Manrope', sans-serif;

  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;

  --shadow-ambient: 0 4px 32px rgba(45,41,38,0.05);
  --shadow-hover: 0 8px 40px rgba(45,41,38,0.08);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--on-surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
}

/* ═══════ NAV ═══════ */
.nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  background: rgba(251,249,244,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s;
}
.nav--scrolled { box-shadow: 0 1px 0 var(--outline-variant); }
.nav__inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.25rem 2rem;
}
.nav__logo {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-headline); font-size: 1.25rem;
  font-weight: 500; letter-spacing: -0.01em;
}
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a {
  font-family: var(--font-body); font-size: 0.85rem;
  font-weight: 500; letter-spacing: 0.02em;
  color: var(--on-surface-muted);
  transition: color 0.3s;
}
.nav__links a:hover { color: var(--primary); }
.nav__cta {
  background: var(--primary) !important; color: #fff !important;
  padding: 0.55rem 1.25rem; border-radius: var(--radius-md);
  font-size: 0.8rem !important; letter-spacing: 0.06em !important;
  text-transform: uppercase; font-weight: 600 !important;
  transition: background 0.3s !important;
}
.nav__cta:hover { background: var(--primary-hover) !important; }

/* ═══════ BUTTONS ═══════ */
.btn {
  display: inline-block; font-family: var(--font-body);
  font-weight: 600; font-size: 0.85rem; letter-spacing: 0.04em;
  text-transform: uppercase; border-radius: var(--radius-md);
  padding: 0.85rem 2rem; transition: all 0.3s; cursor: pointer;
  border: none;
}
.btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-container));
  color: #fff;
}
.btn--primary:hover { background: linear-gradient(135deg, var(--primary-hover), var(--primary)); }
.btn--lg { padding: 1.1rem 2.75rem; font-size: 0.9rem; }

/* ═══════ HERO ═══════ */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 8rem 2rem 4rem;
  max-width: 1200px; margin: 0 auto;
  gap: 4rem;
}
.hero__content { flex: 1; max-width: 560px; }
.hero__label {
  font-family: var(--font-body); font-size: 0.75rem;
  font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.2em; color: var(--primary);
  margin-bottom: 1.5rem;
}
.hero__title {
  font-family: var(--font-headline); font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 400; line-height: 1.15; letter-spacing: -0.02em;
  margin-bottom: 1.5rem; color: var(--on-surface);
}
.hero__title em {
  font-style: italic; color: var(--primary);
}
.hero__sub {
  font-size: 1.05rem; line-height: 1.65;
  color: var(--on-surface-variant); margin-bottom: 2.5rem;
  max-width: 480px;
}
.hero__image {
  flex: 1; display: flex; justify-content: center;
  opacity: 0; animation: fadeInUp 0.8s 0.3s forwards;
}
.hero__image img {
  width: 100%; max-width: 520px;
  border-radius: var(--radius-xl);
}

/* ═══════ SECTIONS ═══════ */
.section { padding: clamp(4rem, 8vw, 8rem) 2rem; }
.section--cream { background: var(--surface-low); }
.section--dark {
  background: var(--inverse-surface);
  color: var(--inverse-text);
}
.section__inner {
  max-width: 1200px; margin: 0 auto;
}
.section__inner--narrow { max-width: 720px; }
.section__label {
  font-family: var(--font-body); font-size: 0.7rem;
  font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.2em; color: var(--primary);
  margin-bottom: 1rem;
}
.section__label--light { color: var(--primary-container); }
.section__title {
  font-family: var(--font-headline);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400; line-height: 1.2;
  letter-spacing: -0.01em; margin-bottom: 1.5rem;
}
.section__title--light { color: var(--inverse-text); }
.section__body {
  font-size: 1rem; line-height: 1.7;
  color: var(--on-surface-variant); margin-bottom: 1.25rem;
}
.section__body em {
  font-style: italic; color: var(--on-surface);
  background: var(--secondary-container);
  padding: 0.1em 0.35em; border-radius: 0.25rem;
}

/* ═══════ STEPS ═══════ */
.step {
  display: flex; align-items: center; gap: 4rem;
  max-width: 1200px; margin: 0 auto;
  padding: 3rem 2rem;
}
.step--reverse { flex-direction: row-reverse; }
.step__visual { flex: 1; }
.step__visual img {
  width: 100%; border-radius: var(--radius-xl);
  box-shadow: var(--shadow-ambient);
}
.step__content { flex: 1; }
.step__number {
  font-family: var(--font-headline); font-size: 3rem;
  font-weight: 300; color: var(--outline-variant);
  line-height: 1; margin-bottom: 0.75rem;
}
.step__title {
  font-family: var(--font-headline); font-size: 2rem;
  font-weight: 400; margin-bottom: 1rem;
}
.step__body {
  font-size: 1rem; line-height: 1.7;
  color: var(--on-surface-variant); margin-bottom: 0.75rem;
}
.step__caption {
  font-size: 0.85rem; font-style: italic;
  color: var(--on-surface-muted);
}

/* Step 3 Metrics Visual */
.step__visual-metrics {
  display: flex; gap: 1.5rem; justify-content: center;
  padding: 3rem 2rem;
  background: var(--surface-low); border-radius: var(--radius-xl);
}
.metric { text-align: center; }
.metric__value {
  font-family: var(--font-headline); font-size: 2.75rem;
  font-weight: 500; color: var(--primary);
  line-height: 1; display: inline;
  font-variant-numeric: tabular-nums;
}
.metric__unit {
  font-family: var(--font-headline); font-size: 1.5rem;
  font-weight: 300; color: var(--primary-container);
  display: inline; margin-left: 0.1rem;
}
.metric__label {
  font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--on-surface-muted);
  margin-top: 0.5rem; font-weight: 600;
}

/* ═══════ RESULTS ═══════ */
.results-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
  margin-top: 3rem;
}
.result-card {
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-xl); padding: 2.5rem;
  border: 1px solid rgba(255,255,255,0.08);
}
.result-card__icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  background: rgba(198,139,119,0.15);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
}
.result-card__icon .material-symbols-outlined {
  font-size: 1.5rem; color: var(--primary-container);
}
.result-card__title {
  font-family: var(--font-headline); font-size: 1.5rem;
  font-weight: 400; margin-bottom: 0.5rem;
}
.result-card__desc {
  font-size: 0.9rem; color: rgba(242,241,236,0.6);
  margin-bottom: 1.5rem; line-height: 1.5;
}
.result-card__stats { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.result-stat { text-align: left; }
.result-stat__value {
  font-family: var(--font-headline); font-size: 1.4rem;
  font-weight: 500; color: var(--primary-container);
  display: block; font-variant-numeric: tabular-nums;
}
.result-stat__label {
  font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.08em; color: rgba(242,241,236,0.4);
  font-weight: 600;
}

/* ═══════ ANALOGY ═══════ */
.analogy { text-align: center; }
.analogy__quote {
  font-family: var(--font-headline); font-style: italic;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.5; color: var(--on-surface);
  quotes: none; max-width: 640px; margin: 0 auto;
}

/* ═══════ INDUSTRIES ═══════ */
.industry-image {
  max-width: 900px; margin: 2rem auto 3rem;
  border-radius: var(--radius-xl); overflow: hidden;
}
.industries-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.industry-card {
  background: var(--surface-lowest); border-radius: var(--radius-lg);
  padding: 2rem; transition: box-shadow 0.4s;
}
.industry-card:hover { box-shadow: var(--shadow-hover); }
.industry-card__icon {
  font-size: 1.75rem; color: var(--primary);
  margin-bottom: 1rem; display: block;
}
.industry-card__title {
  font-family: var(--font-headline); font-size: 1.2rem;
  font-weight: 400; margin-bottom: 0.5rem;
}
.industry-card__desc {
  font-size: 0.85rem; color: var(--on-surface-variant);
  line-height: 1.55;
}

/* ═══════ DIFFERENTIATORS ═══════ */
.diff-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
  margin-top: 2.5rem;
}
.diff-card {
  background: var(--surface-lowest); border-radius: var(--radius-lg);
  padding: 2rem; transition: box-shadow 0.4s;
}
.diff-card:hover { box-shadow: var(--shadow-hover); }
.diff-card__header {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.diff-card__header .material-symbols-outlined {
  color: var(--primary); font-size: 1.5rem;
}
.diff-card__header h3 {
  font-family: var(--font-headline); font-size: 1.15rem;
  font-weight: 400;
}
.diff-card p {
  font-size: 0.88rem; color: var(--on-surface-variant);
  line-height: 1.6;
}

/* ═══════ CTA ═══════ */
.section--cta {
  background: var(--inverse-surface);
  text-align: center;
}
.cta-inner { padding: 2rem 0; }
.cta__title {
  font-family: var(--font-headline);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 400; color: var(--inverse-text);
  line-height: 1.25; margin-bottom: 1.25rem;
}
.cta__body {
  font-size: 1rem; color: rgba(242,241,236,0.6);
  max-width: 480px; margin: 0 auto 2.5rem; line-height: 1.6;
}

/* ═══════ FOOTER ═══════ */
.footer {
  padding: 2rem; background: var(--bg);
}
.footer__inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
}
.footer__logo {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-headline); font-size: 1rem;
  color: var(--on-surface-muted);
}
.footer__copy {
  font-size: 0.75rem; color: var(--on-surface-muted);
}

/* ═══════ ANIMATIONS ═══════ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1),
              transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.reveal--visible { opacity: 1; transform: translateY(0); }

/* ═══════ RESPONSIVE ═══════ */
@media (max-width: 768px) {
  .hero { flex-direction: column; min-height: auto; padding-top: 6rem; gap: 2rem; }
  .hero__content { max-width: 100%; }
  .hero__image { max-width: 320px; }
  .nav__links a:not(.nav__cta) { display: none; }
  .step, .step--reverse { flex-direction: column; gap: 2rem; padding: 2rem; }
  .results-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
  .step__visual-metrics { flex-direction: column; gap: 2rem; }
  .result-card__stats { flex-direction: column; gap: 0.75rem; }
  .footer__inner { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 2rem; }
  .section__title { font-size: 1.75rem; }
  .nav__inner { padding: 1rem 1.25rem; }
}
