/* =========================================================
   ÁGORA Digital Consulting — Portfolio
   Hereda el sistema visual del sitio principal (Anton + Inter,
   azul ÁGORA, timeline / waypoints) y agrega componentes de caso.
   ========================================================= */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/anton-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/anton-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --font-display: 'Anton', sans-serif;
  --font-body: 'Inter', sans-serif;
  --bg: oklch(0.99 0 0);
  --bg-alt: oklch(0.97 0 0);
  --text: oklch(0.15 0 0);
  --muted: oklch(0.4 0 0);
  --line: oklch(0.88 0 0);
  --accent: #2D68B8;
  --accent-light: #6BCAEA;
  --navy: #233559;
  --ease-hero: cubic-bezier(0.16, 1, 0.3, 1);
  --maxw: 1120px;
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Scroll reveal ----------
   El "escondido" sólo aplica si JS está activo (html.js). Si el JS falla
   o el observer no dispara, el contenido queda visible igual. */
.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .5s ease, transform .5s ease;
  transition-delay: var(--delay, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Nav ---------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(14px, 2.4vw, 20px) clamp(16px, 4vw, 32px);
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(10px);
}
.site-nav.on-light {
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid var(--line);
}
.nav-brand { display: flex; align-items: center; gap: 9px; }
.nav-brand img { width: 26px; height: 26px; border-radius: 6px; }
.nav-brand span { color: #fff; font-weight: 600; font-size: 14px; letter-spacing: -0.01em; }
.site-nav.on-light .nav-brand span { color: var(--text); }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 28px); }
.nav-links a { font-size: 13px; color: rgba(255,255,255,0.82); }
.site-nav.on-light .nav-links a { color: var(--muted); }
.nav-links a:hover { color: #fff; }
.site-nav.on-light .nav-links a:hover { color: var(--text); }
.nav-links a.nav-cta {
  padding: 9px 18px; border-radius: 999px; color: #fff;
  background: linear-gradient(100deg, var(--accent-light), var(--accent) 75%);
  font-weight: 700;
}
.nav-links a.nav-cta:hover { color: #fff; }
@media (max-width: 640px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 999px;
  font-size: 13px; font-weight: 700; color: #fff;
  background: linear-gradient(100deg, var(--accent-light), var(--accent) 75%);
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(0,0,0,0.26); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 999px;
  font-size: 13px; font-weight: 500; color: inherit; border: 1px solid currentColor;
}
.btn-outline.on-dark { color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-outline:hover { background: rgba(0,0,0,0.05); }
.btn-outline.on-dark:hover { background: rgba(255,255,255,0.1); }

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #0b0b0b;
  color: #fff;
  overflow: hidden;
  padding: 128px clamp(16px, 4vw, 32px) 84px;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 60% at 20% 20%, rgba(45,104,184,0.35), transparent 70%),
    radial-gradient(50% 50% at 90% 80%, rgba(107,202,234,0.18), transparent 70%);
}
.hero-inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; width: 100%; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; color: rgba(255,255,255,0.72); margin: 0 0 22px;
}
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-light); }
.hero h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.1rem, 6vw, 4.2rem);
  line-height: 1.08; letter-spacing: -0.01em; text-transform: uppercase;
  margin: 0 0 26px; max-width: 15ch;
}
.hero p.lead {
  font-size: clamp(15px, 2vw, 18px); color: rgba(255,255,255,0.8);
  max-width: 52ch; line-height: 1.6; margin: 0 0 34px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Ticker ---------- */
.ticker-wrap {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
  overflow: hidden;
  padding: 15px 0;
}
.ticker-track { display: flex; gap: 40px; width: max-content; animation: marquee 26s linear infinite; }
.ticker-track span {
  font-family: var(--font-display); font-size: 15px; letter-spacing: 0.03em; text-transform: uppercase; white-space: nowrap;
}

/* ---------- Generic section ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(72px, 11vw, 118px) clamp(16px, 4vw, 32px); }
.section.tight { padding-top: 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-eyebrow {
  font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: oklch(0.45 0 0); margin: 0 0 14px; font-weight: 500;
}
.section-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -0.01em;
  text-transform: uppercase; margin: 0 0 16px;
}
.section-desc { color: var(--muted); font-size: 15px; margin: 0; line-height: 1.65; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: #0b0b0b; color: #fff; }
.section-dark .section-eyebrow { color: var(--accent-light); }
.section-dark .section-desc { color: rgba(255,255,255,0.72); }

/* ---------- Timeline / waypoints ---------- */
.timeline { position: relative; }
.timeline-line {
  position: absolute; left: 29px; top: 14px; bottom: 14px; width: 1px;
  background: repeating-linear-gradient(to bottom, oklch(0.75 0 0) 0 6px, transparent 6px 12px);
}
.section-dark .timeline-line {
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,0.4) 0 6px, transparent 6px 12px);
}
.waypoint {
  position: relative; display: grid; grid-template-columns: 60px 1fr; gap: 28px;
  padding: 30px 0; border-bottom: 1px solid oklch(0.94 0 0); scroll-margin-top: 100px;
}
.section-dark .waypoint { border-bottom-color: rgba(255,255,255,0.12); }
.waypoint:last-child { border-bottom: none; }
.waypoint-num {
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 15px; color: #fff; z-index: 1; flex-shrink: 0;
  background: var(--accent);
}
.waypoint-title { font-size: 21px; font-weight: 700; margin: 0 0 8px; letter-spacing: -0.01em; }
.waypoint-desc { color: var(--muted); font-size: 15px; max-width: 620px; margin: 0; line-height: 1.65; }
.section-dark .waypoint-desc { color: rgba(255,255,255,0.72); }
.waypoint-desc + .waypoint-desc { margin-top: 12px; }

/* ---------- Banner (hereda del sitio principal) ---------- */
.banner-blue {
  height: 130px;
  background-color: var(--navy);
  background-image: linear-gradient(100deg,
    var(--navy) 0%, var(--navy) 60%,
    var(--accent) 60%, var(--accent) 67%,
    var(--navy) 67%, var(--navy) 71%,
    var(--accent) 71%, var(--accent) 80%,
    var(--navy) 80%, var(--navy) 84%,
    var(--accent-light) 84%, var(--accent-light) 100%
  );
}

/* ---------- Project grid ---------- */
.project-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
}
@media (max-width: 780px) { .project-grid { grid-template-columns: 1fr; } }
.project-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
  background: #fff; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.project-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,0.1); border-color: var(--accent-light); }
.project-card .shot { aspect-ratio: 16 / 10; border-bottom: 1px solid var(--line); overflow: hidden; background: var(--bg-alt); flex-shrink: 0; }
.project-card .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.project-card .body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.project-card .kicker {
  font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); font-weight: 600;
}
.project-card h3 { font-size: 20px; margin: 0; letter-spacing: -0.01em; }
.project-card p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.6; }
.project-card .tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 12px; }
.project-card .go {
  margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--accent);
  display: inline-flex; align-items: center; gap: 6px;
}
.project-card:hover .go { gap: 10px; }

.pill {
  display: inline-block; font-size: 11px; font-weight: 500; padding: 5px 11px; border-radius: 999px;
  background: var(--bg-alt); border: 1px solid var(--line); color: var(--muted);
}
.status-pill {
  display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600;
  padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.05em;
}
.status-pill.draft { background: #fff7ed; color: #9a3412; border: 1px solid #fed7aa; }

/* ---------- Placeholder box ---------- */
.ph {
  display: flex; align-items: center; justify-content: center; text-align: center;
  background:
    repeating-linear-gradient(45deg, oklch(0.94 0 0) 0 14px, oklch(0.96 0 0) 14px 28px);
  color: oklch(0.5 0 0); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  font-weight: 600; padding: 16px; width: 100%; height: 100%;
}
.ph.dark {
  background: repeating-linear-gradient(45deg, rgba(255,255,255,0.06) 0 14px, rgba(255,255,255,0.03) 14px 28px);
  color: rgba(255,255,255,0.6);
}

/* ---------- Editorial note (solo desarrollo — quitar antes de publicar) ---------- */
.editnote {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 300;
  padding: 12px clamp(16px, 4vw, 32px);
  font-size: 12.5px; line-height: 1.5; color: #7c2d12; background: #ffedd5;
  border-top: 1px solid #fdba74; box-shadow: 0 -6px 20px rgba(0,0,0,0.12);
}
.editnote strong { font-weight: 700; }
.editnote code { background: #fff; padding: 1px 5px; border-radius: 4px; font-size: 11.5px; }

/* ---------- Case hero ---------- */
.case-hero {
  background: #0b0b0b; color: #fff; position: relative; overflow: hidden;
  padding: 150px clamp(16px, 4vw, 32px) 56px;
}
.case-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(55% 55% at 15% 25%, rgba(45,104,184,0.4), transparent 70%);
}
.case-hero-inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; }
.case-back { font-size: 13px; color: rgba(255,255,255,0.7); display: inline-flex; gap: 7px; align-items: center; margin-bottom: 30px; }
.case-back:hover { color: #fff; }
.case-hero .kicker { font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-light); margin: 0 0 16px; font-weight: 600; }
.case-hero h1 {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(2rem, 5.5vw, 3.8rem); line-height: 1.08; letter-spacing: -0.01em; margin: 0 0 22px;
}
.case-hero p.lead { font-size: clamp(15px, 2vw, 18px); color: rgba(255,255,255,0.8); max-width: 56ch; line-height: 1.6; margin: 0 0 46px; }

.case-meta {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.16);
  border-radius: 8px; overflow: hidden;
}
@media (max-width: 720px) { .case-meta { grid-template-columns: repeat(2, 1fr); } }
.case-meta > div { background: #131313; padding: 18px 20px; }
.case-meta dt { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin: 0 0 7px; }
.case-meta dd { margin: 0; font-size: 13.5px; line-height: 1.45; font-weight: 500; color: #fff; }

.case-body { padding-top: clamp(48px, 7vw, 72px); }

/* ---------- Phone screenshots ---------- */
.phone-row { display: flex; gap: clamp(16px, 3vw, 32px); justify-content: center; flex-wrap: wrap; }
.phone-shot {
  position: relative; width: 250px; max-width: 68vw; margin: 0 auto; padding: 9px;
  border-radius: 46px; background: #0d0d0f;
  box-shadow: 0 0 0 1.5px #4a4a4f, 0 0 0 4px #1c1c1f, 0 28px 60px rgba(0,0,0,0.22);
}
.phone-shot::before {
  content: ""; position: absolute; z-index: 2; top: 17px; left: 50%; transform: translateX(-50%);
  width: 31%; height: 22px; border-radius: 14px; background: #000;
}
.phone-shot img { width: 100%; height: auto; display: block; border-radius: 38px; object-fit: cover; object-position: top; }
.shot-grid { align-items: center; }
.phone-fig figcaption { text-align: center; }
.stat-row { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.status-orange { color: #ff9a3d; font-weight: 700; }
.phone-caption { text-align: center; font-size: 12.5px; color: var(--muted); margin: 12px 0 0; }

/* ---------- Shot / gallery ---------- */
.shot-full { width: 100%; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-alt); }
.shot-full img { width: 100%; display: block; }
.shot-full.crop { aspect-ratio: 16 / 9; }
.shot-full.crop img { height: 100%; object-fit: cover; object-position: top center; }

.shot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.shot-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .shot-grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .shot-grid, .shot-grid.cols-3 { grid-template-columns: 1fr; } }
.shot-grid .shot-item { aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-alt); }
.shot-grid .shot-item img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.figure { margin: 0; }
.figure figcaption, .shot-cap {
  font-size: 12.5px; color: var(--muted); margin-top: 10px; line-height: 1.5;
}
.gallery { display: grid; gap: 44px; }
.gallery .figure .shot-full { border-radius: 10px; }

/* ---------- Before / after ---------- */
.beforeafter { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: stretch; }
@media (max-width: 720px) { .beforeafter { grid-template-columns: 1fr; } }
.ba-col { border: 1px solid var(--line); border-radius: 8px; padding: 26px; background: #fff; }
.ba-col.after { border-color: var(--accent); border-top: 3px solid var(--accent); }
.ba-col h4 {
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 16px; font-weight: 700;
}
.ba-col.before h4 { color: var(--muted); }
.ba-col.after h4 { color: var(--accent); }
.ba-col ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ba-col li { font-size: 14px; line-height: 1.5; color: var(--text); padding-left: 20px; position: relative; }
.ba-col li::before { content: '→'; position: absolute; left: 0; color: var(--muted); }
.ba-col.after li::before { color: var(--accent); }
.ba-arrow { display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 26px; }
@media (max-width: 720px) { .ba-arrow { transform: rotate(90deg); } }

/* ---------- Result stats ---------- */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 24px; }
@media (max-width: 680px) { .stat-row { grid-template-columns: 1fr; } }
.stat { border-top: 2px solid var(--accent); padding-top: 16px; }
.stat .num { font-family: var(--font-display); font-size: clamp(30px, 4.5vw, 46px); line-height: 1; color: var(--accent); }
.stat .lbl { font-size: 13px; color: var(--muted); margin-top: 10px; line-height: 1.5; }

/* ---------- Next project ---------- */
.next-case {
  border-top: 1px solid var(--line); background: var(--bg-alt);
}
.next-case .inner {
  max-width: var(--maxw); margin: 0 auto; padding: 60px clamp(16px, 4vw, 32px);
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
}
.next-case .eyebrow { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.next-case a.title { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(22px, 3.5vw, 34px); letter-spacing: -0.01em; }
.next-case a.title:hover { color: var(--accent); }

/* ---------- CTA ---------- */
.cta { background: #0b0b0b; color: #fff; text-align: center; }
.cta .inner { max-width: 760px; margin: 0 auto; padding: clamp(72px, 11vw, 116px) clamp(16px, 4vw, 32px); }
.cta h2 {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(26px, 4vw, 44px); line-height: 1.12; margin: 0 0 20px;
}
.cta p { color: rgba(255,255,255,0.75); font-size: 16px; margin: 0 0 32px; line-height: 1.6; }
.whatsapp-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; background: #25D366; color: #06210f;
  font-size: 14px; font-weight: 600; transition: background .2s, transform .15s;
}
.whatsapp-cta:hover { background: #1ebe59; transform: translateY(-1px); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .inner {
  max-width: var(--maxw); margin: 0 auto; padding: 34px clamp(16px, 4vw, 32px);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.site-footer p { font-size: 12px; color: oklch(0.5 0 0); margin: 0; }
.site-footer a:hover { color: var(--text); }

/* ---------- "Para quién" list ---------- */
.audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 980px) { .audience-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .audience-grid { grid-template-columns: 1fr; } }
.audience-card { border: 1px solid var(--line); border-radius: 6px; padding: 22px; background: #fff; }
.audience-card h4 { margin: 0 0 8px; font-size: 15px; }
.audience-card p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.55; }

/* ---------- Responsive tweaks ---------- */
@media (max-width: 760px) {
  .waypoint { grid-template-columns: 44px 1fr; gap: 16px; }
  .waypoint-num { width: 44px; height: 44px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition-duration: .01ms !important; }
  .ticker-track { animation: none; }
}

/* ---------- Selector de idioma ES / EN ---------- */
.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font: inherit;
  background: rgba(255,255,255,0.12); border: none; border-radius: 999px; padding: 6px 12px;
}
.lang-toggle:hover { opacity: .85; }
.lang-toggle .lang-opt { color: rgba(255,255,255,0.55); font-size: 12px; font-weight: 600; letter-spacing: 0.02em; transition: color 150ms ease; }
.lang-toggle .lang-opt.active { color: #fff; }
.lang-toggle .lang-sep { color: rgba(255,255,255,0.35); font-size: 12px; }
.site-nav.on-light .lang-toggle { background: var(--bg-alt); }
.site-nav.on-light .lang-toggle .lang-opt { color: var(--muted); }
.site-nav.on-light .lang-toggle .lang-opt.active { color: var(--text); }
.site-nav.on-light .lang-toggle .lang-sep { color: var(--line); }
