/* style.css — Colin Vega · design tokens + components */

/* ============ FONTS ============ */
/* Playfair Display (display, authoritative serif) + DM Sans (body) */

/* ============ DESIGN TOKENS ============ */
:root {
  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);
  --text-hero: clamp(2.75rem, 1.2rem + 5.5vw, 6.25rem);

  /* Spacing (4px base) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Radius — restrained, squared-off for authority */
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
  --content-full: 100%;

  /* Fonts */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;

  /* Fixed brand navy — used for hero/timeline regardless of theme */
  --color-navy: #0b1f3a;
  --color-navy-2: #12294f;
  --color-navy-deep: #071427;
  --color-navy-line: rgba(201, 162, 39, 0.35);
}

:root,
[data-theme='light'] {
  --color-bg: #f7f8fa;
  --color-surface: #ffffff;
  --color-surface-2: #fbfbfc;
  --color-surface-offset: #eef1f6;
  --color-surface-offset-2: #e4e8f0;
  --color-surface-dynamic: #dde2eb;
  --color-divider: #e1e5ec;
  --color-border: #d3d9e3;

  --color-text: #0b1f3a;
  --color-text-muted: #4a5568;
  --color-text-faint: #8a93a6;
  --color-text-inverse: #ffffff;

  --color-primary: #a6821a;
  --color-primary-hover: #8f7318;
  --color-primary-active: #705a13;
  --color-primary-highlight: #f3e9c9;

  --shadow-sm: 0 1px 2px rgba(11, 31, 58, 0.06);
  --shadow-md: 0 4px 16px rgba(11, 31, 58, 0.1);
  --shadow-lg: 0 16px 40px rgba(11, 31, 58, 0.14);
}

[data-theme='dark'] {
  --color-bg: #071427;
  --color-surface: #0b1f3a;
  --color-surface-2: #0f274a;
  --color-surface-offset: #12294f;
  --color-surface-offset-2: #163158;
  --color-surface-dynamic: #1a3a6b;
  --color-divider: #1d3a66;
  --color-border: #24457a;

  --color-text: #f3f5f9;
  --color-text-muted: #a9b4c7;
  --color-text-faint: #6e7c96;
  --color-text-inverse: #0b1f3a;

  --color-primary: #e3be4a;
  --color-primary-hover: #f0ce66;
  --color-primary-active: #c9a227;
  --color-primary-highlight: #3a331b;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #071427;
    --color-surface: #0b1f3a;
    --color-surface-2: #0f274a;
    --color-surface-offset: #12294f;
    --color-surface-offset-2: #163158;
    --color-surface-dynamic: #1a3a6b;
    --color-divider: #1d3a66;
    --color-border: #24457a;
    --color-text: #f3f5f9;
    --color-text-muted: #a9b4c7;
    --color-text-faint: #6e7c96;
    --color-text-inverse: #0b1f3a;
    --color-primary: #e3be4a;
    --color-primary-hover: #f0ce66;
    --color-primary-active: #c9a227;
    --color-primary-highlight: #3a331b;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
  }
}

/* ============ UTILITIES ============ */
.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  background: var(--color-primary);
  color: var(--color-navy);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 600;
  z-index: 100;
  transition: top var(--transition-interactive);
}
.skip-link:focus-visible {
  top: var(--space-4);
}

.wrap {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-5), 4vw, var(--space-12));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.eyebrow::before {
  content: '';
  width: 1.25rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(1);
  transform-origin: left;
}
@supports (animation-timeline: scroll()) {
  .eyebrow::before {
    transform: scaleX(0);
    animation: eyebrow-grow linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 55%;
  }
}
@keyframes eyebrow-grow {
  to {
    transform: scaleX(1);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-sm);
  min-height: 44px;
  white-space: nowrap;
  transition:
    background var(--transition-interactive),
    color var(--transition-interactive),
    border-color var(--transition-interactive),
    box-shadow var(--transition-interactive),
    transform var(--transition-interactive);
}
.btn--gold {
  position: relative;
  background: var(--color-primary);
  color: var(--color-navy-deep);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  isolation: isolate;
}
.btn--gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  transform: skewX(-15deg);
  transition: left 0.65s var(--ease-out);
  pointer-events: none;
}
.btn--gold:hover::before {
  left: 130%;
}
.btn--gold:hover {
  background: var(--color-primary-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.btn--gold:active {
  background: var(--color-primary-active);
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}
@media (prefers-reduced-motion: no-preference) {
  .btn--pulse {
    animation: btn-pulse-ring 2.6s ease-out infinite;
  }
  .btn--pulse:hover,
  .btn--pulse:focus-visible {
    animation-play-state: paused;
  }
}
@keyframes btn-pulse-ring {
  0% {
    box-shadow: 0 0 0 0 color-mix(in oklab, var(--color-primary) 55%, transparent), var(--shadow-sm);
  }
  70% {
    box-shadow: 0 0 0 14px color-mix(in oklab, var(--color-primary) 0%, transparent), var(--shadow-sm);
  }
  100% {
    box-shadow: 0 0 0 0 color-mix(in oklab, var(--color-primary) 0%, transparent), var(--shadow-sm);
  }
}
.btn--ghost {
  background: transparent;
  color: var(--color-text-inverse);
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.btn--ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.btn--outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.btn--outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* ============ SCROLL REVEALS (opacity/clip-path only — no CLS) ============ */
.reveal {
  opacity: 1;
}
@supports (animation-timeline: scroll()) {
  .reveal {
    opacity: 0;
    animation: reveal-fade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 40%;
  }
}
@keyframes reveal-fade {
  to {
    opacity: 1;
  }
}

.reveal-up {
  opacity: 1;
}
@supports (animation-timeline: scroll()) {
  .reveal-up {
    opacity: 0;
    clip-path: inset(30% 0 0 0);
    animation: reveal-clip linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 45%;
  }
}
@keyframes reveal-clip {
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

/* ============ HEADER ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--color-navy) 92%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition:
    transform 0.3s var(--ease-in-out),
    box-shadow 0.3s var(--ease-in-out);
}
.header--hidden {
  transform: translateY(-100%);
}
.header--scrolled {
  box-shadow: var(--shadow-md);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-block: var(--space-4);
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-text-inverse);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
}
.brand:hover {
  color: var(--color-primary);
}
.brand__mark {
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  color: var(--color-primary);
}
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}
.nav__links {
  display: flex;
  gap: var(--space-6);
}
.nav__links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  position: relative;
  padding-block: var(--space-1);
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-interactive);
}
.nav__links a:hover {
  color: var(--color-text-inverse);
}
.nav__links a:hover::after {
  transform: scaleX(1);
}
.nav__cta {
  display: none;
}
@media (min-width: 860px) {
  .nav__cta {
    display: inline-flex;
  }
}
.nav__toggle {
  display: none;
}
@media (max-width: 859px) {
  .nav__links {
    display: none;
  }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--color-navy) 0%, var(--color-navy-2) 55%, var(--color-navy-deep) 100%);
  color: var(--color-text-inverse);
  overflow: hidden;
  padding-block: clamp(var(--space-16), 9vw, var(--space-20)) clamp(var(--space-12), 7vw, var(--space-16));
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 162, 39, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 162, 39, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  top: -10%;
  right: 8%;
  width: min(46vw, 620px);
  height: min(46vw, 620px);
  background: radial-gradient(circle, rgba(201, 162, 39, 0.22), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .hero::after {
    animation: hero-glow-drift 15s var(--ease-in-out) infinite alternate;
  }
}
@keyframes hero-glow-drift {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(-6%, 6%) scale(1.12);
  }
}
.hero__grid {
  position: relative;
  display: grid;
  gap: var(--space-12);
}
@media (min-width: 980px) {
  .hero__grid {
    grid-template-columns: 1.05fr 0.7fr;
    align-items: center;
  }
}
.hero__content {
  position: relative;
  max-width: 46ch;
}
.hero__float-icons--headline {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  display: none;
}
@media (min-width: 1100px) {
  .hero__float-icons--headline {
    display: block;
  }
}
.float-chip--5 { top: -46px; right: -90px; }
.float-chip--6 { top: 100px; right: -130px; }
.float-chip--7 { top: 230px; right: -70px; }
.hero__eyebrow {
  color: var(--color-primary);
}
.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.35rem + 3.1vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-top: var(--space-5);
  max-width: 19ch;
}
.hero__headline .accent {
  color: var(--color-primary);
}
.hero__headline .kw {
  display: inline-block;
}
@media (prefers-reduced-motion: no-preference) {
  .hero__headline .kw {
    opacity: 0;
    transform: translateY(0.55em);
    animation: kw-in 0.7s var(--ease-out) both;
    animation-delay: calc(var(--i) * 70ms + 120ms);
  }
}
@keyframes kw-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .hero__eyebrow {
    opacity: 0;
    animation: fade-up 0.7s var(--ease-out) both;
  }
  .hero__subhead {
    opacity: 0;
    animation: fade-up 0.7s var(--ease-out) both;
    animation-delay: 0.68s;
  }
  .hero__actions {
    opacity: 0;
    animation: fade-up 0.7s var(--ease-out) both;
    animation-delay: 0.78s;
  }
  .hero__card.reveal {
    opacity: 0;
    transform: translateY(14px) scale(0.97);
    animation: card-in 0.85s var(--ease-out) both;
    animation-delay: 0.32s;
  }
  .hero__proof.reveal {
    opacity: 0;
    animation: fade-up 0.7s var(--ease-out) both;
    animation-delay: 0.9s;
  }
}
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes card-in {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.hero__subhead {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.82);
  margin-top: var(--space-6);
  max-width: 42ch;
  font-weight: 400;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-10);
}
.hero__card-wrap {
  position: relative;
  justify-self: center;
  width: min(100%, 360px);
}
.hero__card {
  position: relative;
  width: 100%;
  background: color-mix(in oklab, var(--color-navy-2) 88%, black 12%);
  border: 1px solid rgba(201, 162, 39, 0.4);
  overflow: hidden;
  transition: transform 0.35s var(--ease-out);
  will-change: transform;
}
.hero__grid {
  perspective: 1400px;
}

/* Floating problem/clarity chips overlapping the card edges */
.hero__float-icons {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}
.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: clamp(5px, 1.4vw, 7px) clamp(9px, 2.4vw, 12px) clamp(5px, 1.4vw, 7px) clamp(6px, 1.6vw, 8px);
  border-radius: 999px;
  background: color-mix(in oklab, var(--color-navy-deep) 92%, black 8%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 24px rgba(4, 10, 22, 0.4);
  font-family: var(--font-body);
  font-size: clamp(0.62rem, 1.6vw, 0.72rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
  backdrop-filter: blur(6px);
  opacity: 0;
}
.float-chip svg {
  width: clamp(12px, 3vw, 15px);
  height: clamp(12px, 3vw, 15px);
  flex-shrink: 0;
  color: var(--color-primary);
  opacity: 0.9;
}
.float-chip--1 { top: -6%; left: -8%; }
.float-chip--2 { top: 22%; left: -12%; }
.float-chip--3 { top: 47%; left: -10%; }
.float-chip--4 { top: -6%; right: 4%; }
.float-chip--clarity {
  bottom: -5%;
  right: -6%;
  background: linear-gradient(135deg, var(--color-primary), #e8c15c);
  color: var(--color-navy-deep);
  border-color: rgba(201, 162, 39, 0.55);
  box-shadow: 0 12px 28px rgba(201, 162, 39, 0.4);
  font-weight: 700;
}
.float-chip--clarity svg {
  color: var(--color-navy-deep);
  opacity: 1;
}
@media (max-width: 639px) {
  .float-chip--2, .float-chip--3 { display: none; }
  .float-chip--1 { top: -4%; left: -4%; }
  .float-chip--4 { top: -4%; right: 2%; }
  .float-chip--clarity { bottom: -4%; right: -3%; }
}
@media (prefers-reduced-motion: no-preference) {
  .float-chip {
    animation: chip-fade-in 0.7s var(--ease-out) forwards, chip-float 5s var(--ease-in-out) infinite;
    animation-delay: calc(var(--fd) * 0.35s + 0.55s), calc(var(--fd) * 0.35s + 0.55s);
  }
  .float-chip--clarity {
    animation: chip-fade-in 0.7s var(--ease-out) forwards, chip-float-clarity 3.4s var(--ease-in-out) infinite;
    animation-delay: calc(var(--fd) * 0.35s + 0.55s), calc(var(--fd) * 0.35s + 0.55s);
  }
}
@media (prefers-reduced-motion: reduce) {
  .float-chip { opacity: 1; }
}
@keyframes chip-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes chip-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-9px) rotate(-2deg); }
}
@keyframes chip-float-clarity {
  0%, 100% { transform: translateY(0) scale(1); box-shadow: 0 12px 28px rgba(201, 162, 39, 0.4); }
  50% { transform: translateY(-7px) scale(1.05); box-shadow: 0 18px 40px rgba(201, 162, 39, 0.6); }
}
.hero__card-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-bottom: 1px solid rgba(201, 162, 39, 0.4);
}
.hero__card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero__card-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, color-mix(in oklab, var(--color-navy-2) 88%, black 12%) 0%, transparent 32%),
    linear-gradient(to bottom, rgba(7, 20, 39, 0.25) 0%, transparent 22%);
  pointer-events: none;
}
.hero__card-badge {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  background: color-mix(in oklab, var(--color-navy-deep) 82%, transparent);
  border: 1px solid rgba(201, 162, 39, 0.55);
  backdrop-filter: blur(4px);
}
.hero__card-badge svg {
  width: 1.35rem;
  height: 1.35rem;
  color: var(--color-primary);
}
.hero__card-info {
  padding: clamp(var(--space-6), 3.5vw, var(--space-8));
}
.hero__card-tag {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.hero__card-name {
  margin-top: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text-inverse);
}
.hero__card-role {
  margin-top: var(--space-1);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.62);
}
.hero__card-list {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.hero__card-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
}
.hero__card-row dt {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.03em;
}
.hero__card-row dd {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-primary);
  text-align: right;
}

.hero__proof {
  position: relative;
  margin-top: clamp(var(--space-16), 8vw, var(--space-24));
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: var(--space-10);
}
@media (min-width: 760px) {
  .hero__proof {
    grid-template-columns: repeat(4, 1fr);
  }
}
.stat__value {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
}
.stat__label {
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.68);
  max-width: 20ch;
}

/* ============ SECTION SHELL ============ */
.section {
  padding-block: clamp(var(--space-16), 9vw, var(--space-32));
}
.section--offset {
  background: var(--color-surface-offset);
}
#solve .section__head {
  position: relative;
}
.section__head {
  max-width: 62ch;
  margin-bottom: clamp(var(--space-10), 6vw, var(--space-16));
}
.solve-float-icons {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  display: none;
}
@media (min-width: 1100px) {
  .solve-float-icons {
    display: block;
  }
}
.float-chip--solve-1 { top: -42px; right: -50px; }
.float-chip--solve-2 { top: 58px; right: -120px; }
.float-chip--solve-3 { top: 150px; right: -40px; }
.section__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-top: var(--space-4);
  letter-spacing: -0.01em;
}
.section__intro {
  margin-top: var(--space-4);
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  font-weight: 400;
}

/* ============ WHAT I SOLVE — problem/solution rows ============ */
.solve-list {
  display: flex;
  flex-direction: column;
}
.solve-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-6);
  padding-block: clamp(var(--space-8), 4vw, var(--space-10));
  border-top: 1px solid var(--color-divider);
}
.solve-row:last-child {
  border-bottom: 1px solid var(--color-divider);
}
.solve-row__index {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary-highlight);
  line-height: 1;
  min-width: 2.5ch;
}
[data-theme='dark'] .solve-row__index {
  color: var(--color-surface-dynamic);
}
.solve-row__body {
  display: grid;
  gap: var(--space-6);
}
@media (min-width: 860px) {
  .solve-row__body {
    grid-template-columns: 1fr 1px 1fr;
    align-items: start;
  }
}
.solve-row__divider {
  display: none;
  background: var(--color-divider);
  width: 1px;
  align-self: stretch;
}
@media (min-width: 860px) {
  .solve-row__divider {
    display: block;
  }
}
.solve-row__label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}
.solve-row__problem .solve-row__label {
  color: var(--color-text-faint);
}
.solve-row__solution .solve-row__label {
  color: var(--color-primary);
}
.solve-row__problem p,
.solve-row__solution p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
}
.solve-row__solution p {
  color: var(--color-text);
}
.solve-row:hover .solve-row__index {
  color: var(--color-primary);
}

/* ============ TIMELINE ============ */
.timeline-section {
  background: var(--color-navy);
  color: var(--color-text-inverse);
  position: relative;
}
.timeline-section .section__intro {
  color: rgba(255, 255, 255, 0.72);
}
.timeline {
  position: relative;
  margin-top: var(--space-4);
}
.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 1px;
  background: linear-gradient(to bottom, rgba(201, 162, 39, 0.6), rgba(201, 162, 39, 0.08));
}
.timeline-item {
  position: relative;
  padding-left: var(--space-10);
  padding-bottom: clamp(var(--space-10), 5vw, var(--space-12));
}
.timeline-item:last-child {
  padding-bottom: 0;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 15px;
  height: 15px;
  border-radius: var(--radius-full);
  background: var(--color-navy);
  border: 2px solid var(--color-primary);
}
.timeline-item__meta {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.timeline-item__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-top: var(--space-2);
}
.timeline-item__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  margin-top: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 162, 39, 0.4);
  transition: color var(--transition-interactive), border-color var(--transition-interactive);
}

.timeline-item__link:hover {
  color: var(--color-text-inverse);
  border-color: var(--color-text-inverse);
}

.timeline-item__desc {
  margin-top: var(--space-3);
  color: rgba(255, 255, 255, 0.75);
  max-width: 62ch;
}

.pull-quote {
  margin-top: clamp(var(--space-16), 8vw, var(--space-20));
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: var(--space-10);
  max-width: 60ch;
}
.pull-quote p {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  font-style: italic;
  line-height: 1.5;
  color: var(--color-text-inverse);
}
.pull-quote cite {
  display: block;
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  font-style: normal;
  color: var(--color-primary);
  font-weight: 600;
}

/* ============ CTA BLOCK ============ */
.cta {
  background: var(--color-surface);
}
.cta__panel {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-2) 100%);
  color: var(--color-text-inverse);
  border-radius: var(--radius-lg);
  padding: clamp(var(--space-10), 6vw, var(--space-16));
  display: grid;
  gap: var(--space-8);
  position: relative;
  overflow: hidden;
}
@media (min-width: 860px) {
  .cta__panel {
    grid-template-columns: 1.2fr auto;
    align-items: center;
  }
}
.cta__panel::after {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(201, 162, 39, 0.18);
  border-radius: var(--radius-full);
}
.cta__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  max-width: 24ch;
}
.cta__body {
  margin-top: var(--space-4);
  color: rgba(255, 255, 255, 0.78);
  max-width: 52ch;
}
.cta__actions-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.cta__micro {
  margin-top: var(--space-3);
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.55);
}
.cta__phone {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.68);
}
.cta__phone a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-interactive);
}
.cta__phone a:hover {
  border-color: var(--color-primary);
}

/* ============ FOOTER ============ */
.footer {
  padding-block: var(--space-10);
  border-top: 1px solid var(--color-divider);
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.footer__copy {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.footer__contact {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
}
.footer__contact a {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-decoration: none;
}
.footer__contact a:hover {
  color: var(--color-primary);
}
.footer__links {
  display: flex;
  gap: var(--space-6);
}
.footer__links a {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-decoration: none;
}
.footer__links a:hover {
  color: var(--color-primary);
}

/* ============ THEME TOGGLE ============ */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.7);
}
.theme-toggle:hover {
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.06);
}

/* ============ RESPONSIVE FINE-TUNING ============ */
@media (max-width: 640px) {
  .hero__headline {
    max-width: 100%;
  }
  .cta__panel {
    text-align: left;
  }
}
