/* ============================================================
   GLOBAL STYLES — Avon Protection Web Proposal
   ============================================================
   Brand register. Design IS the product.
   No identical card grids. No side-stripe callouts.
   No glassmorphism. Asymmetric layouts. Varied rhythm.
   ============================================================ */

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--color-text-secondary);
  background: var(--color-surface-0);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  color: var(--color-text-primary);
  letter-spacing: -0.01em;
}

a {
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

a:hover {
  color: var(--color-text-primary);
}

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

strong {
  font-weight: var(--fw-semibold);
  color: var(--color-text-primary);
}

::selection {
  background: oklch(0.45 0.08 240 / 0.4);
  color: var(--color-text-primary);
}

/* ============================================================
   SCROLL PROGRESS
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: var(--z-progress);
  pointer-events: none;
}

.scroll-progress__fill {
  height: 100%;
  width: 0%;
  background: var(--color-accent);
  transition: width 80ms linear;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: var(--space-xl) var(--space-lg) var(--space-xl);
  background: var(--color-surface-0);
  border-right: 1px solid var(--color-border-subtle);
  z-index: var(--z-sidebar);
  transition: transform var(--duration-slow) var(--ease-out-expo);
  overflow-y: auto;
  overflow-x: hidden;
}

.sidebar::-webkit-scrollbar {
  width: 0;
}

.sidebar__brand {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border-subtle);
  flex-shrink: 0;
}

.sidebar__brand-logo {
  height: 20px;
  width: auto;
  opacity: 0.7;
}

.sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
}

.sidebar__nav::-webkit-scrollbar {
  width: 0;
}

.sidebar__link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 6px 10px;
  font-family: var(--font-label);
  font-size: 0.78rem;
  font-weight: var(--fw-medium);
  color: var(--color-text-muted);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: color var(--duration-fast) var(--ease-out),
    background var(--duration-fast) var(--ease-out);
  text-decoration: none;
  border: none;
  background: none;
  text-align: left;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar__link:hover {
  color: var(--color-text-secondary);
  background: var(--color-surface-2);
}

.sidebar__link:focus-visible {
  outline: 2px solid var(--color-info);
  outline-offset: -2px;
}

.sidebar__link.active {
  color: var(--color-text-primary);
  background: var(--color-surface-2);
}

.sidebar__link-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: var(--fw-medium);
  color: var(--color-text-muted);
  min-width: 18px;
  letter-spacing: 0.02em;
}

.sidebar__link.active .sidebar__link-num {
  color: var(--color-accent);
}

.sidebar__footer {
  margin-top: auto;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border-subtle);
  flex-shrink: 0;
}

.sidebar__footer-logo {
  height: 22px;
  width: auto;
  opacity: 0.8;
}

/* Mobile toggle */
.sidebar__toggle {
  display: none;
  position: fixed;
  top: var(--space-md);
  left: var(--space-md);
  z-index: calc(var(--z-sidebar) + 1);
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  background: var(--color-surface-1);
  color: var(--color-text-tertiary);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast) var(--ease-out);
}

.sidebar__toggle:hover {
  border-color: var(--color-border-default);
  color: var(--color-text-primary);
}

.sidebar__toggle svg {
  width: 18px;
  height: 18px;
}

/* ============================================================
   MAIN CONTENT
   ============================================================ */
.main {
  margin-left: var(--sidebar-width);
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  counter-reset: page;
}

/* ============================================================
   HERO — asymmetric, left-aligned, no centred stack
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-4xl) clamp(var(--space-2xl), 7vw, var(--space-5xl));
  overflow: clip;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.3;
  filter: grayscale(100%) contrast(1.1);
}

.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      var(--color-surface-0) 0%,
      oklch(0.13 0.012 240 / 0.85) 40%,
      oklch(0.13 0.012 240 / 0.6) 100%);
}

.hero__grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero__badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-success);
}

.hero__logo {
  height: clamp(36px, 5vw, 56px);
  width: auto;
  margin-bottom: var(--space-xl);
  opacity: 0.85;
}

.hero__divider {
  border: none;
  height: 1px;
  width: clamp(180px, 25vw, 280px);
  background: linear-gradient(to right, var(--color-text-tertiary), transparent);
  margin: var(--space-lg) 0 var(--space-xl);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: var(--fs-display);
  font-weight: var(--fw-extrabold);
  line-height: 0.95;
  color: var(--color-text-primary);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-xl);
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: var(--fs-body-lg);
  color: var(--color-text-tertiary);
  line-height: var(--lh-relaxed);
  max-width: 52ch;
  margin-bottom: var(--space-3xl);
}

.hero__meta {
  position: absolute;
  bottom: var(--space-5xl);
  left: clamp(var(--space-2xl), 7vw, var(--space-5xl));
  display: flex;
  align-items: flex-start;
  gap: var(--space-3xl);
}

.hero__meta-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.hero__meta-label {
  font-family: var(--font-label);
  font-size: 0.68rem;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

.hero__meta-value {
  font-family: var(--font-heading);
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  color: var(--color-text-primary);
}

.hero__meta-logo {
  height: 18px;
  width: auto;
  opacity: 0.8;
  margin-top: 2px;
}

.hero__meta-divider {
  width: 1px;
  height: 36px;
  background: var(--color-border-subtle);
}

.hero__scroll-hint {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-text-muted);
  font-family: var(--font-label);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero__scroll-hint svg {
  width: 14px;
  height: 14px;
  opacity: 0.5;
  animation: scrollHintBob 2.5s ease-in-out infinite;
}

@keyframes scrollHintBob {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(4px);
  }
}

/* ============================================================
   SECTIONS — no mechanical numbering
   ============================================================ */
.proposal-section {
  padding: var(--space-5xl) clamp(var(--space-2xl), 7vw, var(--space-5xl)) var(--space-5xl);
  position: relative;
  height: 100vh;
  height: 100dvh;
  overflow: clip;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  counter-increment: page;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.proposal-section::after {
  content: counter(page, decimal-leading-zero);
  position: absolute;
  bottom: var(--space-2xl);
  right: clamp(var(--space-2xl), 7vw, var(--space-5xl));
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: var(--fw-medium);
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
}

/* Alternate sections get subtle background shift */
.proposal-section:nth-child(even) {
  background: var(--color-surface-1);
}

.proposal-section__inner {
  max-width: var(--content-max-width);
}

.proposal-section__inner--wide {
  max-width: var(--content-wide-width);
}

/* Section header — no repeated badge pattern */
.section-header {
  margin-bottom: var(--space-xl);
}

/* Timeline/table sections: compact to fit */
.proposal-section:has(.proposal-table-wrapper) {
  justify-content: flex-start;
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
}

.proposal-section:has(.proposal-table-wrapper)::after {
  display: none;
}

.proposal-section:has(.proposal-table-wrapper) .proposal-section__inner {
  max-width: none;
}

.proposal-section:has(.proposal-table-wrapper) .section-header {
  margin-bottom: var(--space-md);
}

.proposal-section:has(.proposal-table-wrapper) .section-header__title {
  font-size: var(--fs-h2);
}

.section-header__kicker {
  font-family: var(--font-label);
  font-size: var(--fs-caption);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.section-header__title {
  font-family: var(--font-heading);
  font-size: var(--fs-h1);
  font-weight: var(--fw-bold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-lg);
  line-height: var(--lh-snug);
  letter-spacing: -0.02em;
}

.section-header__desc {
  font-size: var(--fs-body-lg);
  color: var(--color-text-tertiary);
  line-height: var(--lh-relaxed);
}

.section-header__rule {
  border: none;
  height: 1px;
  width: 48px;
  background: linear-gradient(to right, var(--color-accent), transparent);
  margin: var(--space-lg) 0;
}

/* ============================================================
   INTRO METRICS — compact stat row
   ============================================================ */
.intro-metrics {
  display: flex;
  gap: var(--space-3xl);
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border-subtle);
}

.intro-metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.intro-metric__value {
  font-family: var(--font-heading);
  font-size: var(--fs-h1);
  font-weight: var(--fw-bold);
  color: var(--color-text-primary);
  line-height: 1;
}

.intro-metric__label {
  font-family: var(--font-label);
  font-size: 0.68rem;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
}

/* ============================================================
   SECTION BACKGROUND IMAGE — decorative, right-aligned
   ============================================================ */
.proposal-section--has-bg::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background-image: url('../assets/images/avon-product.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  filter: grayscale(100%);
  mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.proposal-section--has-bg {
  overflow: visible;
}

.proposal-section--has-bg .proposal-section__inner {
  position: relative;
  z-index: 1;
}

.proposal-section--bg-scope::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background-image: url('../assets/images/avon-scope-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  filter: grayscale(100%);
  mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.proposal-section--bg-scope .proposal-section__inner {
  position: relative;
  z-index: 1;
}

.proposal-section--bg-phases::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background-image: url('../assets/images/616388007_1474855057976657_2732816734948789905_n.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  filter: grayscale(100%);
  mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.proposal-section--bg-phases .proposal-section__inner {
  position: relative;
  z-index: 1;
}

/* ============================================================
   BODY TEXT
   ============================================================ */
.body-text {
  font-size: var(--fs-body);
  color: var(--color-text-secondary);
  line-height: var(--lh-relaxed);
  max-width: 62ch;
  margin-bottom: var(--space-lg);
}

.body-text+.body-text {
  margin-top: calc(-1 * var(--space-sm));
}

/* ============================================================
   PHASES OVERVIEW
   ============================================================ */
.phases-overview {
  margin-top: var(--space-2xl);
}

.phase-step {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
  padding: var(--space-lg) 0;
  position: relative;
}

.phase-step::before {
  content: attr(data-num);
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-heading);
  font-size: 6rem;
  font-weight: var(--fw-bold);
  color: var(--color-text-primary);
  opacity: 0.04;
  line-height: 1;
  pointer-events: none;
}

.phase-step__icon {
  color: var(--color-text-muted);
  flex-shrink: 0;
  margin-top: 2px;
}

.phase-step__title {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  font-weight: var(--fw-medium);
  color: var(--color-text-primary);
  margin-bottom: var(--space-xs);
}

.phase-step__desc {
  font-size: var(--fs-body);
  color: var(--color-text-tertiary);
  line-height: var(--lh-relaxed);
  max-width: 48ch;
}


/* ============================================================
   PHASE INDICATOR (breadcrumb)
   ============================================================ */
.phase-indicator {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.phase-indicator__step {
  font-family: var(--font-label);
  font-size: var(--fs-caption);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
}

.phase-indicator__step--active {
  color: var(--color-text-primary);
  font-weight: var(--fw-semibold);
}

.phase-indicator__sep {
  color: var(--color-border-default);
  font-size: var(--fs-caption);
}

/* ============================================================
   SECTION HEADER DESC
   ============================================================ */
.section-header__desc {
  font-size: var(--fs-body);
  color: var(--color-text-secondary);
  line-height: var(--lh-relaxed);
  margin-top: var(--space-md);
}

/* ============================================================
   DELIVERABLE GRID (compact 2-col)
   ============================================================ */
.deliverable-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg) var(--space-2xl);
  margin-top: var(--space-lg);
  counter-reset: deliverable-item;
}

.deliverable-item {
  counter-increment: deliverable-item;
}

.deliverable-item__title {
  font-family: var(--font-heading);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
}

.deliverable-item__title::before {
  content: counter(deliverable-item, decimal-leading-zero) "\00a0\00a0\00a0\00a0";
  font-family: var(--font-mono);
  font-size: inherit;
  font-weight: var(--fw-medium);
  color: var(--color-text-muted);
}

.deliverable-item__desc {
  font-size: var(--fs-small);
  color: var(--color-text-tertiary);
  line-height: var(--lh-relaxed);
}

.deliverable-item__label {
  font-weight: var(--fw-medium);
  color: var(--color-text-muted);
}

.deliverable-item__label::after {
  content: ' —';
  color: var(--color-text-muted);
  opacity: 0.4;
}

.deliverable-item__title strong {
  font-weight: var(--fw-bold);
  color: var(--color-text-primary);
}

/* -- Icon variant (tech stack items) -- */
.deliverable-item--icon .deliverable-item__title::before {
  display: none;
}

.deliverable-item__icon {
  width: 24px;
  height: 24px;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
  flex-shrink: 0;
}

/* -- Tech Stack Label & Badges -- */
.tech-stack-label {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}

.tech-stack-label__text {
  font-family: var(--font-label);
  font-size: var(--fs-caption);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  display: block;
  margin-bottom: var(--space-md);
}

.tech-stack-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px 6px 10px;
  border: 1px solid var(--color-border-subtle);
  border-radius: 100px;
  font-family: var(--font-label);
  font-size: var(--fs-caption);
  font-weight: var(--fw-medium);
  color: var(--color-text-secondary);
}

.tech-badge svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ============================================================
   DISCOVERY BACKGROUND
   ============================================================ */
.proposal-section--bg-discovery::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background-image: url('../assets/images/624380812_1489878223141007_2111133987539150885_n.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  filter: grayscale(100%);
  mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.proposal-section--bg-discovery .proposal-section__inner {
  position: relative;
  z-index: 1;
}

.proposal-section--bg-disc-addons::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background-image: url('../assets/images/631501894_1495689439226552_1791891174743746902_n.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  filter: grayscale(100%);
  mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.proposal-section--bg-disc-addons .proposal-section__inner {
  position: relative;
  z-index: 1;
}

/* -- Design Core bg -- */
.proposal-section--bg-design::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background-image: url('../assets/images/645217329_1517083857087110_7094407375459951343_n.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  filter: grayscale(100%);
  mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.proposal-section--bg-design .proposal-section__inner {
  position: relative;
  z-index: 1;
}

/* -- Design Add-ons bg -- */
.proposal-section--bg-design-addons::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background-image: url('../assets/images/646546665_1520322146763281_3247098444133022534_n.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  filter: grayscale(100%);
  mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.proposal-section--bg-design-addons .proposal-section__inner {
  position: relative;
  z-index: 1;
}

/* -- Dev Core bg -- */
.proposal-section--bg-dev::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background-image: url('../assets/images/650369328_1525282699600559_8431460150866665099_n.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  filter: grayscale(100%);
  mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.proposal-section--bg-dev .proposal-section__inner {
  position: relative;
  z-index: 1;
}

/* -- Dev Add-ons bg -- */
.proposal-section--bg-dev-addons::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background-image: url('../assets/images/653019122_1531224662339696_3205788648745953292_n.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  filter: grayscale(100%);
  mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.proposal-section--bg-dev-addons .proposal-section__inner {
  position: relative;
  z-index: 1;
}

/* ============================================================
   TECH OPTIONS (EDITORIAL LAYOUT)
   ============================================================ */
.tech-options {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: var(--space-xl);
}

.tech-option {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}

.tech-options:hover .tech-option:not(:hover) {
  opacity: 0.5;
}

.tech-option__num {
  font-family: var(--font-mono);
  font-size: var(--fs-h2);
  font-weight: var(--fw-regular);
  color: var(--color-text-muted);
  line-height: 1;
  flex-shrink: 0;
  padding-top: 0.1em;
}

.tech-option__body {
  flex: 1;
}

.tech-option__title {
  font-family: var(--font-heading);
  font-size: var(--fs-body);
  font-weight: var(--fw-medium);
  color: var(--color-text-primary);
  margin-bottom: var(--space-md);
}

.tech-option__desc {
  font-size: var(--fs-small);
  color: var(--color-text-tertiary);
  line-height: 1.45;
  margin-bottom: var(--space-md);
  max-width: 52ch;
}

.tech-option__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.tech-option__tags span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
  padding: 0.2em 0.6em;
  border: 1px solid var(--color-border-subtle);
  border-radius: 2px;
}

.tech-option__arrow {
  font-size: var(--fs-body);
  color: var(--color-text-muted);
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
  padding-top: 0.15em;
}

.tech-option:hover .tech-option__arrow {
  transform: translateX(4px);
  color: var(--color-text-primary);
}

/* ============================================================
   DETAIL SPLIT (2-col: tech left, notes right)
   ============================================================ */
.detail-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-3xl);
  margin-top: var(--space-xl);
  align-items: start;
}

.detail-split__col {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

/* -- Tech Overview bg -- */
.proposal-section--bg-tech::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background-image: url('../assets/images/654759866_1533427685452727_4731662056750825287_n.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  filter: grayscale(100%);
  mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.proposal-section--bg-tech .proposal-section__inner {
  position: relative;
  z-index: 1;
}

/* -- Option 1 bg -- */
.proposal-section--bg-opt1::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background-image: url('../assets/images/657561740_1535290698599759_2091616423868243186_n.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  filter: grayscale(100%);
  mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.proposal-section--bg-opt1 .proposal-section__inner {
  position: relative;
  z-index: 1;
}

/* -- Option 2 bg -- */
.proposal-section--bg-opt2::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background-image: url('../assets/images/660502203_1537249735070522_6046327497338936055_n.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  filter: grayscale(100%);
  mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.proposal-section--bg-opt2 .proposal-section__inner {
  position: relative;
  z-index: 1;
}

/* -- Option 1 Considerations bg -- */
.proposal-section--bg-opt1-cons::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background-image: url('../assets/images/654759866_1533427685452727_4731662056750825287_n.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  filter: grayscale(100%);
  mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.proposal-section--bg-opt1-cons .proposal-section__inner {
  position: relative;
  z-index: 1;
}

/* -- Option 2 Advantages bg -- */
.proposal-section--bg-opt2-adv::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background-image: url('../assets/images/653019122_1531224662339696_3205788648745953292_n.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  filter: grayscale(100%);
  mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.proposal-section--bg-opt2-adv .proposal-section__inner {
  position: relative;
  z-index: 1;
}

/* ============================================================
   BULLET LIST
   ============================================================ */
.bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.bullet-list li {
  padding-left: var(--space-lg);
  position: relative;
  font-size: var(--fs-body);
  color: var(--color-text-secondary);
  line-height: var(--lh-relaxed);
  max-width: 62ch;
}

.bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-text-muted);
}

/* ============================================================
   SCOPE COLUMNS — clean text layout, no cards
   ============================================================ */
.scope-columns {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-2xl);
  margin-top: var(--space-2xl);
  align-items: start;
}

.scope-column__label {
  display: block;
  font-family: var(--font-label);
  font-size: var(--fs-caption);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.scope-column__title {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-md);
}

.scope-column .body-text {
  margin-bottom: 0;
}

.scope-column__divider {
  width: 1px;
  align-self: stretch;
  background: var(--color-border-subtle);
}

@media (max-width: 768px) {
  .scope-columns {
    grid-template-columns: 1fr;
  }

  .scope-column__divider {
    width: 100%;
    height: 1px;
  }
}

/* ============================================================
   DELIVERABLE ITEMS — not identical cards.
   Numbered list items with title + description.
   Varied layout, not grid.
   ============================================================ */
.deliverable-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
  counter-reset: deliverable;
}

.deliverable {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: var(--space-md);
  counter-increment: deliverable;
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--color-border-subtle);
}

.deliverable:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.deliverable__num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: var(--fw-medium);
  color: var(--color-text-muted);
  padding-top: 4px;
  text-align: right;
}

.deliverable__num::before {
  content: counter(deliverable, decimal-leading-zero);
}

.deliverable__content {}

.deliverable__title {
  font-family: var(--font-heading);
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-xs);
  line-height: var(--lh-snug);
}

.deliverable__desc {
  font-size: var(--fs-small);
  color: var(--color-text-tertiary);
  line-height: var(--lh-relaxed);
  max-width: 55ch;
}

/* Sub-section label */
.sub-label {
  font-family: var(--font-label);
  font-size: var(--fs-caption);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
  padding-top: var(--space-3xl);
}

.sub-label--addon {
  color: var(--color-option-1);
}

/* ============================================================
   CARD GRID (used sparingly, only for Key Considerations)
   ============================================================ */
.card-grid {
  display: grid;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.card-grid--3col {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  padding: var(--space-xl);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  background: var(--color-surface-1);
  transition: border-color var(--duration-normal) var(--ease-out);
}

.card:hover {
  border-color: var(--color-border-default);
}

.card__icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.card__title {
  font-family: var(--font-heading);
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
  line-height: var(--lh-snug);
}

.card__desc {
  font-size: var(--fs-small);
  color: var(--color-text-tertiary);
  line-height: var(--lh-relaxed);
}

/* ============================================================
   OPTION TOGGLE
   ============================================================ */
.option-toggle-wrapper {
  margin-bottom: var(--space-3xl);
}

.option-toggle {
  display: inline-flex;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  padding: 3px;
  gap: 2px;
}

.option-toggle__btn {
  padding: 8px 20px;
  font-family: var(--font-label);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--color-text-muted);
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
}

.option-toggle__btn:hover {
  color: var(--color-text-secondary);
}

.option-toggle__btn:focus-visible {
  outline: 2px solid var(--color-info);
  outline-offset: -2px;
}

.option-toggle__btn.active {
  background: var(--color-surface-4);
  color: var(--color-text-primary);
}

.option-toggle__btn.active[data-option="1"] {
  background: oklch(0.25 0.04 245);
  color: var(--color-option-1);
}

.option-toggle__btn.active[data-option="2"] {
  background: oklch(0.22 0.04 160);
  color: var(--color-option-2);
}

/* Option panels */
.option-panel {
  display: none;
  animation: panelIn var(--duration-normal) var(--ease-out-expo);
}

.option-panel.active {
  display: block;
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   ARCHITECTURE DIAGRAM
   ============================================================ */
.arch-diagram {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin: var(--space-2xl) 0;
}

.arch-layer {
  display: flex;
  gap: var(--space-sm);
}

.arch-box {
  flex: 1;
  padding: var(--space-lg) var(--space-xl);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  transition: border-color var(--duration-normal) var(--ease-out);
}

.arch-box:hover {
  border-color: var(--color-border-default);
}

.arch-box--opt1:hover {
  border-color: oklch(0.50 0.08 245);
}

.arch-box--opt2:hover {
  border-color: oklch(0.50 0.08 160);
}

.arch-box__label {
  font-family: var(--font-label);
  font-size: 0.68rem;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-bottom: 2px;
}

.arch-box__value {
  font-family: var(--font-heading);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  color: var(--color-text-primary);
}

.arch-box__desc {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  margin-top: 2px;
}

.arch-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xs) 0;
  color: var(--color-text-muted);
}

.arch-connector svg {
  width: 16px;
  height: 16px;
}

/* Capabilities / Limitations */
.cap-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.cap-list li {
  padding-left: 1.4em;
  position: relative;
  font-size: var(--fs-small);
  color: var(--color-text-secondary);
  line-height: var(--lh-normal);
}

.cap-list li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: var(--fw-bold);
}

.cap-list--pros li::before {
  content: '✓';
  color: var(--color-success);
}

.cap-list--cons {
  counter-reset: cons-counter;
}

.cap-list--cons li::before {
  content: counter(cons-counter, decimal-leading-zero);
  counter-increment: cons-counter;
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

/* ============================================================
   TABLES
   ============================================================ */
.proposal-table-wrapper {
  overflow-x: auto;
  overflow-y: auto;
  max-height: 72vh;
  margin-bottom: var(--space-md);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-subtle);
  background: var(--color-surface-1);

  /* Custom scrollbar — Webkit */
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

.proposal-table-wrapper::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.proposal-table-wrapper::-webkit-scrollbar-track {
  background: transparent;
}

.proposal-table-wrapper::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 3px;
}

.proposal-table-wrapper::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}

.proposal-table-wrapper::-webkit-scrollbar-corner {
  background: transparent;
}

.proposal-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: var(--fs-small);
}

.proposal-table thead {
  background: var(--color-surface-2);
  position: sticky;
  top: 0;
  z-index: 2;
}

.proposal-table tfoot {
  position: sticky;
  bottom: 0;
  z-index: 2;
}

.proposal-table th {
  padding: var(--space-sm) var(--space-md);
  text-align: left;
  font-family: var(--font-label);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-caption);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border-subtle);
  overflow-wrap: break-word;
}

.proposal-table td {
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid var(--color-border-subtle);
  color: var(--color-text-secondary);
  vertical-align: top;
  line-height: var(--lh-normal);
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.proposal-table tbody tr {
  transition: background var(--duration-fast) var(--ease-out);
}

.proposal-table tbody tr:hover {
  background: var(--color-surface-2);
}

.proposal-table tbody tr:last-child td {
  border-bottom: none;
}

.proposal-table td:first-child {
  font-weight: var(--fw-semibold);
  color: var(--color-text-primary);
}

.proposal-table th,
.proposal-table td {
  border-right: 1px solid var(--color-border-subtle);
}

.proposal-table th:last-child,
.proposal-table td:last-child {
  border-right: none;
}

.proposal-table .text-opt1 {
  color: var(--color-option-1);
}

.proposal-table .text-opt2 {
  color: var(--color-option-2);
}

.proposal-table .text-muted {
  color: var(--color-text-muted);
}

.proposal-table .row-total {
  background: var(--color-surface-2);
}

.proposal-table .row-total td {
  color: var(--color-text-primary);
  font-weight: var(--fw-semibold);
  border-top: 1px solid var(--color-border-default);
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
}

/* ============================================================
   CALLOUT — full border, no side-stripe
   ============================================================ */
.callout {
  padding: var(--space-lg) var(--space-xl);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-xl);
}

.callout--info {
  background: oklch(0.18 0.02 245);
  border-color: oklch(0.30 0.04 245);
}

.callout__title {
  font-family: var(--font-heading);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-xs);
}

.callout__text {
  font-size: var(--fs-small);
  color: var(--color-text-tertiary);
  line-height: var(--lh-relaxed);
}

/* ============================================================
   NEXT STEPS
   ============================================================ */
.steps {
  display: flex;
  align-items: flex-start;
  position: relative;
  gap: var(--space-2xl);
  max-width: 700px;
  margin-bottom: var(--space-xl);
}

.steps::before {
  content: '';
  position: absolute;
  top: 20px;
  left: calc(20px + var(--space-2xl));
  right: calc(20px + var(--space-2xl));
  height: 1px;
  background: var(--color-border-subtle);
  z-index: 0;
}

.step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}

.step__num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-surface-0);
  border: 1px solid var(--color-border-default);
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: var(--fw-bold);
  margin: 0 auto var(--space-md);
  transition: border-color var(--duration-normal) var(--ease-out);
}

.step:hover .step__num {
  border-color: var(--color-accent);
}

.step__label {
  font-family: var(--font-label);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 2px;
}

.step__title {
  font-family: var(--font-heading);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  color: var(--color-text-primary);
  line-height: var(--lh-snug);
}

.step__desc {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  margin-top: var(--space-xs);
  line-height: var(--lh-normal);
}

/* ============================================================
   DOCUMENT CONTROL
   ============================================================ */
.doc-control {
  margin-top: var(--space-2xl);
}

.doc-control__table {
  width: 100%;
  max-width: 450px;
  border-collapse: collapse;
  margin-bottom: var(--space-2xl);
}

.doc-control__table th,
.doc-control__table td {
  padding: var(--space-sm) var(--space-md);
  text-align: left;
  font-size: var(--fs-small);
  border-bottom: 1px solid var(--color-border-subtle);
}

.doc-control__table th {
  color: var(--color-text-muted);
  font-family: var(--font-label);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: var(--fs-caption);
}

.doc-control__table td {
  color: var(--color-text-secondary);
}

/* ============================================================
   FOOTER
   ============================================================ */
.proposal-footer {
  padding: var(--space-3xl) clamp(var(--space-2xl), 7vw, var(--space-5xl));
  border-top: 1px solid var(--color-border-subtle);
}

.proposal-footer__brand {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-md);
}

.proposal-footer__logo {
  height: 16px;
  width: auto;
  opacity: 0.35;
}

.proposal-footer__divider {
  width: 1px;
  height: 18px;
  background: var(--color-border-subtle);
}

.proposal-footer__text {
  font-family: var(--font-label);
  font-size: var(--fs-caption);
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

/* ============================================================
   SCROLL-REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--duration-reveal) var(--ease-out-expo),
    transform var(--duration-reveal) var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger>.reveal {
  transition-delay: calc(var(--i, 0) * 60ms);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.open {
    transform: translateX(0);
    box-shadow: var(--shadow-lg);
  }

  .sidebar__toggle {
    display: flex;
  }

  .main {
    margin-left: 0;
  }

  .card-grid--3col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero__meta {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .hero__meta-divider {
    width: 32px;
    height: 1px;
  }

  .steps {
    flex-direction: column;
    gap: var(--space-xl);
  }

  .steps::before {
    display: none;
  }

  .proposal-table {
    font-size: var(--fs-caption);
  }

  .arch-layer {
    flex-direction: column;
  }

  .deliverable {
    grid-template-columns: 28px 1fr;
  }
}

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: oklch(0.1 0.01 240 / 0.7);
  z-index: calc(var(--z-sidebar) - 1);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.sidebar-overlay.active {
  display: block;
  opacity: 1;
}

/* ============================================================
   SECTION-SPECIFIC OVERRIDES
   ============================================================ */

/* sub-section__title for option panels */
.sub-section__title {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-lg);
  letter-spacing: -0.01em;
}

/* sub-section__badge — not used mechanically */
.sub-section__badge {
  display: inline-block;
  font-family: var(--font-label);
  font-size: var(--fs-caption);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

.sub-section__badge--addon {
  color: var(--color-option-1);
}

/* ============================================================
   RESPONSIVE — shorter viewports
   ============================================================ */
@media (max-height: 800px) {
  .proposal-section {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-xl);
  }

  .section-header {
    margin-bottom: var(--space-xl);
  }

  .body-text {
    font-size: var(--fs-small);
    margin-bottom: var(--space-md);
  }

  .intro-metrics {
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
  }

  .intro-metric__value {
    font-size: var(--fs-h2);
  }
}

@media (max-height: 650px) {
  .proposal-section {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-md);
  }

  .section-header__title {
    font-size: var(--fs-h2);
  }

  .body-text {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: var(--space-sm);
  }
}