/* ==========================================================================
   Straight Arrow — Brand Website Styles
   Style Guide: STRAIGHTARROW_STYLE_GUIDE.md
   ========================================================================== */

/* --- CSS Custom Properties (Brand Tokens) --- */
:root {
  --navy: #25323f;
  --orange: #993300;
  --slate: #3d4654;
  --tan: #c4a882;
  --off-white: #f5f0eb;
  --white: #ffffff;
  --green: #2d6a4f;
  --red: #b8372a;

  --font: 'Instrument Sans', Arial, sans-serif;
  --radius: 4px;
  --transition: 0.3s ease;
}

/* --- Accessibility --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* --- Hero Entrance Animation --- */
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.4;
  color: var(--slate);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

.nav-scrolled {
  background: var(--white);
  box-shadow: 0 1px 12px rgba(37, 50, 63, 0.08);
}

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

.nav-logo img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter var(--transition);
}

.nav-scrolled .nav-logo img {
  filter: none;
}

.nav-logo .logo-svg {
  height: 40px;
  width: auto;
}

.nav-logo .logo-text {
  fill: #ffffff;
  transition: fill var(--transition);
}

.nav-logo .logo-accent {
  fill: var(--orange);
}

.nav-scrolled .nav-logo .logo-text {
  fill: var(--navy);
}

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

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  transition: color var(--transition);
  letter-spacing: 0.2px;
}

.nav-scrolled .nav-links a {
  color: var(--slate);
}

.nav-scrolled .nav-links a:hover {
  color: var(--orange);
}

.nav-links a:hover {
  color: var(--tan);
}

.nav-cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background var(--transition), transform var(--transition) !important;
}

.nav-cta:active {
  transform: scale(0.97) !important;
  transition-duration: 0.1s !important;
}

.nav-cta:hover {
  background: #7a2900 !important;
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(153, 51, 0, 0.3);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
  border-radius: 2px;
}

.nav-scrolled .nav-toggle span {
  background: var(--navy);
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--navy);
  z-index: 0;
}

@keyframes heroGradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-stripe {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 30%, rgba(153, 51, 0, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 20% 70%, rgba(61, 70, 84, 0.15) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 80% 80%, rgba(196, 168, 130, 0.08) 0%, transparent 50%);
  background-size: 200% 200%;
  animation: heroGradient 18s ease infinite;
}

@keyframes heroDrift1 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-15px) rotate(3deg); }
}
@keyframes heroDrift2 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(12px) rotate(-2deg); }
}

.hero-geo {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.hero-geo-1 {
  width: 320px;
  height: 320px;
  top: 10%;
  right: 8%;
  animation: heroDrift1 10s ease-in-out infinite;
}

.hero-geo-2 {
  width: 180px;
  height: 180px;
  bottom: 20%;
  right: 25%;
  border-color: rgba(196, 168, 130, 0.06);
  animation: heroDrift2 12s ease-in-out infinite;
}

.hero-geo-3 {
  width: 80px;
  height: 80px;
  top: 35%;
  right: 40%;
  border-color: rgba(153, 51, 0, 0.08);
  animation: heroDrift1 8s ease-in-out infinite 2s;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 32px 100px;
}

.hero-content .eyebrow,
.hero h1,
.hero-sub,
.hero-subtext,
.hero-actions {
  opacity: 0;
  animation: heroFadeIn 0.7s ease forwards;
}
.hero-content .eyebrow { animation-delay: 0s; }
.hero h1              { animation-delay: 0.12s; }
.hero-sub             { animation-delay: 0.24s; }
.hero-subtext         { animation-delay: 0.36s; }
.hero-actions         { animation-delay: 0.48s; }

.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.08;
  max-width: 720px;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--white) 60%, var(--tan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(16px, 3vw, 20px);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.75);
  max-width: 900px;
  line-height: 1.5;
  margin-bottom: 10px;
}

.hero-subtext {
  font-size: clamp(14px, 2vw, 16px);
  color: rgba(255, 255, 255, 0.75);
  max-width: 800px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.hero-subtext:last-of-type {
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}

.btn-primary:hover {
  background: #7a2900;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(153, 51, 0, 0.35);
}

.btn-primary:active,
.btn-outline:active {
  transform: scale(0.97);
  transition-duration: 0.1s;
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

/* --- Eyebrow Label Pattern --- */
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--orange);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: width 0.5s ease 0.2s;
  flex-shrink: 0;
}

.revealed .eyebrow::before,
.hero-content .eyebrow::before {
  width: 24px;
}

.eyebrow-light {
  color: var(--tan);
}

.hero-content .eyebrow {
  color: #fff;
}

/* --- Sections --- */
.section {
  padding: 100px 0;
}

.section-white {
  background: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
}

.section-off-white {
  background: var(--off-white);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
}

.section-navy {
  background: var(--navy);
}

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

.section-heading {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.3px;
}

.heading-white {
  color: var(--white);
}

.section-intro {
  font-size: 17px;
  color: var(--slate);
  max-width: 1200px;
  line-height: 1.6;
  margin-bottom: 48px;
}

.section-navy .section-intro {
  color: rgba(255, 255, 255, 0.7);
}

/* --- Angled Section Dividers --- */
.section-angled {
  position: relative;
  z-index: 1;
}

.section-angled::after {
  content: '';
  position: absolute;
  bottom: -24px;
  left: 0;
  right: 0;
  height: 48px;
  background: inherit;
  clip-path: polygon(0 0, 100% 0, 100% 0%, 0 100%);
  z-index: 2;
  pointer-events: none;
}

/* --- Stats Bar --- */
.stats-bar {
  background: var(--navy);
  padding: 48px 0;
  border-top: 3px solid var(--orange);
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.stat {
  flex: 1;
  text-align: center;
  padding: 8px 24px;
}

.stat-number {
  display: block;
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 4px;
}

.stat-icon {
  display: block;
  width: clamp(32px, 3vw, 44px);
  height: clamp(32px, 3vw, 44px);
  color: var(--orange);
  margin: 0 auto 6px;
}

.stat-label {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

/* --- Market Landscape --- */
.landscape-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 32px;
}

.landscape-card {
  padding: 36px 28px;
  background: var(--off-white);
  border: 1px solid var(--tan);
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.landscape-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(37, 50, 63, 0.1);
  border-color: var(--orange);
}

.landscape-stat {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 8px;
  line-height: 1.1;
}

.landscape-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.landscape-card p {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.55;
  margin-bottom: 12px;
}

.landscape-card cite {
  font-size: 12px;
  color: var(--tan);
  font-style: normal;
  font-weight: 500;
}

/* --- Problem Section --- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 32px;
}

.problem-card {
  background: var(--white);
  border: 1px solid var(--tan);
  border-radius: var(--radius);
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(37, 50, 63, 0.1);
  border-color: var(--red);
}

.problem-card:hover .problem-icon img,
.problem-card:hover .problem-icon svg {
  transform: scale(1.04);
  transition: transform var(--transition);
}

.problem-card-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--red);
}

.problem-icon {
  width: 100%;
  max-width: 160px;
  height: 180px;
  margin: 0 auto 16px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.problem-icon img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform var(--transition);
}

.problem-icon svg {
  width: 100%;
  height: 100%;
}

.problem-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.problem-card p {
  font-size: 14px;
  color: var(--red);
  font-weight: 600;
  line-height: 1.55;
}

.problem-result {
  margin-top: 36px;
  padding: 24px 28px;
  background: var(--white);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
}

.problem-result-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red);
  margin-bottom: 20px;
}

.problem-result-items {
  display: flex;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  position: relative;
}

/* Rolling ball */
.problem-result-ball {
  position: absolute;
  width: 16px;
  height: 16px;
  background: var(--red);
  border-radius: 50%;
  top: 50%;
  left: -30px;
  transform: translateY(-50%);
  opacity: 0;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(184, 55, 42, 0.45);
  pointer-events: none;
}

/* Before animation: circles hidden */
.problem-result-items.animate .problem-result-item {
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

/* Circle revealed by ball */
.problem-result-items.animate .problem-result-item.item-active {
  opacity: 1;
  transform: scale(1);
}

/* Currently highlighted circle */
.problem-result-items.animate .problem-result-item.item-highlight {
  opacity: 1;
  transform: scale(1.13);
  box-shadow: 0 0 0 8px rgba(184, 55, 42, 0.13);
}

/* Animation done — all settled */
.problem-result-items.animate-done .problem-result-item {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.problem-result-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, 1vw, 8px);
  flex: 1 1 0;
  min-width: 0;
  height: clamp(70px, 10vw, 90px);
  background: #fef2f2;
  border: 2px solid #fecaca;
  border-radius: 999px;
  text-align: center;
  font-size: clamp(9px, 1.4vw, 12px);
  font-weight: 600;
  color: var(--navy);
  padding: clamp(6px, 1.2vw, 12px);
  position: relative;
}

/* Ball is 1st child, so items are 2nd–6th children */
.problem-result-item:nth-child(2) { background: #fef2f2; border-color: #f5c6c2; }
.problem-result-item:nth-child(3) { background: #fce4e1; border-color: #e8a9a3; }
.problem-result-item:nth-child(4) { background: #f6cdc8; border-color: #d48077; }
.problem-result-item:nth-child(5) { background: #edb3ad; border-color: #c4554a; }
.problem-result-item:nth-child(6) { background: var(--red); border-color: var(--red); color: var(--white); }

.problem-result-item:nth-child(6) svg.problem-result-icon { color: var(--white); }

@media (max-width: 480px) {
  .problem-result-items {
    padding-left: 0;
  }
  .problem-result-ball { display: none; }
  .problem-result-items.animate .problem-result-item {
    opacity: 1;
    transform: scale(1);
  }
}

svg.problem-result-icon {
  width: clamp(18px, 3vw, 26px);
  height: clamp(18px, 3vw, 26px);
  flex-shrink: 0;
  color: var(--red);
}

/* --- Pillar Cards --- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

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

.pillar-card {
  background: var(--off-white);
  border: 1px solid var(--tan);
  border-top: 4px solid var(--orange);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(37, 50, 63, 0.1);
}

.pillar-number {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 12px;
  line-height: 1;
}

.pillar-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.25;
}

.pillar-card p {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.55;
}

/* --- Approach Infographic --- */
.approach-infographic {
  display: flex;
  align-items: stretch;
  margin-top: 48px;
  background: var(--off-white);
  border: 1px solid rgba(196, 168, 130, 0.45);
  border-radius: 8px;
  overflow: hidden;
}

.appr-panel {
  flex: 1;
  padding: 36px 32px;
  transition: opacity var(--transition), background var(--transition);
}

.approach-infographic:hover .appr-panel {
  opacity: 0.65;
}

.approach-infographic:hover .appr-panel:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.35);
}

.appr-panel:hover .appr-badge {
  transform: scale(1.06);
  transition: transform var(--transition);
}

.appr-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}

.appr-badge {
  font-size: 48px;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  letter-spacing: -2px;
  font-family: var(--font);
}

.appr-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  margin-top: 4px;
}

.appr-icon svg {
  width: 100%;
  height: 100%;
}

.appr-panel h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.2;
}

.appr-panel p {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.65;
}

.appr-sep {
  flex: 0 0 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(196, 168, 130, 0.08);
  border-left: 1px solid rgba(196, 168, 130, 0.35);
  border-right: 1px solid rgba(196, 168, 130, 0.35);
}

.appr-sep svg {
  width: 12px;
  height: 28px;
}

/* --- Comparison Table --- */
.comparison-table {
  margin-top: 40px;
  border: 1px solid var(--tan);
  border-radius: var(--radius);
  overflow: hidden;
}

.comparison-header {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1.5fr;
  background: var(--white);
  border-bottom: 1px solid var(--tan);
}

.comparison-col-label {
  padding: 16px 24px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.comparison-col-label.accent {
  color: var(--orange);
}

.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1.5fr;
  border-bottom: 1px solid var(--tan);
  transition: background var(--transition);
}

.comparison-row:last-child {
  border-bottom: none;
}

.comparison-row:hover {
  background: rgba(255, 255, 255, 0.6);
}

/* Green sweep on Straight Arrow column when revealed */
.comparison-row .comparison-cell:last-child {
  position: relative;
  overflow: hidden;
}

.comparison-row .comparison-cell:last-child::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(45, 106, 79, 0.08) 0%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.8s ease;
  pointer-events: none;
}

.comparison-row.revealed .comparison-cell:last-child::after {
  transform: translateX(0);
}

.dot {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.comparison-row.reveal .dot {
  transform: scale(0);
}

.comparison-row.revealed .dot {
  transform: scale(1);
}

.comparison-situation {
  padding: 18px 24px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  border-right: 1px solid var(--tan);
}

.comparison-cell {
  padding: 18px 24px;
  font-size: 14px;
  color: var(--slate);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-right: 1px solid var(--tan);
  line-height: 1.45;
}

.comparison-cell:last-child {
  border-right: none;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}

.dot-green {
  background: var(--green);
}

.dot-red {
  background: var(--red);
}

/* --- 180-Day Timeline --- */
.timeline {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 48px;
  margin-bottom: 56px;
}

.timeline-phase {
  flex: 1;
  text-align: center;
  padding: 0 16px;
}

.phase-marker {
  margin-bottom: 20px;
}

.phase-days {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: var(--radius);
}

.timeline-phase h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.timeline-phase p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.55;
}

.timeline-connector {
  width: 48px;
  height: 2px;
  background: var(--tan);
  flex-shrink: 0;
  margin-top: 22px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease 0.3s;
  opacity: 0.5;
}

.model-metrics {
  display: flex;
  justify-content: center;
  gap: 48px;
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.model-metric {
  text-align: center;
}

.metric-ring-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin-bottom: 8px;
}

.metric-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.metric-ring-fill {
  stroke-dasharray: 226; /* 2 * PI * 36 */
  stroke-dashoffset: 226;
  transition: stroke-dashoffset 1.2s ease 0.4s;
}

.model-metric.revealed .metric-ring-fill,
.revealed .model-metric .metric-ring-fill {
  stroke-dashoffset: var(--ring-offset);
}

.model-metric-number {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--orange);
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

.model-metric-label {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

/* --- Why It Works (Light) --- */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 32px;
}

.reason-card-light {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 28px;
  background: var(--off-white);
  border: 1px solid var(--tan);
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition);
}

.reason-card-light:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(37, 50, 63, 0.1);
  border-color: var(--orange);
}

.reason-card-light:hover .reason-icon svg {
  transform: scale(1.08);
  transition: transform var(--transition);
}

.reason-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.reason-icon svg {
  width: 100%;
  height: 100%;
}

.reason-card-light h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.reason-card-light p {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.55;
}

/* --- Case Study --- */
/* --- Case Study: Situation --- */
.case-situation {
  margin-top: 32px;
  margin-bottom: 40px;
}

.case-situation h3,
.case-workflow h3,
.case-results-bar h3 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--orange);
  margin-bottom: 16px;
}

.case-situation-items {
  display: flex;
  gap: 24px;
}

.case-situation-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex: 1;
  font-size: 15px;
  color: var(--slate);
  line-height: 1.55;
}

.case-situation-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* --- Case Study: Workflow Diagram --- */
.case-workflow {
  margin-bottom: 40px;
}

.workflow-steps {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.workflow-step {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--tan);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.workflow-step:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border-color: var(--orange);
}

.workflow-step-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
}

.workflow-step-icon svg {
  width: 100%;
  height: 100%;
}

.workflow-step h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.workflow-step p {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.55;
}

.workflow-arrow {
  flex-shrink: 0;
  width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 60px;
}

.workflow-arrow svg {
  width: 40px;
  height: 24px;
}

/* --- Case Study: Results Bar --- */
.case-results-bar {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 32px 36px;
}

.case-results-bar h3 {
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}

.case-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-result {
  text-align: center;
}

.case-result-number {
  display: block;
  font-size: 36px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 6px;
  line-height: 1.1;
}

.case-result-label {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

/* --- Bio Cards --- */
.bio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 32px;
}

.bio-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.bio-card {
  background: var(--off-white);
  border: 1px solid var(--tan);
  border-left: 3px solid transparent;
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: left;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.bio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(37, 50, 63, 0.1);
  border-left-color: var(--orange);
}

.bio-avatar {
  width: 80px;
  height: 80px;
  margin: 0 0 20px;
}

.bio-avatar svg {
  width: 100%;
  height: 100%;
}

.bio-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.bio-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--orange);
  margin-bottom: 16px;
}

.bio-text {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.6;
  margin-bottom: 16px;
}

.bio-education {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.45;
}

/* --- CTA Section (Navy variant) --- */
.cta-section {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.cta-section-navy .section-heading {
  text-align: center;
}

.cta-section-navy .eyebrow {
  text-align: center;
  justify-content: center;
}

.cta-divider {
  width: 80px;
  height: 3px;
  background: var(--orange);
  margin: 0 auto 32px;
}

.cta-divider-orange {
  background: var(--orange);
}

.cta-body {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.65;
  margin-bottom: 32px;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.cta-website-light {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

/* --- Footer --- */
.footer {
  background: var(--navy);
  padding: 56px 0 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-logo {
  height: 36px;
  width: auto;
  margin-bottom: 12px;
}

.footer-logo .logo-text {
  fill: #ffffff;
}

.footer-logo .logo-accent {
  fill: var(--orange);
}

.footer-tagline {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  max-width: 320px;
  line-height: 1.5;
}

.footer-right {
  text-align: right;
}

.footer-links {
  display: flex;
  gap: 24px;
  margin-bottom: 16px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-email {
  font-size: 14px;
  color: var(--orange);
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
}

/* --- SVG Draw-On Animation --- */
.draw-svg path,
.draw-svg circle,
.draw-svg line,
.draw-svg rect,
.draw-svg polyline {
  transition: stroke-dashoffset 0.8s ease 0.3s;
}

.revealed .draw-svg path,
.revealed .draw-svg circle,
.revealed .draw-svg line,
.revealed .draw-svg rect,
.revealed .draw-svg polyline {
  stroke-dashoffset: 0 !important;
}

/* --- Scroll Progress Bar --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--orange);
  z-index: 102;
  transition: none;
}

/* --- Active Nav Link --- */
.nav-links a.nav-active {
  color: var(--orange) !important;
}

.nav-links a.nav-active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--orange);
}

.nav-links a {
  position: relative;
}

/* --- Scroll Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.pillar-card.reveal { transition-delay: calc(var(--i, 0) * 0.1s); }
.pillar-card:nth-child(1) { --i: 0; }
.pillar-card:nth-child(2) { --i: 1; }
.pillar-card:nth-child(3) { --i: 2; }

.reason-card-light.reveal { transition-delay: calc(var(--j, 0) * 0.1s); }
.reason-card-light:nth-child(1) { --j: 0; }
.reason-card-light:nth-child(2) { --j: 1; }
.reason-card-light:nth-child(3) { --j: 2; }
.reason-card-light:nth-child(4) { --j: 3; }

.bio-card.reveal { transition-delay: calc(var(--k, 0) * 0.1s); }
.bio-card:nth-child(1) { --k: 0; }
.bio-card:nth-child(2) { --k: 1; }

.stat.reveal { transition-delay: calc(var(--s, 0) * 0.1s); }
.stat:nth-child(1) { --s: 0; }
.stat:nth-child(3) { --s: 1; }
.stat:nth-child(5) { --s: 2; }
.stat:nth-child(7) { --s: 3; }

.comparison-row.reveal { transition-delay: calc(var(--r, 0) * 0.08s); }
.comparison-row:nth-child(2) { --r: 0; }
.comparison-row:nth-child(3) { --r: 1; }
.comparison-row:nth-child(4) { --r: 2; }
.comparison-row:nth-child(5) { --r: 3; }
.comparison-row:nth-child(6) { --r: 4; }

.landscape-card.reveal { transition-delay: calc(var(--l, 0) * 0.1s); }
.landscape-card:nth-child(1) { --l: 0; }
.landscape-card:nth-child(2) { --l: 1; }
.landscape-card:nth-child(3) { --l: 2; }

.problem-card.reveal { transition-delay: calc(var(--p, 0) * 0.1s); }
.problem-card:nth-child(1) { --p: 0; }
.problem-card:nth-child(2) { --p: 1; }
.problem-card:nth-child(3) { --p: 2; }

.timeline-phase.revealed + .timeline-connector {
  transform: scaleX(1);
}

.timeline-phase.reveal { transition-delay: calc(var(--t, 0) * 0.15s); }
.timeline-phase:nth-of-type(1) { --t: 0; }
.timeline-phase:nth-of-type(2) { --t: 1; }
.timeline-phase:nth-of-type(3) { --t: 2; }
.timeline-phase:nth-of-type(4) { --t: 3; }

.case-result.reveal { transition-delay: calc(var(--c, 0) * 0.1s); }
.case-result:nth-child(1) { --c: 0; }
.case-result:nth-child(2) { --c: 1; }
.case-result:nth-child(3) { --c: 2; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .pillars-grid,
  .pillars-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .landscape-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .problem-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .timeline {
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
  }

  .timeline-connector {
    display: none;
  }

  .timeline-phase {
    flex: 0 0 calc(50% - 12px);
  }

  .model-metrics {
    flex-wrap: wrap;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px 32px;
    gap: 16px;
    box-shadow: 0 8px 24px rgba(37, 50, 63, 0.12);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    color: var(--slate) !important;
    font-size: 16px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero-geo {
    display: none;
  }

  .section-angled::after {
    display: none;
  }

  .hero-content {
    padding: 120px 24px 80px;
  }

  .section {
    padding: 72px 0;
  }

  .container {
    padding: 0 24px;
  }

  .stats-inner {
    flex-direction: column;
    gap: 24px;
    padding: 0 24px;
  }

  .stat-divider {
    width: 48px;
    height: 1px;
  }

  .pillars-grid,
  .pillars-grid-3,
  .landscape-grid,
  .problem-grid {
    grid-template-columns: 1fr;
  }

  .problem-result-items {
    flex-direction: column;
  }

  .comparison-table {
    overflow-x: auto;
  }

  .comparison-header,
  .comparison-row {
    min-width: 600px;
  }

  .reasons-grid {
    grid-template-columns: 1fr;
  }

  .approach-infographic {
    flex-direction: column;
  }

  .appr-sep {
    flex: 0 0 32px;
    width: 100%;
    border-left: none;
    border-right: none;
    border-top: 1px solid rgba(196, 168, 130, 0.35);
    border-bottom: 1px solid rgba(196, 168, 130, 0.35);
  }

  .appr-sep svg {
    transform: rotate(90deg);
  }

  .bio-grid,
  .bio-grid-2 {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .case-situation-items {
    flex-direction: column;
  }

  .workflow-steps {
    flex-direction: column;
    align-items: stretch;
  }

  .workflow-arrow {
    padding-top: 0;
    width: 100%;
    height: 32px;
  }

  .workflow-arrow svg {
    transform: rotate(90deg);
  }

  .case-results-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .timeline-phase {
    flex: 0 0 100%;
  }

  .model-metrics {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 32px;
  }

  .footer-right {
    text-align: left;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 32px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}
