/* ===== Nexara Consulting — design system ===== */
:root {
  --navy-900: #25183a;
  --navy-800: #25183a;
  --navy-700: #33206c;
  --navy-600: #4a315f;
  --orange: #cd5320;
  --orange-hi: #e30b5d;
  --cream: #f9f3ea;
  --paper: #f9f3ea;
  --ink: #25183a;
  --text: rgba(249, 243, 234, 0.86);
  --muted: rgba(249, 243, 234, 0.6);
  --line: rgba(249, 243, 234, 0.12);
  --maxw: 1180px;
  --radius: 16px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("assets/fonts/PlusJakartaSans-Light.ttf") format("truetype");
  font-weight: 300; font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("assets/fonts/PlusJakartaSans-Regular.ttf") format("truetype");
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("assets/fonts/PlusJakartaSans-Medium.ttf") format("truetype");
  font-weight: 500; font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("assets/fonts/PlusJakartaSans-SemiBold.ttf") format("truetype");
  font-weight: 600; font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("assets/fonts/PlusJakartaSans-ExtraBold.ttf") format("truetype");
  font-weight: 800; font-display: swap;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  background: var(--navy-800);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0; font-weight: 800; letter-spacing: -0.02em; }
p { margin: 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--orange); color: #fff;
  padding: 10px 16px; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  border: 1px solid transparent; cursor: pointer; transition: transform 0.2s var(--ease), background 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: var(--orange); color: #fff; }
.btn-accent:hover { background: var(--orange-hi); }
.btn-ghost { border-color: var(--line); color: var(--cream); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange-hi); }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(8, 16, 28, 0.55);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}
.site-header.scrolled { background: rgba(8, 16, 28, 0.92); border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand-logo { height: 26px; width: auto; }
.main-nav { display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-list a { color: var(--text); font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
.nav-list a:hover { color: var(--orange-hi); }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--cream); transition: 0.3s; }

/* ===== Hero ===== */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; isolation: isolate; background: var(--navy-900) url("assets/hero/nexara-poster.png") center / cover no-repeat; }
.hero::after {
  content: ""; position: absolute; inset: -20%; z-index: 1; pointer-events: none;
  background: radial-gradient(circle at 72% 35%, rgba(232,99,42,.18), transparent 28%), radial-gradient(circle at 20% 80%, rgba(42,125,120,.13), transparent 30%);
  animation: hero-drift 14s ease-in-out infinite alternate;
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; z-index: 0;
  background: var(--navy-900); opacity: .86; transition: opacity .8s var(--ease);
}
.hero-video.is-ready { opacity: 1; }
.hero-play { position: absolute; z-index: 4; left: 24px; bottom: 28px; border: 1px solid rgba(245,240,234,.45); border-radius: 999px; padding: 11px 18px; background: rgba(8,16,28,.78); color: var(--cream); font: inherit; cursor: pointer; backdrop-filter: blur(8px); }
.hero-play:not([hidden]) { display: inline-flex; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(120% 90% at 70% 30%, rgba(8,16,28,0.35), rgba(8,16,28,0.82) 70%, rgba(8,16,28,0.95));
}
.hero-content { position: relative; z-index: 2; padding: 120px 24px; max-width: 760px; }
.hero-content-hidden { display: none; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.78rem; font-weight: 600;
  color: var(--orange-hi); margin-bottom: 18px;
}
.hero-title { font-size: clamp(2.6rem, 6vw, 4.6rem); color: var(--cream); }
.hero-sub { margin-top: 22px; font-size: clamp(1.05rem, 1.6vw, 1.35rem); color: var(--text); max-width: 620px; }
.hero-actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.scroll-cue { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2; width: 26px; height: 42px; border: 2px solid var(--muted); border-radius: 14px; }
.scroll-cue span { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; background: var(--orange-hi); border-radius: 2px; animation: scrolldot 1.8s infinite; }
@keyframes scrolldot { 0% { opacity: 0; top: 8px; } 40% { opacity: 1; } 80% { opacity: 0; top: 22px; } 100% { opacity: 0; } }

/* ===== Hero continuation: copy and ecosystem motion appear after the film ===== */
#cenario .container { position: relative; }
.scroll-copy { max-width: 640px; padding: 12px 0 72px; }
.scroll-copy .hero-title { color: var(--cream); }
.scroll-copy .hero-sub { color: var(--text); }
.hero-orbit {
  position: absolute; top: 58px; right: 24px; width: min(36vw, 390px); aspect-ratio: 1;
  border: 1px solid rgba(245,240,234,.18); border-radius: 50%; transform: rotate(-12deg);
  animation: orbit-float 10s ease-in-out infinite; pointer-events: none;
}
.hero-orbit::before, .hero-orbit::after { content: ""; position: absolute; inset: 15%; border: 1px solid rgba(232,99,42,.5); border-radius: 50%; }
.hero-orbit::after { inset: 28%; transform: rotate(62deg) scaleX(.55); border-color: rgba(245,240,234,.35); }
.orbit { position: absolute; inset: 7%; border: 1px solid rgba(245,240,234,.16); border-radius: 50%; }
.orbit-b { inset: 19%; transform: rotate(58deg) scaleX(.48); border-color: rgba(232,99,42,.45); }
.orbit-core { position: absolute; inset: 35%; display: grid; place-content: center; text-align: center; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; line-height: 1.05; transform: rotate(12deg); box-shadow: 0 0 0 18px rgba(205,83,32,.12), 0 18px 44px rgba(0,0,0,.25); }
.orbit-label { position: absolute; color: var(--cream); font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.orbit-label::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--orange-hi); }
.orbit-label-one { top: 14%; left: 2%; }.orbit-label-two { top: 30%; right: -4%; }.orbit-label-three { bottom: 11%; left: 15%; }
@keyframes orbit-float { 0%,100% { transform: rotate(-12deg) translateY(0); } 50% { transform: rotate(3deg) translateY(-10px); } }
@keyframes hero-drift { 0% { transform: translate3d(-2%, 1%, 0) scale(1); } 100% { transform: translate3d(2%, -2%, 0) scale(1.05); } }

/* ===== Sections ===== */
.section { padding: 96px 0; }
.section-alt { background: var(--navy-900); }
.section-paper { background: var(--paper); color: var(--ink); }
.section-kicker { text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.78rem; font-weight: 600; color: var(--orange); margin-bottom: 14px; }
.section-kicker.ink, .section-kicker.ink { color: var(--orange); }
.section-title { font-size: clamp(1.8rem, 3.4vw, 2.8rem); color: var(--cream); max-width: 18ch; }
.section-paper .section-title { color: var(--ink); }
.section-lead { margin-top: 16px; font-size: 1.1rem; color: var(--muted); max-width: 64ch; }
.section-paper .section-lead { color: #4a4039; }
.block-subtitle { margin: 56px 0 18px; font-size: clamp(1.3rem, 2.2vw, 1.7rem); color: var(--cream); }
.section-paper .block-subtitle { color: var(--ink); }

/* ===== Grids ===== */
.card-grid { margin-top: 44px; display: grid; gap: 20px; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.two-col { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.card {
  background: var(--navy-700); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; position: relative; overflow: hidden; transition: transform 0.35s var(--ease), border-color 0.25s, box-shadow .35s var(--ease);
}
.card::after { content: ""; position: absolute; inset: -80% 35% 35% -80%; background: linear-gradient(120deg, transparent, rgba(255,255,255,.08), transparent); transform: rotate(12deg) translateX(-40%); transition: transform .7s var(--ease); pointer-events: none; }
.card:hover { transform: translateY(-7px); border-color: rgba(205, 83, 32, 0.5); box-shadow: 0 18px 38px rgba(0,0,0,.18); }
.card:hover::after { transform: rotate(12deg) translateX(180%); }
.card h3 { font-size: 1.2rem; color: var(--cream); margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.98rem; }
.card-feature { background: linear-gradient(160deg, var(--navy-700), var(--navy-900)); }
.card-tag { display: inline-block; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange-hi); margin-bottom: 12px; }
.case-result { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--orange-hi); font-weight: 500; }

/* ===== Cost panel ===== */
.stat-panel { background: var(--navy-700); border: 1px solid rgba(205, 83, 32, 0.4); border-radius: var(--radius); padding: 36px; }
.stat-fine { font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; color: var(--orange-hi); letter-spacing: -0.02em; }
.stat-label { margin-top: 14px; color: var(--text); font-size: 1.02rem; }
.stat-note { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.92rem; }
.check-list { margin: 26px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 16px; color: var(--text); }
.check-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(205,83,32,0.18); }

/* ===== Journey ===== */
.journey-grid { margin-top: 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.journey { background: var(--navy-700); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.journey-dot { display: block; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); margin-bottom: 16px; box-shadow: 0 0 0 5px rgba(205,83,32,0.16); animation: dot-pulse 2.4s ease-in-out infinite; }
.journey h4 { color: var(--cream); font-size: 1.1rem; margin-bottom: 6px; }
.journey p { color: var(--muted); font-size: 0.92rem; }

/* ===== Methods ===== */
.method-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.method { background: var(--navy-800); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: border-color 0.25s, transform 0.25s var(--ease); }
.method:hover { border-color: rgba(205,83,32,0.5); transform: translateY(-3px); }
.method-mark { display: inline-block; font-weight: 800; color: var(--orange-hi); font-size: 1.15rem; margin-bottom: 10px; letter-spacing: 0.02em; }
.method p { color: var(--muted); font-size: 0.92rem; }
.modal-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.modal { background: var(--navy-800); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.modal h4 { color: var(--cream); font-size: 1.2rem; margin-bottom: 10px; }
.modal p { color: var(--muted); font-size: 0.96rem; }

/* ===== Size / steps ===== */
.size-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.size { background: var(--navy-700); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.size h3 { color: var(--cream); font-size: 1.25rem; }
.size-range { color: var(--orange-hi); font-weight: 600; margin: 6px 0 16px; }
.size-entry { color: var(--text); font-size: 0.95rem; margin-bottom: 10px; }
.size-combo { color: var(--muted); font-size: 0.88rem; }
.steps { margin-top: 36px; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; }
.steps li { background: var(--navy-700); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; position: relative; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; margin-bottom: 14px; }
.steps h4 { color: var(--cream); font-size: 1.05rem; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 0.88rem; }

/* ===== Before/After ===== */
.beforeafter { margin-top: 40px; display: grid; gap: 12px; }
.ba-item { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; background: var(--navy-700); border: 1px solid var(--line); border-radius: 12px; padding: 18px 24px; }
.ba-before { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(245,240,234,0.25); }
.ba-arrow { color: var(--orange-hi); font-weight: 800; font-size: 1.2rem; }
.ba-after { color: var(--cream); font-weight: 600; }

/* ===== Paper / Pesquisa ===== */
.paper-body { margin-top: 16px; color: #4a4039; font-size: 1.02rem; max-width: 60ch; }
.paper-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; align-content: center; }
.fact { background: #fff; border: 1px solid #e3d9cc; border-radius: var(--radius); padding: 26px; text-align: center; }
.fact-num { display: block; font-size: 2.4rem; font-weight: 800; color: var(--orange); letter-spacing: -0.02em; }
.fact-label { color: #6a5f54; font-size: 0.9rem; }

/* ===== Beth ===== */
.beth { align-items: center; }
.beth-emblem { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.beth-photo { width: min(420px, 92%); aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: 18px; box-shadow: 0 20px 50px rgba(0,0,0,.28); }
.beth-mark { width: min(118px, 30%); filter: drop-shadow(0 12px 28px rgba(205,83,32,0.25)); }
.beth-body { margin-top: 18px; color: var(--muted); }
.cred-list { margin: 20px 0 0; padding-left: 20px; color: var(--muted); }
.cred-list li { margin-bottom: 10px; }
.beth-quote { margin-top: 24px; padding-left: 18px; border-left: 3px solid var(--orange); font-size: 1.15rem; color: var(--cream); font-style: italic; }

/* ===== Cases (reuse card) ===== */

/* ===== Promotional video ===== */
.promo-section {
  overflow: hidden;
  background:
    radial-gradient(70% 80% at 85% 10%, rgba(205,83,32,.14), transparent 70%),
    var(--navy-900);
}
.promo-copy { text-align: center; }
.promo-copy .section-title { margin-left: auto; margin-right: auto; text-align: center; }
.promo-copy .section-lead { margin: 18px auto 0; }
.promo-video-shell {
  position: relative;
  margin-top: 38px;
  padding: 8px;
  border: 1px solid rgba(232,99,42,.34);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.015));
  box-shadow: 0 28px 80px rgba(0,0,0,.38), 0 0 44px rgba(205,83,32,.08);
}
.promo-video-shell::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(110deg, rgba(232,99,42,.55), transparent 34%, transparent 68%, rgba(232,99,42,.22));
  filter: blur(14px);
  opacity: .55;
}
.promo-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 15px;
  background: #25183a;
  object-fit: contain;
}

/* ===== CTA ===== */
.cta { background: linear-gradient(160deg, var(--navy-900), var(--navy-700)); padding: 100px 0; text-align: center; }
.cta-title { font-size: clamp(2rem, 4vw, 3rem); color: var(--cream); }
.cta-sub { margin: 18px auto 0; max-width: 60ch; color: var(--muted); font-size: 1.1rem; }
.cta-actions { margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.contact-list { margin: 30px 0 0; padding: 0; list-style: none; display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; }
.contact-list a { color: var(--text); font-weight: 500; border-bottom: 1px solid transparent; transition: color 0.2s, border-color 0.2s; }
.contact-list a:hover { color: var(--orange-hi); border-color: var(--orange); }

/* ===== Footer ===== */
.site-footer { background: var(--navy-900); border-top: 1px solid var(--line); padding: 48px 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.footer-logo { height: 24px; }
.footer-tag { color: var(--muted); font-weight: 600; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.footer-nav a { color: var(--text); font-size: 0.92rem; }
.footer-nav a { transition: color 0.2s; }
.footer-nav a:hover { color: var(--orange-hi); }
.footer-copy { color: var(--muted); font-size: 0.82rem; }
.game-teaser { text-align: center; }
.game-teaser .section-title, .game-teaser .section-lead { margin-left: auto; margin-right: auto; }
.developer-credit { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 0.78rem; }
.developer-credit iframe { width: 180px; height: 78px; border: 0; border-radius: 12px; background: var(--cream); display: block; }
@media (max-width: 600px) { .developer-credit { flex-direction: column; gap: 2px; } }

/* ===== Reveal animation ===== */
.no-js .reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; animation: reveal-fallback .7s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes dot-pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(205,83,32,.12); } 50% { box-shadow: 0 0 0 10px rgba(205,83,32,0); } }
@keyframes reveal-fallback { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .cols-3, .method-grid, .modal-grid, .size-grid { grid-template-columns: repeat(2, 1fr); }
  .journey-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .paper-facts { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 720px) {
  .nav-list {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: flex-start;
    background: rgba(8,16,28,0.98); padding: 24px; gap: 18px; border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: transform 0.3s var(--ease); height: calc(100vh - 72px);
  }
  .nav-list.open { transform: translateY(0); }
  .nav-toggle { display: flex; }
  .nav-cta { margin-left: 0; }
  .cols-3, .method-grid, .modal-grid, .size-grid, .journey-grid, .steps, .paper-facts { grid-template-columns: 1fr; }
  .ba-item { grid-template-columns: 1fr; text-align: center; gap: 6px; }
  .section { padding: 68px 0; }
  .hero { min-height: 0; height: auto; aspect-ratio: 16 / 9; }
  .hero-video { object-fit: contain; object-position: center center; }
  .hero-overlay { background: linear-gradient(180deg, rgba(8,16,28,.28), rgba(8,16,28,.88)); }
  .hero-content { padding: 88px 24px 110px; }
  .hero-play { left: 18px; bottom: 18px; font-size: .86rem; }
  .scroll-cue { display: none; }
  .scroll-copy { max-width: none; padding: 0 0 42px; }
  .hero-orbit { position: relative; top: auto; right: auto; width: min(82vw, 340px); margin: 0 auto 64px; }
  .beth-photo { width: min(340px, 88vw); }
  .beth-mark { width: 92px; }
  .js .reveal.in { animation-duration: .55s; transition-duration: .45s; }
  .cost-fill { transition-duration: .75s; }
  .promo-copy { text-align: center; }
  .promo-copy .section-lead { margin-left: auto; margin-right: auto; }
  .promo-video-shell { margin-top: 26px; padding: 4px; border-radius: 14px; }
  .promo-video { border-radius: 10px; }
}

/* ===== Scroll progress bar ===== */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--orange), var(--orange-hi));
  z-index: 200; transition: width 0.1s linear; box-shadow: 0 0 12px rgba(232,99,42,0.6);
}

/* ===== Narrow container ===== */
.container.narrow { max-width: 820px; }

/* ===== Staggered reveal (delay set via --d) ===== */
.reveal { transition-delay: var(--d, 0s); }

/* ===== Animated cost bars ===== */
.cost-bars { margin-top: 34px; display: grid; gap: 18px; }
.cost-bar {
  position: relative; height: 46px; border-radius: 10px; overflow: hidden;
  background: var(--navy-800, #25183a); border: 1px solid var(--line);
  display: flex; align-items: center;
}
.cost-fill {
  position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, rgba(205,83,32,0.55), rgba(232,99,42,0.85));
  transition: width 1.1s var(--ease);
}
.cost-bar.in .cost-fill { width: var(--w, 60%); }
.cost-text { position: relative; z-index: 1; padding-left: 18px; color: var(--cream); font-weight: 500; font-size: 0.96rem; }
.cost-bar.in .cost-text { animation: text-rise .65s var(--ease) both; }

/* ===== Animated section divider ===== */
.divider { height: 1px; background: var(--line); position: relative; overflow: hidden; margin: 0; }
.divider::after {
  content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 0;
  background: linear-gradient(90deg, transparent, var(--orange-hi), transparent);
  transition: width 1s var(--ease);
}
.divider.in::after { width: 100%; }

/* ===== Beth emblem parallax ===== */
.beth-emblem { will-change: transform; transition: transform 0.2s linear; }

/* ===== Nav link animated underline ===== */
.nav-list a { position: relative; }
.nav-list a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0;
  background: var(--orange-hi); transition: width 0.25s var(--ease);
}
.nav-list a:hover::after, .nav-list a.active::after { width: 100%; }

/* ===== Method pulse on hover ===== */
.method:hover .method-mark { transform: scale(1.08); }
.method-mark { display: inline-block; transition: transform 0.25s var(--ease); }

/* Visual rhythm for the text-heavy sections */
.section-title { text-wrap: balance; }
.section-lead { max-width: 58ch; }
.beforeafter .ba-item { transition: transform .35s var(--ease), border-color .35s; }
.beforeafter .ba-item:hover { transform: translateX(8px); border-color: rgba(232,99,42,.45); }
@keyframes text-rise { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-video { display: block; opacity: 1; }
  .hero { background: radial-gradient(120% 90% at 70% 30%, var(--navy-700), var(--navy-900)); }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue span { animation: none; }
  .scroll-progress { display: none; }
  .cost-bar .cost-fill { width: var(--w, 60%); transition: none; }
  .divider::after { width: 100%; transition: none; }
  .beth-emblem { transform: none !important; }
  .nav-list a::after { transition: none; }
}

/* Mobile motion accents. Scroll reveals remain driven by IntersectionObserver. */
@media (max-width: 720px) {
  .hero::after { animation: hero-drift 14s ease-in-out infinite alternate !important; }
  .hero-orbit { animation: orbit-float 10s ease-in-out infinite !important; }
  .journey-dot { animation: dot-pulse 2.4s ease-in-out infinite !important; }
}

/* The mobile experience intentionally keeps motion enabled for this site. */
@media (max-width: 720px) and (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; animation: reveal-fallback .55s var(--ease) both; animation-delay: var(--d, 0s); }
  .cost-bar .cost-fill { width: 0; transition: width .8s var(--ease); }
  .cost-bar.in .cost-fill { width: var(--w, 60%); }
  .divider::after { width: 0; transition: width .8s var(--ease); }
  .divider.in::after { width: 100%; }
}
