/* ============================================================================
   Peak Academics — the long-form pages.

   Everything above the "long-form" divider is lifted verbatim from index.html so
   the header, the footer, the type scale and the one fade-up motion are the SAME
   rules, not a lookalike. index.html and privacy.html keep their own inline
   sheets on purpose (the homepage is the money page and privacy.html is a legal
   document — neither should move because a third page was added), so when a
   token changes on the homepage it has to be changed here too. That duplication
   is deliberate and small; the alternative was refactoring a live client
   homepage to add a blog.

   The page structure follows the homepage's one real structural idea: light
   panels lifted over a still dark ground. Dark hero, light panel with rounded
   shoulders and a shadow above it, a dark band for the one pull quote, footer.
   ========================================================================== */

/* ---------------------------------------------------------------- shared chrome */
:root{
  --ink:#0B0F13;--slate:#5C838D;--deep:#4D6D75;--sage:#8DA665;
  --mist:#EDF1F4;--night:#283645;--line:#BBC9D8;
  --paper:#F7F9FA;--abyss:#0D131A;
  --serif:'Newsreader',Georgia,serif;--sans:'Hanken Grotesk',system-ui,sans-serif;
  --maxw:1220px;--pad:clamp(20px,4vw,52px);
  --ease:cubic-bezier(.32,.72,0,1);
  --rad:clamp(22px,3vw,34px);
  --hdr:70px;
}
*{box-sizing:border-box;margin:0}
html{scroll-behavior:smooth;scroll-padding-top:calc(var(--hdr) + 18px)}
body{font-family:var(--sans);color:var(--ink);background:var(--abyss);line-height:1.65;-webkit-font-smoothing:antialiased;overflow-x:clip}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font-family:inherit}
::selection{background:var(--sage);color:#fff}
.wrap{max-width:var(--maxw);margin:0 auto;padding-left:var(--pad);padding-right:var(--pad)}
h1,h2,h3{font-family:var(--serif);font-weight:300;line-height:1.06;letter-spacing:-.02em}
h2 em,h1 em{font-style:italic}
.eyebrow{display:flex;align-items:center;gap:10px;font-size:11px;font-weight:700;letter-spacing:.24em;text-transform:uppercase;color:var(--deep)}
.eyebrow .cres{width:14px;height:18px;flex:none}
.on-dark .eyebrow{color:var(--sage)}

.btn{display:inline-flex;align-items:center;gap:10px;font-weight:600;font-size:15px;padding:16px 30px;border-radius:100px;border:0;cursor:pointer;transition:background .25s,color .25s,border-color .25s;letter-spacing:.01em}
.btn-ink{background:var(--ink);color:#fff}.btn-ink:hover{background:var(--night)}
/* Ink on the sage, not white: white is 2.70:1 and fails AA, which matters more than usual on a
   site built for students who process text differently. Ink is 5.94:1 at her approved green. */
.btn-sage{background:var(--sage);color:#1B2415}.btn-sage:hover{background:#9BB473}
.btn .arr{transition:transform .3s var(--ease)}.btn:hover .arr{transform:translateX(4px)}

/* the only scroll motion: one soft fade-up, once, on first sight */
.up{opacity:0;transform:translateY(16px);transition:opacity .7s var(--ease),transform .7s var(--ease)}
.up.in{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){
  .up{opacity:1!important;transform:none!important;transition:none}
  *,*::before,*::after{animation:none!important;transition-duration:.01ms!important}
  html{scroll-behavior:auto}
}

main{position:relative;z-index:1}
.panel{position:relative;background:var(--paper);border-radius:var(--rad) var(--rad) 0 0;box-shadow:0 -30px 70px rgba(6,10,14,.4)}
.dark{position:relative;color:#fff;background:linear-gradient(180deg,#0D131A,#1b2531 52%,#0D131A)}
.sect{padding:clamp(84px,11vh,140px) 0}
.shead{max-width:900px;margin-bottom:clamp(40px,6vh,72px)}
.shead h2{font-size:clamp(36px,5vw,68px);margin-top:20px}
.shead .lede{margin-top:20px;font-size:17px;color:#42505c;max-width:54ch}
.on-dark .shead .lede{color:rgba(255,255,255,.72)}
.on-dark h2{color:#fff}.on-dark h2 em{color:var(--sage)}

/* ---- header: permanent. Same background at the top of the page and at the bottom. ---- */
header{position:fixed;top:0;left:0;right:0;z-index:80;padding:12px 0}
.nav{display:flex;align-items:center;justify-content:space-between;gap:14px;
  padding:8px 10px 8px 18px;border-radius:18px;
  background:rgba(13,19,26,.72);
  -webkit-backdrop-filter:blur(20px) saturate(170%);backdrop-filter:blur(20px) saturate(170%);
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 8px 28px rgba(6,10,14,.32)}
.nav .logo{height:31px;flex:none}.nav .logo img{height:100%;width:auto}
.nav ul{display:flex;gap:2px;list-style:none;align-items:center}
.nav ul a{color:#fff;font-size:14px;font-weight:500;opacity:.86;padding:9px 13px;border-radius:11px;transition:.2s}
.nav ul a:hover{opacity:1;background:rgba(255,255,255,.1)}
.nav ul a[aria-current]{opacity:1;background:rgba(141,166,101,.22)}
.nav .navmail{color:rgba(255,255,255,.82);font-size:13.5px;font-weight:600;padding:9px 8px}
.nav .navmail:hover{color:#fff}
@media(max-width:1120px){.nav .navmail{display:none}}
.nav .navcta{background:var(--sage);color:#fff;padding:11px 19px;border-radius:12px;font-weight:600;font-size:13.5px;white-space:nowrap;flex:none}
.nav .navcta:hover{background:#7d975a}
.menutoggle{display:none;width:42px;height:42px;border-radius:12px;cursor:pointer;position:relative;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.16);flex:none}
.menutoggle span{position:absolute;left:11px;right:11px;height:2px;background:#fff;border-radius:2px;transition:.3s var(--ease)}
.menutoggle::after{content:"";position:absolute;inset:-4px}
.menutoggle span:nth-child(1){top:14px}.menutoggle span:nth-child(2){top:20px}.menutoggle span:nth-child(3){top:26px}
.menutoggle.open span:nth-child(1){top:20px;transform:rotate(45deg)}
.menutoggle.open span:nth-child(2){opacity:0}
.menutoggle.open span:nth-child(3){top:20px;transform:rotate(-45deg)}
.mnav{position:absolute;top:calc(100% + 8px);left:var(--pad);right:var(--pad);padding:9px;z-index:2;
  background:rgba(13,19,26,.9);-webkit-backdrop-filter:blur(26px) saturate(170%);backdrop-filter:blur(26px) saturate(170%);
  border:1px solid rgba(255,255,255,.15);border-radius:20px;
  box-shadow:0 22px 54px rgba(6,10,14,.5);
  opacity:0;transform:translateY(-10px);pointer-events:none;display:none;
  transition:opacity .3s var(--ease),transform .3s var(--ease)}
.mnav.mount{display:block}.mnav.open{opacity:1;transform:none;pointer-events:auto}
.mnav a{display:block;padding:14px 16px;border-radius:13px;color:#fff;font-size:16.5px;font-weight:500}
.mnav a:active{background:rgba(255,255,255,.12)}
.mnav .mmail{color:#c9d6c2;font-weight:600;border-top:1px solid rgba(255,255,255,.12);margin-top:5px;padding-top:16px}
@media(max-width:920px){.nav ul{display:none}.menutoggle{display:block}.nav .navcta{padding:11px 16px;font-size:13px}}
@media(min-width:921px){.mnav{display:none!important}}
:focus-visible{outline:2px solid var(--sage);outline-offset:3px;border-radius:6px}
a,button,summary{-webkit-tap-highlight-color:transparent}

/* ---- footer ---- */
.igi{width:17px;height:17px;flex:none;fill:currentColor}
footer{position:relative;z-index:1;background:var(--abyss);color:rgba(255,255,255,.7)}
footer .wrap{padding-left:clamp(24px,5vw,64px);padding-right:clamp(24px,5vw,64px)}
.fcta{border-bottom:1px solid rgba(187,201,216,.12);padding:clamp(52px,8vh,88px) 0}
.fcta .in{display:flex;justify-content:space-between;align-items:center;gap:26px;flex-wrap:wrap}
.fcta h2{font-size:clamp(30px,3.9vw,52px);color:#fff;max-width:16ch}
.fcta h2 em{color:var(--sage)}
.fcols{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,3fr) minmax(0,3fr);gap:clamp(28px,4vw,72px);padding:clamp(44px,6vh,72px) 0}
.fcols .head{font-size:11px;font-weight:700;letter-spacing:.22em;text-transform:uppercase;color:var(--sage);margin-bottom:14px}
.fcols .about p{font-size:14.5px;color:rgba(255,255,255,.55);max-width:36ch;line-height:1.8}
.fcols ul{list-style:none;display:flex;flex-direction:column;gap:11px;padding:0}
.fcols a{color:rgba(255,255,255,.78);font-size:15px}
.fcols a:hover{color:#c9d6c2}
.fcols .ficons a{display:inline-flex;align-items:center;gap:9px}
.fcols .ficons .igi{width:15px;height:15px;opacity:.72}
.fbase{border-top:1px solid rgba(187,201,216,.12);padding:22px 0 32px;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:12px;color:rgba(255,255,255,.66)}
.fbase a{color:rgba(214,226,207,.92);text-decoration:underline;text-underline-offset:2px}.fbase a:hover{color:#fff}
.fbase .ack{max-width:78ch;line-height:1.7}
@media(max-width:820px){
  .fcols{grid-template-columns:1fr;gap:30px}
  .fcta .in{flex-direction:column;align-items:flex-start}
  .fcols .about p{max-width:none}
  footer .wrap{padding-left:var(--pad);padding-right:var(--pad)}
  .fbase{padding-top:18px;gap:20px}
  .fbase .copy{width:100%;text-align:center}
}

/* ================================================================ long-form ==== */

/* --- hero. Same anatomy as .shead on the homepage: crescents eyebrow, serif line
       with one italic clause, lede at 54ch. Sized one step down from the homepage
       h1, because this is an article opening and not the front door. --- */
.phero{padding:calc(var(--hdr) + clamp(46px,9vh,104px)) 0 clamp(56px,10vh,120px)}
.phero h1{font-size:clamp(38px,5.6vw,74px);margin-top:20px;color:#fff;max-width:17ch;text-wrap:balance}
.phero h1 em{color:var(--sage)}
.phero .lede{margin-top:22px;font-size:clamp(17px,1.5vw,19px);color:rgba(255,255,255,.74);max-width:56ch;line-height:1.7}
.phero .kicker{margin-top:26px;display:flex;flex-wrap:wrap;gap:8px}
.phero .kicker span{font-size:12.5px;font-weight:600;letter-spacing:.02em;color:rgba(255,255,255,.72);
  border:1px solid rgba(255,255,255,.18);border-radius:100px;padding:7px 15px}

/* --- the reading column. 66ch is the measure the homepage's body copy already uses;
       the panel keeps the page on the same light-over-dark structure. --- */
.pbody{padding:clamp(56px,9vh,104px) 0 clamp(64px,10vh,120px)}
/* left-aligned, like .shead on the homepage — a centred column under a left-aligned
   hero and a left-aligned nav reads as a different site */
.col{max-width:760px}
.col h2{font-size:clamp(27px,3.4vw,40px);margin:clamp(48px,7vh,84px) 0 16px;color:var(--ink);text-wrap:balance}
.col h2:first-child{margin-top:0}
.col h3{font-family:var(--sans);font-weight:600;font-size:17.5px;line-height:1.4;letter-spacing:0;color:var(--ink);margin:32px 0 7px}
.col p{font-size:17px;line-height:1.75;color:#3a4854;margin:0 0 16px;max-width:66ch}
.col p:last-child{margin-bottom:0}
.col strong{color:var(--ink);font-weight:600}
.col a:not(.btn){color:var(--deep);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px;text-decoration-color:rgba(77,109,117,.4);transition:.2s}
.col a:not(.btn):hover{color:var(--sage);text-decoration-color:var(--sage)}
.col ul,.col ol{margin:0 0 18px;padding-left:22px;max-width:66ch}
.col li{font-size:17px;line-height:1.7;color:#3a4854;margin-bottom:11px}
.col li::marker{color:var(--sage)}

/* --- the answer. First thing under a question heading, said plainly and finished
       inside ~60 words, because that is the shape an answer engine lifts and a
       parent skims. Larger and darker than body copy so the eye lands on it. --- */
.answer{position:relative;font-size:19px!important;line-height:1.62!important;color:var(--ink)!important;
  font-weight:400;padding-left:26px;margin:0 0 22px!important;max-width:62ch!important}
.answer::before{content:"";position:absolute;left:0;top:6px;bottom:6px;width:3px;border-radius:3px;
  background:linear-gradient(180deg,var(--sage),rgba(141,166,101,.25))}

/* --- sourced facts. Deliberately looks like a reference card and not like body
       copy: this is the block that gets quoted, and it carries a citation. --- */
.facts{border:1px solid var(--line);border-radius:var(--rad);background:#fff;
  padding:clamp(24px,4vw,34px);margin:34px 0;box-shadow:0 10px 34px rgba(11,15,19,.05)}
.facts h3{margin-top:26px}
.facts h3:first-child{margin-top:0}
.facts p{font-size:16px;color:#41505c}
.facts .src{font-size:13px;line-height:1.7;color:#78889a;border-top:1px solid var(--mist);padding-top:16px;margin-top:22px}

.callout{background:var(--mist);border-radius:var(--rad);padding:clamp(20px,3.4vw,28px);margin:32px 0}
.callout p{font-size:16px;color:var(--night);margin:0}

/* --- one dark band per page, carrying the single pull quote. This is the homepage's
       rhythm: light, dark, light. Without it a long page is a wall of paper. --- */
.pquote{padding:clamp(64px,10vh,116px) 0}
.pquote blockquote{font-family:var(--serif);font-weight:300;font-style:italic;
  font-size:clamp(26px,3.6vw,46px);line-height:1.2;letter-spacing:-.02em;color:#fff;
  max-width:20ch;text-wrap:balance}
.pquote .cres{width:20px;height:26px;margin:0 0 26px}

/* --- questions. Same visual grammar as the homepage FAQ without the disclosure
       behaviour: on a page written to be quoted, nothing should be hidden. --- */
.qa{border-top:1px solid var(--line);padding-top:26px;margin-top:34px}
.qa:first-of-type{margin-top:26px}
.qa h3{margin-top:0;font-size:18.5px}

/* --- closing CTA. Sage is reserved for the page's one real decision. --- */
.pcta{background:var(--night);border-radius:var(--rad);padding:clamp(30px,5vw,52px);margin-top:clamp(56px,8vh,88px);color:#fff}
.pcta h2{font-family:var(--serif);font-weight:300;font-size:clamp(26px,3.4vw,40px);line-height:1.1;color:#fff;margin:0 0 12px;letter-spacing:-.02em}
.pcta h2 em{font-style:italic;color:var(--sage)}
.pcta p{color:rgba(255,255,255,.76);font-size:16.5px;max-width:52ch;margin:0 0 26px;line-height:1.7}

.more{margin-top:clamp(48px,7vh,76px);border-top:1px solid var(--line);padding-top:26px}
.more .head{font-size:11px;font-weight:700;letter-spacing:.22em;text-transform:uppercase;color:var(--slate);margin-bottom:16px}
.more .mgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}
/* these sit inside .col, so the prose link rule above underlines them — a card is not a
   link in a sentence and should not be dressed as one */
.more a,.more a:hover{display:flex;flex-direction:column;gap:6px;padding:20px 22px;border:1px solid var(--line);border-radius:16px;background:#fff;
  text-decoration:none;color:inherit;
  transition:border-color .3s var(--ease),transform .3s var(--ease),box-shadow .3s var(--ease)}
.more a:hover{border-color:var(--sage);transform:translateY(-2px);box-shadow:0 12px 30px rgba(11,15,19,.07)}
.more .mt{font-family:var(--serif);font-weight:400;font-size:19px;line-height:1.2;color:var(--ink);letter-spacing:-.015em}
.more .md{font-size:14px;line-height:1.55;color:#5b6a75}

@media(max-width:640px){
  .col h2{font-size:clamp(24px,6.4vw,30px)}
  .answer{font-size:17.5px!important;padding-left:20px}
  .col p,.col li{font-size:16.5px}
}
