:root {
  color-scheme: light;
  --pernice-ink: #101512;
  --pernice-ink-soft: #28302B;
  --pernice-paper: #F4F1E9;
  --pernice-paper-deep: #E9E5DA;
  --pernice-line: #1015122E;
  --pernice-accent: #D8FF45;
  --pernice-white: #FBFAF6;
  --pernice-font-sans: "Segoe UI Variable Display", "Aptos Display", "Helvetica Neue", Arial, sans-serif;
  --pernice-font-serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
}
* { box-sizing: border-box; }
html { min-width: 280px; background: var(--pernice-paper); }
body { margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; color: var(--pernice-ink); background: var(--pernice-paper); font: 16px/1.55 var(--pernice-font-sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: .22em; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a, button, input { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--pernice-ink); outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 10; padding: 10px 16px; background: var(--pernice-accent); color: var(--pernice-ink); text-decoration: none; }
.skip-link:focus { top: 12px; }
.hub-header { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 112px; padding: 0 clamp(24px, 5vw, 88px); background: var(--pernice-ink); color: var(--pernice-white); }
.hub-header :focus-visible { outline-color: var(--pernice-accent); }
.hub-brand { display: block; flex: 0 0 auto; width: 166px; text-decoration: none; }
.hub-brand img { display: block; width: 100%; height: auto; }
.header-caption { font-size: 12px; letter-spacing: .015em; color: var(--pernice-paper); }
.entry-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 440px); gap: clamp(60px, 9vw, 150px); align-items: start; width: min(1160px, calc(100% - 96px)); margin: auto; padding: clamp(64px, 10vh, 112px) 0; }
.entry-intro { padding-top: 15px; }
.eyebrow { font-size: 10px; font-weight: 650; letter-spacing: .15em; text-transform: uppercase; line-height: 1.5; }
.entry-intro h1, .library-heading h1, .status-layout h1 { font-family: var(--pernice-font-serif); font-weight: 400; font-size: clamp(44px, 5.2vw, 76px); letter-spacing: -.04em; line-height: 1.08; }
.entry-intro h1 { margin-top: 28px; }
.accent-rule { display: block; width: 58px; height: 4px; background: var(--pernice-accent); }
.entry-intro .accent-rule { margin: 37px 0 30px; }
.entry-copy { font-size: clamp(20px, 2vw, 27px); line-height: 1.45; letter-spacing: -.025em; }
.entry-caption { margin-top: 31px; color: var(--pernice-ink-soft); font-size: 13px; }
.signin-panel { padding: 0 0 0 34px; border-left: 1px solid var(--pernice-line); }
.signin-panel h2 { margin-top: 18px; font: 400 34px/1.15 var(--pernice-font-serif); letter-spacing: -.025em; }
.signin-intro { margin: 16px 0 27px; color: var(--pernice-ink-soft); font-size: 15px; line-height: 1.6; max-width: 350px; }
.hub-notice { border-left: 3px solid var(--pernice-ink); padding: 13px 15px; margin: 0 0 23px; background: var(--pernice-paper-deep); font-size: 14px; line-height: 1.55; overflow-wrap: anywhere; }
.hub-notice:empty, .status-message:empty { display: none; }
.form-field { margin-bottom: 19px; }
.form-field > label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 600; }
.form-field input { display: block; width: 100%; min-width: 0; min-height: 51px; padding: 12px 14px; border: 1px solid var(--pernice-ink); border-radius: 0; background: var(--pernice-white); font-size: 16px; line-height: 1.4; -webkit-appearance: none; appearance: none; }
.password-field { position: relative; }
.password-field input { padding-right: 98px; }
.password-toggle { position: absolute; right: 5px; top: 5px; bottom: 5px; min-width: 84px; padding: 7px 9px; border: 0; background: transparent; font-size: 12px; font-weight: 550; }
.password-toggle:hover { background: var(--pernice-paper-deep); }
.password-toggle:focus-visible { outline-width: 2px; outline-offset: -2px; }
.button-primary { display: inline-flex; align-items: center; justify-content: space-between; gap: 25px; min-height: 51px; padding: 13px 18px; border: 1px solid var(--pernice-ink); background: var(--pernice-accent); color: var(--pernice-ink); text-decoration: none; font-size: 15px; font-weight: 600; line-height: 1.4; }
.button-primary:hover { background: var(--pernice-ink); color: var(--pernice-accent); }
.button-primary > span { font-size: 20px; line-height: 1; font-weight: 400; }
.login-submit { width: 100%; margin-top: 5px; }
.access-note { border-top: 1px solid var(--pernice-line); margin-top: 30px; padding-top: 21px; }
.access-note h3 { font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.access-note p { color: var(--pernice-ink-soft); font-size: 12px; line-height: 1.7; }
.hub-footer { display: flex; align-items: center; justify-content: space-between; gap: 25px; width: min(1160px, calc(100% - 96px)); margin: auto auto 0; padding: 22px 0 25px; border-top: 1px solid var(--pernice-line); color: var(--pernice-ink-soft); font-size: 11px; }
.hub-footer a { white-space: nowrap; text-decoration: none; }
.hub-footer a:hover { text-decoration: underline; }
.hub-footer a > span { display: inline-block; margin-left: 6px; }
.account-actions { display: flex; gap: 26px; align-items: center; min-width: 0; }
.account-name { max-width: 36ch; overflow-wrap: anywhere; color: var(--pernice-paper); font-size: 12px; }
.account-actions form { margin: 0; flex: 0 0 auto; }
.button-header { display: inline-flex; gap: 16px; align-items: center; border: 1px solid var(--pernice-ink-soft); padding: 9px 13px; background: transparent; color: var(--pernice-white); font-size: 12px; }
.button-header:hover { border-color: var(--pernice-accent); color: var(--pernice-accent); }
.library-layout { width: min(1160px, calc(100% - 96px)); margin: 0 auto; padding: 64px 0 72px; flex: 1; }
.library-heading { border-bottom: 1px solid var(--pernice-line); padding-bottom: 35px; margin-bottom: 35px; }
.library-heading h1 { margin-top: 20px; font-size: clamp(42px, 4.3vw, 64px); }
.library-heading > p:last-child { margin-top: 17px; color: var(--pernice-ink-soft); font-size: 15px; }
.library-notice { max-width: 760px; }
.presentation-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 21px; }
.presentation-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; min-height: 260px; padding: 27px 25px 24px; border: 1px solid var(--pernice-line); border-top: 3px solid var(--pernice-ink); background: var(--pernice-white); color: var(--pernice-ink); text-decoration: none; overflow-wrap: anywhere; }
.presentation-card:hover { border-color: var(--pernice-ink); border-top-color: var(--pernice-accent); background: var(--pernice-paper-deep); }
.presentation-card-kicker { font-size: 9px; font-weight: 650; letter-spacing: .11em; text-transform: uppercase; color: var(--pernice-ink-soft); }
.presentation-card h2 { font: 400 30px/1.18 var(--pernice-font-serif); letter-spacing: -.025em; margin: 30px 0 16px; }
.presentation-card p { font-size: 12px; line-height: 1.6; color: var(--pernice-ink-soft); }
.presentation-card > span:last-child { display: inline-flex; align-items: center; gap: 20px; margin-top: auto; padding-top: 30px; font-size: 12px; font-weight: 600; }
.library-empty { display: none; padding: 30px 0 45px; }
.presentation-grid:empty + .library-empty { display: block; }
.library-empty h2 { margin: 22px 0 12px; font: 400 28px/1.25 var(--pernice-font-serif); letter-spacing: -.02em; }
.library-empty p { color: var(--pernice-ink-soft); font-size: 14px; }
.library-note { margin-top: 32px; max-width: 700px; font-size: 12px; color: var(--pernice-ink-soft); }
.status-layout { flex: 1; width: min(800px, calc(100% - 96px)); margin: 0 auto; padding: clamp(65px, 10vh, 110px) 0 100px; }
.status-layout h1 { max-width: 760px; font-size: clamp(40px, 4.5vw, 64px); margin-top: 24px; }
.status-layout .accent-rule { margin: 34px 0 29px; }
.status-message { font-size: 20px; line-height: 1.55; max-width: 670px; overflow-wrap: anywhere; }
.status-help { margin-top: 18px; max-width: 600px; color: var(--pernice-ink-soft); font-size: 14px; line-height: 1.7; }
.status-link { margin-top: 32px; min-width: 225px; }
@media (max-width: 1050px) {
  .entry-layout { grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: 50px; }
  .entry-intro h1 { font-size: 58px; }
  .signin-panel { padding-left: 28px; }
  .presentation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .hub-header { min-height: 92px; padding: 0 24px; gap: 18px; }
  .hub-brand { width: 136px; }
  .header-caption { font-size: 10px; }
  .entry-layout { width: calc(100% - 48px); max-width: 480px; grid-template-columns: 1fr; gap: 43px; padding: 43px 0 49px; }
  .entry-intro { padding: 0; }
  .entry-intro h1 { font-size: 51px; margin-top: 17px; }
  .entry-intro .accent-rule { margin: 24px 0 20px; width: 46px; height: 3px; }
  .entry-copy { font-size: 20px; }
  .entry-caption { display: none; }
  .signin-panel { padding: 30px 0 0; border-left: 0; border-top: 1px solid var(--pernice-line); }
  .signin-panel h2 { font-size: 30px; margin-top: 12px; }
  .signin-intro { margin: 13px 0 24px; font-size: 14px; }
  .access-note { margin-top: 26px; padding-top: 19px; }
  .hub-footer { width: calc(100% - 48px); padding-top: 19px; font-size: 10px; gap: 18px; }
  .account-actions { gap: 13px; }
  .account-name { max-width: 18ch; font-size: 10px; }
  .button-header { font-size: 10px; padding: 8px 10px; gap: 9px; }
  .library-layout { width: calc(100% - 48px); padding: 42px 0 48px; }
  .library-heading { padding-bottom: 27px; margin-bottom: 27px; }
  .library-heading h1 { margin-top: 16px; font-size: 43px; }
  .library-heading > p:last-child { font-size: 14px; }
  .presentation-grid { grid-template-columns: 1fr; gap: 16px; }
  .presentation-card { min-height: 225px; padding: 23px 22px; }
  .presentation-card h2 { font-size: 29px; margin-top: 24px; }
  .library-note { margin-top: 25px; font-size: 11px; }
  .status-layout { width: calc(100% - 48px); padding: 54px 0 65px; }
  .status-layout h1 { margin-top: 20px; font-size: 43px; }
  .status-message { font-size: 18px; }
  .status-help { font-size: 13px; }
}
@media (max-width: 380px) {
  .hub-header { padding-inline: 20px; }
  .hub-brand { width: 120px; }
  .header-caption { max-width: 90px; text-align: right; line-height: 1.5; }
  .entry-layout, .library-layout, .status-layout, .hub-footer { width: calc(100% - 40px); }
  .entry-intro h1 { font-size: 43px; }
  .account-actions { flex-direction: column; align-items: flex-end; gap: 6px; padding-block: 12px; }
  .account-name { max-width: 17ch; font-size: 9px; }
  .button-header { padding: 5px 8px; }
  .library-heading h1, .status-layout h1 { font-size: 38px; }
}
@media (prefers-reduced-motion: no-preference) {
  button, .button-primary, .presentation-card { transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease; }
}
@media print {
  .hub-header, .hub-footer, .skip-link, .password-toggle, .account-actions { display: none !important; }
  .hub-login .entry-layout { display: block; }
  .hub-login .signin-panel { display: none; }
  .library-layout { width: 100%; }
}
