/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── PALETTE ── */
:root {
  --navy:       #0e2244;
  --navy-mid:   #1a3a6b;
  --navy-soft:  #e8edf5;
  --charcoal:   #2d3340;
  --charcoal-m: #3d4455;
  --charcoal-s: #f2f3f5;
  --white:      #ffffff;
  --off-white:  #f5efe6;
  --shell:      #f3ebe0;
  --bronze:     #a07840;
  --bronze-l:   #c49a54;
  --bronze-gl:  rgba(160,120,64,0.12);
  --ink:        #1a1a1a;
  --ink-mid:    #2e3138;
  --ink-dim:    #5a5e6a;
  --border:     #e2e0db;
  --border-s:   #d0cdc6;
  --shadow:     0 1px 3px rgba(14,34,68,0.06), 0 4px 16px rgba(14,34,68,0.04);
}

/* ── BASE ── */
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--ink);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.68;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--off-white); }
::-webkit-scrollbar-thumb { background: var(--border-s); border-radius: 2px; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 62px;
  background: rgba(243, 235, 224, 0.94);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 6vw;
  backdrop-filter: blur(10px);
}
.nav-brand { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; }
.nav-monogram {
  width: 36px; height: 36px;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem; color: #fff; font-style: italic; font-weight: 400;
  letter-spacing: 0.02em;
}
.nav-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; color: var(--navy); font-weight: 500; letter-spacing: 0.01em;
}
.nav-links { display: flex; gap: 2.4rem; }
.nav-links a {
  font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-dim); text-decoration: none; font-weight: 400;
  transition: color 0.2s;
  position: relative; padding-bottom: 2px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px; background: var(--bronze);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:hover { color: var(--navy); }
.nav-links a:hover::after { transform: scaleX(1); }

/* Hamburger toggle (mobile) */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--navy);
}
.nav-toggle:focus-visible {
  outline: 2px solid rgba(160,120,64,0.55);
  outline-offset: 2px;
}
.nav-toggle-bars {
  position: relative;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  display: block;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: '';
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(14, 34, 68, 0.28);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: start end;
  padding: 12px;
}
.mobile-menu[hidden] { display: none !important; }
.mobile-menu-panel {
  width: min(420px, 92vw);
  max-height: calc(100dvh - 24px);
  overflow: auto;
  background: rgba(245, 239, 230, 0.96);
  border: 1px solid var(--border);
  border-top: 3px solid var(--navy);
  box-shadow: 0 10px 50px rgba(14, 34, 68, 0.25);
  border-radius: 16px;
}
.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 14px 14px 10px;
  border-bottom: 1px solid var(--border);
}
.mobile-menu-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}
.mobile-menu-brand .nav-name {
  font-size: 1.05rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 18rem;
}
.mobile-menu-close {
  width: 40px; height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.55);
  cursor: pointer;
  color: var(--navy);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  line-height: 1;
}
.mobile-menu-close:focus-visible {
  outline: 2px solid rgba(160,120,64,0.55);
  outline-offset: 2px;
}
.mobile-menu-links {
  display: flex;
  flex-direction: column;
  padding: 10px 14px 14px;
}
.mobile-menu-links a {
  text-decoration: none;
  color: var(--navy);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
}
.mobile-menu-links a:hover { background: rgba(255,255,255,0.6); }
.mobile-menu-links a:focus-visible {
  outline: none;
  border-color: rgba(160,120,64,0.55);
  background: rgba(255,255,255,0.7);
}

/* ── HERO ── */
header {
  padding: 88px 6vw 0;
  border-bottom: 1px solid var(--border);
  background: var(--shell);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(300px, 440px) 1fr minmax(280px, 380px);
  gap: 3.5rem;
  align-items: start;
  padding-bottom: 32px;
}

/* Photo — full image, framed (no crop) */
.hero-photo-col {
  padding-bottom: 2px;
  justify-self: start;
  position: relative;
  z-index: 1;
}
.photo-frame {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 16px 16px 20px;
  background: var(--white);
  border: 1px solid var(--border-s);
  border-top: 4px solid var(--navy);
  box-shadow:
    0 1px 2px rgba(14, 34, 68, 0.05),
    0 8px 32px rgba(14, 34, 68, 0.1),
    0 24px 64px rgba(14, 34, 68, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.8);
  position: relative;
  outline: 1px solid rgba(160, 120, 64, 0.4);
  outline-offset: 8px;
}
.photo-frame img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(400px, 100%);
  pointer-events: none;
  user-select: none;
}

/* Hero text */
.hero-eyebrow {
  display: flex; align-items: center; gap: 0.7rem;
  margin-bottom: 1.8rem;
}
.hero-eyebrow-line { width: 28px; height: 1px; background: var(--bronze); }
.hero-eyebrow span {
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--bronze); font-weight: 400;
}
h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.5rem, 5.2vw, 6.25rem);
  font-weight: 300; line-height: 0.96;
  color: var(--navy); margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
h1 em { font-style: italic; font-weight: 300; color: var(--navy-mid); }
.hero-designation {
  font-family: 'Source Serif 4', serif;
  font-size: 1.125rem; color: var(--ink-mid);
  letter-spacing: 0.03em; margin-bottom: 2rem;
  font-weight: 300; font-style: italic;
}
.hero-bio {
  font-family: 'Source Serif 4', serif;
  font-size: 1.0625rem; color: var(--ink-mid); line-height: 1.75; font-weight: 400;
  padding-top: 1.5rem; border-top: 1px solid var(--border);
}

/* Credentials card */
.profile-card {
  border: 1px solid var(--border);
  border-top: 3px solid var(--navy);
  box-shadow: var(--shadow);
  margin-bottom: 1.6rem;
  background: var(--white);
}
.pc-row {
  padding: 0.85rem 1.3rem;
  border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
}
.pc-row:last-child { border-bottom: none; }
.pc-lbl {
  font-size: 0.72rem; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--ink-dim); flex-shrink: 0; font-weight: 400;
}
.pc-val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; color: var(--navy); text-align: right; line-height: 1.3;
  font-weight: 600;
}
.hero-contact { display: flex; flex-direction: column; gap: 0.4rem; }
.hc {
  display: flex; align-items: center; gap: 0.65rem;
  font-size: 0.9375rem; color: var(--ink-mid);
}
.hc a { color: var(--ink-dim); text-decoration: none; transition: color 0.2s; }
.hc a:hover { color: var(--bronze); }
.hc-tick { width: 3px; height: 3px; background: var(--bronze); border-radius: 50%; flex-shrink: 0; }

/* Hero: bar affiliations (boxed pills) */
.affil-row {
  border-top: 1px solid var(--border);
  padding: 1.35rem 0 1.4rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 1.25rem 1.75rem;
}
.affil-label {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-dim);
  font-weight: 400;
  flex-shrink: 0;
  padding-right: 1.35rem;
  border-right: 1px solid var(--border);
  line-height: 1.35;
  align-self: stretch;
  display: flex;
  align-items: center;
}
.affil-list {
  flex: 1 1 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: stretch;
  gap: 1rem 1.15rem;
  min-width: min(100%, 240px);
}
.affil-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.38rem;
  flex: 1 1 168px;
  min-width: min(100%, 168px);
  max-width: 240px;
  text-align: center;
  transition: transform 0.2s ease;
}
.affil-item:hover { transform: translateY(-2px); }
.affil-pill {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--navy);
  width: 100%;
  border: 1px solid var(--border-s);
  background: var(--white);
  padding: 0.7rem 0.9rem;
  letter-spacing: 0.02em;
  line-height: 1.38;
  box-shadow: var(--shadow);
  transition: border-color 0.2s, box-shadow 0.2s;
  text-wrap: balance;
}
.affil-item:hover .affil-pill {
  border-color: var(--bronze);
  box-shadow: 0 4px 20px rgba(14, 34, 68, 0.1);
}
.affil-sub {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
  line-height: 1.35;
}

/* Stats bar */
.stats-bar {
  display: grid; grid-template-columns: repeat(4,1fr);
  border-top: 1px solid var(--border);
  background: var(--shell);
}
.stat-cell { padding: 1.1rem 1.8rem; border-right: 1px solid var(--border); }
.stat-cell:last-child { border-right: none; }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem; font-weight: 400; color: var(--navy); line-height: 1;
  margin-bottom: 0.25rem;
}
.stat-lbl { font-size: 0.84rem; color: var(--ink-mid); letter-spacing: 0.06em; }

/* ── SECTION SHARED ── */
section { padding: 52px 6vw; border-bottom: 1px solid var(--border); }
section.alt { background: var(--shell); }
section.charcoal-sect { background: var(--charcoal-s); }

.sec-head {
  display: flex; align-items: center; gap: 1.4rem;
  margin-bottom: 1.8rem;
}
.sec-num {
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--bronze); flex-shrink: 0;
}
h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 3.2vw, 3.1rem);
  font-weight: 400; color: var(--navy); letter-spacing: -0.01em;
}
.sec-rule { flex: 1; height: 1px; background: var(--border); }

/* ── PRACTICE GRID ── */
.practice-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  border-top: 2px solid var(--navy);
  border-left: 1px solid var(--border);
}
.pcard {
  padding: 1.5rem 1.5rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--white);
  transition: background 0.22s;
  position: relative;
}
.pcard::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: var(--bronze);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.32s ease;
}
.pcard:hover { background: var(--off-white); }
.pcard:hover::before { transform: scaleX(1); }
.pcard-icon {
  width: 32px; height: 32px; margin-bottom: 0.9rem;
  color: var(--bronze); opacity: 0.7;
}
.pcard h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.32rem; font-weight: 600; color: var(--navy);
  margin-bottom: 0.45rem; letter-spacing: 0.01em;
}
.pcard p { font-size: 0.98rem; color: var(--ink-mid); line-height: 1.7; }

/* ── RESEARCH ── */
.research-wrap { display: grid; grid-template-columns: 3fr 1.2fr; gap: 3.5rem; align-items: start; }
.research-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  font-weight: 400; font-style: italic;
  color: var(--navy); line-height: 1.4; margin-bottom: 1.2rem;
}
.research-body {
  font-family: 'Source Serif 4', serif;
  font-size: 1.05rem; color: var(--ink-mid); line-height: 1.75; font-weight: 400;
}
.kw-wrap { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1.6rem; }
.kw {
  font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.32em 0.9em;
  background: var(--white); border: 1px solid var(--border-s);
  color: var(--ink-mid); transition: border-color 0.2s, color 0.2s;
}
.kw:hover { border-color: var(--bronze); color: var(--bronze); }
.research-aside {
  border-left: 2px solid var(--bronze-gl);
  padding-left: 1.8rem;
}
.ra-label {
  font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--bronze); margin-bottom: 1rem;
}
.ra-item {
  padding: 0.55rem 0; border-bottom: 1px solid var(--border);
  font-size: 0.95rem; color: var(--ink-mid); line-height: 1.5;
  font-family: 'Source Serif 4', serif; font-weight: 300;
}
.ra-item:last-child { border-bottom: none; }

/* ── PUBLICATIONS ── */
.pub-list { display: flex; flex-direction: column; }
.pub-row {
  display: grid; grid-template-columns: 3.5rem 1fr 5.5rem;
  gap: 0 2rem; padding: 1.2rem 0;
  border-top: 1px solid var(--border); align-items: start;
  transition: background 0.18s;
}
.pub-row:last-child { border-bottom: 1px solid var(--border); }
@media (hover: hover) and (pointer: fine) {
  .pub-row:hover { background: var(--off-white); margin: 0 -6vw; padding-left: 6vw; padding-right: 6vw; }
  .pub-row:hover .pub-title { color: var(--bronze); }
}
.pub-n {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; font-weight: 300; color: var(--border-s);
  line-height: 1; padding-top: 0.15rem;
}
.pub-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.28rem; font-weight: 500; color: var(--navy);
  line-height: 1.42; margin-bottom: 0.35rem; transition: color 0.2s;
}
.pub-jrn {
  font-family: 'Source Serif 4', serif;
  font-size: 0.9rem; color: var(--ink-mid); font-style: italic; font-weight: 300;
}
.pub-yr {
  font-size: 0.72rem; color: var(--ink-dim); text-align: right;
  padding-top: 0.22rem; letter-spacing: 0.06em;
}

/* ── CAREER ── */
.career-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--border); border: 1px solid var(--border);
  border-top: 2px solid var(--navy);
}
.citem {
  background: var(--white); padding: 1.4rem 1.8rem;
  transition: background 0.2s;
}
.alt .citem { background: var(--white); }
.citem:hover { background: var(--navy-soft); }
.cperiod {
  font-size: 0.72rem; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--bronze); margin-bottom: 0.45rem;
}
.citem h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 600; color: var(--navy); margin-bottom: 0.3rem;
}
.citem p {
  font-family: 'Source Serif 4', serif;
  font-size: 0.98rem; color: var(--ink-mid); line-height: 1.68; font-weight: 400;
}

/* ── EDUCATION ── */
.edu-split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.edu-group-hd {
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-dim); margin-bottom: 1.4rem;
  padding-bottom: 0.7rem; border-bottom: 2px solid var(--navy);
}
.edu-row { display: flex; gap: 1.2rem; padding: 0.75rem 0; border-bottom: 1px solid var(--border); }
.edu-row:last-child { border-bottom: none; }
.edu-yr {
  font-size: 0.68rem; color: var(--bronze); letter-spacing: 0.07em;
  flex-shrink: 0; width: 3rem; padding-top: 0.22rem; font-weight: 400;
}
.edu-row h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; font-weight: 600; color: var(--navy); margin-bottom: 0.1rem;
}
.edu-row p {
  font-family: 'Source Serif 4', serif;
  font-size: 0.92rem; color: var(--ink-mid); font-weight: 400;
}

/* ── BAR ── */
.bar-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-top: 2px solid var(--bronze);
}
.bcard { background: var(--white); padding: 1.3rem 1.6rem; transition: background 0.2s; }
.alt .bcard { background: var(--white); }
.bcard:hover { background: var(--bronze-gl); }
.b-since {
  font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-dim); margin-bottom: 0.45rem;
}
.bcard h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; font-weight: 600; color: var(--navy); line-height: 1.4;
}

/* ── FOOTER ── */
footer {
  background: var(--navy);
  padding: 2rem 6vw;
  display: flex; justify-content: space-between; align-items: center; gap: 2rem;
}
.foot-l {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; color: rgba(255,255,255,0.75); font-style: italic;
}
.foot-l strong { font-style: normal; font-weight: 400; color: rgba(255,255,255,0.9); }
.foot-r { display: flex; flex-direction: column; gap: 0.35rem; text-align: right; }
.foot-r a {
  font-size: 0.82rem; color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.2s;
}
.foot-r a:hover { color: var(--bronze-l); }
.foot-divider {
  width: 1px; height: 40px; background: rgba(255,255,255,0.12); align-self: center;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.stagger > * { opacity: 0; transform: translateY(14px); transition: opacity 0.55s ease, transform 0.55s ease; }
.stagger.in > *:nth-child(1) { opacity:1; transform:none; transition-delay:0s; }
.stagger.in > *:nth-child(2) { opacity:1; transform:none; transition-delay:0.08s; }
.stagger.in > *:nth-child(3) { opacity:1; transform:none; transition-delay:0.16s; }
.stagger.in > *:nth-child(4) { opacity:1; transform:none; transition-delay:0.24s; }
.stagger.in > *:nth-child(5) { opacity:1; transform:none; transition-delay:0.32s; }
.stagger.in > *:nth-child(6) { opacity:1; transform:none; transition-delay:0.4s; }
.h1 { animation: fadeUp 0.8s 0.1s ease both; }
.h2 { animation: fadeUp 0.8s 0.2s ease both; }
.h3 { animation: fadeUp 0.8s 0.32s ease both; }
.h4 { animation: fadeUp 0.8s 0.14s ease both; }
.h5 { animation: fadeUp 0.8s 0.26s ease both; }

/* ── RESPONSIVE ── */
@media (max-width: 1120px) {
  .hero-inner { grid-template-columns: minmax(280px, 380px) 1fr minmax(260px, 340px); gap: 3rem; }
  .photo-frame img { max-width: min(360px, 100%); }
  .bar-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; justify-items: center; text-align: center; }
  .hero-photo-col { justify-self: center; }
  .photo-frame {
    width: fit-content;
    max-width: min(420px, 92vw);
    margin-left: auto;
    margin-right: auto;
    padding: 12px 12px 16px;
  }
  .photo-frame img {
    max-width: min(380px, 86vw);
  }
  .hero-eyebrow { justify-content: center; }
  .hero-bio { text-align: left; }
  .hero-inner > div:not(.hero-photo-col) { max-width: 40rem; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .stat-cell:nth-child(2) { border-right: none; }
  .stat-cell:nth-child(3),
  .stat-cell:nth-child(4) { border-top: 1px solid var(--border); }
  .stat-cell:nth-child(4) { border-right: none; }
  .practice-grid { grid-template-columns: 1fr 1fr; }
  .research-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .career-grid, .edu-split { grid-template-columns: 1fr; }
  .citem { border-right: none !important; }
  .affil-row {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .affil-label {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-right: 0;
    padding-bottom: 0.75rem;
    align-self: center;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
  }
  .affil-list {
    justify-content: center;
    gap: 0.85rem;
    min-width: 0;
  }
  .affil-item {
    flex: 1 1 calc(50% - 0.5rem);
    max-width: none;
    min-width: 0;
  }
  .bar-grid { grid-template-columns: 1fr 1fr; }
  .pub-row { grid-template-columns: 3rem 1fr; }
  .pub-yr { display: none; }
  nav { padding: 0 4.5vw; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  footer { flex-direction: column; align-items: flex-start; }
  .foot-r { text-align: left; }
  .foot-divider { display: none; }
}

@media (max-width: 520px) {
  body { font-size: 17px; }
  nav { padding: 0 14px; }
  .nav-name { font-size: 1.05rem; }
  .pc-row { align-items: flex-start; }
}

@media (max-width: 420px) {
  nav .nav-name { display: none; }
  .practice-grid { grid-template-columns: 1fr; }
  .bar-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr; }
  .stat-cell { border-right: none; }
  .stat-cell + .stat-cell { border-top: 1px solid var(--border); }
  .pub-row { gap: 0 1rem; }
}
