/* The academy has its own quiet reading page, using the portal's shared palette. */
.about-page {
  display:flex;
  flex-direction:column;
  min-height:100svh;
}
.about-page .site-header {
  position:relative;
  top:auto;
  left:auto;
  transform:none;
  flex-shrink:0;
  color:var(--ink);
  border-color:var(--line);
}
.about-page .site-header { --theme-control-ink:var(--muted); --theme-control-active:var(--ink); --theme-control-border:var(--strong); --theme-control-fill:var(--surface2); }
.about-page .brand-name { font-size:14px; }
.about-page .nav-link { color:var(--muted); }
.about-page .nav-link:hover,
.about-page .nav-link[aria-current="page"] { color:var(--ink); }
.about-page .nav-link[aria-current="page"] {
  text-decoration:underline;
  text-decoration-color:var(--strong);
  text-underline-offset:7px;
}
.about-page .login {
  color:var(--ink);
  background:transparent;
  border-color:var(--strong);
  padding-inline:17px;
}
.about-page .login:hover {
  border-color:var(--accent);
  background:var(--surface2);
}
.about-page .site-header :is(a,button):focus-visible { outline-color:var(--accent); }
.about-main { flex:1; }
.about-intro { padding-block:100px 90px; }
.about-intro h1 {
  max-width:100%;
  font-size:clamp(48px,6.1vw,88px);
  line-height:1.04;
  font-weight:450;
  letter-spacing:-.055em;
  overflow-wrap:break-word;
}
.about-lead {
  max-width:1100px;
  margin-top:42px;
  font-size:clamp(23px,2.25vw,32px);
  font-weight:400;
  line-height:1.45;
  letter-spacing:-.025em;
  text-wrap:pretty;
}
.about-focus {
  max-width:75ch;
  margin-top:26px;
  color:var(--muted);
  font-size:17px;
  line-height:1.85;
  text-wrap:pretty;
}
.about-directions { border-top:1px solid var(--strong); padding-block:34px 60px; }
.about-directions h2 {
  margin-bottom:43px;
  font-size:17px;
  font-weight:500;
  letter-spacing:-.015em;
}
.about-direction-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:56px; }
.about-direction h3 {
  margin-bottom:21px;
  font-size:26px;
  font-weight:450;
  line-height:1.3;
  letter-spacing:-.03em;
}
.about-direction p { max-width:38ch; color:var(--muted); font-size:14px; line-height:1.85; text-wrap:pretty; }
.about-text-link {
  display:inline-block;
  padding-block:9px;
  border-bottom:1px solid var(--strong);
  font-size:13px;
  line-height:1.4;
  transition:color .18s,border-color .18s;
}
.about-text-link:hover { color:var(--text-accent); border-color:var(--accent); }
.about-directions>.about-text-link { margin-top:40px; }
.about-back { padding-block:0 62px; }
.about-page .site-footer { border-top:1px solid var(--line); }
@media (max-width:1100px) {
  .about-intro { padding-block:78px 68px; }
  .about-direction-grid { gap:34px; }
  .about-direction h3 { font-size:23px; }
}
@media (max-width:720px) {
  .about-page .site-header { min-height:108px; height:auto; align-items:center; gap:8px 16px; padding-block:14px 12px; }
  .about-page .brand-name { font-size:13px; }
  .about-page .header-nav { justify-content:space-between; gap:4px 16px; max-width:none; font-size:11px; }
  .about-page .nav-link { display:inline-block; min-height:35px; padding-block:8px; }
  .about-page .login { min-height:34px; padding:6px 13px; font-size:11px; }
  .about-intro { padding-block:58px 50px; }
  .about-intro h1 { font-size:clamp(44px,11.7vw,66px); line-height:1.08; letter-spacing:-.05em; }
  .about-lead { margin-top:30px; font-size:23px; line-height:1.5; letter-spacing:-.025em; }
  .about-focus { margin-top:24px; font-size:15px; line-height:1.85; }
  .about-directions { padding-block:27px 45px; }
  .about-directions h2 { margin-bottom:34px; font-size:16px; }
  .about-direction-grid { grid-template-columns:1fr; gap:33px; }
  .about-direction h3 { margin-bottom:13px; font-size:25px; }
  .about-direction h3 br { display:none; }
  .about-direction p { max-width:42ch; }
  .about-directions>.about-text-link { margin-top:29px; }
  .about-back { padding-bottom:43px; }
}
@media (max-width:380px) {
  .about-page .header-nav { max-width:none; gap:3px 12px; font-size:10px; }
  .about-page .brand-name { font-size:11px; }
}
@media (prefers-reduced-motion:reduce) {
  .about-text-link { transition:none; }
}
@media print {
  .about-page .site-header { display:flex!important; height:auto; padding-bottom:20px; color:#111; }
  .about-page .header-nav,
  .about-page .theme-switch,
  .about-back,
  .about-directions>.about-text-link { display:none; }
  .about-intro { padding-block:25px 35px; }
  .about-intro h1 { font-size:48px; }
  .about-lead { font-size:22px; }
  .about-focus,
  .about-direction p { color:#333; }
  .about-directions { padding-block:25px; }
  .about-direction { break-inside:avoid; }
}
