
    * { box-sizing: border-box; margin: 0; padding: 0; }
    html { overflow-x: hidden; }
    /* The one remaining scrollbar is not drawn. Scrolling is untouched —
       only the indicator goes. Same as static/css/page-scroll.css, which
       these two pages cannot load. Three engines, three answers. */
    html, body { scrollbar-width: none; -ms-overflow-style: none; }
    html::-webkit-scrollbar, body::-webkit-scrollbar { width: 0; height: 0; display: none; }
    /* body's overflow-x is `visible`, not `hidden`, and the line above is
       what clips. With both set, html's value goes to the viewport and
       body's applies to body itself (CSS Overflow 3 §3.3 and §3.5), which
       made body a second scroll container inside the page: two scrollbars,
       and a wheel gesture split between them. Same fix as
       static/css/page-scroll.css, which these two pages cannot load —
       they are served from CONTENT_ROOT, not rendered by Django. */
    body { font-family: "Plus Jakarta Sans", sans-serif; background: radial-gradient(circle at 10% 10%, rgba(255, 224, 184, 0.62) 0%, transparent 32%), radial-gradient(circle at 88% 14%, rgba(255, 238, 204, 0.54) 0%, transparent 29%), linear-gradient(180deg, #fffefa 0%, #fff6ea 58%, #f9eee1 100%), repeating-linear-gradient(0deg, rgba(255,255,255,0.2) 0 1px, rgba(108,82,45,0.03) 1px 2px, transparent 2px 5px); color: #2f271e; overflow-x: visible; background-attachment: fixed; scroll-padding-top: 112px; }
    .shell { width: 100%; max-width: none; margin: 0; padding: 112px clamp(16px, 3.5vw, 48px) 24px; min-height: 100vh; position: relative; z-index: 1; display: flex; flex-direction: column; }
    .shell-lines {
      position: absolute;
      inset: 0;
      pointer-events: none;
      z-index: -1;
      opacity: 0.5;
      background:
        repeating-linear-gradient(165deg, rgba(206, 150, 74, 0.2) 0 1px, transparent 1px 16px),
        repeating-linear-gradient(15deg, rgba(229, 181, 115, 0.16) 0 1px, transparent 1px 20px),
        radial-gradient(ellipse at 78% 22%, rgba(255, 234, 201, 0.24), transparent 50%);
      background-size: auto, auto, auto;
      background-position: center center, center center, 82% 20%;
      animation: none;
    }
    .ambient-strip {
      position: absolute;
      pointer-events: none;
      z-index: -1;
      border-radius: 20px;
      border: 1px solid rgba(210, 164, 104, 0.34);
      background: linear-gradient(120deg, rgba(255, 247, 233, 0.42), rgba(239, 213, 174, 0.2));
      box-shadow: 0 12px 24px rgba(112, 74, 28, 0.17), inset 0 1px 0 rgba(255,255,255,0.56);
      backdrop-filter: blur(2px);
    }
    .ambient-strip.b-one {
      width: clamp(220px, 29vw, 420px);
      height: clamp(46px, 5.4vw, 80px);
      left: -48px;
      bottom: 12%;
      transform: rotate(-12deg);
      animation: none;
    }
    .ambient-strip.b-two {
      width: clamp(180px, 21vw, 320px);
      height: clamp(36px, 4.1vw, 60px);
      right: 6%;
      top: 30%;
      transform: rotate(9deg);
      animation: none;
    }
    .ambient-strip.b-three {
      width: clamp(130px, 15vw, 230px);
      height: clamp(28px, 3.2vw, 44px);
      right: -16px;
      top: 18%;
      transform: rotate(-17deg);
      animation: none;
    }
    .ambient-strip.b-four {
      width: clamp(130px, 16vw, 230px);
      height: clamp(24px, 2.8vw, 36px);
      left: 22%;
      top: 24%;
      transform: rotate(14deg);
      animation: none;
    }
    .ambient-strip.b-five {
      width: clamp(160px, 19vw, 280px);
      height: clamp(30px, 3.4vw, 44px);
      right: 24%;
      bottom: 20%;
      transform: rotate(-8deg);
      animation: none;
    }
    .ambient-strip.b-six {
      width: clamp(110px, 13vw, 200px);
      height: clamp(24px, 2.8vw, 34px);
      left: 8%;
      bottom: 34%;
      transform: rotate(20deg);
      animation: none;
    }
    .shell::before,
    .shell::after {
      content: "";
      position: absolute;
      pointer-events: none;
      z-index: -1;
    }
    .shell::before {
      width: clamp(186px, 21vw, 294px);
      height: clamp(118px, 11.8vw, 166px);
      border-radius: 18px;
      background: linear-gradient(150deg, rgba(255, 252, 244, 0.84), rgba(247, 228, 200, 0.62));
      border: 1px solid rgba(193, 145, 86, 0.34);
      box-shadow: 0 22px 38px rgba(113, 76, 30, 0.15), inset 0 1px 0 rgba(255,255,255,0.72);
      top: 144px;
      right: -90px;
      transform: rotate(-9deg);
    }
    .shell::after {
      width: clamp(230px, 23vw, 330px);
      height: clamp(36px, 3.9vw, 52px);
      border-radius: 10px;
      background: linear-gradient(180deg, rgba(214, 166, 103, 0.28), rgba(191, 134, 73, 0.2));
      border: 1px solid rgba(184, 134, 77, 0.24);
      bottom: 24px;
      left: -74px;
      transform: rotate(-11deg);
      box-shadow: 0 8px 14px rgba(102, 66, 25, 0.15);
    }
    .topbar { --menu-accent: #c8832a; --menu-panel-bg: #fff8f0; --menu-panel-border: #e6c49a; --menu-panel-text: #3c2c1a; --menu-drawer-bg: #f9f0e3; --menu-drawer-text: #3a2b1a; --menu-drawer-subtext: #5d4528; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 12px; border: 1px solid #e6c49a; border-bottom: 2px solid #c8832a; background: linear-gradient(135deg, #fff8ef 0%, #fff2e4 48%, #fff6ec 100%); position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1200; }
    .top-left { display: flex; align-items: center; gap: 112px; min-width: 0; flex: 1; }
    .brand { display: flex; align-items: center; gap: 6px; text-decoration: none; }
    .brand img { width: 74px; height: 46px; display: block; object-fit: contain; }
    .brand-text { font-family: "Space Grotesk", sans-serif; font-size: 1.16rem; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1; color: #9a6626; text-shadow: 0 1px 0 rgba(255,255,255,0.4), 0 2px 8px rgba(16,42,58,0.16); white-space: nowrap; }
    nav { display: flex; align-items: center; }
    .menu-list { list-style: none; display: flex; align-items: center; gap: 16px; }
    .menu-item { position: relative; }
    .menu-link { text-decoration: none; color: #232c34; font-size: .68rem; font-weight: 700; display: inline-block; padding: 4px 0; }
    .menu-link::after { content: " \25BE"; font-size: .54rem; color: #49535c; }
    .submenu { list-style: none; position: absolute; top: 100%; left: 0; min-width: 250px; background: linear-gradient(180deg, #f4f8fd 0%, #e8eef6 100%); border-top: 2px solid #c8832a; box-shadow: 0 14px 24px rgba(16, 28, 38, .18); display: none; z-index: 50; }
    .submenu a { display: block; padding: 14px 16px; text-decoration: none; font-weight: 700; color: #1d2630; font-size: .92rem; }
    .submenu a:hover { background: linear-gradient(180deg, #e5edf7 0%, #d8e5f2 100%); }
    .menu-item:hover .submenu, .menu-item:focus-within .submenu { display: block; }
    .top-actions { display: flex; align-items: center; gap: 8px; }
    .divider { width: 1px; height: 20px; background: #86653f; opacity: .65; }
    .menu-btn { border: 0; background: transparent; padding: 2px 4px; display: inline-flex; align-items: center; justify-content: center; }
    .menu-btn { border: 1px solid #ac8660; border-radius: 2px; padding: 6px; }
    .icon { width: 16px; height: 16px; stroke: #2d353c; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

    .hero { margin: 24px; padding: 34px 34px 40px; min-height: 270px; border-radius: 22px; background: linear-gradient(130deg, #6e3c11 0%, #aa5f1d 46%, #cf8d2f 100%), repeating-linear-gradient(-45deg, rgba(255,255,255,0.14) 0 3px, transparent 3px 16px); color: #fff6eb; position: relative; overflow: hidden; box-shadow: 0 20px 40px rgba(136, 90, 36, 0.24); animation: zoomCenter 720ms cubic-bezier(.2,.7,.2,1) both; }
    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        radial-gradient(circle at 78% 54%, rgba(255, 255, 255, 0.26) 0%, rgba(255,255,255,0) 36%);
      opacity: 0.52;
      pointer-events: none;
      z-index: 0;
    }
    .hero::after {
      content: "";
      position: absolute;
      inset: 0;
      background:
        repeating-linear-gradient(-18deg, rgba(255,255,255,0.18) 0 2px, transparent 2px 14px);
      opacity: 0.22;
      animation: pageShimmer 6.8s linear infinite;
      pointer-events: none;
      z-index: 0;
    }
    .hero h1 { font-family: "Space Grotesk", sans-serif; font-size: clamp(1.8rem, 4vw, 2.8rem); }
    .hero-lines {
      position: absolute;
      right: 18px;
      top: 16px;
      width: clamp(160px, 24vw, 290px);
      height: clamp(120px, 19vw, 220px);
      border-radius: 18px;
      opacity: 0.26;
      background:
        repeating-linear-gradient(-16deg, rgba(255,255,255,0.72) 0 1px, transparent 1px 10px),
        radial-gradient(circle at 82% 20%, rgba(255,255,255,0.5), transparent 32%);
      animation: lineSlideBooks 9s linear infinite;
      pointer-events: none;
      z-index: 0;
    }
    .hero-kicker { display: inline-block; margin-right: 10px; padding: 5px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #784514; background: #fff6eb; vertical-align: middle; position: relative; }
    .hero-kicker::before { content: ""; position: absolute; inset: -6px; border-radius: 999px; border: 1px dashed rgba(255,246,235,0.65); }
    .hero-kicker::after { content: ""; position: absolute; width: 16px; height: 10px; right: -9px; top: 50%; transform: translateY(-50%) skewX(-16deg); background: rgba(255,246,235,0.9); border-radius: 4px; }
    .hero-accent { color: #fff8ed; text-shadow: 0 8px 20px rgba(74, 43, 13, 0.35); position: relative; }
    .hero-accent::before { content: ""; position: absolute; width: 9px; height: 9px; border-radius: 50%; left: -5px; bottom: -7px; background: #ffffff; box-shadow: 0 0 0 4px rgba(255,246,235,0.28), 0 0 12px rgba(255,246,235,0.75); animation: libraryDot 2.4s linear infinite; }
    .hero-accent::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: -5px; height: 7px; border-radius: 999px; background: linear-gradient(90deg, rgba(255,255,255,0.15), rgba(255,246,235,1), rgba(255,255,255,0.15)); background-size: 220% 100%; box-shadow: 0 0 12px rgba(255,246,235,0.45); animation: libraryGlow 2.4s linear infinite; }
    .hero-symbol {
      position: absolute;
      right: 20px;
      bottom: 6px;
      width: clamp(140px, 24vw, 260px);
      height: clamp(140px, 24vw, 260px);
      background: url("/assets/hero-books.svg") center/contain no-repeat;
      opacity: 0.48;
      filter: drop-shadow(0 8px 16px rgba(63, 35, 11, 0.28));
      pointer-events: none;
      user-select: none;
      z-index: 0;
      animation: stickerFloatBooks 5.4s ease-in-out infinite;
    }
    .hero > *:not(.hero-symbol) { position: relative; z-index: 1; }
    .panel { margin: 0 24px; background: linear-gradient(145deg, #ffffff, #fff8ef 46%, #fff4e7 100%); border: 1px solid #efd8bf; border-radius: 16px; padding: 18px; position: relative; overflow: hidden; box-shadow: 0 14px 28px rgba(132, 95, 51, 0.1); animation: tiltInRight 760ms cubic-bezier(.2,.7,.2,1) 110ms both; }
    .book-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
    .book-item { border: 1px solid #e7cbab; border-radius: 10px; padding: 12px; background: #fffefb; }
    .book-item h3 { font-size: 1rem; color: #6c4419; margin-bottom: 6px; }
    .book-item p { font-size: 0.88rem; color: #6b5a45; margin-bottom: 8px; }
    .book-use { border: 1px solid #b77e36; background: #fff; color: #8a5a1f; border-radius: 999px; padding: 6px 10px; font-weight: 800; font-size: 0.74rem; cursor: pointer; }
    .panel::before {
      content: "";
      position: absolute;
      width: 4px;
      height: 82%;
      left: 0;
      top: 9%;
      border-radius: 4px;
      background: linear-gradient(180deg, #c8832a, #cf8d2f);
    }
    .panel::after {
      content: "";
      position: absolute;
      width: 190px;
      height: 190px;
      right: -68px;
      bottom: -92px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(200,131,42,0.2), transparent 70%);
      animation: bookBob 3.6s ease-in-out infinite;
      pointer-events: none;
    }
    .panel p { margin-top: 10px; color: #7b6246; }
    @keyframes zoomCenter {
      from { opacity: 0; transform: scale(0.86); }
      60% { opacity: 1; transform: scale(1.03); }
      to { opacity: 1; transform: scale(1); }
    }
    @keyframes tiltInRight {
      from { opacity: 0; transform: translateX(58px) rotate(1.8deg); }
      to { opacity: 1; transform: translateX(0) rotate(0); }
    }
    @keyframes pageShimmer {
      from { background-position: 0 0; }
      to { background-position: 220px 0; }
    }
    @keyframes bookBob {
      0%, 100% { transform: translateY(0) rotate(0deg); }
      50% { transform: translateY(-8px) rotate(8deg); }
    }
    @keyframes libraryFloat {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-3px); }
    }
    @keyframes libraryRing {
      from { transform: rotate(0deg); }
      to { transform: rotate(360deg); }
    }
    @keyframes bookmarkFlip {
      0%, 100% { transform: translateY(-50%) skewX(-16deg) rotate(0deg); }
      50% { transform: translateY(-50%) skewX(-8deg) rotate(12deg); }
    }
    @keyframes libraryGlow {
      0% { opacity: 0.65; transform: scaleX(0.86); background-position: 0% 50%; }
      50% { opacity: 1; transform: scaleX(1); background-position: 100% 50%; }
      100% { opacity: 0.65; transform: scaleX(0.86); background-position: 200% 50%; }
    }
    @keyframes libraryDot {
      0% { left: -5px; }
      50% { left: calc(100% - 2px); }
      100% { left: -5px; }
    }
    @keyframes stickerFloatBooks {
      0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.48; }
      50% { transform: translateY(-8px) rotate(4deg); opacity: 0.62; }
    }
    @keyframes shellFlowBooks {
      0% { background-position: center center, center center, 82% 20%; }
      50% { background-position: 36px 0, -24px 0, 78% 24%; }
      100% { background-position: 72px 0, -48px 0, 82% 20%; }
    }
    @keyframes lineSlideBooks {
      from { background-position: 0 0, 0 0; }
      to { background-position: 120px 0, 0 0; }
    }
    @keyframes ambientBooksOne {
      0%, 100% { transform: rotate(-12deg) translateY(0); opacity: 0.56; }
      50% { transform: rotate(-9deg) translateY(-10px); opacity: 0.76; }
    }
    @keyframes ambientBooksTwo {
      0%, 100% { transform: rotate(9deg) translateX(0); opacity: 0.44; }
      50% { transform: rotate(12deg) translateX(-13px); opacity: 0.66; }
    }
    @keyframes ambientBooksThree {
      0%, 100% { transform: rotate(-17deg) translateY(0); opacity: 0.32; }
      50% { transform: rotate(-14deg) translateY(7px); opacity: 0.54; }
    }
    @keyframes ambientBooksFour {
      0%, 100% { transform: rotate(14deg) translate(0, 0); opacity: 0.24; }
      50% { transform: rotate(10deg) translate(16px, -9px); opacity: 0.5; }
    }
    @keyframes ambientBooksFive {
      0%, 100% { transform: rotate(-8deg) translate(0, 0); opacity: 0.28; }
      50% { transform: rotate(-12deg) translate(-17px, 10px); opacity: 0.52; }
    }
    @keyframes ambientBooksSix {
      0%, 100% { transform: rotate(20deg) translate(0, 0); opacity: 0.22; }
      50% { transform: rotate(15deg) translate(12px, -12px); opacity: 0.46; }
    }
    @media (prefers-reduced-motion: reduce) {
      .hero, .panel { animation: none; }
    }
    @media (max-width: 760px) {
      .shell { padding-top: 104px; }
      .top-left { flex-direction: column; align-items: flex-start; gap: 8px; }
      .brand img { width: 88px; height: auto; }
      .brand-text { font-size: 0.98rem; }
      .menu-list { gap: 12px; }
      .menu-link::after { content: ""; }
      .submenu { position: static; display: none; box-shadow: none; border: 1px solid #c5d3dc; margin-top: 6px; }
      .hero, .panel { margin-left: 12px; margin-right: 12px; }
    }
    /* Phones: the banner shrinks with the screen (owner, 2026-10-28). At
       375px wide it was 270px tall - a fixed 270px minimum height for two lines of text - before the first thing a
       student came for. */
    @media (max-width: 760px) {
      .hero { padding: 18px 16px; border-radius: 18px; min-height: 0; }
      .hero h1 { font-size: clamp(1.35rem, 6.4vw, 1.8rem); line-height: 1.12; }
      .hero p { font-size: 0.88rem; line-height: 1.45; margin-top: 6px; }
      .hero-kicker { font-size: 0.62rem; padding: 4px 8px; margin-right: 8px; }
    }
  