/* Liberty Partners — About page */
  /* ── Header ── */
  .page-head {
    padding: 80px var(--gutter) var(--s-8);
    max-width: var(--max-w); margin: 0 auto;
  }
  .page-head .eyebrow { color: var(--accent); }
  .page-head h1 {
    font-family: var(--font-body); font-weight: 300;
    font-size: clamp(56px, 8vw, 135px);
    line-height: 1.02; letter-spacing: -0.025em; margin: 24px 0 0;
  }
  .page-head h1 em { color: var(--accent); }
  .page-head .lede-row { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--rule); }
  .page-head .lede-row p { font-family: var(--font-body); font-size: 24px; line-height: 1.5; color: var(--ink-soft); margin: 0; }
  .page-head .lede-row p em { color: var(--ink); font-style: italic; }

  /* ── Hero mosaic ── */
  .hero-mosaic {
    display: grid; grid-template-columns: 1.7fr 1fr; gap: 10px;
  }
  .hero-mosaic .cell { position: relative; overflow: hidden; }
  .hero-mosaic .main { aspect-ratio: 16/11; }
  .hero-mosaic .stack { display: grid; grid-template-rows: 1fr 1fr; gap: 10px; min-height: 0; }
  /* stack thumbnails have no intrinsic height — the main image's aspect
     ratio alone sets the row height, so all edges align exactly */
  .hero-mosaic .stack img { position: absolute; inset: 0; }
  .hero-mosaic img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .hero-mosaic .cap {
    position: absolute; left: 18px; bottom: 15px;
    font-family: var(--font-display); font-size: 10px; font-weight: 500;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: #fff; text-shadow: 0 1px 8px rgba(10,25,40,.55);
  }

  /* ── Full-service statement ── */
  .fs { padding: var(--s-10) 0; }
  .fs-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr 2fr; gap: 64px; }
  .fs-inner .eyebrow { padding-top: 14px; }
  .fs h2 { font-family: var(--font-body); font-weight: 300; font-size: clamp(44px, 5.4vw, 88px); line-height: 1.02; letter-spacing: -0.025em; margin: 0; text-wrap: balance; }
  .fs h2 em { color: var(--accent); }
  .fs .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 52px; padding-top: 36px; border-top: 1px solid var(--rule); }
  .fs .cols p { font-family: var(--font-body); font-size: 20px; line-height: 1.6; color: var(--ink-soft); margin: 0 0 1em; }
  .fs .cols p:last-child { margin-bottom: 0; }
  .fs .cols p em { color: var(--ink); }

  /* ── Numbers — deep coastal band ── */
  .numbers { padding: var(--s-9) 0; background: var(--coastal-deep); color: var(--paper); }
  .numbers-grid {
    max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter);
    display: grid; grid-template-columns: repeat(4, 1fr);
  }
  .num-cell {
    padding: 10px clamp(28px, 2.4vw, 44px) 10px;
    border-right: 1px solid rgba(255,255,255,.12);
    text-align: center;
  }
  .num-cell:last-child { border-right: 0; }
  .num-cell .v { font-family: var(--font-body); font-weight: 300; font-size: clamp(52px, 6.4vw, 104px); line-height: 0.92; letter-spacing: -0.025em; color: var(--paper); }
  .num-cell .v em { color: var(--sky); font-style: normal; }
  .num-cell .k { font-family: var(--font-display); font-size: 10px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,.66); margin-top: 18px; line-height: 1.7; }

  /* ── In practice — decisions ── */
  .practice { padding: var(--s-10) 0; background: var(--paper-2); }
  .pr-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
  .pr-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: end; margin-bottom: 64px; }
  .pr-head h2 { font-family: var(--font-body); font-weight: 300; font-size: clamp(44px, 5.4vw, 84px); line-height: 1.02; letter-spacing: -0.025em; margin: 16px 0 0; }
  .pr-head h2 em { color: var(--accent); }
  .pr-head > p { font-family: var(--font-body); font-size: 21px; line-height: 1.55; color: var(--ink-soft); margin: 0; max-width: 520px; }
  .pr-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .pr-card .im { aspect-ratio: 4/3; overflow: hidden; }
  .pr-card .im img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease-out); }
  .pr-card:hover .im img { transform: scale(1.04); }
  .pr-card .num { font-family: var(--font-mono); font-size: 11px; color: var(--muted); margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--rule); }
  .pr-card p { font-family: var(--font-body); font-size: 19px; line-height: 1.45; margin: 10px 0 0; color: var(--ink); }

  /* ── Partners ── */
  .partners-section { padding: var(--s-10) 0; background: var(--paper); }
  .ps-head { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter) 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; }
  .ps-head h2 { font-family: var(--font-body); font-weight: 300; font-size: clamp(44px, 5.4vw, 84px); line-height: 1.02; letter-spacing: -0.025em; margin: 16px 0 0; }
  .ps-head h2 em { color: var(--accent); }
  .ps-head p { font-family: var(--font-body); font-size: 22px; line-height: 1.5; color: var(--ink-soft); max-width: 480px; margin: 0; }

  .partner-list {
    max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter);
    border-top: 1px solid var(--rule);
  }
  .partner {
    display: grid;
    grid-template-columns: 80px 1fr 1fr auto;
    gap: 48px;
    padding: 36px 0;
    border-bottom: 1px solid var(--rule);
    cursor: pointer;
    align-items: center;
    transition: padding .25s var(--ease);
  }
  .partner:hover { padding-left: 16px; }
  .partner .portrait { width: 80px; height: 80px; border-radius: 50%; overflow: hidden; }
  .partner .portrait .ph { width: 100%; height: 100%; }
  .partner .name { font-family: var(--font-body); font-size: 36px; line-height: 1.1; letter-spacing: -0.015em; }
  .partner .role { font-family: var(--font-display); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
  .partner .tenure { font-family: var(--font-display); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
  .partner .open { font-family: var(--font-body); font-size: 22px; color: var(--accent); }

  /* Bio overlay */
  .bio-overlay {
    position: fixed; inset: 0;
    background: rgba(20,20,15,.6);
    backdrop-filter: blur(12px);
    z-index: 100;
    display: none;
    align-items: center; justify-content: center;
    padding: 48px;
    animation: fadeIn .3s var(--ease);
  }
  .bio-overlay.open { display: flex; }
  @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
  .bio-card {
    background: var(--paper);
    width: 100%; max-width: 1100px;
    max-height: calc(100vh - 96px);
    display: grid; grid-template-columns: 1fr 1.2fr;
    overflow: hidden;
    border: 1px solid var(--rule);
  }
  .bio-card .left { background: var(--paper-2); padding: 48px; display: flex; flex-direction: column; gap: 24px; }
  .bio-card .portrait-lg { aspect-ratio: 4/5; width: 100%; }
  .bio-card .portrait-lg .ph { width: 100%; height: 100%; }
  .bio-card .left .role { font-family: var(--font-display); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); }
  .bio-card .left .name { font-family: var(--font-body); font-weight: 300; font-size: 52px; line-height: 0.95; letter-spacing: -0.02em; margin: -8px 0 0; }
  .bio-card .left .stats { display: flex; flex-direction: column; gap: 14px; padding-top: 24px; border-top: 1px solid var(--rule); }
  .bio-card .left .stats .row { display: flex; justify-content: space-between; font-size: 13px; }
  .bio-card .left .stats .k { font-family: var(--font-display); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); }
  .bio-card .left .stats .v { font-family: var(--font-body); font-size: 16px; }
  .bio-card .right { padding: 48px; overflow-y: auto; }
  .bio-card .right p { font-family: var(--font-body); font-size: 20px; line-height: 1.55; margin-bottom: 1.1em; }
  .bio-card .right p:first-child { color: var(--accent); }
  .bio-card .right h4 { font-family: var(--font-display); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); margin: 32px 0 14px; font-weight: 500; }
  .bio-card .right ul { list-style: none; padding: 0; margin: 0; }
  .bio-card .right ul li { padding: 8px 0; border-bottom: 1px solid var(--rule-soft); font-family: var(--font-body); font-size: 17px; display: flex; justify-content: space-between; gap: 24px; }
  .bio-card .right ul li .date { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
  .bio-card .close {
    position: absolute; top: 24px; right: 24px;
    width: 48px; height: 48px;
    background: var(--paper); border: 1px solid var(--rule);
    font-size: 24px; line-height: 1;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
  }

  /* ── The wider studio — disciplines ── */
  .studio { padding: var(--s-10) 0; background: var(--linen); border-top: 1px solid var(--rule); }
  .st-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
  .st-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: end; margin-bottom: 56px; }
  .st-head h2 { font-family: var(--font-body); font-weight: 300; font-size: clamp(44px, 5.4vw, 84px); line-height: 1.02; letter-spacing: -0.025em; margin: 16px 0 0; }
  .st-head h2 em { color: var(--accent); }
  .st-head > p { font-family: var(--font-body); font-size: 21px; line-height: 1.55; color: var(--ink-soft); margin: 0; max-width: 480px; }
  .st-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--rule); }
  .st-cell { padding: 36px clamp(22px, 1.8vw, 36px) 8px; border-right: 1px solid var(--rule-soft); }
  .st-cell:first-child { padding-left: 0; }
  .st-cell:last-child { border-right: 0; padding-right: 0; }
  .st-cell .num { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
  .st-cell .st-ic { color: var(--accent); height: 30px; display: flex; align-items: center; }
  .st-cell .st-ic svg { width: 30px; height: 30px; stroke-width: 1.4; }
  .st-cell h3 { font-family: var(--font-display); font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); margin: 18px 0 14px; }
  .st-cell p { font-family: var(--font-body); font-size: 17px; line-height: 1.55; color: var(--ink-soft); margin: 0; }

  /* ── Selected experience — split ── */
  .record { display: grid; grid-template-columns: 1fr 1.1fr; background: var(--coastal-deep); color: var(--paper); }
  .record .im { min-height: 560px; }
  .record .im img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .record .panel { padding: clamp(56px, 6vw, 112px) clamp(40px, 5vw, 96px); }
  .record .eyebrow { color: var(--sky); }
  .record h2 { font-family: var(--font-body); font-weight: 300; font-size: clamp(40px, 4.6vw, 72px); line-height: 1.02; letter-spacing: -0.025em; margin: 18px 0 28px; color: var(--paper); text-wrap: balance; }
  .record h2 em { color: var(--sky); }
  .record .intro { font-family: var(--font-body); font-size: 20px; line-height: 1.6; color: rgba(255,255,255,.75); max-width: 560px; margin: 0 0 44px; }
  .record ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.2); }
  .record ol li { display: grid; grid-template-columns: 48px 1fr; gap: 20px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-family: var(--font-body); font-size: 20px; line-height: 1.4; }
  .record ol li .n { font-family: var(--font-mono); font-size: 11px; color: var(--sky); }

  /* ── Qualifications ── */
  .quals { padding: var(--s-10) 0; background: var(--paper); }
  .q-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
  .q-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: end; margin-bottom: 56px; }
  .q-head h2 { font-family: var(--font-body); font-weight: 300; font-size: clamp(44px, 5.4vw, 84px); line-height: 1.02; letter-spacing: -0.025em; margin: 16px 0 0; }
  .q-head h2 em { color: var(--accent); }
  .q-head > p { font-family: var(--font-body); font-size: 21px; line-height: 1.55; color: var(--ink-soft); margin: 0; max-width: 480px; }
  .q-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); }
  .q-cell { padding: 32px clamp(24px, 2vw, 40px) 40px; border-right: 1px solid var(--rule-soft); border-bottom: 1px solid var(--rule-soft); }
  .q-cell:nth-child(3n) { border-right: 0; }
  .q-cell:nth-child(3n+1) { padding-left: 0; }
  .q-cell:nth-child(n+4) { border-bottom: 0; }
  .q-cell .num { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
  .q-cell h3 { font-family: var(--font-body); font-weight: 400; font-size: clamp(24px, 2vw, 30px); line-height: 1.2; letter-spacing: -0.01em; margin: 16px 0 0; text-wrap: balance; }
  .q-cell .note { font-family: var(--font-display); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); margin-top: 12px; }

  /* ── Values ── */
  .values { padding: var(--s-10) 0; background: var(--linen); border-top: 1px solid var(--rule); }
  .values-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
  .values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--rule); margin-top: 48px; }
  .val { padding: 48px clamp(30px, 2.6vw, 48px) 36px; border-right: 1px solid var(--rule-soft); }
  .val:first-child { padding-left: 0; }
  .val:last-child { border-right: 0; padding-right: 0; }
  .val .num { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
  .val h3 { font-family: var(--font-body); font-weight: 300; font-size: clamp(27px, 2.3vw, 34px); line-height: 1.12; margin: 18px 0 16px; letter-spacing: -0.015em; text-wrap: balance; }
  .val p { font-family: var(--font-body); font-size: 18px; line-height: 1.55; color: var(--ink-soft); }

  /* ── Closing CTA ── */
  .about-cta { padding: var(--s-10) 0 var(--s-11); background: var(--paper); }
  .ac-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 1.4fr auto; gap: 64px; align-items: center; }
  .ac-inner h2 { font-family: var(--font-body); font-weight: 300; font-size: clamp(40px, 5vw, 80px); line-height: 1.05; letter-spacing: -0.025em; margin: 0; text-wrap: balance; }
  .ac-inner h2 em { color: var(--accent); }

  @media (max-width: 1200px) {
    .numbers-grid { grid-template-columns: 1fr 1fr; row-gap: 44px; }
    .num-cell:nth-child(2) { border-right: 0; }
    .st-grid { grid-template-columns: repeat(3, 1fr); }
    .st-cell { border-bottom: 1px solid var(--rule-soft); }
    .st-cell:nth-child(3n) { border-right: 0; }
    .pr-grid { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  }
  @media (max-width: 1000px) {
    .record { grid-template-columns: 1fr; }
    .record .im { min-height: 0; aspect-ratio: 16/10; }
    .values-grid { grid-template-columns: 1fr; }
    .val { border-right: 0; border-bottom: 1px solid var(--rule-soft); padding: 36px 0; }
    .val:last-child { border-bottom: 0; }
    .q-grid { grid-template-columns: 1fr 1fr; }
    .q-cell { border-right: 0; padding-left: 0; border-bottom: 1px solid var(--rule-soft); }
    .q-cell:nth-child(n+4) { border-bottom: 1px solid var(--rule-soft); }
    .q-cell:nth-child(n+5) { border-bottom: 0; }
  }
  @media (max-width: 900px) {
    .page-head .lede-row, .fs-inner, .pr-head, .ps-head, .st-head, .q-head, .numbers-grid, .ac-inner { grid-template-columns: 1fr; gap: 32px; }
    .hero-mosaic { grid-template-columns: 1fr; }
    .hero-mosaic .stack { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
    .hero-mosaic .stack .cell { aspect-ratio: 4/3; }
    .num-cell { border-right: 0; padding: 0; }
    .st-grid { grid-template-columns: 1fr; }
    .st-cell { border-right: 0; padding-left: 0; padding-right: 0; }
    .pr-grid { grid-template-columns: 1fr; }
    .partner { grid-template-columns: 56px 1fr auto; gap: 16px; }
    .partner .role { display: none; }
    .partner .name { font-size: 24px; }
    .bio-card { grid-template-columns: 1fr; max-height: 90vh; overflow: auto; }
    .q-grid { grid-template-columns: 1fr; }
    .q-cell:nth-child(n+4) { border-bottom: 1px solid var(--rule-soft); }
    .q-cell:last-child { border-bottom: 0; }
  }
