/* ============================================================
     LISBON ECONOMICS — full cover page
     Palette: light blue liquid-glass aesthetic
     ============================================================ */
  :root {
    /* Inks */
    --ink:        #15161B;
    --ink-soft:   #3C3D44;
    --ink-mute:   #70717A;

    /* Papers — pale blue-whites */
    --paper:      #FAFAFA;
    --paper-2:    #D4D4D7;
    --paper-3:    #C6C6CA;

    /* Blues */
    --blue-deep:  #1A3C78;     /* anchor accent */
    --blue-mid:   #274C8E;
    --blue-soft:  #3F5C92;
    --blue-pale:  #D7D8DC;
    --blue-glass: rgba(26, 60, 120, 0.08);
    --slate:      #8C96A2;     /* dusty blue — member header bands */

    /* Lines */
    --line:       rgba(20, 21, 26, 0.10);
    --line-soft:  rgba(20, 21, 26, 0.05);
    --white:      #FFFFFF;
    --gold:       #C9A24B;
    --burgundy:   #7C2233;     /* italic accent on grey bands */

    /* Dark-blue background as a slight gradient to a darker blue */
    --blue-grad:  linear-gradient(180deg, #000F33 0%, #00081B 100%);

    /* Member-page pinned header geometry (kept in one place so the fixed
       header height and the body's top offset can never drift apart).
       nav clearance = nav top offset (1.25rem) + nav height (~81px) + 14px gap;
       portrait drives the band height; band ends 15px below the photo. */
    --mhdr-pad-top: calc(1.25rem + 81px + 14px);
    --mhdr-portrait: clamp(157px, 29vh, 253px);
    --mhdr-h: calc(var(--mhdr-pad-top) + var(--mhdr-portrait) + 15px);
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--paper);
    color: var(--ink);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
  }

  /* === LIQUID GLASS NAV === */
  .nav-wrap {
    position: fixed; top: 1.25rem; left: 50%;
    transform: translateX(-50%); z-index: 200;
    width: min(95%, 1320px);
  }
  .nav {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.15rem 2.1rem;
    background: rgba(0, 15, 51, 0.6);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.10) inset,
      0 18px 50px -16px rgba(0, 0, 0, 0.45);
  }
  .brand {
    display: flex; align-items: center; gap: 0.7rem;
    text-decoration: none; color: var(--ink);
  }
  .brand-logo {
    height: 42px; width: auto; display: block;
  }
  .brand .mark {
    width: 34px; height: 34px;
    background: var(--ink);
    color: var(--paper);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Lora', serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    border-radius: 4px;
  }
  .brand .word {
    font-family: 'Lora', serif;
    font-weight: 500;
    font-size: 1.02rem;
    letter-spacing: -0.005em;
    line-height: 1;
  }
  .brand .word small {
    display: block;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-top: 3px;
  }
  .nav-links { display: flex; gap: 2.3rem; align-items: center; }
  .nav-links a {
    color: rgba(255, 255, 255, 0.88); text-decoration: none;
    font-size: 0.96rem; font-weight: 500;
    letter-spacing: 0.005em;
    transition: color 200ms ease;
  }
  .nav-links a:hover { color: var(--gold); }
  .nav-cta {
    background: var(--white); color: var(--ink);
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    font-size: 0.85rem; font-weight: 500;
    text-decoration: none;
    transition: all 200ms ease;
  }
  .nav-cta:hover { background: var(--gold); color: var(--ink); }
  .nav-links a.nav-cta { color: var(--ink); }
  .nav-links a.nav-cta:hover { color: var(--ink); }

  /* === HERO === */
  .hero {
    position: relative;
    min-height: 100vh;
    display: flex; align-items: center;
    overflow: hidden;
    padding: 7rem 5% 4rem;   /* top room for floating glass nav */
  }
  /* Belém photo, heavily blue-graded */
  .hero-photo {
    position: absolute; inset: 0; z-index: 0;
    background-image: url("belem_source.jpg");
    background-size: cover;
    background-position: center 40%;
    animation: kenBurns 28s ease-in-out infinite alternate;
    filter: saturate(0.55) hue-rotate(-8deg) brightness(1.05) contrast(0.95);
    opacity: 0.85;
  }
  @keyframes kenBurns {
    0%   { transform: scale(1.04) translate(0, 0); }
    100% { transform: scale(1.14) translate(-2.5%, -2%); }
  }
  /* Blue gradient + airy wash */
  .hero-wash {
    position: absolute; inset: 0; z-index: 1;
    background:
      linear-gradient(115deg,
        rgba(249, 249, 250, 0.92) 0%,
        rgba(249, 249, 250, 0.70) 35%,
        rgba(216, 217, 220, 0.38) 65%,
        rgba(18, 20, 28, 0.28) 100%),
      radial-gradient(ellipse 60% 60% at 22% 30%, rgba(26, 60, 120, 0.10), transparent 70%);
  }
  /* Faint isolines for econometric texture */
  .hero-mesh {
    position: absolute; inset: 0; z-index: 2;
    background-image: repeating-linear-gradient(118deg, transparent 0, transparent 56px, rgba(18, 20, 28, 0.04) 56px, rgba(18, 20, 28, 0.04) 57px);
    pointer-events: none;
  }
  .hero-inner {
    position: relative; z-index: 3;
    max-width: 1200px; width: 100%; margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4.5rem;
    align-items: center;
  }
  .eyebrow {
    display: inline-flex; align-items: center; gap: 0.6rem;
    font-size: 0.74rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.22em;
    color: var(--blue-deep);
    margin-bottom: 1.5rem;
  }
  .eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--blue-deep); }
  h1.headline {
    font-family: 'Lora', serif;
    font-weight: 400;
    font-size: clamp(2.6rem, 5.3vw, 5rem);
    line-height: 0.98;
    letter-spacing: -0.028em;
    color: var(--ink);
    margin-bottom: 1.75rem;
  }
  h1.headline em {
    font-style: italic;
    font-weight: 300;
    color: var(--blue-deep);
  }
  .lede {
    font-size: clamp(1.05rem, 1.25vw, 1.18rem);
    line-height: 1.6;
    color: var(--ink-soft);
    max-width: 34rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
  }
  .cta-row { display: flex; gap: 1rem; flex-wrap: wrap; }
  .btn {
    padding: 0.95rem 1.7rem; border-radius: 999px;
    font-size: 0.94rem; font-weight: 500;
    text-decoration: none; display: inline-flex; align-items: center; gap: 0.55rem;
    transition: all 250ms ease;
  }
  .btn-primary { background: var(--ink); color: var(--paper); }
  .btn-primary:hover {
    background: var(--blue-deep); transform: translateY(-2px);
    box-shadow: 0 14px 32px -14px rgba(18, 20, 28, 0.55);
  }
  .btn-secondary {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--ink);
    border: 1px solid rgba(20, 21, 26, 0.22);
  }
  .btn-secondary:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

  /* Right-side credential card */
  .cred-card {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(28px) saturate(160%);
    -webkit-backdrop-filter: blur(28px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 24px;
    padding: 2.5rem 2.25rem;
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.8) inset,
      0 24px 70px -28px rgba(18, 20, 28, 0.35);
  }
  .cred-card .lbl {
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem; font-weight: 600;
    letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--blue-deep);
    margin-bottom: 1.5rem;
  }
  .cred-list { list-style: none; display: flex; flex-direction: column; gap: 1.3rem; }
  .cred-list li {
    display: flex; align-items: flex-start; gap: 1.1rem;
    padding-bottom: 1.3rem; border-bottom: 1px solid var(--line);
  }
  .cred-list li:last-child { border: none; padding-bottom: 0; }
  .cred-fig {
    font-family: 'Lora', serif; font-weight: 400;
    font-size: 1.85rem; line-height: 1;
    color: var(--blue-deep); letter-spacing: -0.025em;
    flex-shrink: 0; min-width: 5rem;
  }
  .cred-body { font-size: 0.92rem; line-height: 1.5; color: var(--ink-soft); }
  .cred-body strong { color: var(--ink); font-weight: 500; }

  .scroll-cue {
    position: absolute; bottom: 2rem; left: 50%;
    transform: translateX(-50%); z-index: 3;
    font-size: 0.7rem; letter-spacing: 0.3em;
    text-transform: uppercase; color: var(--ink-mute);
    display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  }
  .scroll-cue::after {
    content: ''; width: 1px; height: 28px;
    background: linear-gradient(180deg, var(--ink-mute), transparent);
    animation: pulse 2.4s ease-in-out infinite;
  }
  @keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
    50%      { opacity: 1;   transform: scaleY(1.1); }
  }

  /* === TRUST STRIP === */
  .trust {
    background: var(--white);
    padding: 1.5rem 5%;
    border-bottom: 1px solid var(--line);
  }
  .trust-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; gap: 3rem;
    flex-wrap: wrap;
  }
  .trust-lbl {
    font-size: 0.74rem; font-weight: 600;
    letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--blue-deep);
    flex-shrink: 0;
    display: inline-flex; align-items: center; gap: 0.6rem;
  }
  .trust-lbl::before {
    content: ''; width: 24px; height: 1px; background: var(--blue-deep); flex-shrink: 0;
  }
  .trust-items {
    display: flex; gap: 2.5rem; flex-wrap: wrap;
    font-family: 'Lora', serif;
    font-size: 1.18rem; color: var(--ink-soft);
    font-weight: 400;
  }
  .trust-items span { display: inline-flex; align-items: center; gap: 0.5rem; }
  .trust-items span::before {
    content: ''; width: 5px; height: 5px;
    border-radius: 50%; background: var(--blue-mid);
  }

  /* === SECTION SCAFFOLDING === */
  section.section {
    padding: clamp(5rem, 9vw, 8rem) 5%;
    position: relative;
  }
  .section-inner { max-width: 1200px; margin: 0 auto; }
  .section-head {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    margin-bottom: 4.5rem;
    align-items: center;
  }
  .section-tag {
    font-size: 0.74rem; font-weight: 600;
    letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--blue-deep);
    margin-bottom: 1rem;
    display: flex; align-items: center; gap: 0.6rem;
  }
  .section-tag::before {
    content: ''; width: 24px; height: 1px; background: var(--blue-deep);
  }
  .section-title {
    font-family: 'Lora', serif;
    font-weight: 400;
    font-size: clamp(2rem, 3.4vw, 3.1rem);
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: var(--ink);
  }
  .section-title em { font-style: italic; color: var(--blue-deep); font-weight: 300; }
  .section-desc {
    font-family: 'Lora', serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-size: 1.05rem; line-height: 1.6;
    color: var(--ink-soft);
    max-width: 36rem;
  }

  /* === CAPABILITIES (3 columns) === */
  .caps {
    background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  }
  .caps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  .cap {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 2.5rem 2.25rem;
    transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
    position: relative; overflow: hidden;
  }
  .cap::before {
    content: ''; position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--blue-deep), var(--blue-soft));
    transform: scaleX(0); transform-origin: left;
    transition: transform 400ms ease;
  }
  .cap:hover {
    transform: translateY(-6px);
    border-color: transparent;
    box-shadow: 0 28px 60px -28px rgba(18, 20, 28, 0.28);
  }
  .cap:hover::before { transform: scaleX(1); }
  .cap-num {
    font-family: 'Lora', serif;
    font-weight: 400;
    font-size: 0.85rem; color: var(--blue-mid);
    letter-spacing: 0.06em;
    margin-bottom: 2rem;
  }
  .cap h3 {
    font-family: 'Lora', serif;
    font-weight: 500;
    font-size: 1.55rem;
    line-height: 1.15;
    letter-spacing: -0.018em;
    margin-bottom: 1rem;
    color: var(--ink);
  }
  .cap p {
    font-size: 0.95rem; line-height: 1.6;
    color: var(--ink-soft);
    margin-bottom: 1.75rem;
  }
  .cap .more {
    font-size: 0.86rem; font-weight: 500;
    color: var(--blue-deep);
    text-decoration: none;
    display: inline-flex; align-items: center; gap: 0.4rem;
    transition: gap 200ms ease;
  }
  .cap:hover .more { gap: 0.7rem; }

  /* === NETWORK SECTION (dark blue, light text) === */
  .network {
    background: var(--blue-deep);
    color: var(--paper);
    overflow: hidden;
  }
  .network .section-tag,
  .network .section-tag::before { color: var(--blue-pale); background-color: var(--blue-pale); }
  .network .section-title { color: var(--paper); }
  .network .section-title em { color: var(--blue-pale); }
  .network .section-desc { color: rgba(249, 249, 250, 0.78); }
  .network::before {
    content: ''; position: absolute; inset: 0;
    background-image:
      radial-gradient(ellipse 50% 60% at 80% 30%, rgba(216, 217, 220, 0.12), transparent 60%),
      radial-gradient(ellipse 60% 50% at 15% 80%, rgba(26, 60, 120, 0.30), transparent 60%);
    pointer-events: none;
  }
  .network-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(216, 217, 220, 0.2);
    border: 1px solid rgba(216, 217, 220, 0.2);
    border-radius: 24px;
    overflow: hidden;
    position: relative; z-index: 1;
  }
  .stat {
    background: var(--blue-deep);
    padding: 3rem 2.5rem;
    position: relative;
  }
  .stat-figure {
    font-family: 'Lora', serif;
    font-weight: 400;
    font-size: clamp(2.8rem, 5vw, 4.2rem);
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--paper);
    margin-bottom: 1.25rem;
  }
  .stat-figure .unit {
    font-size: 0.55em;
    color: var(--blue-pale);
    margin-left: 0.2em;
    font-weight: 300;
  }
  .stat-label {
    font-size: 0.92rem; line-height: 1.5;
    color: rgba(249, 249, 250, 0.82);
    max-width: 16rem;
  }
  .stat-lbl-top {
    font-size: 0.7rem; font-weight: 600;
    letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--blue-pale);
    margin-bottom: 1.25rem;
  }

  /* === PRACTICE AREAS (alt to caps — denser) === */
  .practice .practice-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .practice-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 2.5rem;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: start;
    transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
  }
  .practice-card:hover {
    border-color: var(--blue-soft);
    box-shadow: 0 28px 60px -28px rgba(18, 20, 28, 0.22);
    transform: translateY(-4px);
  }
  .practice-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--paper-2) 0%, var(--paper-3) 100%);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Lora', serif;
    font-size: 1.4rem;
    color: var(--blue-deep);
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 12px -4px rgba(18, 20, 28, 0.12);
  }
  .practice-card h3 {
    font-family: 'Lora', serif;
    font-weight: 500;
    font-size: 1.3rem;
    line-height: 1.2;
    letter-spacing: -0.015em;
    margin-bottom: 0.65rem;
    color: var(--ink);
  }
  .practice-card p {
    font-size: 0.92rem; line-height: 1.55;
    color: var(--ink-soft);
  }
  .practice-tags {
    display: flex; gap: 0.5rem; flex-wrap: wrap;
    margin-top: 1rem;
  }
  .practice-tags span {
    font-size: 0.72rem;
    padding: 0.25rem 0.7rem;
    background: var(--blue-glass);
    color: var(--blue-deep);
    border-radius: 999px;
    font-weight: 500;
  }

  /* === SELECTED MATTERS === */
  .matters {
    background: var(--paper);
  }
  .matters-list {
    display: flex; flex-direction: column;
    border-top: 1px solid var(--line);
  }
  .matter {
    display: grid;
    grid-template-columns: 100px 200px 1fr auto;
    gap: 2rem;
    padding: 2rem 1rem;
    border-bottom: 1px solid var(--line);
    align-items: center;
    transition: background 250ms ease;
  }
  .matter:hover { background: var(--paper-2); }
  .matter-year {
    font-family: 'Lora', serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--blue-deep);
    letter-spacing: -0.01em;
  }
  .matter-tag {
    font-size: 0.74rem; font-weight: 600;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--ink-mute);
  }
  .matter-title {
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -0.01em;
    line-height: 1.3;
  }
  .matter-jur {
    font-size: 0.85rem;
    color: var(--ink-soft);
    background: var(--white);
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    font-weight: 500;
  }

  /* === INSIGHTS PREVIEW === */
  .insights {
    background: linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%);
  }
  .insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  .insight {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    transition: all 350ms ease;
    text-decoration: none;
    color: var(--ink);
    display: flex; flex-direction: column;
  }
  .insight:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px -20px rgba(18, 20, 28, 0.22);
  }
  .insight-bar {
    height: 4px;
    background: linear-gradient(90deg, var(--blue-deep), var(--blue-soft));
  }
  .insight-body { padding: 1.8rem 1.75rem; flex: 1; display: flex; flex-direction: column; }
  .insight-meta {
    font-size: 0.72rem; font-weight: 600;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--blue-mid);
    margin-bottom: 1rem;
  }
  .insight h3 {
    font-family: 'Lora', serif;
    font-weight: 500;
    font-size: 1.18rem;
    line-height: 1.3;
    letter-spacing: -0.012em;
    margin-bottom: 0.9rem;
  }
  .insight p {
    font-size: 0.92rem; line-height: 1.55;
    color: var(--ink-soft);
    margin-bottom: 1.25rem;
  }
  .insight .read {
    margin-top: auto;
    font-size: 0.82rem; font-weight: 500;
    color: var(--blue-deep);
  }

  /* === CTA STRIP === */
  .cta-strip {
    background: var(--ink);
    color: var(--paper);
    padding: clamp(4rem, 7vw, 6rem) 5%;
    position: relative; overflow: hidden;
  }
  .cta-strip::before {
    content: ''; position: absolute;
    top: -40%; right: -10%;
    width: 60%; height: 180%;
    background: radial-gradient(ellipse at center, rgba(26, 60, 120, 0.35), transparent 60%);
    pointer-events: none;
  }
  .cta-inner {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1.4fr 1fr;
    gap: 4rem; align-items: center;
    position: relative; z-index: 1;
  }
  .cta-strip h2 {
    font-family: 'Lora', serif;
    font-weight: 400;
    font-size: clamp(1.8rem, 3.2vw, 2.7rem);
    line-height: 1.1;
    letter-spacing: -0.022em;
    margin-bottom: 1.25rem;
  }
  .cta-strip h2 em { font-style: italic; color: var(--blue-pale); font-weight: 300; }
  .cta-strip p {
    color: rgba(249, 249, 250, 0.78);
    font-size: 1.05rem; line-height: 1.6;
    max-width: 30rem;
  }
  .cta-actions { display: flex; flex-direction: column; gap: 1rem; }
  .cta-actions .btn-primary { background: var(--paper); color: var(--ink); }
  .cta-actions .btn-primary:hover { background: var(--blue-pale); }
  .cta-actions .btn-secondary {
    background: transparent; color: var(--paper);
    border-color: rgba(249, 249, 250, 0.35);
  }
  .cta-actions .btn-secondary:hover {
    background: rgba(249, 249, 250, 0.1);
    border-color: var(--paper);
    color: var(--paper);
  }

  /* === FOOTER === */
  footer {
    background: #0F1E3C;
    color: rgba(249, 249, 250, 0.75);
    padding: 4rem 5% 2.5rem;
  }
  .footer-inner {
    max-width: 1200px; margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3.5rem;
    margin-bottom: 3rem;
  }
  .footer-brand .brand .mark {
    background: var(--paper); color: var(--ink);
  }
  .footer-brand .brand .word { color: var(--paper); }
  .footer-brand .brand .word small { color: rgba(249, 249, 250, 0.55); }
  .footer-brand .brand-logo { height: 48px; }
  .footer-brand p {
    margin-top: 1.5rem;
    font-size: 0.9rem; line-height: 1.6;
    max-width: 22rem;
  }
  footer h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.74rem; font-weight: 600;
    letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--blue-pale);
    margin-bottom: 1.25rem;
  }
  footer ul { list-style: none; }
  footer ul li { margin-bottom: 0.65rem; }
  footer ul a {
    color: rgba(249, 249, 250, 0.75);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 200ms ease;
  }
  footer ul a:hover { color: var(--paper); }
  .footer-meta {
    border-top: 1px solid rgba(249, 249, 250, 0.12);
    padding-top: 1.5rem;
    display: flex; justify-content: space-between;
    align-items: center; flex-wrap: wrap; gap: 1rem;
    max-width: 1200px; margin: 0 auto;
    font-size: 0.82rem;
  }
  .footer-legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
  .footer-legal a { color: rgba(249, 249, 250, 0.55); text-decoration: none; }
  .footer-legal a:hover { color: var(--paper); }

  /* === MOBILE === */
  @media (max-width: 900px) {
    .hero-inner, .section-head, .practice-grid, .insights-grid, .caps-grid,
    .network-stats, .cta-inner, .footer-inner { grid-template-columns: 1fr !important; }
    .matter { grid-template-columns: 1fr; gap: 0.5rem; padding: 1.5rem 0.5rem; }
    .nav-links { display: none; }
    .nav-cta { padding: 0.45rem 0.95rem; }
  }

/* ============================================================
   MEMBER PAGE — /member-* template
   ============================================================ */
.member-hero {
  position: fixed; top: 0; left: 0; right: 0; height: var(--mhdr-h); z-index: 5;
  display: flex; align-items: flex-start; overflow: hidden;
  background: var(--blue-grad);
  /* pinned — body scrolls UNDER it. Content sits 14px below the nav;
     the band ends 15px beneath the portrait (its bottom padding). */
  padding: var(--mhdr-pad-top) 5% 15px;
}
.member-hero .hero-photo,
.member-hero .hero-wash,
.member-hero .hero-mesh { display: none; }   /* solid bg only — no photo, wash, or pinstripes */
.member-body { position: relative; z-index: 1; margin-top: var(--mhdr-h); background: var(--paper); overflow-x: clip; }
/* Hero unpins when the biography CONTENT (.bio-grid, not its title) reaches the
   hero's bottom edge: a small scroll script toggles .is-unpinned at that point,
   switching the hero from fixed to absolute (anchored at --unpin-top) so it scrolls
   up off-screen and the body rises to the nav. Transition point is seamless — the
   hero sits at the same viewport spot the instant it flips. Desktop only: on mobile
   (<=900px) the hero is position:relative and already scrolls normally. */
@media (min-width: 901px) {
  .member-hero.is-unpinned { position: absolute; top: var(--unpin-top, 0px); }
}
.member-hero .hero-inner {
  display: grid; grid-template-columns: 360px 1fr;
  gap: 4.5rem; align-items: center;
}
.portrait {
  width: 100%; aspect-ratio: 1 / 1;
  border-radius: 24px;
  background: var(--paper-2);
  background-size: cover; background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 32px 80px -32px rgba(18, 20, 28, 0.45);
  position: relative; overflow: hidden;
}
.portrait::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(18, 20, 28, 0.18) 100%);
  pointer-events: none;
}
.portrait-fallback {
  display: flex; align-items: center; justify-content: center;
  font-family: 'Lora', serif; font-weight: 400;
  font-size: 6.5rem; line-height: 1;
  color: var(--blue-deep); letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--paper-2) 0%, var(--paper-3) 100%);
}
.portrait-ai {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-mid) 100%);
  color: var(--paper);
}
.portrait-photo {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 22%;
  display: block;
}
.member-id .member-name {
  font-family: 'Lora', serif; font-weight: 400;
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  line-height: 1.02; letter-spacing: -0.028em;
  margin-bottom: 0.6rem; color: var(--ink);
}
.member-id .member-role {
  font-family: 'Lora', serif;
  font-size: 1.2rem; font-style: italic;
  color: var(--blue-deep); font-weight: 400;
  margin-bottom: 0.5rem;
}
.member-id .member-univ {
  font-size: 1rem; color: var(--ink-soft);
  margin-bottom: 1.75rem; font-weight: 500; line-height: 1.45;
}
.cred-pills { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.cred-pill {
  font-size: 0.78rem; font-weight: 500; color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(20, 21, 26, 0.12);
  padding: 0.4rem 0.9rem; border-radius: 999px;
}

/* --- Half-height member hero on solid #000F33: light text, content sized
       ~1/3 larger and vh-aware so it scales with the band --- */
.member-hero .hero-inner {
  grid-template-columns: var(--mhdr-portrait) 1fr;
  gap: clamp(1.75rem, 3.4vw, 3.25rem);
}
.member-hero .portrait { border-radius: 20px; }
.member-hero .eyebrow { color: var(--gold); margin-bottom: clamp(0.67rem, 1.6vh, 1.33rem); }
.member-hero .eyebrow::before { background: var(--gold); }
.member-hero .member-id .member-name {
  font-size: clamp(1.85rem, 4.5vh, 3.45rem);
  line-height: 1.04; margin-bottom: clamp(0.33rem, 1.05vh, 0.73rem);
  color: #FFFFFF;
}
.member-hero .member-id .member-role {
  font-size: clamp(1.25rem, 2.5vh, 1.6rem);
  margin-bottom: clamp(0.27rem, 0.93vh, 0.67rem);
  color: var(--gold);
}
.member-hero .member-id .member-univ {
  font-size: clamp(1.05rem, 2.05vh, 1.25rem);
  margin-bottom: clamp(0.8rem, 2.1vh, 1.65rem);
  line-height: 1.4; color: rgba(255, 255, 255, 0.82);
}
.member-hero .cred-pills { gap: clamp(0.23rem, 0.6vh, 0.37rem); }
.member-hero .cred-pill {
  font-size: clamp(0.69rem, calc(0.92vh + 0.25rem), 0.77rem);
  padding: clamp(0.17rem, 0.47vh, 0.26rem) clamp(0.4rem, 0.8vw, 0.6rem);
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.bio-grid {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 3rem; align-items: stretch;
}
.bio-prose p {
  font-size: 1.02rem; line-height: 1.7;
  color: var(--ink-soft); margin-bottom: 1.25rem;
}
.bio-prose p:last-of-type { margin-bottom: 0; }
.timeline {
  display: flex; flex-direction: column; gap: 1.4rem;
  padding-left: 0.5rem;
}
.timeline-item {
  padding-left: 1.4rem;
  border-left: 2px solid var(--blue-pale);
  position: relative;
}
.timeline-item::before {
  content: ''; position: absolute;
  left: -6px; top: 0.45rem;
  width: 10px; height: 10px;
  background: var(--blue-deep);
  border-radius: 50%;
  border: 2px solid var(--paper);
  box-shadow: 0 0 0 2px var(--blue-pale);
}
.timeline-year {
  font-family: 'Lora', serif;
  font-size: 0.92rem; color: var(--blue-deep);
  font-weight: 400; letter-spacing: -0.005em;
  text-transform: uppercase;
}
.timeline-body {
  font-size: 0.95rem; color: var(--ink-soft);
  line-height: 1.5; margin-top: 0.35rem;
}
.timeline-body strong { color: var(--ink); font-weight: 500; }
/* Member biography timeline → white, divided from the bio prose by a vertical rule */
.member-body .timeline {
  border-left: 1px solid var(--line);
  padding-left: 3rem;
}
.profile-links {
  display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 2rem;
}
.profile-link {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.55rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.85rem; font-weight: 500;
  color: var(--blue-deep); text-decoration: none;
  transition: all 200ms ease;
}
.profile-link:hover {
  background: var(--blue-deep); color: var(--paper);
  border-color: var(--blue-deep);
  transform: translateY(-2px);
}
.roles-list {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line);
}
/* === Member content sections: coloured header zone, white substance ===
   The section background is white (substance). The .section-head (tag +
   title + sub-title) sits in a coloured band: grey by default, BLACK on the
   "Selected roles" section (.roles) with white + gold text. */
.member-body .section { padding-top: 1.9rem; padding-bottom: 1.9rem; }  /* breathing room around the dusty bands */
.member-body .section-head {
  background: var(--slate);
  border-radius: 0;
  /* full-bleed band: break out of the centred column to span the page width,
     then re-inset the content back to the column */
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: calc(1.5rem + 20px) calc(50vw - 50%) calc(1.5rem + 15px);
  margin-bottom: 2rem;
  align-items: start;   /* blurb's first line aligns with the title's first line */
}
/* italic accent + sub-title go white inside the slate header band */
.member-body .section-head .section-title em { color: var(--burgundy); }
.member-body .section-head .section-desc { color: #FFFFFF; font-size: calc(1.05rem + 5px); line-height: 1.3; align-self: center; }
.member-body .section.roles { background: var(--white); }
.member-body .section.roles .roles-list { background: var(--white); }  /* items explicitly white */

/* Remove the outer top & bottom hairlines on these member areas and reclaim that padding */
.member-body .trust { border-bottom: none; padding-bottom: 0; }
.member-body .trust-items { row-gap: 1.25rem; }   /* half the line spacing between chip rows */
.member-body .roles-list { border-top: none; }
.member-body .role-row:first-child { padding-top: 0; }
.member-body .role-row:last-child { border-bottom: none; padding-bottom: 0; }
.member-body .pub-row:first-child { padding-top: 0; }
.member-body .pub-row:last-child { border-bottom: none; padding-bottom: 0; }

.role-row {
  display: grid;
  grid-template-columns: 260px 1fr auto;
  gap: 2rem;
  padding: 1.5rem 1rem;
  border-bottom: 1px solid var(--line);
  align-items: center;
  transition: background 250ms ease;
}
.role-row:hover { background: var(--paper-2); }
.role-org {
  font-family: 'Lora', serif;
  font-size: 1.08rem; font-weight: 500;
  color: var(--ink); letter-spacing: -0.012em;
  line-height: 1.3;
}
.role-title {
  font-size: 0.94rem; color: var(--ink-soft);
  font-weight: 400; line-height: 1.5;
}
.role-period {
  font-size: 0.82rem; color: var(--ink-soft);
  background: var(--white);
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 500; white-space: nowrap;
}
.pub-list { display: flex; flex-direction: column; }
.pub-row {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 1.75rem;
  padding: 1.4rem 1rem;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  transition: background 250ms ease;
  text-decoration: none; color: inherit;
}
.pub-row:hover { background: var(--paper-2); }
.pub-year {
  font-family: 'Lora', serif;
  font-size: 0.78rem; font-weight: 500;
  color: var(--blue-deep);
  letter-spacing: 0.18em; text-transform: uppercase;
}
.pub-title {
  font-family: 'Lora', serif;
  font-weight: 500; font-size: 1.05rem;
  color: var(--ink); line-height: 1.35;
}
.pub-venue {
  display: block; margin-top: 0.35rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem; font-weight: 400;
  color: var(--ink-soft); font-style: italic;
}
.pub-link {
  font-size: 0.8rem; font-weight: 500;
  color: var(--blue-deep);
  letter-spacing: 0.02em; white-space: nowrap;
}

/* === HOME #experts grid — portrait-capable card icons === */
#experts .practice-card { grid-template-columns: 110px 1fr; gap: 1.6rem; }
#experts .practice-icon {
  width: 110px; height: 110px;
  border-radius: 18px;
  font-family: 'Lora', serif;
  font-size: 2.8rem; font-weight: 400;
  background-size: cover; background-position: center;
  overflow: hidden; position: relative;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 20px -8px rgba(18, 20, 28, 0.22);
}
#experts .practice-icon.portrait-fallback {
  background: linear-gradient(135deg, var(--paper-2) 0%, var(--paper-3) 100%);
  color: var(--blue-deep);
}
#experts .practice-icon.portrait-ai {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-mid) 100%);
  color: var(--paper);
}

/* === MEMBER mobile === */
@media (max-width: 900px) {
  .member-hero { padding: 6rem 5% 3rem; position: relative; height: auto; min-height: auto; }
  .member-body { margin-top: 0; }
  .member-hero .hero-inner,
  .bio-grid { grid-template-columns: 1fr !important; gap: 2.5rem !important; }
  .portrait { max-width: 280px; margin: 0 auto; }
  .role-row { grid-template-columns: 1fr; gap: 0.4rem; padding: 1.2rem 0.5rem; }
  .role-period { justify-self: start; }
  .pub-row { grid-template-columns: 1fr; gap: 0.4rem; padding: 1.2rem 0.5rem; }
  #experts .practice-card { grid-template-columns: 80px 1fr; gap: 1rem; }
  #experts .practice-icon { width: 80px; height: 80px; font-size: 2rem; border-radius: 14px; }
}



/* ============================================================
   PUBLICATIONS / SEMINARS — additional classes
   ============================================================ */

.page-hero {
  position: relative; min-height: 56vh;
  display: flex; align-items: center; overflow: hidden;
  padding: 9rem 5% 4.5rem;
}
.page-hero .hero-inner {
  grid-template-columns: 1fr !important;
  max-width: 980px;
}
.page-hero h1.headline { margin-bottom: 1.5rem; }

.topic-chips {
  display: flex; gap: 0.6rem; flex-wrap: wrap;
  margin-top: 1.5rem;
}
.topic-chip {
  font-size: 0.8rem; font-weight: 500;
  color: var(--blue-deep);
  background: var(--blue-glass);
  border: 1px solid rgba(26, 60, 120, 0.18);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  transition: all 200ms ease;
}
.topic-chip:hover {
  background: var(--blue-deep); color: var(--paper);
  border-color: var(--blue-deep);
}

/* Featured publication card */
.featured-pub {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 2rem 1.75rem;
  text-decoration: none; color: inherit;
  transition: all 350ms cubic-bezier(0.4, 0, 0.2, 1);
}
.featured-pub:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px -24px rgba(18, 20, 28, 0.22);
  border-color: var(--blue-soft);
}
.featured-pub .pub-marker {
  width: 110px; aspect-ratio: 1 / 1;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--paper-2) 0%, var(--paper-3) 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Lora', serif;
  font-size: 0.7rem; font-weight: 500;
  color: var(--blue-deep);
  letter-spacing: 0.22em; text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.8);
  text-align: center; line-height: 1.3;
  padding: 0.5rem;
}
.featured-pub .pub-content { min-width: 0; }
.featured-pub .pub-topic {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--blue-mid); margin-bottom: 0.7rem;
}
.featured-pub h3 {
  font-family: 'Lora', serif; font-weight: 500;
  font-size: 1.25rem; line-height: 1.25;
  letter-spacing: -0.015em;
  margin-bottom: 0.7rem; color: var(--ink);
}
.featured-pub p {
  font-size: 0.93rem; line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}
.featured-pub .pub-cta {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.85rem; font-weight: 500;
  color: var(--blue-deep);
  transition: gap 200ms ease;
}
.featured-pub:hover .pub-cta { gap: 0.7rem; }

.featured-pubs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* Event row (seminars) */
.event-list {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line);
}
.event-row {
  display: grid;
  grid-template-columns: 110px 1fr 1fr auto;
  gap: 2rem;
  padding: 2rem 1rem;
  border-bottom: 1px solid var(--line);
  align-items: center;
  transition: background 250ms ease;
}
.event-row:hover { background: var(--paper-2); }
.event-year {
  font-family: 'Lora', serif;
  font-size: 1.4rem; font-weight: 400;
  color: var(--blue-deep); letter-spacing: -0.01em;
}
.event-title {
  font-family: 'Lora', serif;
  font-size: 1.1rem; font-weight: 500;
  color: var(--ink); letter-spacing: -0.01em;
  line-height: 1.3;
}
.event-venue {
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-weight: 500; line-height: 1.4;
}
.event-mats {
  display: flex; flex-direction: column; gap: 0.5rem;
}
.event-mat-link {
  font-size: 0.78rem; font-weight: 500;
  color: var(--blue-deep);
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
  transition: all 200ms ease;
}
.event-mat-link:hover {
  background: var(--blue-deep); color: var(--paper);
  border-color: var(--blue-deep);
}

/* Empty-state card */
.empty-state {
  background: var(--white);
  border: 1px dashed var(--line);
  border-radius: 18px;
  padding: 3rem 2rem;
  text-align: center;
}
.empty-state h3 {
  font-family: 'Lora', serif; font-weight: 500;
  font-size: 1.4rem; color: var(--ink);
  margin-bottom: 0.75rem;
}
.empty-state p {
  color: var(--ink-soft); font-size: 0.98rem;
  line-height: 1.6; max-width: 36rem; margin: 0 auto 1.5rem;
}

/* External profile / repository pills (wider, branded) */
.repo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.repo-card {
  display: flex; align-items: center; gap: 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.4rem 1.75rem;
  text-decoration: none; color: inherit;
  transition: all 250ms ease;
}
.repo-card:hover {
  transform: translateY(-3px);
  border-color: var(--blue-soft);
  box-shadow: 0 20px 50px -20px rgba(18, 20, 28, 0.22);
}
.repo-mark {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--paper-2) 0%, var(--paper-3) 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Lora', serif;
  font-weight: 500; font-size: 1.1rem;
  color: var(--blue-deep);
  border: 1px solid rgba(255, 255, 255, 0.8);
  flex-shrink: 0;
}
.repo-name {
  font-family: 'Lora', serif;
  font-size: 1.05rem; font-weight: 500;
  color: var(--ink); margin-bottom: 0.2rem;
}
.repo-desc {
  font-size: 0.85rem; color: var(--ink-soft);
  line-height: 1.4;
}
.repo-arrow {
  margin-left: auto;
  font-size: 0.95rem; color: var(--blue-deep);
}

@media (max-width: 900px) {
  .featured-pubs-grid,
  .repo-grid { grid-template-columns: 1fr !important; }
  .featured-pub { grid-template-columns: 70px 1fr; gap: 1rem; padding: 1.5rem 1.25rem; }
  .featured-pub .pub-marker { width: 70px; font-size: 0.62rem; }
  .event-row { grid-template-columns: 1fr; gap: 0.4rem; padding: 1.4rem 0.5rem; }
}



/* ===== EN / PT language switch (nav) ===== */
.lang-switch{position:relative;display:inline-flex;align-items:center;margin-left:0.7rem;font-family:'Inter',sans-serif;}
.lang-current{display:inline-flex;align-items:center;gap:0.3rem;background:none;border:1px solid rgba(255,255,255,0.30);color:#fff;font:inherit;font-size:0.8rem;font-weight:500;letter-spacing:0.06em;padding:0.36rem 0.72rem;border-radius:999px;cursor:pointer;line-height:1;transition:border-color .15s ease;}
.lang-current:hover{border-color:rgba(255,255,255,0.65);}
.lang-caret{font-size:0.62em;opacity:0.8;}
.lang-menu{display:none;position:absolute;top:calc(100% + 0.5rem);right:0;min-width:4.6rem;list-style:none;margin:0;padding:0.3rem;background:#fff;border-radius:0.6rem;box-shadow:0 12px 34px rgba(10,22,50,0.28);z-index:80;}
.lang-switch::after{content:"";position:absolute;top:100%;right:0;width:4.8rem;height:0.7rem;}
.lang-switch:hover .lang-menu,.lang-switch:focus-within .lang-menu{display:block;}
.lang-menu li{margin:0;}
.lang-menu a{display:block;padding:0.42rem 0.7rem;border-radius:0.4rem;color:var(--blue-deep,#14233f);text-decoration:none;font-size:0.82rem;font-weight:600;letter-spacing:0.06em;}
.lang-menu a:hover{background:var(--blue-glass,rgba(20,35,63,0.08));}
.lang-menu a.is-active{color:#9aa3b2;pointer-events:none;}

/* hover bridge: keep menu open while moving cursor from button to menu */
.lang-current{position:relative;}
.lang-current::after{content:"";position:absolute;left:0;right:0;top:100%;height:0.6rem;}

/* boxed language options (EN / PT each in a little box) */
.lang-menu{padding:0.32rem;}
.lang-menu a{border:1px solid rgba(20,35,63,0.22);text-align:center;}
.lang-menu li + li{margin-top:0.3rem;}
.lang-menu a.is-active{border-color:rgba(20,35,63,0.12);}

/* ===== mobile hamburger nav ===== */
.nav { position: relative; }
.nav-toggle {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 40px; padding: 0 10px; flex: none;
  background: none; border: 1px solid rgba(255,255,255,0.30);
  border-radius: 12px; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: #fff;
  border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: calc(100% + 0.7rem); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0.15rem;
    background: rgba(0,15,51,0.97);
    backdrop-filter: blur(26px) saturate(160%);
    -webkit-backdrop-filter: blur(26px) saturate(160%);
    border: 1px solid rgba(255,255,255,0.14); border-radius: 20px;
    padding: 0.85rem 1rem 1.05rem;
    box-shadow: 0 22px 55px -18px rgba(0,0,0,0.6);
  }
  .nav:not(.nav-open) .nav-links { display: none; }
  .nav.nav-open .nav-links { display: flex; }
  .nav-links a { padding: 0.7rem 0.5rem; font-size: 1rem; }
  .nav-links a.nav-cta { text-align: center; margin-top: 0.45rem; }
  .lang-switch { margin-top: 0.5rem; align-self: flex-start; }
  .nav.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* placeholder publication rows: displayed but not clickable (no real URL yet) */
.pub-row.is-static { cursor: default; }
.pub-row.is-static:hover { background: transparent; }
