/* =============================================================
   LEGAL RESET v2 — Design System
   Dark editorial base + liquid glass + refined skeuomorphism
   ============================================================= */

:root {
  /* Base palette — warm near-black, depth layered */
  --lr-ink: #0B0D12;
  --lr-ink-2: #0F131B;
  --lr-ink-3: #141925;
  --lr-ink-glow: #1A1F2D;

  /* Light surface (for contrast sections) — warm off-white */
  --lr-paper: #F6F1E7;
  --lr-paper-2: #EEE6D4;
  --lr-paper-ink: #1A1512;

  /* Text */
  --lr-text: #F4EFE4;
  --lr-text-muted: #B5B0A5;
  --lr-text-dim: #7A7468;

  /* Accent — on-brand gold (matches live site) with supporting tints */
  --lr-gold: #D1A048;
  --lr-gold-hi: #E8C37A;
  --lr-gold-lo: #8E6E2E;
  --lr-gold-soft: rgba(209, 160, 72, 0.14);

  /* Borders (hairlines) */
  --lr-line: rgba(244, 239, 228, 0.08);
  --lr-line-strong: rgba(244, 239, 228, 0.16);
  --lr-line-gold: rgba(209, 160, 72, 0.32);

  /* Glass layers */
  --lr-glass-1: rgba(255, 250, 240, 0.04);
  --lr-glass-2: rgba(255, 250, 240, 0.06);
  --lr-glass-3: rgba(255, 250, 240, 0.09);
  --lr-glass-hi: rgba(255, 255, 255, 0.14);    /* inner top highlight */
  --lr-glass-shadow: rgba(0, 0, 0, 0.45);

  /* Radii */
  --lr-r-sm: 10px;
  --lr-r: 18px;
  --lr-r-lg: 24px;
  --lr-r-xl: 32px;
  --lr-r-pill: 999px;

  /* Type */
  --lr-font-serif: 'Instrument Serif', 'Fraunces', 'Times New Roman', Georgia, serif;
  --lr-font-sans: 'Archivo', 'Inter', 'Söhne', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --lr-font-display: 'Inter', 'Archivo', -apple-system, sans-serif;
  --lr-font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --lr-display-weight: 700;
  --lr-heading-weight: 600;

  /* Layout */
  --lr-maxw: 1440px;
  --lr-maxw-narrow: 980px;
  --lr-pad: clamp(20px, 4vw, 48px);
  --lr-header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--lr-ink);
  color: var(--lr-text);
  font-family: var(--lr-font-sans);
  font-size: 16.5px;
  line-height: 1.65;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Ambient grain + warm aurora — page-wide mood */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(1100px 700px at 82% -10%, rgba(209, 160, 72, 0.08), transparent 60%),
    radial-gradient(900px 600px at -10% 100%, rgba(209, 160, 72, 0.025), transparent 55%);
}
body::after {
  content: none;
}

main, header, footer, section { position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }

::selection { background: var(--lr-gold); color: var(--lr-ink); }

/* ---------- Typography primitives ---------- */
.lr-display,
.lr-h1, .lr-h2 {
  font-family: var(--lr-font-display);
  font-weight: var(--lr-display-weight);
  letter-spacing: -0.035em;
  line-height: 1.0;
  color: var(--lr-text);
}
.lr-display {
  font-size: clamp(2.8rem, 6.2vw, 6rem);
  line-height: 0.98;
}
.lr-h1 { font-size: clamp(2.5rem, 5.4vw, 4.25rem); line-height: 1.02; font-weight: var(--lr-display-weight); }
.lr-h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.05; font-weight: var(--lr-heading-weight); letter-spacing: -0.03em; }

.lr-h3 {
  font-family: var(--lr-font-sans);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin: 0;
}

.lr-mono, .lr-eyebrow, .lr-index {
  font-family: var(--lr-font-mono);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--lr-gold);
}
.lr-eyebrow--muted { color: var(--lr-text-dim); }

.lr-lead {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--lr-text-muted);
  max-width: 60ch;
}

.lr-italic { font-family: var(--lr-font-serif); font-style: italic; font-weight: 400; color: var(--lr-gold); letter-spacing: -0.015em; }

/* ---------- Layout ---------- */
.lr-container {
  max-width: var(--lr-maxw);
  margin-inline: auto;
  padding-inline: var(--lr-pad);
}
.lr-container--narrow { max-width: var(--lr-maxw-narrow); }

.lr-section {
  padding-block: clamp(80px, 6.5vw, 96px); /* 6em top + 6em bottom = 12em between adjacent sections */
  position: relative;
}
.lr-section--tight { padding-block: clamp(60px, 4.5vw, 72px); /* ~4.5em each side */ }

/* Hairline separators that look like real etched glass edges */
.lr-hairline {
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--lr-line-strong) 20%,
    var(--lr-line-strong) 80%,
    transparent 100%);
  border: 0;
  margin: 0;
}

/* =============================================================
   GLASS PRIMITIVE
   Skeuomorphic treatment: ambient tint + inner highlight +
   outer shadow + backdrop blur. Layer everything on top of it.
   ============================================================= */
.lr-glass {
  position: relative;
  background:
    linear-gradient(180deg, var(--lr-glass-2) 0%, var(--lr-glass-1) 100%);
  border: 1px solid var(--lr-line);
  border-radius: var(--lr-r);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow:
    inset 0 1px 0 var(--lr-glass-hi),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35),
    0 1px 0 rgba(0, 0, 0, 0.25),
    0 30px 60px -30px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}
.lr-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 50% -30%, rgba(255, 250, 240, 0.10), transparent 55%);
  pointer-events: none;
}

.lr-glass--gold {
  border-color: var(--lr-line-gold);
  background:
    linear-gradient(180deg, rgba(217, 168, 92, 0.08) 0%, rgba(217, 168, 92, 0.02) 70%),
    linear-gradient(180deg, var(--lr-glass-2), var(--lr-glass-1));
}
.lr-glass--gold::before {
  background:
    radial-gradient(120% 90% at 50% -20%, rgba(242, 199, 138, 0.22), transparent 60%);
}

.lr-glass--deep {
  background: linear-gradient(180deg, var(--lr-ink-3) 0%, var(--lr-ink-2) 100%);
  box-shadow:
    inset 0 1px 0 var(--lr-glass-hi),
    inset 0 -1px 0 rgba(0, 0, 0, 0.55),
    0 40px 80px -40px rgba(0, 0, 0, 0.7);
}

/* =============================================================
   HEADER — liquid glass bar
   ============================================================= */
.lr-header {
  position: sticky;
  top: 14px;
  z-index: 50;
  margin: 14px var(--lr-pad) 0;
  transition: transform 0.35s cubic-bezier(.2,.7,.2,1);
  will-change: transform;
}
.lr-header.is-hidden {
  transform: translateY(calc(-100% - 30px));
}
.lr-header__inner {
  position: relative; /* anchors the mobile .lr-nav dropdown */
  max-width: calc(var(--lr-maxw) - 40px);
  margin-inline: auto;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px 0 22px;
  border-radius: var(--lr-r-pill);
  background:
    linear-gradient(180deg, rgba(255,250,240,0.08) 0%, rgba(255,250,240,0.03) 100%);
  border: 1px solid var(--lr-line);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow:
    inset 0 1px 0 var(--lr-glass-hi),
    inset 0 -1px 0 rgba(0,0,0,0.25),
    0 20px 50px -20px rgba(0,0,0,0.5);
}

.lr-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 1rem;
}
.lr-brand__mark {
  width: 22px; height: 22px;
  border-radius: 6px;
  background:
    radial-gradient(circle at 30% 25%, var(--lr-gold-hi) 0%, var(--lr-gold) 45%, var(--lr-gold-lo) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.45),
    inset 0 -2px 3px rgba(0,0,0,0.3),
    0 2px 8px rgba(217,168,92,0.35);
  transform: rotate(45deg);
}

.lr-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.lr-nav a {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  border-radius: var(--lr-r-pill);
  font-size: 0.875rem;
  color: var(--lr-text-muted);
  transition: all 0.25s ease;
}
.lr-nav a:hover {
  color: var(--lr-text);
  background: var(--lr-glass-2);
}
.lr-nav a.is-active {
  color: var(--lr-ink);
  background: var(--lr-text);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.7),
    0 2px 6px rgba(0,0,0,0.3);
}

/* =============================================================
   HAMBURGER TOGGLE (mobile only — display:none on desktop)
   ============================================================= */
.lr-nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--lr-line-strong);
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.lr-nav-toggle:hover {
  background: var(--lr-glass-1);
  border-color: var(--lr-line-gold);
}
.lr-nav-toggle__bars {
  position: relative;
  width: 18px;
  height: 12px;
  display: block;
}
.lr-nav-toggle__bar {
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: var(--lr-text);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}
.lr-nav-toggle__bar:nth-child(1) { top: 0; }
.lr-nav-toggle__bar:nth-child(2) { top: 5px; }
.lr-nav-toggle__bar:nth-child(3) { top: 10px; }
.lr-nav-toggle[aria-expanded="true"] .lr-nav-toggle__bar:nth-child(1) {
  top: 5px;
  transform: rotate(45deg);
}
.lr-nav-toggle[aria-expanded="true"] .lr-nav-toggle__bar:nth-child(2) {
  opacity: 0;
}
.lr-nav-toggle[aria-expanded="true"] .lr-nav-toggle__bar:nth-child(3) {
  top: 5px;
  transform: rotate(-45deg);
}

.lr-header__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: var(--lr-r-pill);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--lr-ink);
  background:
    linear-gradient(180deg, var(--lr-gold-hi) 0%, var(--lr-gold) 60%, var(--lr-gold-lo) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.55),
    inset 0 -2px 3px rgba(0,0,0,0.2),
    0 4px 12px rgba(217,168,92,0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.lr-header__cta:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.6),
    0 8px 20px rgba(217,168,92,0.45);
}

/* =============================================================
   BUTTONS — skeuomorphic pills
   ============================================================= */
.lr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 24px;
  border-radius: var(--lr-r-pill);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.lr-btn:hover { transform: translateY(-1px); }

.lr-btn--gold {
  color: var(--lr-ink);
  background:
    linear-gradient(180deg, var(--lr-gold-hi) 0%, var(--lr-gold) 55%, var(--lr-gold-lo) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.55),
    inset 0 -2px 4px rgba(0,0,0,0.22),
    0 6px 18px rgba(217,168,92,0.35);
}
.lr-btn--gold:hover {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.6),
    0 12px 28px rgba(217,168,92,0.45);
}

.lr-btn--glass {
  color: var(--lr-text);
  background:
    linear-gradient(180deg, var(--lr-glass-3) 0%, var(--lr-glass-1) 100%);
  border: 1px solid var(--lr-line-strong);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    inset 0 1px 0 var(--lr-glass-hi),
    0 4px 14px rgba(0,0,0,0.3);
}
.lr-btn--glass:hover {
  background: linear-gradient(180deg, var(--lr-glass-3), var(--lr-glass-2));
}

.lr-btn--ghost {
  color: var(--lr-text-muted);
  height: 36px;
  padding: 0 4px;
  border-radius: 0;
  border-bottom: 1px solid var(--lr-line-strong);
  gap: 8px;
}
.lr-btn--ghost:hover {
  color: var(--lr-gold);
  border-bottom-color: var(--lr-gold);
}

.lr-btn__arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}
.lr-btn:hover .lr-btn__arrow { transform: translateX(3px); }

/* =============================================================
   CHIPS — glass eyebrows
   ============================================================= */
.lr-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 30px;
  padding: 0 14px 0 10px;
  border-radius: var(--lr-r-pill);
  font-family: var(--lr-font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lr-text-muted);
  background:
    linear-gradient(180deg, var(--lr-glass-2), var(--lr-glass-1));
  border: 1px solid var(--lr-line);
  box-shadow: inset 0 1px 0 var(--lr-glass-hi);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.lr-chip::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 30%, var(--lr-gold-hi), var(--lr-gold) 55%, var(--lr-gold-lo));
  box-shadow: 0 0 10px rgba(217,168,92,0.6);
}

/* =============================================================
   FOOTER
   ============================================================= */
.lr-footer {
  padding: 80px var(--lr-pad) 40px;
  border-top: 1px solid var(--lr-line);
  margin-top: 80px;
  position: relative;
  z-index: 1;
}
.lr-footer__inner {
  max-width: var(--lr-maxw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
}
.lr-footer h4 {
  font-family: var(--lr-font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lr-text-dim);
  margin: 0 0 16px;
}
.lr-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.lr-footer a { color: var(--lr-text-muted); font-size: 0.95rem; transition: color 0.2s; }
.lr-footer a:hover { color: var(--lr-gold); }
.lr-footer__brand p { color: var(--lr-text-dim); font-size: 0.95rem; max-width: 32ch; margin: 16px 0 0; }
.lr-footer__meta {
  max-width: var(--lr-maxw);
  margin: 60px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--lr-line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.8rem;
  color: var(--lr-text-dim);
  font-family: var(--lr-font-mono);
  letter-spacing: 0.05em;
}
.lr-footer__compliance {
  max-width: var(--lr-maxw);
  margin: 18px auto 0;
  padding-top: 14px;
  border-top: 1px solid var(--lr-line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  font-family: var(--lr-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.lr-footer__compliance a {
  color: var(--lr-text-dim);
  font-size: inherit;
  letter-spacing: inherit;
  transition: color 0.2s;
}
.lr-footer__compliance a:hover { color: var(--lr-gold); }
@media (max-width: 640px) {
  .lr-footer__compliance { gap: 8px 18px; font-size: 0.68rem; }
}

/* =============================================================
   CARDS
   ============================================================= */
.lr-card {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.35s cubic-bezier(.2,.7,.2,1), box-shadow 0.35s, border-color 0.35s;
}
.lr-card:hover {
  transform: translateY(-4px);
  border-color: var(--lr-line-gold);
  box-shadow:
    inset 0 1px 0 var(--lr-glass-hi),
    0 40px 70px -30px rgba(0,0,0,0.6),
    0 0 0 1px rgba(217,168,92,0.08);
}
.lr-card__title {
  font-family: var(--lr-font-sans);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin: 0;
}
.lr-card__body { color: var(--lr-text-muted); font-size: 0.98rem; margin: 0; line-height: 1.6; text-align: justify; text-wrap: pretty; hyphens: auto; }

.lr-card__accent {
  width: 28px; height: 2px;
  background: linear-gradient(90deg, var(--lr-gold) 0%, transparent 100%);
  border-radius: 2px;
}

/* Grids */
.lr-grid { display: grid; gap: 20px; }
.lr-grid--3 { grid-template-columns: repeat(3, 1fr); }
.lr-grid--2 { grid-template-columns: repeat(2, 1fr); }
.lr-grid--1-2 { grid-template-columns: 1fr 1.4fr; gap: 60px; }
.lr-grid--2-1 { grid-template-columns: 1.5fr 1fr; gap: 56px; }

@media (max-width: 900px) {
  .lr-grid--3, .lr-grid--2, .lr-grid--1-2, .lr-grid--2-1 { grid-template-columns: 1fr; }
}

/* Tiles — compact uniform */
.lr-tile {
  padding: 22px 22px 20px;
  border-radius: var(--lr-r-sm);
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: -0.005em;
  color: var(--lr-text);
  position: relative;
  min-height: 92px;
  display: flex;
  align-items: flex-end;
  transition: transform 0.25s, border-color 0.25s;
}
.lr-tile::before {
  content: "";
  position: absolute;
  top: 18px; left: 22px;
  width: 20px; height: 1px;
  background: var(--lr-gold);
}
.lr-tile:hover {
  transform: translateY(-2px);
  border-color: var(--lr-line-gold);
}

/* =============================================================
   HERO — signature moment
   ============================================================= */
.lr-hero {
  padding: 3em var(--lr-pad) 4em;
  position: relative;
  overflow: hidden;
}
.lr-hero--fill {
  min-height: calc(100svh - 80px);
  padding: 3em var(--lr-pad) 2.5em;
  display: flex;
  align-items: center;
}
.lr-hero__inner {
  max-width: var(--lr-maxw);
  margin-inline: auto;
  position: relative;
  width: 100%;
}
.lr-hero__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
}
.lr-hero__grid--single { grid-template-columns: 1fr; max-width: 900px; }
@media (max-width: 1020px) {
  .lr-hero__grid { grid-template-columns: 1fr; gap: 40px; }
}

/* =============================================================
   BACKGROUND ORB — ambient, animated (Inicio hero)
   70% of hero width, aligned right, behind content
   ============================================================= */
.lr-bg-orb {
  position: absolute;
  top: 50%;
  /* Anchor LEFT edge past where the text column ends.
     50% of viewport on wide screens, never less than 700px so it
     doesn't crash into text on smaller screens. Right side is allowed
     to bleed off the viewport — that's intentional. */
  left: max(50%, 700px);
  right: auto;
  transform: translateY(-50%);
  width: 70vw;
  aspect-ratio: 1;
  max-width: 1100px;
  pointer-events: none;
  z-index: 0;
  filter: blur(0.5px);
}

/* Core — soft radial gold glow, the "sun" */
.lr-bg-orb__core {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 32%,
      rgba(255, 220, 150, 0.38) 0%,
      rgba(209, 160, 72, 0.22) 28%,
      rgba(209, 160, 72, 0.08) 54%,
      transparent 72%);
  filter: blur(24px);
  animation: lr-bg-orb-breathe 11s ease-in-out infinite;
}

/* Rings — thin gradient conic halos that slowly rotate */
.lr-bg-orb__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid transparent;
  background:
    conic-gradient(
      from 0deg,
      rgba(209, 160, 72, 0.0) 0deg,
      rgba(209, 160, 72, 0.28) 60deg,
      rgba(209, 160, 72, 0.05) 140deg,
      rgba(209, 160, 72, 0.22) 220deg,
      rgba(209, 160, 72, 0.0) 320deg,
      rgba(209, 160, 72, 0.0) 360deg
    ) border-box;
  -webkit-mask:
    linear-gradient(#000 0 0) padding-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  mix-blend-mode: screen;
}
.lr-bg-orb__ring--1 {
  inset: 8%;
  animation: lr-bg-orb-spin 38s linear infinite;
}
.lr-bg-orb__ring--2 {
  inset: -2%;
  animation: lr-bg-orb-spin-reverse 52s linear infinite;
  opacity: 0.7;
}
.lr-bg-orb__ring--3 {
  inset: -14%;
  animation: lr-bg-orb-spin 74s linear infinite;
  opacity: 0.45;
}

/* Glint — bright crescent highlight that orbits */
.lr-bg-orb__glint {
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 70% 28%,
      rgba(255, 245, 220, 0.45) 0%,
      rgba(255, 245, 220, 0.1) 10%,
      transparent 20%);
  filter: blur(18px);
  mix-blend-mode: screen;
  animation: lr-bg-orb-glint 17s ease-in-out infinite;
  opacity: 0.7;
}

/* Globe wireframe canvas — rotating dotted Earth, low opacity so it reads as ambient depth */
.lr-bg-orb__globe {
  position: absolute;
  inset: 10%;
  width: 80%;
  height: 80%;
  opacity: 0.25;
  mix-blend-mode: screen;
  pointer-events: none;
  display: block;
}

@keyframes lr-bg-orb-breathe {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.06); opacity: 0.88; }
}
@keyframes lr-bg-orb-spin {
  to { transform: rotate(360deg); }
}
@keyframes lr-bg-orb-spin-reverse {
  to { transform: rotate(-360deg); }
}
@keyframes lr-bg-orb-glint {
  0%   { transform: rotate(0deg)    translateX(4%) rotate(0deg); }
  50%  { transform: rotate(180deg)  translateX(4%) rotate(-180deg); opacity: 0.95; }
  100% { transform: rotate(360deg)  translateX(4%) rotate(-360deg); }
}

/* Hero content must sit above the orb */
.lr-hero__inner { position: relative; z-index: 1; }

/* Responsive — on narrow screens, shift orb center and reduce scale */
@media (max-width: 1020px) {
  .lr-bg-orb {
    width: 110%;
    right: -30%;
    opacity: 0.75;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lr-bg-orb__core,
  .lr-bg-orb__glint,
  .lr-bg-orb__ring--1,
  .lr-bg-orb__ring--2,
  .lr-bg-orb__ring--3 { animation: none !important; }
}

/* Glass orb — signature visual element */
.lr-orb {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 460px;
  margin-inline: auto;
}
.lr-orb__shell {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0) 25%),
    radial-gradient(circle at 70% 70%, rgba(217, 168, 92, 0.55) 0%, rgba(217, 168, 92, 0) 45%),
    radial-gradient(circle at 50% 50%, rgba(26, 31, 45, 0.7) 30%, rgba(11, 13, 18, 0.95) 70%);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    inset 0 2px 2px rgba(255,255,255,0.25),
    inset 0 -20px 40px rgba(0,0,0,0.5),
    0 50px 100px -40px rgba(217,168,92,0.35),
    0 30px 60px -20px rgba(0,0,0,0.6);
  backdrop-filter: blur(20px);
}
.lr-orb__ring {
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  border: 1px solid var(--lr-line-gold);
  opacity: 0.5;
}
.lr-orb__ring--2 { inset: -18%; border-color: var(--lr-line); opacity: 0.7; }
.lr-orb__mark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--lr-font-serif);
  font-style: italic;
  font-size: clamp(3rem, 8vw, 5.5rem);
  color: var(--lr-gold-hi);
  text-shadow: 0 2px 20px rgba(217,168,92,0.5);
  letter-spacing: -0.04em;
}
.lr-orb__halo {
  position: absolute;
  inset: -40%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 168, 92, 0.12) 0%, transparent 60%);
  pointer-events: none;
  animation: lr-pulse 8s ease-in-out infinite;
}
@keyframes lr-pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.08); opacity: 0.8; }
}

/* =============================================================
   MODEL COMPARISON (two-card contrast)
   ============================================================= */
.lr-model {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 900px) { .lr-model { grid-template-columns: 1fr; } }

.lr-model__col {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lr-model__col h3 {
  font-family: var(--lr-font-sans);
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 6px;
  letter-spacing: -0.015em;
}
.lr-model__list {
  list-style: none;
  padding: 0; margin: 4px 0 0;
  display: flex; flex-direction: column; gap: 10px;
  color: var(--lr-text-muted);
  font-size: 0.98rem;
  text-align: justify;
  text-wrap: pretty;
  hyphens: auto;
}
.lr-model__list li {
  padding-left: 22px;
  position: relative;
}
.lr-model__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.7em;
  width: 12px; height: 1px;
  background: var(--lr-gold);
}

/* =============================================================
   PHASE
   ============================================================= */
.lr-phase {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.lr-phase__num {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--lr-font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--lr-gold);
  margin-bottom: 4px;
}
.lr-phase__num::before {
  content: "";
  width: 18px; height: 1px;
  background: var(--lr-gold);
}

/* =============================================================
   CTA band
   ============================================================= */
.lr-cta {
  max-width: 920px;
  margin-inline: auto;
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
  border-radius: var(--lr-r-xl);
}
.lr-cta h2 { margin: 0 0 14px; }
.lr-cta p { color: var(--lr-text-muted); margin: 0 auto 28px; max-width: 50ch; }

/* =============================================================
   LANGUAGE SWITCHER
   ============================================================= */
.lr-lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: var(--lr-glass-1);
  border: 1px solid var(--lr-line);
  border-radius: var(--lr-r-pill);
  padding: 3px;
  margin-right: 8px;
}
.lr-lang-btn {
  height: 28px;
  padding: 0 12px;
  border-radius: var(--lr-r-pill);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--lr-text-muted);
  transition: all 0.2s;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--lr-font-mono);
}
.lr-lang-btn.is-active {
  background: var(--lr-text);
  color: var(--lr-ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 1px 4px rgba(0,0,0,0.3);
}
.lr-lang-btn:not(.is-active):hover { color: var(--lr-text); }

/* =============================================================
   i18n SHOW / HIDE
   Default = Spanish visible; English hidden.
   html.lang-en flips it.
   ============================================================= */
.lr-i18n-en { display: none; }

/* English mode: hide ES */
html.lang-en .lr-i18n-es { display: none !important; }

/* English mode: restore EN by element type */
html.lang-en p.lr-i18n-en,
html.lang-en div.lr-i18n-en,
html.lang-en section.lr-i18n-en,
html.lang-en article.lr-i18n-en,
html.lang-en li.lr-i18n-en { display: block; }

html.lang-en span.lr-i18n-en { display: inline; }

html.lang-en .lr-marquee__track.lr-i18n-en { display: inline-flex !important; animation: lr-marquee-scroll 42s linear infinite; }

/* Marquee tracks — explicit specificity wins over .lr-marquee__track rule */
.lr-marquee__track.lr-i18n-en { display: none !important; }
html.lang-en .lr-marquee__track.lr-i18n-es { display: none !important; }
html.lang-en .lr-marquee__track.lr-i18n-en { display: inline-flex !important; }

/* =============================================================
   STICKY SUB-NAV (Sistemas internal nav)
   ============================================================= */
.lr-subnav-wrap {
  position: sticky;
  top: var(--lr-header-h);
  z-index: 30;
  padding: 12px var(--lr-pad);
  background: linear-gradient(180deg,
    rgba(11, 13, 18, 0.78),
    rgba(11, 13, 18, 0.62) 70%,
    rgba(11, 13, 18, 0.0));
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--lr-line);
  margin-bottom: 40px;
}
.lr-subnav {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 10px;
  border-radius: var(--lr-r-pill);
  max-width: 1100px;
  margin-inline: auto;
}
.lr-subnav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  border-radius: var(--lr-r-pill);
  font-size: 0.85rem;
  color: var(--lr-text-muted);
  transition: all 0.2s;
}
.lr-subnav a:hover,
.lr-subnav a.is-active {
  color: var(--lr-text);
  background: var(--lr-glass-2);
}
.lr-subnav a .lr-subnav__num {
  font-family: var(--lr-font-mono);
  font-size: 0.7rem;
  color: var(--lr-gold);
}

/* =============================================================
   CONTACT FORM
   ============================================================= */
.lr-form { display: grid; gap: 18px; }
.lr-form label {
  display: block;
  font-family: var(--lr-font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--lr-text-dim);
  margin-bottom: 8px;
}
.lr-form input,
.lr-form textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--lr-r-sm);
  background:
    linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.15));
  border: 1px solid var(--lr-line);
  color: var(--lr-text);
  font-family: inherit;
  font-size: 1rem;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.35);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.lr-form input:focus,
.lr-form textarea:focus {
  outline: none;
  border-color: var(--lr-gold);
  box-shadow:
    inset 0 2px 4px rgba(0,0,0,0.35),
    0 0 0 3px rgba(217,168,92,0.18);
}
.lr-form textarea { min-height: 140px; resize: vertical; }

/* =============================================================
   BLOG CARDS
   ============================================================= */
.lr-post {
  padding: 28px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 280px;
  transition: transform 0.3s, border-color 0.3s;
}
.lr-post:hover {
  transform: translateY(-3px);
  border-color: var(--lr-line-gold);
}
.lr-post__cat {
  font-family: var(--lr-font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--lr-gold);
}
.lr-post__title {
  font-family: var(--lr-font-display);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--lr-text);
}
.lr-post__excerpt { color: var(--lr-text-muted); font-size: 0.95rem; margin: 0; }
.lr-post__meta {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 12px;
  border-top: 1px solid var(--lr-line);
  font-family: var(--lr-font-mono);
  font-size: 0.72rem;
  color: var(--lr-text-dim);
  letter-spacing: 0.05em;
}
.lr-post__read {
  color: var(--lr-gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Featured post (larger) */
.lr-post--featured {
  grid-column: span 2;
  min-height: 360px;
}
.lr-post--featured .lr-post__title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  line-height: 1.02;
}
@media (max-width: 900px) {
  .lr-post--featured { grid-column: span 1; }
}

/* =============================================================
   TEAM / ARQUITECTURA — portrait cards
   ============================================================= */
.lr-person {
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lr-person__portrait {
  aspect-ratio: 4 / 3;
  border-radius: var(--lr-r-sm);
  background:
    linear-gradient(135deg, var(--lr-ink-glow), var(--lr-ink-2));
  border: 1px solid var(--lr-line);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.lr-person__portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(217,168,92,0.15), transparent 55%),
    repeating-linear-gradient(
      45deg,
      transparent 0 10px,
      rgba(255,255,255,0.015) 10px 11px
    );
}
.lr-person__portrait span {
  position: relative;
  font-family: var(--lr-font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--lr-text-dim);
}
.lr-person__name {
  font-family: var(--lr-font-display);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0;
}
.lr-person__role {
  font-family: var(--lr-font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--lr-gold);
}

/* =============================================================
   REVEAL / entrance animation
   ============================================================= */
.lr-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(.2,.7,.2,1);
}
.lr-reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* Variants — apply on same element */
.lr-reveal--left  { transform: translateX(-32px); }
.lr-reveal--right { transform: translateX(32px); }
.lr-reveal--scale { transform: translateY(18px) scale(0.96); transform-origin: center bottom; }
.lr-reveal--rise  { transform: translateY(48px); }

.lr-reveal--left.is-in,
.lr-reveal--right.is-in,
.lr-reveal--scale.is-in,
.lr-reveal--rise.is-in { transform: none; }

/* Gold-underline reveal for italic span */
.lr-italic {
  background-image: linear-gradient(var(--lr-gold), var(--lr-gold));
  background-size: 0 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 1.1s cubic-bezier(.2,.7,.2,1) 0.2s;
}
.lr-reveal.is-in .lr-italic { background-size: 100% 1px; }

/* Scroll-linked: gentle parallax on hero — no will-change to avoid GPU-layer
   subpixel blur on initial paint. Browsers handle simple translate3d fine. */
.lr-stagger > * {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(3px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(.2,.7,.2,1),
    filter 0.7s ease;
}
.lr-stagger.is-in > * { opacity: 1; transform: translateY(0); filter: blur(0); }
.lr-stagger.is-in > *:nth-child(1)  { transition-delay: 0.04s; }
.lr-stagger.is-in > *:nth-child(2)  { transition-delay: 0.10s; }
.lr-stagger.is-in > *:nth-child(3)  { transition-delay: 0.16s; }
.lr-stagger.is-in > *:nth-child(4)  { transition-delay: 0.22s; }
.lr-stagger.is-in > *:nth-child(5)  { transition-delay: 0.28s; }
.lr-stagger.is-in > *:nth-child(6)  { transition-delay: 0.34s; }
.lr-stagger.is-in > *:nth-child(7)  { transition-delay: 0.40s; }
.lr-stagger.is-in > *:nth-child(8)  { transition-delay: 0.46s; }
.lr-stagger.is-in > *:nth-child(9)  { transition-delay: 0.52s; }
.lr-stagger.is-in > *:nth-child(10) { transition-delay: 0.58s; }

@media (prefers-reduced-motion: reduce) {
  .lr-reveal, .lr-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
  .lr-reveal.is-in .lr-italic { background-size: 100% 1px; transition: none; }
  .lr-orb__halo { animation: none; }
}

/* =============================================================
   PAGE SWITCHER (mockup only — shows all 6 pages)
   ============================================================= */
.lr-pages-container > .lr-page { display: none; }
.lr-pages-container > .lr-page.is-current { display: block; }

/* =============================================================
   Utility
   ============================================================= */
.lr-divider-dot {
  color: var(--lr-gold);
  margin: 0 10px;
  opacity: 0.6;
}

/* =============================================================
   MARQUEE — horizontal scrolling wordmark strip
   ============================================================= */
.lr-marquee {
  position: relative;
  overflow: hidden;
  padding: 42px 0;
  border-top: 1px solid var(--lr-line);
  border-bottom: 1px solid var(--lr-line);
  background: linear-gradient(180deg,
    rgba(255, 250, 240, 0.015),
    rgba(255, 250, 240, 0.035) 50%,
    rgba(255, 250, 240, 0.015));
  mask-image: linear-gradient(90deg,
    transparent 0,
    #000 8%,
    #000 92%,
    transparent 100%);
  -webkit-mask-image: linear-gradient(90deg,
    transparent 0,
    #000 8%,
    #000 92%,
    transparent 100%);
}

.lr-marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  white-space: nowrap;
  animation: lr-marquee-scroll 42s linear infinite;
  will-change: transform;
  padding-left: 48px;
}

.lr-marquee:hover .lr-marquee__track {
  animation-play-state: paused;
}

.lr-marquee__word {
  font-family: var(--lr-font-display);
  font-weight: var(--lr-display-weight);
  font-size: clamp(2.2rem, 4.8vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--lr-text);
  opacity: 0.92;
  transition: color 240ms ease, opacity 240ms ease;
}

.lr-marquee__word:hover {
  color: var(--lr-gold);
  opacity: 1;
}

.lr-marquee__dot {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lr-gold);
  box-shadow: 0 0 0 1px rgba(209, 160, 72, 0.25), 0 0 12px rgba(209, 160, 72, 0.35);
  opacity: 0.85;
}

@keyframes lr-marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .lr-marquee__track { animation: none; }
}

/* =============================================================
   RESPONSIVE — 5 breakpoints
   Desktop        : > 1140px  (no query — base styles)
   Tablet Land    : ≤ 1024px
   Tablet Portrait: ≤ 768px
   Mobile Land    : ≤ 576px
   Mobile Portrait: ≤ 390px
   ============================================================= */

/* --- Tablet Landscape (≤ 1024px) --- */
@media (max-width: 1024px) {
  :root { --lr-pad: clamp(20px, 3.5vw, 36px); }

  .lr-header { margin: 10px 16px 0; }
  .lr-header__inner { height: 56px; padding: 0 12px 0 18px; }

  .lr-hero { padding: 2.5em var(--lr-pad) 3em; }
  .lr-hero--fill { padding: 2.5em var(--lr-pad) 2em; min-height: calc(100svh - 76px); }
  .lr-hero__grid { grid-template-columns: 1fr; max-width: 720px; }

  .lr-bg-orb { left: 48%; right: auto; width: 80vw; max-width: 900px; opacity: 0.85; }

  .lr-section { padding-block: clamp(68px, 7.5vw, 88px); }

  .lr-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .lr-grid--1-2, .lr-grid--2-1 { grid-template-columns: 1fr; gap: 36px; }

  .lr-model { grid-template-columns: 1fr 1fr; }

  .lr-footer__inner { grid-template-columns: 1.2fr 1fr 1fr; gap: 36px; }
}

/* --- Tablet Portrait (≤ 768px) --- */
@media (max-width: 768px) {
  :root { --lr-pad: clamp(18px, 5vw, 28px); }

  .lr-header { margin: 8px 12px 0; top: 8px; }
  .lr-header__inner { height: 52px; padding: 0 10px 0 16px; border-radius: 16px; }
  .lr-nav-toggle { display: inline-flex; }
  /* Mobile nav: dropdown anchored to the header pill (scrolls with it,
     no viewport-fixed overlay). Hidden until .is-open is set. */
  .lr-nav {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    margin: 0;
    padding: 10px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(20,25,37,0.96), rgba(15,19,27,0.96));
    border: 1px solid var(--lr-line-strong);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
    backdrop-filter: blur(22px) saturate(140%);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.10),
      0 20px 40px -20px rgba(0,0,0,0.55);
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .lr-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .lr-nav a {
    height: auto;
    display: block;
    padding: 12px 14px;
    font-size: 0.95rem;
    color: var(--lr-text-muted);
    border-radius: 12px;
  }
  .lr-nav a:hover { background: var(--lr-glass-1); color: var(--lr-text); }
  .lr-nav a.is-active { box-shadow: none; } /* prevent the desktop pill-shadow from bleeding in */
  .lr-header__cta { height: 36px; padding: 0 14px; font-size: 0.8rem; }

  .lr-hero { padding: 2em var(--lr-pad) 2.5em; }
  .lr-hero--fill { padding: 2em var(--lr-pad) 1.75em; min-height: calc(100svh - 68px); }
  .lr-display { font-size: clamp(2.5rem, 8vw, 3.8rem); }
  .lr-h1 { font-size: clamp(2rem, 6.5vw, 3rem); }
  .lr-h2 { font-size: clamp(1.6rem, 5vw, 2.2rem); }

  .lr-bg-orb { left: 40%; right: auto; width: 95vw; max-width: none; opacity: 0.6; }

  .lr-grid--3, .lr-grid--2 { grid-template-columns: 1fr; }
  .lr-grid--1-2, .lr-grid--2-1 { grid-template-columns: 1fr; gap: 28px; }
  .lr-model { grid-template-columns: 1fr; }

  .lr-marquee__word { font-size: clamp(1.8rem, 7vw, 3rem); }

  .lr-subnav-wrap { padding: 8px var(--lr-pad); }
  .lr-subnav { gap: 4px; }
  .lr-subnav a { padding: 0 10px; font-size: 0.78rem; height: 32px; }

  .lr-footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .lr-footer__meta { flex-direction: column; gap: 6px; }

  .lr-cta { padding: clamp(28px, 5vw, 48px); }

  .lr-person > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
}

/* --- Mobile Landscape (≤ 576px) --- */
@media (max-width: 576px) {
  :root { --lr-pad: 16px; }

  .lr-header { margin: 6px 10px 0; top: 6px; }
  .lr-header__inner { height: 48px; }

  .lr-hero { padding: 80px 16px 40px; }
  .lr-display { font-size: clamp(2rem, 9vw, 3rem); }

  .lr-btn { height: 44px; padding: 0 20px; font-size: 0.9rem; }

  .lr-chip { font-size: 0.62rem; height: 26px; }

  .lr-card, .lr-phase, .lr-model__col { padding: 24px 20px; }

  .lr-marquee { padding: 28px 0; }
  .lr-marquee__word { font-size: clamp(1.5rem, 8vw, 2.5rem); }
  .lr-marquee__track { gap: 28px; }

  .lr-grid--3, .lr-grid--2 { grid-template-columns: 1fr; }

  .lr-section { padding-block: clamp(52px, 12vw, 68px); }
}

/* --- Mobile Portrait (≤ 390px) --- */
@media (max-width: 390px) {
  .lr-header { margin: 4px 8px 0; top: 4px; }
  .lr-header__inner { height: 46px; padding: 0 8px 0 14px; }
  .lr-brand img { width: 72px; height: auto; }

  .lr-display { font-size: clamp(1.85rem, 10vw, 2.4rem); }
  .lr-h1 { font-size: clamp(1.75rem, 9vw, 2.2rem); }

  .lr-btn { height: 42px; padding: 0 16px; font-size: 0.85rem; }

  /* Smallest viewports: tighten the hamburger box */
  .lr-nav-toggle { width: 36px; height: 36px; }
  .lr-header__cta { font-size: 0.75rem; height: 32px; padding: 0 12px; }

  .lr-marquee__word { font-size: clamp(1.3rem, 9vw, 2rem); }
}

/* =============================================================
   JUSTIFIED PHRASE TEXT (multi-sentence text inside boxes)
   ============================================================= */
.lr-justify { text-align: justify; text-wrap: pretty; hyphens: auto; }
.lr-phase > p,
.lr-person > p,
.lr-glass > p:not(.lr-mono):not(.lr-index):not(.lr-eyebrow):not(.lr-eyebrow--muted),
.lr-cta p {
  text-align: justify;
  text-wrap: pretty;
  hyphens: auto;
}
.lr-cta p { text-align: center; }
.lr-cta p.lr-justify { text-align: justify; }

/* =============================================================
   PERSON / TEAM CARD
   ============================================================= */
.lr-person { padding: 28px 24px; border-radius: var(--lr-r); }
.lr-person__portrait {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, rgba(209,160,72,0.08), rgba(20,25,37,0.6));
  border: 1px solid var(--lr-line-gold);
  border-radius: var(--lr-r);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-family: var(--lr-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lr-text-dim);
  overflow: hidden;
}
.lr-person__role {
  font-family: var(--lr-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lr-gold);
  margin: 0;
}
.lr-person__name {
  font-family: var(--lr-font-display);
  font-weight: var(--lr-heading-weight, 800);
  font-size: 1.4rem;
  line-height: 1.15;
  margin: 8px 0 14px;
  letter-spacing: -0.015em;
  color: var(--lr-text);
}
.lr-person__founder-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) {
  .lr-person__founder-grid { grid-template-columns: 1fr; gap: 32px; }
  .lr-person__founder-grid .lr-person__portrait { max-width: 360px; aspect-ratio: 3/4; }
}

.lr-person--split {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 28px;
  align-items: start;
}
.lr-person--split .lr-person__portrait {
  margin-bottom: 0;
  aspect-ratio: 1 / 1;
  width: 160px;
}
@media (max-width: 720px) {
  .lr-person--split { grid-template-columns: 130px 1fr; gap: 20px; }
  .lr-person--split .lr-person__portrait { width: 130px; }
}
@media (max-width: 480px) {
  .lr-person--split { grid-template-columns: 1fr; }
  .lr-person--split .lr-person__portrait { width: 100%; max-width: 200px; }
}
.lr-person__chips-label {
  font-family: var(--lr-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lr-gold);
  margin: 22px 0 12px;
}
.lr-person__chips {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 0;
}
.lr-person__chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--lr-font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lr-text-muted);
  padding: 8px 14px;
  border: 1px solid var(--lr-line);
  border-radius: 999px;
  background: var(--lr-glass-1);
}
.lr-person__chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lr-gold);
  flex: 0 0 auto;
}
.lr-person__linkedin {
  margin-top: 22px;
}

/* =============================================================
   BLOG POST CARD
   ============================================================= */
.lr-post {
  padding: 28px 26px;
  border-radius: var(--lr-r);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.lr-post--featured { grid-column: 1 / -1; }
.lr-post__cat {
  font-family: var(--lr-font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lr-gold);
}
.lr-post__title {
  font-family: var(--lr-font-display);
  font-weight: var(--lr-heading-weight, 800);
  font-size: 1.25rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--lr-text);
}
.lr-post__excerpt {
  color: var(--lr-text-muted);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: justify;
  text-wrap: pretty;
  hyphens: auto;
}
.lr-post__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--lr-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lr-text-dim);
  margin-top: auto;
}
.lr-post__read { color: var(--lr-gold); }

/* =============================================================
   FORM SUCCESS STATE — replaces the form after submission
   ============================================================= */
.lr-form-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 0 8px;
  animation: lr-form-success-in 0.45s ease-out;
}
.lr-form-success[hidden] { display: none; }
.lr-form-success__check {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, var(--lr-gold-hi), var(--lr-gold) 55%, var(--lr-gold-lo));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 6px 18px rgba(209,160,72,0.35);
  margin-bottom: 24px;
  flex: 0 0 auto;
}
.lr-form-success__check::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 12px;
  width: 11px;
  height: 22px;
  border-right: 3px solid var(--lr-ink);
  border-bottom: 3px solid var(--lr-ink);
  transform: rotate(45deg);
}
.lr-form-success__eyebrow {
  margin: 0 0 12px;
  color: var(--lr-gold);
}
.lr-form-success__title {
  font-size: 1.6rem;
  margin: 0 0 16px;
  letter-spacing: -0.015em;
}
.lr-form-success__body {
  color: var(--lr-text-muted);
  margin: 0;
  line-height: 1.65;
}
.lr-form-success__body a {
  color: var(--lr-text);
  border-bottom: 1px solid var(--lr-line-gold);
  padding-bottom: 1px;
}
.lr-form-success__body a:hover { color: var(--lr-gold); }
@keyframes lr-form-success-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

