/* =========================================================
   Alumni giving site — single stylesheet, no JavaScript.
   Type: Source Serif 4 (headings) + Inter (text), self-hosted, OFL.
   Colour: ink navy fields, warm cream, white; ONE accent (clay) for giving.
   ========================================================= */

@font-face{font-family:"Source Serif 4";src:url("/assets/fonts/source-serif-4-var.woff2") format("woff2");font-weight:400 700;font-style:normal;font-display:swap}
@font-face{font-family:"Inter";src:url("/assets/fonts/inter-var.woff2") format("woff2");font-weight:400 700;font-style:normal;font-display:swap}

:root{
  --ink:#0f2240;        /* deep navy fields, headings */
  --ink-2:#18305a;
  --ink-deep:#0a182e;   /* footer */
  --text:#1f2733;
  --muted:#5b6574;
  --cream:#f6f1e9;
  --cream-2:#efe7da;
  --paper:#ffffff;
  --line:#e3dbcd;
  --clay:#b0502a;       /* the one giving colour */
  --clay-dark:#8f3f1f;
  --peach:#e7b48f;      /* accent on dark backgrounds */
  --serif:"Source Serif 4",Georgia,"Times New Roman",serif;
  --sans:"Inter",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --radius:14px;
  --wrap:1160px;
  /* theme hooks (overridden by assets/themes/*.css) */
  --btn-radius:10px;
  --hero-bg:radial-gradient(1200px 600px at 85% 0%,rgba(231,180,143,.13),transparent 60%),radial-gradient(900px 500px at 0% 100%,rgba(24,48,90,.9),transparent 70%),var(--ink);
  --hero-text:#fff;
  --hero-sub:rgba(255,255,255,.82);
  --hero-trust:rgba(255,255,255,.7);
  --hero-eyebrow:var(--peach);
  --hero-focus:#fff;
  --pattern-color:var(--peach);
  --pattern-opacity:.32;
  --mark-bg:#0f2240;
  --mark-fg:#e7b48f;
  --closing-bg:var(--clay);
  --heading-weight:600;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:88px}
body{margin:0;font-family:var(--sans);font-size:1.0625rem;line-height:1.65;color:var(--text);background:var(--paper);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
img{max-width:100%;height:auto;display:block}
a{color:var(--clay-dark);text-underline-offset:.18em;text-decoration-thickness:1px}
a:hover{color:var(--clay)}
:focus-visible{outline:3px solid var(--clay-dark);outline-offset:3px;border-radius:4px}
/* dark sections: white focus ring (>=3:1 against every dark background in all themes) */
.hero :focus-visible{outline-color:var(--hero-focus)}
.hero .give-card :focus-visible{outline-color:var(--clay-dark)}
.band-ink :focus-visible,.way-primary :focus-visible,.closing :focus-visible,.site-footer :focus-visible{outline-color:#fff}
h1,h2,h3{font-family:var(--serif);color:var(--ink);font-weight:var(--heading-weight);margin:0;font-optical-sizing:auto}
h2{font-size:clamp(2rem,3.6vw,2.9rem);line-height:1.1;letter-spacing:-.015em}
h3{font-size:1.35rem;line-height:1.25;letter-spacing:-.005em}
p{margin:0 0 1rem}
address{font-style:normal}
a[href^="mailto:"]{overflow-wrap:anywhere}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 1.5rem}
.narrow > *{max-width:860px}
.muted{color:var(--muted)}
.visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:1rem;top:-3rem;background:var(--ink);color:#fff;padding:.6rem 1rem;border-radius:8px;z-index:100}
.skip:focus{top:1rem;color:#fff}
.eyebrow{font-family:var(--sans);font-size:.78rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--clay-dark);margin:0 0 1rem}
.eyebrow-light{color:var(--hero-eyebrow)}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;font-family:var(--sans);font-weight:600;font-size:1rem;line-height:1;text-decoration:none;border-radius:var(--btn-radius);padding:1rem 1.5rem;min-height:52px;border:1.5px solid transparent;transition:background-color .15s ease,border-color .15s ease,color .15s ease}
.btn-clay{background:var(--clay);color:#fff}
.btn-clay:hover{background:var(--clay-dark);color:#fff}
.btn-light{background:#fff;color:var(--ink)}
.btn-light:hover{background:var(--cream);color:var(--ink)}
.btn-outline{background:transparent;color:var(--ink);border-color:var(--ink)}
.btn-outline:hover{background:var(--ink);color:#fff}
.btn-sm{min-height:42px;padding:.7rem 1.15rem;font-size:.95rem;border-radius:var(--btn-radius)}
.btn-block{display:flex;width:100%}
.text-link{font-weight:600;text-decoration:none;color:var(--clay-dark)}
.text-link:hover{text-decoration:underline}

/* ---------- header ---------- */
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.94);border-bottom:1px solid var(--line);backdrop-filter:saturate(1.4) blur(8px)}
.header-row{display:flex;align-items:center;justify-content:space-between;gap:1.25rem;min-height:72px}
.brand{display:flex;align-items:center;gap:.7rem;text-decoration:none;color:var(--ink);min-width:0}
.brand:hover{color:var(--ink)}
.brand-mark{width:34px;height:34px;flex:none}
.brand-mark rect{fill:var(--mark-bg)}
.brand-mark path{stroke:var(--mark-fg)}
.quote-mark path{fill:var(--peach)}
.brand-name{font-family:var(--serif);font-weight:600;font-size:1.15rem;line-height:1.15;letter-spacing:-.005em}
.nav{display:flex;align-items:center;gap:1.75rem}
.nav ul{display:none;list-style:none;margin:0;padding:0;gap:1.75rem}
.nav ul a{color:var(--text);text-decoration:none;font-size:.95rem;font-weight:500}
.nav ul a:hover{color:var(--clay-dark)}

/* ---------- hero ---------- */
.hero{position:relative;overflow:hidden;color:var(--hero-text);background:var(--hero-bg)}
.hero::after{content:"";position:absolute;inset:auto -60px -40px auto;width:640px;height:320px;background:var(--pattern-color);-webkit-mask:url("/assets/img/zigzag.svg") no-repeat right bottom/contain;mask:url("/assets/img/zigzag.svg") no-repeat right bottom/contain;opacity:var(--pattern-opacity);pointer-events:none}
.hero-grid{position:relative;z-index:1;display:grid;gap:2.5rem;padding-top:clamp(3.25rem,7vw,6.5rem);padding-bottom:clamp(3.5rem,7vw,6.5rem)}
.hero h1{color:var(--hero-text);font-size:clamp(2.5rem,5.4vw,4.2rem);line-height:1.04;letter-spacing:-.025em;font-weight:600;max-width:16ch;text-wrap:balance;margin-bottom:1.5rem}
.hero-sub{font-size:clamp(1.1rem,1.6vw,1.3rem);line-height:1.55;color:var(--hero-sub);max-width:34rem;margin-bottom:2rem}
.trust-list{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.5rem 1.25rem;font-size:.88rem;color:var(--hero-trust)}
.trust-list li{display:flex;align-items:center;gap:.5rem}
.trust-list li::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--peach)}

/* donate card */
.give-card{background:#fff;color:var(--text);border-radius:18px;padding:clamp(1.5rem,3vw,2.1rem);box-shadow:0 30px 60px -20px rgba(0,0,0,.45),0 0 0 1px rgba(255,255,255,.06);align-self:center;width:100%;max-width:440px}
.give-card-title{font-size:1.6rem;margin-bottom:.35rem}
.give-card-note{font-size:.92rem;color:var(--muted);margin-bottom:1.25rem}
.amounts{display:grid;grid-template-columns:1fr 1fr;gap:.75rem;margin-bottom:.9rem}
.amount{display:flex;align-items:center;justify-content:center;min-height:68px;border:1.5px solid var(--line);border-radius:12px;text-decoration:none;color:var(--ink);background:#fff;transition:border-color .15s ease,background-color .15s ease,transform .15s ease}
.amount:hover{border-color:var(--clay);background:var(--cream);color:var(--ink);transform:translateY(-1px)}
.amount-value{font-family:var(--serif);font-weight:600;font-size:1.6rem;letter-spacing:-.01em}
.assurances{list-style:none;margin:1.25rem 0 0;padding:1.1rem 0 0;border-top:1px solid var(--line);display:grid;gap:.55rem;font-size:.88rem;color:var(--muted)}
.assurances li{display:flex;align-items:center;gap:.6rem}
.assurances svg{width:16px;height:16px;flex:none;color:var(--clay-dark)}

/* ---------- bands ---------- */
.band{padding:clamp(4rem,8vw,7rem) 0}
.band-cream{background:var(--cream)}
.band-white{background:var(--paper)}
.band-ink{background:var(--ink);color:#fff}
.section-head{max-width:720px;margin-bottom:clamp(2.25rem,4vw,3.25rem)}

/* mission statement */
.statement{font-family:var(--serif);font-size:clamp(1.65rem,3vw,2.35rem);line-height:1.3;letter-spacing:-.01em;color:var(--ink);font-weight:400;margin:0}
.zig{display:block;width:96px;height:20px;margin-top:2rem;background:var(--clay);-webkit-mask:url("/assets/img/zig-mark.svg") no-repeat left center/contain;mask:url("/assets/img/zig-mark.svg") no-repeat left center/contain}

/* split layout: sticky heading + content */
.split{display:grid;gap:2.5rem}
.split-head .muted{margin-top:1rem;max-width:26rem}
.split-head h2{margin-bottom:.25rem}

/* where donations go: the 45-degree Zia, one purpose at the end of each ray group.
   .purpose-list is display:contents, so its four items and the Zia share one grid. */
.impact-head{max-width:40rem;margin:0 auto clamp(2rem,4vw,3rem);text-align:center}
.impact-head h2{text-wrap:balance}
.impact-head .muted{margin:1rem 0 .75rem}
.purposes{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem 1.5rem;grid-template-areas:"tl tr" "z z" "bl br"}
.purpose-list{display:contents;list-style:none}
.zia{grid-area:z;width:min(220px,62vw);height:auto;justify-self:center;color:var(--clay);display:block}
.purpose{min-width:0;display:flex;flex-direction:column}
/* each purpose carries one program photo (Dr. Shetty's picks, Dec 2026): above the text in the top row, below it in the
   bottom row, so the photos sit at the outer corners; the photo hugs the same side as the text */
.purpose-photo{margin:0 0 1rem;width:100%;max-width:340px;align-self:flex-start}
.purpose-photo img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:var(--radius);background:var(--cream-2)}
.purpose-photo figcaption{font-size:.8rem;line-height:1.4;color:var(--muted);margin-top:.45rem}
.purpose-bl .purpose-photo,.purpose-br .purpose-photo{order:2;margin:1rem 0 0}
.purpose-tr .purpose-photo,.purpose-br .purpose-photo{align-self:flex-end}
.purpose h3{font-size:1.15rem;margin-bottom:.35rem}
.purpose p{margin:0;color:var(--muted);font-size:.95rem;line-height:1.5}
.purpose-tl{grid-area:tl;align-self:start}
.purpose-tr{grid-area:tr;align-self:start;text-align:right}
.purpose-bl{grid-area:bl;align-self:end}
.purpose-br{grid-area:br;align-self:end;text-align:right}
@media (min-width:640px){
  .purposes{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);grid-template-rows:1fr 1fr;gap:2rem 1.5rem;grid-template-areas:"tl z tr" "bl z br"}
  .zia{width:260px;align-self:center}
  .purpose-tl,.purpose-bl{text-align:right}
  .purpose-tr,.purpose-br{text-align:left}
  .purpose-tl .purpose-photo,.purpose-bl .purpose-photo{align-self:flex-end}
  .purpose-tr .purpose-photo,.purpose-br .purpose-photo{align-self:flex-start}
  .purpose-tl,.purpose-tr{align-self:start}
  .purpose-bl,.purpose-br{align-self:end}
}
@media (min-width:900px){
  .purposes{gap:3rem 2.25rem}
  .zia{width:400px}
  .purpose h3{font-size:1.5rem}
  .purpose p{font-size:1.0625rem;line-height:1.6}
}

/* pull quote */
.pullquote{margin:0}
.quote-mark{width:52px;height:39px;margin-bottom:1.75rem}
.pullquote blockquote{margin:0 0 2rem}
.pullquote blockquote p{font-family:var(--serif);font-size:clamp(1.55rem,2.8vw,2.2rem);line-height:1.35;letter-spacing:-.01em;color:#fff;margin:0}
.pullquote figcaption{display:flex;flex-direction:column;gap:.15rem;padding-left:1rem;border-left:2px solid var(--peach)}
.fig-name{font-weight:600;color:#fff}
.fig-role{font-size:.92rem;color:rgba(255,255,255,.7)}

/* alumni */
.alumni{list-style:none;margin:0;padding:0;display:grid;gap:2rem}
.alum{display:flex;flex-direction:column}
.alum img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:var(--radius);background:var(--cream-2)}
.alum-body{padding-top:1.25rem}
.alum-class{font-size:.78rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--clay-dark);margin-bottom:.4rem}
.alum h3{font-size:1.45rem;margin-bottom:.3rem}
.alum-practice{color:var(--muted);margin-bottom:1rem}
.alum-quote{margin:0;padding-left:1rem;border-left:2px solid var(--peach)}
.alum-quote p{font-family:var(--serif);font-size:1.08rem;line-height:1.5;color:var(--text);margin:0}

/* suggested amounts (information only: the amount is chosen on the Zeffy form) */
.suggested-label{font-size:.74rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin:0 0 .35rem}
.any-amount{font-size:.92rem;color:var(--muted);margin:-.5rem 0 1.1rem}
.give-secure{display:flex;align-items:center;justify-content:center;gap:.45rem;margin:.7rem 0 0;font-size:.88rem;font-weight:500;color:var(--text)}
.give-secure svg{width:15px;height:15px;flex:none;color:var(--clay-dark)}
.zeffy-note{margin:.6rem 0 0;font-size:.8rem;line-height:1.5;color:var(--muted);text-align:center}

/* mission band with a feature photo */
.mission-grid{display:grid;gap:2.5rem;align-items:center}
.mission-copy{min-width:0;max-width:860px}
.mission-photo{margin:0;min-width:0}
.mission-photo img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--radius);background:var(--cream-2)}
.mission-photo figcaption{font-size:.9rem;line-height:1.45;color:var(--muted);margin-top:.65rem}

/* program director: portrait beside the message */
.pd-grid{display:grid;gap:1.75rem;justify-items:start}
.pd-portrait{width:112px;height:112px;border-radius:50%;object-fit:cover;border:3px solid var(--peach)}
.pd-grid .pullquote{min-width:0;max-width:860px}
.suggested{display:flex;flex-wrap:wrap;gap:.4rem .9rem;margin:0 0 1.1rem;font-family:var(--serif);font-weight:600;font-size:1.3rem;color:var(--ink)}
.suggested span+span::before{content:"\00b7";margin-right:.9rem;color:var(--line)}
.suggested-key{color:var(--clay-dark)}

/* board line under the mission */
.board{margin:1.75rem 0 0;font-size:.98rem;color:var(--muted);line-height:1.7}
.board-label{display:block;font-size:.74rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--clay-dark);margin-bottom:.2rem}

/* residents */
.residents{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,1fr);gap:1.75rem 1.25rem}
.residents li{display:flex;flex-direction:column;align-items:center;text-align:center;gap:.7rem}
.residents img{width:100%;max-width:160px;aspect-ratio:1;object-fit:cover;border-radius:50%;background:var(--cream-2)}
.residents span{font-family:var(--serif);font-weight:600;font-size:1.08rem;color:var(--ink);line-height:1.25}

/* ways to give */
.ways{display:grid;gap:1rem}
.way{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.75rem;display:flex;flex-direction:column}
.way h3{margin-bottom:.6rem}
.way p,.way address{color:var(--muted);font-size:.98rem}
.way strong{color:var(--text);font-weight:600}
.way .mono{font-variant-numeric:tabular-nums;color:var(--text);font-weight:500}
.way-primary{background:var(--ink);border-color:var(--ink)}
.way-primary h3{color:#fff}
.way-primary p{color:rgba(255,255,255,.78)}
.way-primary .btn{margin-top:auto;align-self:flex-start}

/* FAQ */
.faq{border-bottom:1px solid var(--line)}
.faq details{border-top:1px solid var(--line)}
.faq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1.35rem 0;font-family:var(--serif);font-size:1.22rem;font-weight:600;color:var(--ink)}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"";flex:none;width:14px;height:14px;background:
  linear-gradient(var(--clay),var(--clay)) center/14px 2px no-repeat,
  linear-gradient(var(--clay),var(--clay)) center/2px 14px no-repeat;transition:transform .2s ease}
.faq details[open] summary::after{transform:rotate(45deg)}
.faq summary:hover{color:var(--clay-dark)}
.faq details p{margin:0;padding:0 2.5rem 1.5rem 0;color:var(--muted);max-width:40rem}

/* closing call to action */
.closing{background:var(--closing-bg);color:#fff;padding:clamp(3.5rem,6vw,5rem) 0}
.closing-row{display:flex;flex-direction:column;align-items:flex-start;gap:1.75rem}
.closing h2{color:#fff;font-size:clamp(1.85rem,3.4vw,2.7rem);max-width:22ch}

/* footer */
.site-footer{background:var(--ink-deep);color:rgba(255,255,255,.72);font-size:.92rem;padding:4rem 0 0}
.site-footer a{color:#fff}
.site-footer a:hover{color:var(--peach)}
.footer-grid{display:grid;gap:2.5rem;padding-bottom:3rem}
.footer-name{font-family:var(--serif);font-size:1.2rem;font-weight:600;color:#fff;margin-bottom:.75rem}
.footer-ein{margin-top:.75rem;font-variant-numeric:tabular-nums}
.footer-links{list-style:none;margin:0;padding:0;display:grid;gap:.6rem}
.footer-links a{text-decoration:none}
.footer-legal p{font-size:.85rem;line-height:1.6}
.footer-base{border-top:1px solid rgba(255,255,255,.12);padding-top:1.25rem;padding-bottom:1.5rem;font-size:.82rem}
.footer-base p{margin:0}

/* ---------- secondary pages (privacy, 404) ---------- */
.page-head{background:var(--cream);padding:clamp(3rem,6vw,4.5rem) 0}
.page-head h1{font-size:clamp(2.4rem,5vw,3.4rem);line-height:1.05;letter-spacing:-.02em}
.page-head p{margin:1rem 0 0;color:var(--muted)}
.prose{padding-top:3rem;padding-bottom:4.5rem}
.prose > *{max-width:720px}
.prose h2{font-size:1.6rem;margin:2.5rem 0 .75rem}
.prose ul{padding-left:1.2rem}
.prose li{margin-bottom:.4rem}
.error-page{min-height:60vh;display:flex;align-items:center;background:var(--cream)}
.error-page .wrap{width:100%;padding-top:4rem;padding-bottom:4rem}
.error-page h1{font-size:clamp(2.6rem,6vw,4rem);line-height:1.05;letter-spacing:-.02em;max-width:16ch;margin-bottom:1rem}
.error-page .lead{font-size:1.2rem;color:var(--muted);margin-bottom:2rem}
.actions{display:flex;flex-wrap:wrap;gap:.75rem}

/* ---------- sticky give bar (phones) ---------- */
.give-bar{display:none}

/* ---------- responsive ---------- */
@media (max-width:719px){
  body{padding-bottom:84px}
  /* keep keyboard focus clear of the fixed give bar (WCAG 2.4.11) */
  html{scroll-padding-bottom:96px}
  .nav .btn{display:none}
  .header-row{min-height:62px}
  .brand-name{font-size:1.02rem}
  .give-bar{display:block;position:fixed;left:0;right:0;bottom:0;z-index:60;background:rgba(255,255,255,.96);border-top:1px solid var(--line);padding:.7rem 1rem calc(.7rem + env(safe-area-inset-bottom));backdrop-filter:blur(8px)}
  .hero::after{width:420px;height:210px}
  .give-card{max-width:none}
}
@media (min-width:640px){
  .alumni{grid-template-columns:1fr 1fr}
  .ways{grid-template-columns:1fr 1fr}
  .residents{grid-template-columns:repeat(3,1fr)}
  .closing-row{flex-direction:row;align-items:center;justify-content:space-between}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media (min-width:900px){
  .nav ul{display:flex}
  .hero-grid{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);align-items:center;gap:4rem}
  .give-card{justify-self:end}
  .split{grid-template-columns:minmax(0,.85fr) minmax(0,1.6fr);gap:4rem}
  .split-head{position:sticky;top:110px;align-self:start}
  .mission-grid{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:4rem}
  .pd-grid{grid-template-columns:200px minmax(0,1fr);gap:3.5rem;align-items:center}
  .pd-portrait{width:200px;height:200px}
  .alumni{grid-template-columns:repeat(3,1fr);gap:2.5rem}
  .residents{grid-template-columns:repeat(6,1fr)}
  .footer-grid{grid-template-columns:1.2fr .8fr 1.6fr;gap:3rem}
}
@media (min-width:1040px){
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition:none!important}
}
@media print{
  .site-header,.give-bar,.closing{display:none}
  .hero{background:none;color:#000}
  .hero h1,.hero-sub{color:#000}
}

/* ---------- phone/tablet menu (below 900px; native popover, no JS) ----------
   The header is sticky, so Menu is always in reach. The list opens in place just under the header and closes on Menu,
   Close, a tap outside it, or Escape; /assets/menu.js also closes it after a section link or once the page scrolls.
   Browsers without popover support never show the Menu button. */
.menu-link{display:none}
.menu-panel:not(:popover-open){display:none}
@supports selector(:popover-open){
  @media (max-width:899px){
    .menu-link{display:inline-flex;align-items:center;gap:.45rem;min-height:44px;padding:0 .95rem;border:1px solid var(--line);border-radius:999px;background:var(--paper);color:var(--ink);font:inherit;font-size:.95rem;font-weight:600;cursor:pointer;flex:none}
    .menu-link svg{width:18px;height:18px}
    .menu-link:hover{color:var(--clay-dark)}
    .menu-panel{position:fixed;inset:73px 0 auto 0;width:auto;max-height:calc(100dvh - 73px);overflow-y:auto;margin:0;border:0;border-bottom:1px solid var(--line);background:var(--paper);color:var(--text);box-shadow:0 18px 32px rgba(15,34,64,.18);padding:.25rem 1.5rem 1.1rem;overscroll-behavior:contain}
    .menu-panel::backdrop{background:rgba(15,34,64,.28)}
    .menu-panel ul{list-style:none;margin:0;padding:0}
    .menu-panel li a{display:block;padding:.85rem 0;border-bottom:1px solid var(--line);color:var(--ink);text-decoration:none;font-family:var(--serif);font-size:1.2rem;font-weight:600}
    .menu-panel li a:hover{color:var(--clay-dark)}
    .menu-close{margin-top:.9rem;padding:.6rem 0;min-height:44px;border:0;background:none;color:var(--muted);font:inherit;font-weight:500;text-decoration:underline;text-underline-offset:.18em;cursor:pointer}
  }
  @media (max-width:719px){.menu-panel{inset:63px 0 auto 0;max-height:calc(100dvh - 63px - 84px)}}
}

/* ---------- phones: compact alumni + residents ---------- */
@media (max-width:639px){
  .alumni{gap:1.5rem}
  .alum{flex-direction:row;align-items:center;gap:1.1rem}
  .alum img{width:96px;height:96px;flex:none;aspect-ratio:1;border-radius:50%;object-position:50% 22%}
  .alum-body{padding-top:0;min-width:0;overflow-wrap:anywhere}
  .alum h3{font-size:1.2rem}
  .alum-practice{margin-bottom:0;font-size:.97rem;line-height:1.5}
  .residents{grid-template-columns:repeat(3,1fr);gap:1.4rem .75rem}
  .residents img{max-width:92px}
  .residents span{font-size:.95rem}
}
@media print{.menu-link,.menu-panel{display:none}}

/* ---------- mailing address (check card): one address line per row; a long line wraps with a hanging indent ---------- */
.mail-address{margin-top:.35rem;padding-left:1rem;border-left:3px solid var(--line);line-height:1.5}
.way .mail-address{color:var(--text)}
.mail-address span{display:block;padding-left:1em;text-indent:-1em}

/* ---------- residents grouped by PGY year: one column per year (3 across on phones/tablets, 6 on laptops) ---------- */
.resident-years{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2.25rem 1rem}
.pgy-label{font-family:var(--sans);font-size:.78rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--clay-dark);text-align:center;padding-bottom:.6rem;margin-bottom:1.1rem;border-bottom:1px solid var(--line)}
.resident-years .residents{grid-template-columns:1fr;gap:1.5rem}
@media (min-width:900px){.resident-years{grid-template-columns:repeat(6,minmax(0,1fr));gap:2rem 1.25rem}}
@media (max-width:639px){.resident-years .residents img{max-width:92px}}
