/* ==========================================================
   FILIPÍNCI DO FIREM — design tokens
   Palette: pacific night navy / manila sun gold / mist
   Type: Archivo (expanded display) + Instrument Sans + IBM Plex Mono
   ========================================================== */
:root {
  --ink: #0A1526;
  --ink-2: #0F1F38;
  --ink-3: #16294A;
  --sun: #FFB92E;
  --sun-deep: #E8930C;
  --mist: #EEF2F6;
  --paper: #FFFFFF;
  --steel: #93A5BC;
  --steel-dark: #5A6B82;
  --line-dark: rgba(255, 255, 255, 0.09);
  --line-light: rgba(10, 21, 38, 0.1);

  --font-display: "Archivo", sans-serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--paper);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.hidden { display: none !important; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.container--narrow { max-width: 820px; }

/* ---------- typographic atoms ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--sun);
  margin-bottom: 24px;
}
.eyebrow--dark { color: var(--sun-deep); }

.section__title {
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 800;
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  margin-bottom: 56px;
}
.section__title em {
  font-style: normal;
  color: var(--sun-deep);
}
.section--dark .section__title em { color: var(--sun); }
.dot { color: var(--sun); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-stretch: 110%;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 26px;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background 0.25s, color 0.25s;
}
.btn--lg { padding: 18px 34px; font-size: 15px; }
.btn--gold {
  background: var(--sun);
  color: var(--ink);
}
.btn--gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(255, 185, 46, 0.35);
}
.btn--ghost {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--paper);
}
.btn--ghost:hover { border-color: var(--sun); color: var(--sun); transform: translateY(-3px); }
.btn--dark {
  background: var(--ink);
  color: var(--paper);
}
.btn--dark:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(10, 21, 38, 0.3); }

/* ==========================================================
   NAV
   ========================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 20px 40px;
  transition: background 0.4s, padding 0.4s, box-shadow 0.4s;
}
.nav.is-scrolled {
  background: rgba(10, 21, 38, 0.86);
  backdrop-filter: blur(14px);
  padding: 13px 40px;
  box-shadow: 0 1px 0 var(--line-dark);
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-stretch: 120%;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.08em;
}
.nav__sun {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 14px rgba(255, 185, 46, 0.7);
  flex-shrink: 0;
}
.nav__links {
  display: flex;
  gap: 30px;
  margin-left: auto;
}
.nav__links a {
  font-size: 14.5px;
  color: var(--steel);
  transition: color 0.25s;
}
.nav__links a:hover { color: var(--paper); }
.nav__cta { flex-shrink: 0; }
.nav__burger { display: none; }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--ink);
  padding: 110px 32px;
  flex-direction: column;
  gap: 28px;
  font-family: var(--font-display);
  font-stretch: 115%;
  font-size: 26px;
  font-weight: 700;
  text-transform: uppercase;
}
.mobile-menu.is-open { display: flex; }

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 40px 40px;
  background:
    radial-gradient(1100px 520px at 78% 18%, rgba(255, 185, 46, 0.09), transparent 60%),
    radial-gradient(900px 600px at 8% 90%, rgba(22, 41, 74, 0.9), transparent 65%),
    var(--ink);
  overflow: hidden;
}
.hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 60% 30%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 30%, black 20%, transparent 75%);
}

/* --- route --- */
.route {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.route svg { width: 100%; height: 100%; }
.route__path-ghost {
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 1.5;
}
.route__path {
  stroke: var(--sun);
  stroke-width: 2;
  stroke-dasharray: 7 9;
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(255, 185, 46, 0.5));
  animation: route-dash 1.8s linear infinite, route-in 2.4s var(--ease-out) both 0.5s;
}
@keyframes route-dash { to { stroke-dashoffset: -32; } }
@keyframes route-in { from { opacity: 0; } to { opacity: 1; } }

.route__node circle:first-child { fill: var(--sun); }
.route__pulse {
  fill: none;
  stroke: var(--sun);
  stroke-width: 1.5;
  animation: pulse 2.6s ease-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}
.route__pulse--d2 { animation-delay: 1.3s; }
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(5); opacity: 0; }
}

.route__plane {
  position: absolute;
  top: 0; left: 0;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 0 16px 4px rgba(255, 255, 255, 0.65);
  offset-path: path("M 90 400 Q 600 60 1110 330");
  animation: fly 9s var(--ease-out) infinite alternate 1.2s;
  opacity: 0;
}
@keyframes fly {
  0% { offset-distance: 100%; opacity: 0; }
  6% { opacity: 1; }
  94% { opacity: 1; }
  100% { offset-distance: 0%; opacity: 0; }
}

.route__label {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: 0.08em;
  color: var(--steel);
  opacity: 0;
  animation: fade-up 1s var(--ease-out) forwards 1.4s;
}
.route__label strong { color: var(--sun); margin-right: 6px; }
.route__label--prg { left: 6.5%; top: 74.5%; }
.route__label--mnl { right: 4%; top: 55%; text-align: right; }

/* --- hero content --- */
.hero__content { position: relative; max-width: 1180px; margin: 0 auto; width: 100%; }
.hero__title {
  font-family: var(--font-display);
  font-stretch: 122%;
  font-weight: 900;
  font-size: clamp(52px, 9.2vw, 132px);
  line-height: 0.96;
  letter-spacing: -0.018em;
  text-transform: uppercase;
  margin-bottom: 30px;
}
.line-mask { display: block; overflow: hidden; }
.line {
  display: block;
  transform: translateY(110%);
  animation: line-up 1.1s var(--ease-out) forwards 0.15s;
}
.line--d1 { animation-delay: 0.3s; }
@keyframes line-up { to { transform: translateY(0); } }

.hero__sub {
  max-width: 560px;
  font-size: 19px;
  color: var(--steel);
  margin-bottom: 40px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  animation: fade-up 1s var(--ease-out) forwards 0.5s;
}
.reveal--d2 { animation-delay: 0.75s; }
.reveal--d3 { animation-delay: 0.95s; }
.reveal--d4 { animation-delay: 1.2s; }
@keyframes fade-up {
  to { opacity: 1; transform: translateY(0); }
}

/* --- KPI strip --- */
.hero__kpis {
  position: relative;
  max-width: 1180px;
  margin: 72px auto 0;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark);
}
.kpi { padding: 26px 26px 0 0; }
.kpi__num {
  display: block;
  font-family: var(--font-display);
  font-stretch: 115%;
  font-weight: 800;
  font-size: clamp(30px, 3.4vw, 46px);
  color: var(--sun);
  font-variant-numeric: tabular-nums;
}
.kpi__label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
}

.hero__scroll {
  position: absolute;
  bottom: 26px; left: 50%;
  width: 1px; height: 52px;
  background: var(--line-dark);
  overflow: hidden;
}
.hero__scroll span {
  position: absolute;
  inset: 0;
  background: var(--sun);
  animation: scroll-hint 2s ease-in-out infinite;
}
@keyframes scroll-hint {
  0% { transform: translateY(-100%); }
  55%, 100% { transform: translateY(100%); }
}

/* ==========================================================
   MARQUEE
   ========================================================== */
.marquee {
  background: var(--sun);
  color: var(--ink);
  overflow: hidden;
  padding: 15px 0;
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 34px;
  white-space: nowrap;
  width: max-content;
  animation: marquee 32s linear infinite;
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.1em;
}
.marquee__track i { font-style: normal; font-size: 11px; opacity: 0.55; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================
   SECTIONS
   ========================================================== */
.section { padding: 130px 0; }
.section--light { background: var(--mist); color: var(--ink); }
.section--dark { background: var(--ink); }
.section--cta { background: var(--paper); color: var(--ink); }

/* --- IO reveals --- */
.io-reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.io-reveal.is-visible { opacity: 1; transform: translateY(0); }

/* --- cards --- */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-radius: 8px;
  padding: 34px 28px;
  overflow: hidden;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sun), var(--sun-deep));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.card:hover { transform: translateY(-8px); box-shadow: 0 24px 48px rgba(10, 21, 38, 0.12); }
.card:hover::before { transform: scaleX(1); }
.card__num {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--sun-deep);
  margin-bottom: 46px;
}
.card h3 {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
  margin-bottom: 12px;
}
.card p { font-size: 15px; color: var(--steel-dark); }
.card:nth-child(2) { transition-delay: 0.08s; }
.card:nth-child(3) { transition-delay: 0.16s; }
.card:nth-child(4) { transition-delay: 0.24s; }

/* --- timeline --- */
.timeline {
  position: relative;
  display: grid;
  gap: 0;
  padding-left: 46px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 8px; top: 8px; bottom: 8px;
  width: 1px;
  background: var(--line-dark);
}
.timeline__progress {
  position: absolute;
  left: 8px; top: 8px;
  width: 1px;
  height: 0;
  background: var(--sun);
  box-shadow: 0 0 10px rgba(255, 185, 46, 0.6);
  transition: height 0.1s linear;
}
.step {
  position: relative;
  padding: 0 0 58px;
  max-width: 640px;
}
.step:last-child { padding-bottom: 0; }
.step::before {
  content: "";
  position: absolute;
  left: -46px; top: 5px;
  width: 17px; height: 17px;
  border-radius: 50%;
  border: 1px solid var(--sun);
  background: var(--ink);
  box-shadow: 0 0 0 5px var(--ink);
}
.step__tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--sun);
}
.step h3 {
  font-family: var(--font-display);
  font-stretch: 114%;
  font-weight: 700;
  font-size: 26px;
  margin: 8px 0 10px;
}
.step p { color: var(--steel); font-size: 16px; }

/* --- numbers / chart --- */
.numbers {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 70px;
  align-items: end;
}
.chart {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  align-items: end;
  height: 340px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 0;
}
.chart__col { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.chart__bar {
  position: relative;
  height: var(--h);
  background: var(--ink);
  border-radius: 5px 5px 0 0;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 1.1s var(--ease-out);
}
.chart.is-visible .chart__bar { transform: scaleY(1); }
.chart__col:nth-child(2) .chart__bar { transition-delay: 0.12s; }
.chart__col:nth-child(3) .chart__bar { transition-delay: 0.24s; }
.chart__col:nth-child(4) .chart__bar { transition-delay: 0.36s; }
.chart__bar--forecast {
  background: repeating-linear-gradient(-45deg, var(--sun-deep) 0 7px, var(--sun) 7px 14px);
}
.chart__bar span {
  position: absolute;
  top: -32px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 800;
  font-size: 17px;
  color: var(--ink);
  white-space: nowrap;
}
.chart__year {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-align: center;
  margin-top: 12px;
  color: var(--steel-dark);
}
.numbers__text h3 {
  font-family: var(--font-display);
  font-stretch: 114%;
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 16px;
}
.numbers__text p { color: var(--steel-dark); margin-bottom: 16px; }
.numbers__note { font-family: var(--font-mono); font-size: 12px; }
.numbers__text .btn { margin-top: 10px; }

/* --- compliance --- */
.compliance {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  overflow: hidden;
}
.compliance__item {
  background: var(--ink-2);
  padding: 44px 36px;
  transition: background 0.4s;
}
.compliance__item:hover { background: var(--ink-3); }
.compliance__code {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--sun);
  border: 1px solid rgba(255, 185, 46, 0.35);
  border-radius: 999px;
  padding: 5px 13px;
  margin-bottom: 26px;
}
.compliance__item h3 {
  font-family: var(--font-display);
  font-stretch: 113%;
  font-weight: 700;
  font-size: 21px;
  margin-bottom: 12px;
}
.compliance__item p { color: var(--steel); font-size: 15px; }
.compliance__item:nth-child(2) { transition-delay: 0.08s; }
.compliance__item:nth-child(3) { transition-delay: 0.16s; }

/* --- CTA / form --- */
.cta__sub { color: var(--steel-dark); font-size: 19px; margin: -30px 0 50px; }
.form {
  display: grid;
  gap: 22px;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.form__field { display: grid; gap: 8px; }
.form__field label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel-dark);
}
.form__field input,
.form__field select,
.form__field textarea {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: var(--mist);
  border: 1px solid var(--line-light);
  border-radius: 6px;
  padding: 15px 16px;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: none;
  background: var(--paper);
  border-color: var(--sun-deep);
  box-shadow: 0 0 0 4px rgba(255, 185, 46, 0.18);
}
.form__submit { justify-self: start; margin-top: 8px; }

/* ==========================================================
   FOOTER
   ========================================================== */
.footer {
  background: var(--ink);
  padding: 80px 0 34px;
  border-top: 1px solid var(--line-dark);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
}
.footer__tag { color: var(--steel); font-size: 14.5px; margin-top: 18px; }
.footer__head {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--sun);
  margin-bottom: 14px;
}
.footer__col p { color: var(--steel); font-size: 14.5px; }
.footer__col a:hover { color: var(--paper); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line-dark);
  padding-top: 26px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--steel-dark);
}
.footer__route { color: var(--sun); letter-spacing: 0.14em; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 960px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .numbers { grid-template-columns: 1fr; gap: 56px; }
  .compliance { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .route__label--mnl { top: 42%; }
}
@media (max-width: 720px) {
  .nav { padding: 16px 22px; gap: 20px; }
  .nav.is-scrolled { padding: 12px 22px; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-left: auto;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 6px;
  }
  .nav__burger span { width: 24px; height: 2px; background: var(--paper); transition: transform 0.3s, opacity 0.3s; }
  .nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__burger.is-open span:nth-child(2) { opacity: 0; }
  .nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding: 120px 22px 90px; }
  .hero__kpis { grid-template-columns: 1fr 1fr; gap: 8px 0; margin-top: 56px; }
  .section { padding: 90px 0; }
  .container { padding: 0 22px; }
  .cards { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .chart { height: 260px; gap: 14px; }
  .chart__bar span { font-size: 14px; top: -28px; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .footer__bottom { flex-direction: column; gap: 10px; }
  .route__label { display: none; }
  .hero__scroll { display: none; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .line, .reveal, .io-reveal { opacity: 1; transform: none; }
  .chart__bar { transform: scaleY(1); }
  .route__plane { display: none; }
}

/* ==========================================================
   V2 — LIVE COUNTER + HERO EXTRA ANIMATIONS
   ========================================================== */

/* --- live counter section --- */
.live { text-align: center; }
.live .section__title { margin-bottom: 40px; }
.live__wrap {
  position: relative;
  display: inline-block;
  padding: 10px 0 6px;
}
.live__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: #D33A2C;
  border: 1px solid rgba(211, 58, 44, 0.4);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 18px;
}
.live__pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #D33A2C;
  animation: live-blink 1.6s ease-in-out infinite;
}
@keyframes live-blink {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(211, 58, 44, 0.5); }
  50% { opacity: 0.55; box-shadow: 0 0 0 7px rgba(211, 58, 44, 0); }
}
.live__num {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: clamp(84px, 15vw, 210px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.live__num.is-tick { animation: tick-pop 0.5s var(--ease-out); }
@keyframes tick-pop {
  30% { transform: scale(1.025); color: var(--sun-deep); }
}
.live__label {
  font-size: 19px;
  color: var(--steel-dark);
  margin: 14px 0 22px;
}
.live__chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--sun);
  color: var(--ink);
  border-radius: 999px;
  padding: 9px 20px;
  box-shadow: 0 8px 24px rgba(255, 185, 46, 0.35);
}
.live__foot {
  max-width: 560px;
  margin: 54px auto 0;
}
.live__foot p { color: var(--steel-dark); margin-bottom: 24px; }

/* --- hero extra: particles --- */
.hero__particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero__particles span {
  position: absolute;
  bottom: -12px;
  width: var(--s, 4px);
  height: var(--s, 4px);
  border-radius: 50%;
  background: var(--c, rgba(255, 185, 46, 0.5));
  animation: particle-rise var(--d, 14s) linear infinite;
  animation-delay: var(--dl, 0s);
  opacity: 0;
}
@keyframes particle-rise {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  8% { opacity: var(--o, 0.55); }
  85% { opacity: var(--o, 0.55); }
  100% { transform: translateY(-105vh) translateX(var(--x, 30px)); opacity: 0; }
}

/* --- hero extra: breathing glow --- */
.hero__glow {
  position: absolute;
  right: -14%; top: -18%;
  width: 58vw; height: 58vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 185, 46, 0.13), transparent 62%);
  animation: glow-breathe 9s ease-in-out infinite;
  pointer-events: none;
}
@keyframes glow-breathe {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.16); opacity: 1; }
}

/* --- hero extra: headline gold shimmer --- */
.hero__title .line {
  background: linear-gradient(105deg, #FFFFFF 38%, #FFD98A 50%, #FFFFFF 62%);
  background-size: 240% 100%;
  background-position: 120% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: line-up 1.1s var(--ease-out) forwards 0.15s,
             shine 7s ease-in-out infinite 2.2s;
}
.hero__title .line--d1 {
  animation: line-up 1.1s var(--ease-out) forwards 0.3s,
             shine 7s ease-in-out infinite 2.5s;
}
.hero__title .dot { -webkit-text-fill-color: var(--sun); }
@keyframes shine {
  0%, 24% { background-position: 120% 0; }
  46%, 100% { background-position: -120% 0; }
}

/* --- hero extra: parallax layers --- */
.route, .hero__grid-bg {
  will-change: transform;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.route__path-ghost--2, .route__path-ghost--3 {
  stroke: rgba(255, 255, 255, 0.035);
  stroke-width: 1;
}

@media (max-width: 720px) {
  .live__num { font-size: clamp(64px, 19vw, 110px); }
  .hero__glow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__particles, .hero__glow { display: none; }
  .hero__title .line { background: none; -webkit-text-fill-color: currentColor; color: var(--paper); }
}

/* ==========================================================
   V3 — LANG TOGGLE + CHATBOT
   ========================================================== */

/* --- language toggle --- */
.lang {
  display: flex;
  gap: 6px;
  align-items: center;
}
.lang__btn {
  width: 30px; height: 24px;
  padding: 3px;
  background: none;
  border: 1px solid transparent;
  border-radius: 5px;
  cursor: pointer;
  opacity: 0.45;
  transition: opacity 0.25s, border-color 0.25s, transform 0.25s;
}
.lang__btn svg { width: 100%; height: 100%; border-radius: 2.5px; display: block; }
.lang__btn:hover { opacity: 0.85; transform: translateY(-1px); }
.lang__btn.is-active { opacity: 1; border-color: rgba(255, 185, 46, 0.55); }
.lang--mobile { margin-bottom: 6px; }
.lang--mobile .lang__btn { width: 40px; height: 31px; }

/* --- chatbot --- */
.chat { position: fixed; right: 24px; bottom: 24px; z-index: 300; }

.chat__launcher {
  position: relative;
  width: 60px; height: 60px;
  border-radius: 50%;
  border: none;
  background: var(--sun);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 32px rgba(255, 185, 46, 0.45);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}
.chat__launcher:hover { transform: translateY(-3px) scale(1.05); }
.chat__launcher::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--sun);
  animation: pulse 2.8s ease-out infinite;
  pointer-events: none;
}
.chat__launcher svg { width: 26px; height: 26px; }
.chat__icon-close { display: none; }
.chat.is-open .chat__icon-open { display: none; }
.chat.is-open .chat__icon-close { display: block; }
.chat.is-open .chat__launcher::after { display: none; }

.chat__teaser {
  position: absolute;
  right: 0; bottom: 74px;
  white-space: nowrap;
  background: var(--paper);
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 18px;
  border-radius: 14px 14px 3px 14px;
  box-shadow: 0 14px 36px rgba(10, 21, 38, 0.22);
  cursor: pointer;
  animation: fade-up 0.5s var(--ease-out);
}

.chat__panel {
  position: absolute;
  right: 0; bottom: 76px;
  width: 372px;
  height: min(600px, calc(100vh - 130px));
  background: var(--paper);
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(10, 21, 38, 0.35);
  display: none;
  flex-direction: column;
  overflow: hidden;
  transform-origin: bottom right;
}
.chat.is-open .chat__panel {
  display: flex;
  animation: chat-in 0.4s var(--ease-out);
}
@keyframes chat-in {
  from { opacity: 0; transform: translateY(14px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.chat__head {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: var(--paper);
  padding: 16px 18px;
}
.chat__sun {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #FFD684, var(--sun));
  box-shadow: 0 0 16px rgba(255, 185, 46, 0.6);
  flex-shrink: 0;
}
.chat__head-txt { display: grid; line-height: 1.3; }
.chat__head-txt strong {
  font-family: var(--font-display);
  font-stretch: 114%;
  font-size: 14.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.chat__status {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--steel);
  display: flex;
  align-items: center;
  gap: 6px;
}
.chat__status i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #3DBB6E;
  animation: live-blink 2s ease-in-out infinite;
}
.chat__x {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--steel);
  font-size: 16px;
  cursor: pointer;
  padding: 6px;
  transition: color 0.25s;
}
.chat__x:hover { color: var(--paper); }

.chat__body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px 10px;
  background: var(--mist);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.chat__msg {
  max-width: 82%;
  padding: 11px 15px;
  font-size: 14.5px;
  line-height: 1.45;
  animation: fade-up 0.35s var(--ease-out);
  overflow-wrap: break-word;
}
.chat__msg--bot {
  align-self: flex-start;
  background: var(--paper);
  color: var(--ink);
  border-radius: 13px 13px 13px 4px;
  box-shadow: 0 2px 8px rgba(10, 21, 38, 0.06);
}
.chat__msg--user {
  align-self: flex-end;
  background: var(--ink);
  color: var(--paper);
  border-radius: 13px 13px 4px 13px;
}
.chat__typing { display: flex; gap: 5px; padding: 14px 16px; }
.chat__typing i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--steel-dark);
  animation: typing-dot 1.2s ease-in-out infinite;
}
.chat__typing i:nth-child(2) { animation-delay: 0.18s; }
.chat__typing i:nth-child(3) { animation-delay: 0.36s; }
@keyframes typing-dot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-5px); opacity: 1; }
}

.chat__foot { background: var(--mist); padding: 6px 14px 14px; }
.chat__replies { display: flex; flex-wrap: wrap; gap: 8px; }
.chat__reply {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--sun-deep);
  border-radius: 999px;
  padding: 9px 16px;
  cursor: pointer;
  transition: background 0.2s, transform 0.25s var(--ease-out), box-shadow 0.25s;
}
.chat__reply:hover {
  background: var(--sun);
  border-color: var(--sun);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(255, 185, 46, 0.35);
}
.chat__skip { border-color: var(--line-light); color: var(--steel-dark); }

.chat__inputrow { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.chat__inputrow input {
  flex: 1;
  min-width: 0;
  font-family: var(--font-body);
  font-size: 14.5px;
  padding: 12px 14px;
  border: 1px solid var(--line-light);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
}
.chat__inputrow input:focus {
  outline: none;
  border-color: var(--sun-deep);
  box-shadow: 0 0 0 3px rgba(255, 185, 46, 0.2);
}
.chat__inputrow input.is-err { border-color: #D33A2C; }
.chat__send {
  font-family: var(--font-display);
  font-stretch: 110%;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--sun);
  color: var(--ink);
  border: none;
  border-radius: 10px;
  padding: 12px 18px;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
}
.chat__send:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(255, 185, 46, 0.35); }

@media (max-width: 720px) {
  .nav .lang { display: none; }
  .chat { right: 14px; bottom: 14px; }
  .chat__panel {
    position: fixed;
    right: 10px; left: 10px; bottom: 86px;
    width: auto;
    height: min(560px, calc(100dvh - 110px));
  }
}
@media (prefers-reduced-motion: reduce) {
  .chat__launcher::after { animation: none; }
}

/* ==========================================================
   V4 — ZLATÁ SEKCE "PŘÍMO U ZDROJE"
   ========================================================== */
.section--gold {
  background:
    radial-gradient(900px 420px at 85% 10%, rgba(255, 255, 255, 0.22), transparent 60%),
    linear-gradient(160deg, #FFC24A, var(--sun) 45%, #F5A81C);
  color: var(--ink);
}
.eyebrow--ink { color: var(--ink); opacity: 0.75; }
.section--gold .dot { color: var(--paper); }
.section--gold .section__title { margin-bottom: 26px; }

.source {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 70px;
  align-items: center;
}
.source__sub {
  font-size: 18.5px;
  line-height: 1.6;
  max-width: 540px;
  margin-bottom: 30px;
}
.source__ticks {
  list-style: none;
  display: grid;
  gap: 13px;
}
.source__ticks li {
  position: relative;
  padding-left: 34px;
  font-weight: 600;
  font-size: 16px;
}
.source__ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 1px;
  width: 21px; height: 21px;
  border-radius: 50%;
  background: var(--ink);
}
.source__ticks li::after {
  content: "";
  position: absolute;
  left: 6px; top: 6.5px;
  width: 8px; height: 4.5px;
  border-left: 2px solid var(--sun);
  border-bottom: 2px solid var(--sun);
  transform: rotate(-45deg);
}

.source__clients {
  background: rgba(10, 21, 38, 0.06);
  border: 1px solid rgba(10, 21, 38, 0.14);
  border-radius: 14px;
  padding: 36px 32px;
  backdrop-filter: blur(2px);
}
.source__label {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 22px;
  opacity: 0.8;
}
.source__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.source__chips span {
  font-family: var(--font-display);
  font-stretch: 114%;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.07em;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 9px 18px;
  transition: background 0.25s, color 0.25s, transform 0.3s var(--ease-out);
}
.source__chips span:hover {
  background: var(--ink);
  color: var(--sun);
  transform: translateY(-2px);
}
.source__chip-more {
  border-style: dashed !important;
  opacity: 0.75;
}

@media (max-width: 960px) {
  .source { grid-template-columns: 1fr; gap: 44px; }
}
.section--gold .section__title { font-size: clamp(34px, 4.5vw, 52px); }

/* --- social reach karta ve zlaté sekci --- */
.source__reach {
  display: flex;
  align-items: center;
  gap: 22px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 12px;
  padding: 22px 26px;
  margin-top: 32px;
  max-width: 560px;
  box-shadow: 0 18px 44px rgba(10, 21, 38, 0.28);
}
.source__reach-num {
  font-family: var(--font-display);
  font-stretch: 120%;
  font-weight: 900;
  font-size: clamp(34px, 3.6vw, 46px);
  color: var(--sun);
  line-height: 1;
  flex-shrink: 0;
}
.source__reach p {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--steel);
  margin: 0;
}
@media (max-width: 720px) {
  .source__reach { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ==========================================================
   V7 — MARQUEE NAVY, TRASA TIŠEJI, GDPR PRVKY
   ========================================================== */
.marquee {
  background: var(--ink-2);
  color: var(--sun);
  border-top: 1px solid rgba(255, 185, 46, 0.25);
  border-bottom: 1px solid rgba(255, 185, 46, 0.25);
}
.marquee__track i { opacity: 0.4; }

.route svg { opacity: 0.6; }

.form__gdpr {
  font-size: 13px;
  color: var(--steel-dark);
  margin-top: -6px;
}
.form__gdpr a { color: var(--sun-deep); text-decoration: underline; }

.footer__privacy { color: var(--steel-dark); text-decoration: underline; }
.footer__privacy:hover { color: var(--paper); }

.chat__gdpr {
  display: block;
  text-align: center;
  font-size: 11px;
  color: var(--steel-dark);
  background: var(--mist);
  padding: 0 0 10px;
  text-decoration: underline;
}

/* ==========================================================
   V8 — H1, REFERENCE CAROUSEL, FAQ, MID-CTA
   ========================================================== */
.hero__h1 {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 700;
  font-size: clamp(19px, 2.2vw, 26px);
  color: var(--sun);
  margin: 4px 0 14px;
}

/* --- quotes carousel --- */
.quotes {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-radius: 14px;
  padding: 56px 54px 66px;
  min-height: 300px;
  box-shadow: 0 24px 60px rgba(10, 21, 38, 0.08);
  overflow: hidden;
}
.quotes__mark {
  position: absolute;
  top: -30px; right: 28px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 200px;
  line-height: 1;
  color: var(--sun);
  opacity: 0.18;
  pointer-events: none;
}
.quote {
  position: absolute;
  inset: 56px 54px 66px;
  margin: 0;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  pointer-events: none;
}
.quote.is-active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.quote blockquote {
  margin: 0 0 22px;
  font-size: clamp(16.5px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--ink);
}
.quote figcaption strong {
  display: block;
  font-family: var(--font-display);
  font-stretch: 112%;
  font-size: 16px;
}
.quote figcaption span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--steel-dark);
}
.quotes__dots {
  position: absolute;
  left: 54px; bottom: 26px;
  display: flex;
  gap: 8px;
}
.quotes__dots button {
  width: 26px; height: 4px;
  border: 0;
  border-radius: 999px;
  background: var(--line-light);
  cursor: pointer;
  transition: background 0.3s;
  padding: 0;
}
.quotes__dots button.is-on { background: var(--sun-deep); }

.clients__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel-dark);
  margin: 44px 0 16px;
}
.clients {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}
.clients span {
  font-family: var(--font-display);
  font-stretch: 116%;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--steel-dark);
  border: 1px solid var(--line-light);
  border-radius: 999px;
  padding: 8px 16px;
  background: var(--paper);
  transition: color 0.3s, border-color 0.3s, transform 0.3s var(--ease-out);
}
.clients span:hover { color: var(--ink); border-color: var(--sun-deep); transform: translateY(-2px); }

.midcta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 46px;
  padding: 26px 30px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 12px;
}
.midcta p {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 700;
  font-size: 19px;
  margin: 0;
}
.midcta .btn--dark { background: var(--sun); color: var(--ink); }

/* --- FAQ --- */
.faq { display: grid; gap: 12px; }
.faq__item {
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq__item[open] { border-color: rgba(255, 185, 46, 0.45); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 54px 20px 24px;
  font-family: var(--font-display);
  font-stretch: 110%;
  font-weight: 700;
  font-size: 17px;
  position: relative;
  transition: color 0.25s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 22px; top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 400;
  color: var(--sun);
  transition: transform 0.35s var(--ease-out);
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item summary:hover { color: var(--sun); }
.faq__item p {
  padding: 0 24px 22px;
  margin: 0;
  color: var(--steel);
  font-size: 15.5px;
  line-height: 1.6;
  animation: fade-up 0.4s var(--ease-out);
}

@media (max-width: 720px) {
  .quotes { padding: 40px 24px 60px; min-height: 420px; }
  .quote { inset: 40px 24px 60px; }
  .quotes__dots { left: 24px; }
  .quotes__mark { font-size: 130px; top: -18px; right: 12px; }
  .midcta { flex-direction: column; align-items: flex-start; }
}

/* --- klientský nekonečný carousel --- */
.clients-loop {
  overflow: hidden;
  position: relative;
  padding: 6px 0;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.clients-loop__track {
  display: flex;
  align-items: center;
  gap: 36px;
  width: max-content;
  white-space: nowrap;
  animation: clients-scroll 60s linear infinite;
}
.clients-loop:hover .clients-loop__track { animation-play-state: paused; }
.clients-loop__track span {
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.09em;
  color: var(--steel-dark);
  transition: color 0.3s;
}
.clients-loop__track span:hover { color: var(--ink); }
.clients-loop__track i {
  font-style: normal;
  font-size: 10px;
  color: var(--sun-deep);
  opacity: 0.6;
}
@keyframes clients-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .clients-loop__track { animation: none; flex-wrap: wrap; white-space: normal; width: auto; }
}

/* --- V10: hero nadpis najede celý najednou, hned --- */
.hero__title .line,
.hero__title .line--d1 {
  animation: line-up 0.7s var(--ease-out) forwards 0s,
             shine 7s ease-in-out infinite 2s;
}

/* --- V11: hezčí přechod citátů + nová navigace --- */
.quote {
  opacity: 0;
  transform: translateX(56px);
  filter: blur(7px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out), filter 0.65s var(--ease-out);
}
.quote.is-active { opacity: 1; transform: translateX(0); filter: blur(0); }
.quote.is-leaving { opacity: 0; transform: translateX(-56px); filter: blur(7px); }
.quote.is-active blockquote { animation: fade-up 0.7s var(--ease-out) both 0.08s; }
.quote.is-active figcaption { animation: fade-up 0.7s var(--ease-out) both 0.22s; }

.quotes__nav {
  position: absolute;
  left: 54px; bottom: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.quotes__arrow {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--line-light);
  background: var(--paper);
  color: var(--ink);
  font-size: 15px;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, transform 0.3s var(--ease-out);
}
.quotes__arrow:hover {
  background: var(--sun);
  border-color: var(--sun);
  transform: translateY(-2px);
}
.quotes__count {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--steel-dark);
  min-width: 64px;
  text-align: center;
}
@media (max-width: 720px) {
  .quotes { min-height: 480px; }
  .quote { inset: 40px 24px 70px; }
  .quotes__nav { left: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .quote { transition: opacity 0.2s; transform: none; filter: none; }
  .quote.is-leaving { transform: none; }
}

/* --- V12: carousel bez navigace, menší spodní odsazení --- */
.quotes { padding-bottom: 50px; min-height: 280px; }
.quote { inset: 56px 54px 50px; }
@media (max-width: 720px) {
  .quotes { padding-bottom: 40px; min-height: 460px; }
  .quote { inset: 40px 24px 40px; }
}

/* --- reach číslo jako odkaz na Facebook --- */
a.source__reach-num { text-decoration: none; transition: transform 0.3s var(--ease-out), text-shadow 0.3s; display: inline-block; }
a.source__reach-num:hover { transform: scale(1.05); text-shadow: 0 0 24px rgba(255, 185, 46, 0.55); }

/* ==========================================================
   V13 — SEO LANDING PAGES
   ========================================================== */
.page-hero {
  background:
    radial-gradient(800px 400px at 80% 10%, rgba(255,185,46,0.09), transparent 60%),
    var(--ink);
  padding: 150px 0 70px;
}
.page-hero .breadcrumb {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--steel);
  margin-bottom: 22px;
}
.page-hero .breadcrumb a { color: var(--sun); }
.page-hero h1 {
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 800;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.04;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.page-hero .lead { color: var(--steel); font-size: 19px; max-width: 640px; margin-bottom: 30px; }

.prose { max-width: 760px; }
.prose h2 {
  font-family: var(--font-display);
  font-stretch: 114%;
  font-weight: 700;
  font-size: clamp(24px, 2.8vw, 32px);
  margin: 46px 0 14px;
  color: var(--ink);
}
.prose h3 { font-family: var(--font-display); font-stretch: 112%; font-size: 20px; margin: 28px 0 10px; }
.prose p, .prose li { color: var(--steel-dark); font-size: 16.5px; line-height: 1.7; margin-bottom: 14px; }
.prose ul { padding-left: 22px; margin-bottom: 16px; }
.prose a { color: var(--sun-deep); text-decoration: underline; }
.prose strong { color: var(--ink); }
.prose .box {
  background: var(--paper);
  border-left: 3px solid var(--sun);
  border-radius: 8px;
  padding: 20px 24px;
  margin: 24px 0;
  box-shadow: 0 8px 24px rgba(10,21,38,0.06);
}

.related { margin-top: 56px; }
.related h2 { font-family: var(--font-display); font-stretch: 114%; font-size: 22px; margin-bottom: 16px; }
.related__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.related__grid a {
  display: block;
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-radius: 10px;
  padding: 18px 20px;
  font-weight: 600;
  color: var(--ink);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, border-color 0.3s;
}
.related__grid a:hover { transform: translateY(-4px); border-color: var(--sun-deep); box-shadow: 0 14px 30px rgba(10,21,38,0.1); }
.related__grid a span { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--sun-deep); margin-bottom: 6px; }

.footer__links a { display: block; color: var(--steel); font-size: 14px; margin-bottom: 8px; }
.footer__links a:hover { color: var(--paper); }
.footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; }
.card__link { color: var(--sun-deep); text-decoration: underline; }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .footer__grid { grid-template-columns: 1fr; } }
