/* ============================================================
   Fragua — Mage-OS consultancy site
   Design system: dark theme, ember-orange accent
   ============================================================ */

:root {
  --bg:      #0E0E11;
  --bg-2:    #121216;
  --bg-3:    #16161A;
  --bg-4:    #0B0B0E;
  --ink:     #F4F0E9;
  --muted:   #A9A6A0;
  --muted-2: #8A8A94;
  --muted-3: #6f6f78;
  --line:    #2A2A30;
  --line-2:  #1d1d22;
  --line-3:  #23232a;
  --orange:  #F26B1D;
  --orange-2:#FF8A3D;
  --green:   #34C77B;
  --red:     #E5484D;
  --blue:    #4C8BF5;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --maxw: 1320px;
  --maxw-narrow: 1200px;
  --pad: 40px;
  --radius: 14px;
}

* { box-sizing: border-box; }

/* visually-hidden but accessible to crawlers & screen readers */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html, body { margin: 0; padding: 0; background: var(--bg); }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(242,107,29,0.3); color: var(--ink); }

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

@keyframes fr-blink { 0%,49% { opacity: 1; } 50%,100% { opacity: 0; } }
@keyframes fr-emberpulse { 0%,100% { opacity: 0.55; } 50% { opacity: 0.8; } }
@keyframes fr-fadeup { 0% { opacity: 0; transform: translateY(12px); } 100% { opacity: 1; transform: none; } }

/* ---------- layout primitives ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.container--narrow { max-width: var(--maxw-narrow); }
.section { padding: 96px var(--pad); }
.section--alt { background: var(--bg-2); border-top: 1px solid var(--line-2); }
.section--bordered { border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.eyebrow--orange { color: var(--orange); }
.eyebrow--muted  { color: var(--muted-2); }

.h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(33px, 5vw, 66px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  color: var(--ink);
}
.h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(25px, 3.3vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}
.h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
}
.lead {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  transition: box-shadow 180ms ease, background 180ms ease, border-color 150ms ease, color 150ms ease;
}
.btn--primary {
  color: #1A1410;
  background: var(--orange);
  padding: 11px 18px;
  font-size: 14.5px;
}
.btn--primary:hover {
  background: var(--orange-2);
  box-shadow: 0 0 26px -4px rgba(242,107,29,0.7);
}
.btn--lg { padding: 15px 26px; font-size: 16px; }
.btn--ghost {
  color: var(--ink);
  background: none;
  border: 1px solid var(--line);
  padding: 11px 18px;
  font-size: 15px;
  font-weight: 500;
}
.btn--ghost:hover { border-color: var(--orange); color: var(--orange-2); }
.btn--block { display: block; width: 100%; text-align: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 500;
  font-size: 16px;
  color: var(--ink);
  transition: gap 150ms ease;
}
.link-arrow span { color: var(--orange); }
.link-arrow:hover { gap: 13px; }

/* ---------- badges / chips ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  border-radius: 7px;
  padding: 7px 12px;
}
.badge--green  { color: var(--green);   background: rgba(52,199,123,0.07); border: 1px solid rgba(52,199,123,0.22); }
.badge--orange { color: var(--orange-2);background: rgba(242,107,29,0.08); border: 1px solid rgba(242,107,29,0.28); }
.badge--blue   { color: var(--blue);    background: rgba(76,139,245,0.07); border: 1px solid rgba(76,139,245,0.22); }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 7px rgba(52,199,123,0.8); }

/* ---------- card ---------- */
.card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 72px;
  display: flex;
  align-items: center;
  transition: height 200ms ease, background 200ms ease, border-color 200ms ease;
  background: rgba(14,14,17,0.55);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(42,42,48,0);
}
.site-header.is-stuck {
  height: 60px;
  background: rgba(14,14,17,0.82);
  border-bottom-color: rgba(42,42,48,0.9);
}
.site-header--solid {
  background: rgba(14,14,17,0.82);
  border-bottom-color: rgba(42,42,48,0.9);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; }

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand .spark {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 10px 1px rgba(242,107,29,0.9);
  display: inline-block;
  margin-left: -2px;
  margin-bottom: -9px;
}
/* wordmark: "Fragua" + spark dot + "Commerce" (matches fraguacommerce.com) */
.brand::after {
  content: "Commerce";
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-left: -2px;
}

.nav { display: flex; align-items: center; gap: 34px; font-size: 14.5px; }
.nav a { color: #C9C6BF; transition: color 150ms ease; }
.nav a:hover, .nav a.is-active { color: var(--ink); }
.nav a.is-active { color: var(--orange-2); }

.header-actions { display: flex; align-items: center; gap: 18px; }

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted-2);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 5px 8px;
}
.lang-toggle span {
  cursor: pointer;
  padding: 1px 5px;
  border-radius: 4px;
  color: var(--muted-2);
  transition: color 150ms ease, background 150ms ease;
}
.lang-toggle span.is-active { color: var(--ink); background: rgba(242,107,29,0.18); }

.hamburger {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 38px; height: 38px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}
.hamburger span { width: 16px; height: 1.6px; background: #C9C6BF; display: block; transition: transform 200ms ease, opacity 150ms ease; }
.hamburger.is-open span:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }

/* mobile slide-down menu (built by JS, hidden on desktop) */
.mobile-menu {
  display: none;
  position: fixed;
  top: 60px; left: 0; right: 0;
  z-index: 95;
  background: rgba(14,14,17,0.98);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-2);
  padding: 12px 20px 24px;
  flex-direction: column;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: #C9C6BF;
  font-size: 16px;
  padding: 15px 4px;
  border-bottom: 1px solid var(--line-2);
}
.mobile-menu a.is-active { color: var(--orange-2); }
.mobile-menu .mm-cta {
  margin-top: 18px;
  text-align: center;
  color: #1A1410;
  background: var(--orange);
  border: none;
  border-radius: 8px;
  font-weight: 600;
}
@media (min-width: 861px) { .mobile-menu { display: none !important; } }

/* ---------- hero ---------- */
.hero { position: relative; padding: 170px var(--pad) 92px; }
.ember {
  position: absolute;
  top: 30px; left: 50%;
  transform: translateX(-58%);
  width: 1100px; height: 760px;
  pointer-events: none;
  background: radial-gradient(46% 50% at 50% 42%, rgba(242,107,29,0.20) 0%, rgba(242,107,29,0.07) 38%, rgba(242,107,29,0) 70%);
  animation: fr-emberpulse 7s ease-in-out infinite;
}
.hero-grid {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 64px;
  align-items: center;
}
.hero-cta-row { display: flex; align-items: center; gap: 24px; margin-bottom: 46px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 38px; flex-wrap: wrap; }
.stat .stat-num { font-family: var(--font-display); font-weight: 600; font-size: 24px; color: var(--ink); }
.stat .stat-label { font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); margin-top: 3px; }
.stat-divider { width: 1px; background: var(--line); align-self: stretch; }

/* ---------- terminal card ---------- */
.terminal-wrap { position: relative; }
.terminal-glow {
  position: absolute; inset: -24px;
  background: radial-gradient(60% 60% at 60% 40%, rgba(242,107,29,0.16), rgba(242,107,29,0) 72%);
  pointer-events: none;
}
.terminal {
  position: relative;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 30px 70px -28px rgba(0,0,0,0.85);
  overflow: hidden;
}
.terminal--plain { box-shadow: none; background: var(--bg-4); }
.terminal-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.terminal-dot { width: 11px; height: 11px; border-radius: 50%; background: #3a3a42; }
.terminal-path { margin-left: 10px; font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); }
.terminal-copy {
  margin-left: auto;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px 9px;
  transition: color 150ms ease, border-color 150ms ease;
}
.terminal-copy:hover { color: var(--orange-2); border-color: rgba(242,107,29,0.5); }
.terminal-body { padding: 18px 18px 8px; }
.terminal-tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 11.5px;
  color: var(--orange-2);
  background: rgba(242,107,29,0.10);
  border: 1px solid rgba(242,107,29,0.3);
  border-radius: 6px;
  padding: 5px 10px;
  margin-bottom: 18px;
}
.terminal pre {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--ink);
  white-space: pre-wrap;
  word-break: break-all;
}
.term-green { color: var(--green); }
.term-muted { color: var(--muted-2); }
.term-blue { color: var(--blue); }
.term-orange { color: var(--orange-2); }
.term-installing { font-family: var(--font-mono); font-size: 13.5px; line-height: 1.85; color: var(--muted-2); padding-bottom: 14px; }
.cursor { display: inline-block; width: 9px; height: 17px; background: var(--orange); margin-left: 4px; vertical-align: -3px; animation: fr-blink 1.05s step-end infinite; }

/* ---------- trust bar ---------- */
.trust { padding: 18px var(--pad) 56px; }
.trust-inner { max-width: var(--maxw-narrow); margin: 0 auto; text-align: center; }
.trust-label { font-size: 13px; letter-spacing: 0.04em; color: var(--muted-3); margin-bottom: 26px; }
.trust-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 48px; opacity: 0.6; }
.trust-logos span { font-family: var(--font-display); font-weight: 600; font-size: 21px; color: #C9C6BF; letter-spacing: -0.01em; }

/* ---------- problem grid ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.section-head { max-width: 640px; margin-bottom: 52px; }

.pain-card { display: flex; gap: 18px; align-items: flex-start; padding: 30px 30px 32px; }
.pain-icon {
  flex: none; width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(229,72,77,0.08);
  border: 1px solid rgba(229,72,77,0.25);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 15px; color: var(--red);
}
.pain-card h3 { font-size: 19px; margin: 0 0 8px; }
.pain-card p { font-size: 15px; line-height: 1.55; color: var(--muted-2); margin: 0; }

/* ---------- pillars (zig-zag) ---------- */
.pillars { display: flex; flex-direction: column; gap: 64px; }
.pillar { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.pillar__num { font-family: var(--font-mono); font-size: 13px; color: var(--orange); margin-bottom: 12px; }
.pillar__title { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 14px; }
.pillar__body { font-size: 16.5px; line-height: 1.6; color: var(--muted); margin: 0 0 18px; }
.pillar__visual { background: var(--bg-3); border: 1px solid var(--line); border-radius: 16px; padding: 34px; }
.pillar--flip .pillar__text { order: 2; }
.pillar--flip .pillar__visual { order: 1; }

.row-line { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line-3); }
.row-line:last-child { border-bottom: none; }
.row-line .lbl { color: var(--muted-2); font-size: 14.5px; }
.row-line .val { font-family: var(--font-mono); font-size: 15px; }
.val--red { color: var(--red); }
.val--green { color: var(--green); }

.advisories { font-family: var(--font-mono); font-size: 13.5px; line-height: 2; }
.advisories .head { color: var(--muted-2); }
.advisories .ok { color: var(--green); }
.advisories .row { color: var(--ink); }
.advisories .delta { color: var(--muted-3); }

.bars-head { font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); margin-bottom: 22px; }
.bars { display: flex; flex-direction: column; gap: 20px; }
.bar-row .bar-top { display: flex; justify-content: space-between; margin-bottom: 8px; }
.bar-row .bar-top .name { font-size: 14px; }
.bar-row .bar-top .num { font-family: var(--font-mono); font-size: 14px; }
.bar-track { height: 14px; border-radius: 7px; background: var(--bg); overflow: hidden; }
.bar-fill { height: 100%; width: 0; border-radius: 7px; transition: width 1100ms cubic-bezier(.2,.7,.2,1); }
.bar-fill--orange { background: linear-gradient(90deg,#9A3F12,#F26B1D,#FF8A3D); }
.bar-fill--gray { background: #3a3a42; transition-delay: 120ms; }

.timeline { position: relative; padding-left: 22px; }
.timeline .spine { position: absolute; left: 4px; top: 6px; bottom: 6px; width: 1.5px; background: var(--line); }
.timeline .items { display: flex; flex-direction: column; gap: 18px; font-family: var(--font-mono); font-size: 13.5px; }
.timeline .item { position: relative; }
.timeline .item .pip { position: absolute; left: -22px; top: 4px; width: 9px; height: 9px; border-radius: 50%; }

.chips-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.chip {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 13px 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: #C9C6BF;
  display: flex; align-items: center; gap: 8px;
}
.chip .ok { color: var(--green); }

/* ---------- services ---------- */
.split-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; gap: 40px; flex-wrap: wrap; }
.split-head .col { max-width: 600px; }
.services-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.service-card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 26px;
  display: flex;
  flex-direction: column;
  min-height: 230px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(242,107,29,0.55);
  box-shadow: 0 24px 50px -28px rgba(0,0,0,0.9);
}
.service-card .num { font-family: var(--font-mono); font-size: 13px; color: var(--orange); margin-bottom: auto; }
.service-card h3 { font-size: 20px; line-height: 1.2; margin: 26px 0 10px; }
.service-card p { font-size: 14.5px; line-height: 1.55; color: var(--muted-2); margin: 0 0 18px; }
.service-card .more { font-size: 14px; font-weight: 500; color: var(--orange-2); }

/* ---------- process ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; }
.steps--5 { grid-template-columns: repeat(5,1fr); }
.steps .rail {
  position: absolute; top: 34px; left: 6%; right: 6%; height: 1px;
  background: linear-gradient(90deg,rgba(242,107,29,0.05),rgba(242,107,29,0.45),rgba(242,107,29,0.05));
}
.step { position: relative; }
.step .circle {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 24px;
  color: var(--orange-2);
  margin-bottom: 22px;
}
.step h3 { font-size: 19px; margin: 0 0 9px; }
.step p { font-size: 14.5px; line-height: 1.55; color: var(--muted-2); margin: 0; }

/* vertical timeline variant (mobile process / migración steps) */
.steps-vert { position: relative; padding-left: 6px; }
.steps-vert .spine {
  position: absolute; left: 26px; top: 14px; bottom: 14px; width: 1.5px;
  background: linear-gradient(180deg,rgba(242,107,29,0.5),rgba(242,107,29,0.1));
}
.steps-vert .list { display: flex; flex-direction: column; gap: 20px; }
.step-v { display: flex; gap: 18px; align-items: flex-start; }
.step-v .circle {
  flex: none; width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--orange-2);
  z-index: 1;
}
.step-v h3 { font-size: 16px; margin: 0 0 4px; }
.step-v p { font-size: 13.5px; line-height: 1.5; color: var(--muted-2); margin: 0; }

/* ---------- case study ---------- */
.case {
  position: relative;
  max-width: var(--maxw-narrow);
  margin: 0 auto;
  background: var(--bg-4);
  border: 1px solid var(--line-3);
  border-radius: 20px;
  overflow: hidden;
  padding: 64px;
}
.case-glow {
  position: absolute; top: -120px; right: -80px;
  width: 560px; height: 520px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(242,107,29,0.16), rgba(242,107,29,0) 70%);
  pointer-events: none;
}
.case-grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.case-stats { display: flex; gap: 48px; margin-bottom: 34px; flex-wrap: wrap; }
.case-big { font-family: var(--font-display); font-weight: 600; font-size: 58px; line-height: 1; letter-spacing: -0.03em; }
.case-big.orange { color: var(--orange-2); }
.case-cap { font-family: var(--font-mono); font-size: 13px; color: var(--muted-2); margin-top: 10px; }
.quote { font-family: var(--font-display); font-weight: 500; font-size: 25px; line-height: 1.4; color: var(--ink); margin: 0 0 28px; letter-spacing: -0.01em; }
.avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg,#2A2A30,#16161A);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; color: var(--muted-2);
}
.who { display: flex; align-items: center; gap: 14px; }
.who .name { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.who .role { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted-2); }

.pill-meta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; color: var(--muted-2);
  border: 1px solid var(--line); border-radius: 7px; padding: 6px 11px;
  margin-bottom: 28px;
}

/* ---------- insights ---------- */
.articles-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.article {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 180ms ease, border-color 180ms ease;
}
.article:hover { transform: translateY(-5px); border-color: rgba(242,107,29,0.4); }
.article .thumb {
  position: relative;
  height: 150px;
  background: repeating-linear-gradient(135deg,#16161A,#16161A 11px,#191920 11px,#191920 22px);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.article .thumb span { font-family: var(--font-mono); font-size: 11.5px; color: #5a5a63; }
.article .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.article .body { padding: 24px; }
.article .meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.article .meta .cat { font-family: var(--font-mono); font-size: 11.5px; color: var(--orange-2); white-space: nowrap; }
.article .meta .sep { color: #3a3a42; }
.article .meta .read { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted-2); white-space: nowrap; }
.article h3 { font-size: 18.5px; line-height: 1.25; margin: 0; }

/* ---------- final CTA / form ---------- */
.cta { position: relative; padding: 110px var(--pad); }
.cta-glow {
  position: absolute; inset: 0;
  background: radial-gradient(60% 90% at 50% 50%, rgba(242,107,29,0.22), rgba(242,107,29,0.05) 45%, rgba(242,107,29,0) 72%);
  pointer-events: none;
}
.cta-grid { position: relative; max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.cta-grid .h2 { font-size: clamp(30px, 3.4vw, 48px); line-height: 1.08; margin: 0 0 20px; }
.cta-promises { display: flex; gap: 18px; font-family: var(--font-mono); font-size: 12.5px; color: var(--muted-2); flex-wrap: wrap; }

.form {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 30px 70px -30px rgba(0,0,0,0.8);
  display: flex; flex-direction: column; gap: 14px;
}
.form input, .form select {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 13px 15px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color 150ms ease;
}
.form input.mono { font-family: var(--font-mono); font-size: 14px; }
.form select { color: var(--muted-2); appearance: none; }
.form input:focus, .form select:focus { border-color: var(--orange); }
.form button { margin-top: 4px; padding: 15px; font-size: 16px; border-radius: 9px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line-2); padding: 64px var(--pad) 40px; background: var(--bg-4); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--line-2); }
.footer-col .label { font-family: var(--font-mono); font-size: 12px; color: var(--muted-3); letter-spacing: 0.05em; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 11px; font-size: 14.5px; }
.footer-links a { color: var(--muted); transition: color 150ms ease; }
.footer-links a:hover { color: var(--ink); }
.footer-blurb { font-size: 14.5px; line-height: 1.6; color: var(--muted-2); max-width: 280px; margin: 0 0 18px; }
.footer-sub-p { font-size: 13.5px; line-height: 1.55; color: var(--muted-2); margin: 0 0 14px; }
.footer-sub-row { display: flex; gap: 8px; }
.footer-sub-row input {
  flex: 1; background: var(--bg); border: 1px solid var(--line); border-radius: 8px;
  padding: 10px 12px; font-family: var(--font-mono); font-size: 13px; color: var(--ink); outline: none;
}
.footer-sub-row button { background: var(--orange); color: #1A1410; border: none; border-radius: 8px; padding: 0 14px; font-weight: 600; cursor: pointer; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; gap: 24px; flex-wrap: wrap; }
.footer-bottom div { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted-3); }
.footer-bottom a { color: var(--muted-2); }
.footer-bottom a:hover { color: var(--ink); }

/* ============================================================
   RESPONSIVE  — collapse to the mobile 390 design
   ============================================================ */
@media (max-width: 860px) {
  :root { --pad: 20px; }

  .nav { display: none; }
  .hamburger { display: flex; }
  .lang-toggle { display: none; }
  .site-header { height: 60px; background: rgba(14,14,17,0.85); border-bottom-color: var(--line-2); }
  .site-header.is-stuck { height: 60px; }

  .section { padding: 44px var(--pad); }

  .hero { padding: 100px var(--pad) 44px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-cta-row { gap: 14px; margin-bottom: 30px; }
  .hero-cta-row .btn--lg { width: 100%; text-align: center; }
  .hero-stats { gap: 14px; }
  .stat-divider { align-self: auto; }

  .grid-2 { grid-template-columns: 1fr; gap: 12px; }
  .pain-card { padding: 20px; }

  .pillars { gap: 16px; }
  .pillar, .pillar--flip { grid-template-columns: 1fr; gap: 20px; }
  .pillar--flip .pillar__text, .pillar--flip .pillar__visual { order: 0; }
  .pillar__visual { padding: 24px; }

  .services-grid { grid-template-columns: 1fr; gap: 12px; }
  .service-card { min-height: 0; }

  .steps { grid-template-columns: 1fr; gap: 20px; }
  .steps .rail { display: none; }

  .case { padding: 32px 24px; }
  .case-grid { grid-template-columns: 1fr; gap: 28px; }
  .case-stats { gap: 32px; }
  .case-big { font-size: 42px; }

  .articles-grid { grid-template-columns: 1fr; gap: 12px; }

  .cta { padding: 52px var(--pad); }
  .cta-grid { grid-template-columns: 1fr; gap: 28px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .split-head { gap: 20px; }
}

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .trust-logos { gap: 18px 24px; }
  .trust-logos span { font-size: 16px; }
}

/* ============================================================
   SERVICIOS page
   ============================================================ */
.subnav {
  position: fixed;
  top: 72px; left: 0; right: 0;
  z-index: 99;
  background: rgba(11,11,14,0.92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line-2);
}
.subnav .inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: stretch;
  gap: 4px;
  height: 54px;
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav .inner::-webkit-scrollbar { display: none; }
.tab {
  background: none; border: none; cursor: pointer;
  font-family: var(--font-body); font-size: 14.5px; font-weight: 500;
  color: var(--muted-2);
  padding: 0 18px;
  display: flex; align-items: center; gap: 9px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 150ms ease;
}
.tab .tnum { font-family: var(--font-mono); font-size: 11.5px; color: #5a5a63; }
.tab:hover { color: #C9C6BF; }
.tab.is-active { color: var(--ink); font-weight: 600; border-bottom-color: var(--orange); }
.tab.is-active .tnum { color: var(--orange-2); }

.svc-main { padding-top: 126px; }
.svc-hero { position: relative; padding: 74px var(--pad) 64px; }
.svc-hero .ember-svc {
  position: absolute; top: -20px; left: 50%; transform: translateX(-55%);
  width: 980px; height: 520px; pointer-events: none;
  background: radial-gradient(46% 50% at 50% 40%, rgba(242,107,29,0.16) 0%, rgba(242,107,29,0.05) 40%, rgba(242,107,29,0) 72%);
}
.svc-hero .inner { position: relative; max-width: var(--maxw-narrow); margin: 0 auto; }
.svc-hero .h1 { font-size: clamp(33px, 4.2vw, 52px); line-height: 1.08; margin: 0 0 22px; max-width: 880px; }
.svc-hero .lead { max-width: 680px; margin: 0 0 34px; }

.svc-pane { animation: fr-fadeup 380ms ease; }
.svc-pane[hidden] { display: none; }

/* signals */
.signals { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.signal { display: flex; gap: 15px; align-items: flex-start; background: var(--bg-3); border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px; }
.signal .tick {
  flex: none; width: 26px; height: 26px; border-radius: 7px;
  background: rgba(242,107,29,0.10); border: 1px solid rgba(242,107,29,0.3);
  display: flex; align-items: center; justify-content: center; color: var(--orange-2); font-size: 14px;
}
.signal span.txt { font-size: 15.5px; line-height: 1.5; color: #C9C6BF; }

/* incluye list */
.incluye-group + .incluye-group { margin-top: 40px; }
.incluye-title { font-family: var(--font-mono); font-size: 13px; color: var(--muted-2); letter-spacing: 0.05em; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); }
.incluye-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 36px; }
.incluye-item { display: flex; gap: 13px; align-items: flex-start; }
.incluye-item .arr { flex: none; color: var(--orange); font-size: 15px; margin-top: 2px; }
.incluye-item .txt { font-size: 15.5px; line-height: 1.55; }
.incluye-item .txt b { color: var(--ink); font-weight: 500; }
.incluye-item .txt span { color: var(--muted-2); }

/* comparison table */
.cmp { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--bg-3); }
.cmp-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.cmp-grid .ch { padding: 20px 18px; text-align: center; font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--muted); border-bottom: 1px solid var(--line-3); border-left: 1px solid var(--line-3); }
.cmp-grid .ch--mage { color: var(--orange-2); background: rgba(242,107,29,0.07); border-bottom: 1px solid rgba(242,107,29,0.25); border-left: 1px solid rgba(242,107,29,0.25); border-right: 1px solid rgba(242,107,29,0.25); }
.cmp-grid .ch--blank { border-left: none; }
.cmp-grid .rl { padding: 18px 24px; font-size: 14.5px; color: #C9C6BF; border-bottom: 1px solid var(--line-2); }
.cmp-grid .rc { padding: 18px; text-align: center; font-family: var(--font-mono); font-size: 13.5px; border-bottom: 1px solid var(--line-2); border-left: 1px solid var(--line-3); }
.cmp-grid .rc--mage { color: var(--green); background: rgba(242,107,29,0.05); border-bottom: 1px solid var(--line-3); border-left: 1px solid rgba(242,107,29,0.25); border-right: 1px solid rgba(242,107,29,0.25); }

/* migration route */
.route-label { font-family: var(--font-mono); font-size: 13px; color: var(--muted-2); letter-spacing: 0.05em; margin: 56px 0 24px; }
.route { display: flex; align-items: center; gap: 0; flex-wrap: wrap; }
.route .node { display: flex; align-items: center; }
.route .box { border-radius: 10px; padding: 14px 20px; text-align: center; min-width: 108px; }
.route .box .n { font-family: var(--font-mono); font-size: 11px; margin-bottom: 4px; }
.route .box .l { font-family: var(--font-display); font-weight: 600; font-size: 14px; }
.route .arr { color: var(--orange); font-size: 18px; padding: 0 10px; }

/* performance benchmark */
.perf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.perf-card { background: var(--bg-3); border: 1px solid var(--line); border-radius: 16px; padding: 32px; }
.perf-card .label { font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); margin-bottom: 26px; }
.perf-stats { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line-3); display: flex; gap: 32px; }
.perf-stats .big { font-family: var(--font-display); font-weight: 600; font-size: 28px; }
.perf-stats .big.orange { color: var(--orange-2); }
.perf-stats .cap { font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); margin-top: 3px; }
.cwv-col { display: flex; flex-direction: column; gap: 16px; }
.cwv { background: var(--bg-3); border: 1px solid var(--line); border-radius: 16px; padding: 24px 28px; display: flex; align-items: center; justify-content: space-between; }
.cwv .name { font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.cwv .sub { font-size: 13px; color: var(--muted-2); margin-top: 3px; }
.cwv .target { font-family: var(--font-mono); font-size: 20px; color: var(--green); text-align: right; }
.cwv .goal { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; color: var(--green); margin-top: 5px; }

/* soporte dashboard + changelog */
.sop-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; margin-bottom: 52px; }
.changelog-card { background: var(--bg-3); border: 1px solid var(--line); border-radius: 16px; padding: 30px 32px; }
.changelog { position: relative; padding-left: 26px; }
.changelog .spine { position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1.5px; background: var(--line); }
.changelog .list { display: flex; flex-direction: column; gap: 22px; }
.changelog .item { position: relative; }
.changelog .item .pip { position: absolute; left: -26px; top: 3px; width: 11px; height: 11px; border-radius: 50%; }
.changelog .item .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.changelog .item .txt { font-size: 14.5px; color: var(--ink); }
.changelog .item .date { font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); white-space: nowrap; }
.dash { background: var(--bg-3); border: 1px solid var(--line); border-radius: 16px; padding: 30px 32px; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.dash .row { display: flex; justify-content: space-between; align-items: center; }
.dash .row .k { font-size: 14px; color: var(--muted-2); }
.dash .row .v { font-family: var(--font-mono); font-size: 20px; color: var(--ink); }
.dash .row .v.green { color: var(--green); }

.plans-label { font-family: var(--font-mono); font-size: 13px; color: var(--muted-2); letter-spacing: 0.05em; margin-bottom: 24px; }
.plans { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; align-items: stretch; }
.plan { background: var(--bg-3); border: 1px solid var(--line); border-radius: 16px; padding: 30px 28px; display: flex; flex-direction: column; position: relative; }
.plan.featured { border-color: rgba(242,107,29,0.5); }
.plan .ribbon { position: absolute; top: -11px; left: 28px; font-family: var(--font-mono); font-size: 11px; color: #1A1410; background: var(--orange); padding: 4px 10px; border-radius: 6px; }
.plan .pname { font-family: var(--font-display); font-weight: 600; font-size: 22px; margin-bottom: 6px; }
.plan .pprice { font-family: var(--font-mono); font-size: 13px; color: var(--orange-2); margin-bottom: 22px; }
.plan .pfeatures { display: flex; flex-direction: column; gap: 11px; }
.plan .pf { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: #C9C6BF; }
.plan .pf .ok { color: var(--green); flex: none; }

/* desarrollo integration diagram */
.intg { display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: center; margin-bottom: 48px; }
.intg-col { display: flex; flex-direction: column; gap: 14px; }
.intg-node { background: var(--bg-3); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; }
.intg-node .nm { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--ink); }
.intg-node .pr { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted-2); margin-top: 3px; }
.intg-col--right { text-align: left; }
.intg-col--left .intg-node { text-align: right; }
.intg-center { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.intg-center .sym { color: var(--orange); font-size: 22px; }
.intg-hub { background: var(--bg-4); border: 1.5px solid rgba(242,107,29,0.5); border-radius: 14px; padding: 26px 30px; text-align: center; box-shadow: 0 0 40px -10px rgba(242,107,29,0.4); }
.intg-hub .nm { font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--orange-2); }
.intg-hub .pr { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted-2); margin-top: 5px; }

.code-tree { background: var(--bg-4); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; max-width: 560px; }
.code-tree pre { margin: 0; padding: 18px; font-family: var(--font-mono); font-size: 13px; line-height: 1.85; color: #C9C6BF; white-space: pre-wrap; }

/* qué obtienes */
.obtienes { max-width: 920px; margin: 0 auto; text-align: center; }
.obtienes p { font-family: var(--font-display); font-weight: 500; font-size: clamp(21px, 2.4vw, 27px); line-height: 1.4; letter-spacing: -0.01em; color: var(--ink); margin: 0 0 28px; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--bg-3); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: border-color 150ms ease; }
.faq-item.open { border-color: rgba(242,107,29,0.4); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer; text-align: left;
  padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.faq-q .q { font-family: var(--font-display); font-weight: 500; font-size: 17px; color: var(--ink); line-height: 1.3; }
.faq-q .sym { flex: none; font-family: var(--font-mono); font-size: 20px; color: var(--orange); line-height: 1; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 280ms ease; }
.faq-item.open .faq-a { max-height: 320px; }
.faq-a p { margin: 0; padding: 0 26px 24px; font-size: 15.5px; line-height: 1.65; color: var(--muted); }

.cta--center { padding: 104px var(--pad); }
.cta--center .inner { position: relative; max-width: 760px; margin: 0 auto; text-align: center; }
.cta--center .h2 { font-size: clamp(28px, 3.2vw, 44px); margin: 0 0 18px; }
.cta--center .lead { margin: 0 auto 30px; max-width: 520px; }

@media (max-width: 860px) {
  .subnav { top: 60px; }
  .subnav .inner { padding: 0 var(--pad); height: 50px; }
  .svc-main { padding-top: 110px; }
  .svc-hero { padding: 36px var(--pad) 40px; }

  .signals { grid-template-columns: 1fr; gap: 12px; }
  .incluye-grid { grid-template-columns: 1fr; gap: 16px; }
  .incluye-group + .incluye-group { margin-top: 28px; }

  .cmp { display: none; }            /* desktop table hidden; stacked cards shown */
  .cmp-stack { display: flex; }

  .route { flex-direction: column; align-items: stretch; }
  .route .node { flex-direction: column; align-items: stretch; width: 100%; }
  .route .arr { transform: rotate(90deg); padding: 6px 0; align-self: center; }
  .route .box { width: 100%; }

  .perf-grid { grid-template-columns: 1fr; }
  .sop-grid { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .intg { grid-template-columns: 1fr; gap: 16px; }
  .intg-col--left .intg-node { text-align: left; }
  .intg-center { flex-direction: row; flex-wrap: wrap; }
  .cta--center { padding: 56px var(--pad); }
}

/* stacked comparison cards — only shown on mobile */
.cmp-stack { display: none; flex-direction: column; gap: 12px; }
.cmp-row { background: var(--bg-3); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.cmp-row .rl { font-size: 14px; color: #C9C6BF; margin-bottom: 12px; font-weight: 500; }
.cmp-row .cols { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.cmp-row .cell { text-align: center; padding: 8px 4px; border-radius: 8px; background: var(--bg); }
.cmp-row .cell.mage { background: rgba(242,107,29,0.08); border: 1px solid rgba(242,107,29,0.3); }
.cmp-row .cell .h { font-family: var(--font-mono); font-size: 9.5px; color: var(--muted-3); margin-bottom: 5px; }
.cmp-row .cell.mage .h { color: var(--orange-2); }
.cmp-row .cell .v { font-family: var(--font-mono); font-size: 12px; }
.cmp-row .cell.mage .v { color: var(--green); }

/* ============================================================
   BLOG ARTICLE
   ============================================================ */
.post { padding: 126px var(--pad) 40px; }
.post-head { max-width: 760px; margin: 0 auto 36px; }
.post-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.post-meta .cat { font-family: var(--font-mono); font-size: 12px; color: var(--orange-2); letter-spacing: 0.04em; }
.post-meta .sep { color: #3a3a42; }
.post-meta .read, .post-meta .date { font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); }
.post-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 22px;
  color: var(--ink);
}
.post-standfirst { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--muted); margin: 0; }

.post-cover {
  position: relative;
  max-width: 1000px;
  margin: 0 auto 56px;
  height: clamp(220px, 38vw, 460px);
  border-radius: 18px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: repeating-linear-gradient(135deg,#16161A,#16161A 14px,#191920 14px,#191920 28px);
}
.post-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-cover .frame {
  position: absolute; inset: 0;
  box-shadow: inset 0 -90px 120px -40px rgba(8,8,10,0.9);
  pointer-events: none;
}
.post-cover .placeholder {
  position: absolute; left: 20px; bottom: 16px;
  font-family: var(--font-mono); font-size: 11px; color: #5a5a63;
}

.prose { max-width: 720px; margin: 0 auto; }
.prose > p { font-size: 18px; line-height: 1.75; color: #D6D2CB; margin: 0 0 26px; }
.prose > p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 58px;
  float: left;
  line-height: 0.86;
  padding: 6px 12px 0 0;
  color: var(--orange-2);
}
.prose h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(23px, 2.6vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 52px 0 18px;
}
.prose h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--ink);
  margin: 36px 0 12px;
}
.prose a { color: var(--orange-2); border-bottom: 1px solid rgba(255,138,61,0.3); transition: border-color 150ms ease; }
.prose a:hover { border-bottom-color: var(--orange-2); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose em { color: var(--ink); font-style: italic; }
.prose ul { margin: 0 0 26px; padding: 0; list-style: none; }
.prose ul li {
  position: relative;
  font-size: 18px; line-height: 1.7; color: #D6D2CB;
  padding-left: 26px; margin-bottom: 12px;
}
.prose ul li::before { content: "▸"; position: absolute; left: 0; top: 1px; color: var(--orange); }
.prose blockquote {
  margin: 36px 0;
  padding: 4px 0 4px 28px;
  border-left: 2px solid var(--orange);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.45;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.prose .note {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  border-radius: 10px;
  padding: 22px 24px;
  margin: 32px 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
}
.prose .note b { color: var(--ink); }
.prose pre {
  background: var(--bg-4);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 22px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.75;
  color: #C9C6BF;
  margin: 0 0 30px;
}
.prose hr { border: none; border-top: 1px solid var(--line-2); margin: 48px 0; }

.byline {
  max-width: 720px;
  margin: 48px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  gap: 16px;
}
.byline .avatar { width: 52px; height: 52px; font-size: 15px; }
.byline .name { font-size: 15px; font-weight: 600; color: var(--ink); }
.byline .role { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted-2); margin-top: 3px; }

.post-more {
  max-width: 720px;
  margin: 40px auto 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.post-more a.back { font-family: var(--font-mono); font-size: 13px; color: var(--muted-2); }
.post-more a.back:hover { color: var(--ink); }

@media (max-width: 860px) {
  .post { padding: 92px var(--pad) 24px; }
  .prose > p:first-of-type::first-letter { font-size: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  .ember { animation: none; }
  .bar-fill { transition: none; }
  .svc-pane { animation: none; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
