/* ===========================================================================
   THE PNEI INSTITUTE — stylesheet
   A printed-document aesthetic: navy and bone, a text serif for display type,
   hairline rules, square corners. Deliberately light-only.
   =========================================================================== */
:root{
  --navy:#16283f; --deep:#0d1a2b; --bone:#faf8f3; --warm:#f4efe4;
  --sand:#e7dfcd; --gold:#b08d4f; --goldp:#e3d3ae; --golddeep:#8a6c34;
  --ink:#1f2a37; --soft:#4d5b6b; --faint:#7d8b99;
  color-scheme:light;
}
*,*::before,*::after{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;}
body{
  margin:0; background:var(--bone); color:var(--ink);
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:16px; line-height:1.6; -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{
  font-family:"Source Serif 4",Georgia,"Times New Roman",serif;
  color:var(--navy); margin:0; font-weight:600; letter-spacing:-.005em; line-height:1.16;
}
p,ul,ol,dl,dd,dt,figure{margin:0;padding:0;}
ul,ol{list-style:none;}
a{color:inherit;text-decoration:none;}
img,svg{max-width:100%;}
:focus-visible{outline:2px solid var(--gold);outline-offset:3px;}

/* Inline links inside running copy must still look like links. Navigation,
   buttons and the wordmark opt out by carrying their own classes. */
.body a,.lede a,.small a,.disclosure a,.list a{
  color:var(--golddeep);text-decoration:underline;text-underline-offset:2px;
  text-decoration-thickness:1px;text-decoration-color:rgba(176,141,79,.5);
}
.body a:hover,.lede a:hover,.small a:hover,.disclosure a:hover,.list a:hover{
  color:var(--navy);text-decoration-color:var(--navy);
}
.band--navy .body a,.band--navy .lede a,.band--navy .list a,.band--navy .disclosure a,
.band--deep .body a,.band--deep .lede a,.band--deep .list a,.band--deep .disclosure a{
  color:var(--goldp);text-decoration-color:rgba(227,211,174,.5);
}
.band--navy .body a:hover,.band--navy .lede a:hover,.band--navy .list a:hover,.band--navy .disclosure a:hover,
.band--deep .body a:hover,.band--deep .lede a:hover,.band--deep .list a:hover,.band--deep .disclosure a:hover{
  color:#fff;text-decoration-color:#fff;
}

/* Skip link — visible only when focused by keyboard. */
.skip{position:absolute;left:-9999px;top:0;z-index:10;}
.skip:focus{left:8px;top:8px;background:var(--gold);color:var(--deep);padding:12px 20px;
  font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.18em;}

/* --- layout ------------------------------------------------------------- */
.wrap{max-width:1080px;margin:0 auto;padding:0 24px;}
.band{padding:72px 0;}
.band--warm{background:var(--warm);}
.band--navy{background:var(--navy);color:rgba(250,248,243,.75);}
.band--deep{background:var(--deep);color:rgba(250,248,243,.75);}
.band--navy h1,.band--navy h2,.band--navy h3,
.band--deep h1,.band--deep h2,.band--deep h3{color:#fff;}
.grid{display:grid;gap:56px;}
.measure{max-width:64ch;}
@media(min-width:900px){
  .grid--2{grid-template-columns:1fr 1fr;}
  .grid--side{grid-template-columns:.8fr 1.4fr;}
  .grid--hero{grid-template-columns:1.4fr auto;align-items:center;}
}

/* --- masthead ----------------------------------------------------------- */
.util{background:var(--deep);}
.util .wrap{display:flex;align-items:center;justify-content:space-between;min-height:36px;
  flex-wrap:wrap;gap:4px 16px;}
.util__tag{font-size:9.5px;color:rgba(250,248,243,.55);}
.util__links{display:flex;gap:24px;}
.util a{font-size:9.5px;color:var(--goldp);}
.util a:hover{color:#fff;}
/* `.label` is declared later at equal specificity, so this needs two classes
   to win, or the strapline stays visible and crowds the utility links. */
@media(max-width:700px){.util .util__tag{display:none;}}

.plate-bar{background:var(--bone);border-bottom:1px solid var(--sand);}
.plate-bar .wrap{display:flex;align-items:center;justify-content:space-between;padding-top:16px;padding-bottom:16px;}
.wordmark{display:flex;align-items:center;gap:16px;}
.wordmark__name{font-family:"Source Serif 4",Georgia,serif;font-size:23px;font-weight:600;color:var(--navy);letter-spacing:-.01em;line-height:1;}
.wordmark__sub{font-size:9px;color:var(--golddeep);margin-top:6px;}

.navbar{background:var(--navy);border-bottom:2px solid var(--gold);}
.nav{display:flex;gap:36px;}
.nav a{display:block;padding:15px 0;font-size:10.5px;color:rgba(250,248,243,.75);border-bottom:2px solid transparent;margin-bottom:-2px;}
.nav a:hover{color:#fff;border-bottom-color:rgba(176,141,79,.6);}
.nav a[aria-current="page"]{color:#fff;border-bottom-color:var(--gold);}
.nav-toggle{display:none;background:none;border:1px solid var(--sand);padding:9px 11px;cursor:pointer;color:var(--navy);}
@media(max-width:899px){
  .nav-toggle{display:block;}
  .nav{display:none;flex-direction:column;gap:0;padding-bottom:6px;}
  .nav[data-open="true"]{display:flex;}
  .nav a{padding:13px 0;border-bottom:1px solid rgba(255,255,255,.1);margin-bottom:0;}
}

/* --- type --------------------------------------------------------------- */
.label{text-transform:uppercase;letter-spacing:.18em;font-weight:600;font-size:10.5px;color:var(--golddeep);display:block;}
.band--navy .label,.band--deep .label,.util .label{color:var(--goldp);}
.h1{font-size:clamp(34px,5vw,52px);margin-top:22px;}
.h2{font-size:clamp(27px,3.4vw,38px);margin-top:12px;}
.h3{font-size:21px;}
.lede{font-size:17.5px;line-height:1.78;color:var(--soft);margin-top:26px;max-width:62ch;}
.band--navy .lede,.band--deep .lede{color:rgba(250,248,243,.72);}
.body{font-size:16.5px;line-height:1.8;margin-top:22px;}
.band--navy .body,.band--deep .body{color:rgba(250,248,243,.75);}
.small{font-size:13.5px;line-height:1.8;color:var(--faint);}

/* --- components --------------------------------------------------------- */
.rule{border-top:1px solid var(--sand);box-shadow:0 3px 0 -2px var(--gold);margin:0;}
.plate{border:1px solid var(--sand);background:#fff;padding:30px;}
.band--navy .plate,.band--deep .plate{border-color:rgba(255,255,255,.15);background:rgba(255,255,255,.04);color:rgba(250,248,243,.75);}
.num{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;
  border:1px solid rgba(176,141,79,.45);font-family:"Source Serif 4",Georgia,serif;
  font-size:15px;font-weight:600;color:var(--golddeep);flex:none;}
.band--navy .num,.band--deep .num{border-color:rgba(227,211,174,.5);color:var(--goldp);}
.head-row{display:flex;gap:16px;align-items:center;}
.list li{display:flex;gap:12px;font-size:15px;line-height:1.7;color:var(--soft);padding:5px 0;}
.list li::before{content:"";width:3px;height:3px;background:var(--gold);margin-top:11px;flex:none;}
.band--navy .list li,.band--deep .list li{color:rgba(250,248,243,.75);}
.rows > *{border-top:1px solid var(--sand);padding:26px 0;}
.band--navy .rows > *,.band--deep .rows > *{border-top-color:rgba(255,255,255,.15);}
.fact{border-top:1px solid var(--sand);padding:15px 0;}
.band--navy .fact,.band--deep .fact{border-top-color:rgba(255,255,255,.15);}
.fact dt{text-transform:uppercase;letter-spacing:.18em;font-weight:600;font-size:9.5px;color:var(--faint);}
.band--navy .fact dt,.band--deep .fact dt{color:var(--goldp);}
.fact dd{font-size:15px;margin-top:6px;line-height:1.5;}
.band--navy .fact dd,.band--deep .fact dd{color:#fff;}

/* --- the seal ----------------------------------------------------------
   One fixed image (the gilt P) rather than the recoloured inline SVG it
   replaced. width/height are set per use in the markup.

   The artwork arrives on a square of tan parchment; tools/genicons.py keys
   that ground out and trims to the letterform, so what ships is the P alone
   on transparency. It therefore needs no plate behind it and no
   border-radius here - it sits directly on the bone masthead and on the
   navy footer and hero, reading as gilt on each.                         */
.seal{display:block;flex:none;height:auto;}

/* --- front-page proof strip --------------------------------------------
   Figures are set in the markup, not here. See the comment above the
   strip in index.html before changing any number.                        */
.proof{display:grid;margin-top:36px;}
/* one equal column per item, whatever the count — so adding or removing
   a .proof__item needs no change here */
@media(min-width:900px){.proof{grid-auto-flow:column;grid-auto-columns:1fr;}}
.proof__item{border-top:1px solid var(--sand);padding:22px 0;}
@media(min-width:900px){
  .proof__item{border-top:none;border-left:1px solid var(--sand);padding:2px 30px;}
  .proof__item:first-child{border-left:none;padding-left:0;}
  .proof__item:last-child{padding-right:0;}
}
.proof__fig{font-family:"Source Serif 4",Georgia,serif;font-size:36px;line-height:1.05;
  font-weight:600;color:var(--navy);letter-spacing:-.015em;}
.proof__stars{color:var(--gold);font-size:14px;letter-spacing:.14em;margin-bottom:6px;}
.proof__of{font-size:19px;font-weight:400;color:var(--faint);letter-spacing:0;}
.proof__lab{display:block;margin-top:12px;text-transform:uppercase;letter-spacing:.18em;
  font-weight:600;font-size:9.5px;color:var(--faint);}
.proof__note{margin-top:9px;font-size:13px;line-height:1.65;color:var(--soft);max-width:38ch;}

/* --- board member: portrait beside the bio ------------------------------ */
.member{display:grid;gap:30px;border-top:1px solid var(--sand);padding-top:28px;}
@media(min-width:900px){.member{grid-template-columns:300px 1fr;gap:44px;align-items:start;}}
.member__photo{margin:0;}
.member__photo img{display:block;width:100%;height:auto;border:1px solid var(--sand);}
.member__photo figcaption{margin-top:10px;}

.btn{display:inline-block;border:1px solid var(--navy);background:var(--navy);color:#fff;
  padding:14px 28px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.18em;
  transition:background .15s,color .15s;cursor:pointer;}
.btn:hover{background:var(--deep);color:#fff;}
.btn--gold{background:var(--gold);border-color:var(--gold);color:var(--deep);}
.btn--gold:hover{background:var(--goldp);border-color:var(--goldp);color:var(--deep);}
.btn--ghost{background:transparent;border-color:rgba(255,255,255,.35);color:var(--bone);}
.btn--ghost:hover{background:#fff;color:var(--navy);}
.actions{margin-top:34px;display:flex;flex-wrap:wrap;gap:14px;}

.disclosure{border-left:2px solid var(--gold);padding:4px 0 4px 20px;margin-top:30px;font-size:14px;line-height:1.75;color:var(--soft);}
.band--navy .disclosure,.band--deep .disclosure{color:rgba(250,248,243,.7);}
.todo{background:#fef3c7;border:1px solid #f59e0b;color:#78350f;padding:1px 7px;font-weight:600;font-size:.95em;}

/* --- footer ------------------------------------------------------------- */
.site-footer{background:var(--deep);color:rgba(250,248,243,.6);padding-top:64px;}
.site-footer h2,.site-footer h3{color:#fff;}
.footer-grid{display:grid;gap:48px;}
@media(min-width:900px){.footer-grid{grid-template-columns:1.5fr 1fr 1fr;}}
.site-footer a{font-size:14px;color:rgba(250,248,243,.7);}
.site-footer a:hover{color:#fff;}
.footer-links li{padding:6px 0;}
.footer-note{border-top:1px solid rgba(255,255,255,.12);margin-top:56px;padding:36px 0;}
.footer-note p{font-size:12.5px;line-height:1.8;color:rgba(250,248,243,.45);max-width:80ch;margin-top:12px;}
.footer-base{border-top:1px solid rgba(255,255,255,.12);padding:28px 0;display:flex;flex-wrap:wrap;
  gap:8px;justify-content:space-between;font-size:12px;color:rgba(250,248,243,.4);}

@media(max-width:899px){.band{padding:56px 0;}}
@media print{
  .util,.navbar,.nav-toggle{-webkit-print-color-adjust:exact;print-color-adjust:exact;}
  *{-webkit-print-color-adjust:exact;print-color-adjust:exact;}
}
