/* Rules for markup added in the November 2026 update.
   The original design lives in app.css. Keep new rules here. */

/* Home: status line on the first screen */
/* app.css pushes .hero to the bottom of a 900px block, which is below the first screen on a laptop */
.hero.hero-top { margin-top: 96px; }
.hero-status-wrap { max-width: 780px; }
.hero-status {
  margin: 0;
  font-family: Editorial New, Georgia, serif;
  font-weight: 300;
  font-size: 46px;
  line-height: 1.12;
  letter-spacing: -.02em;
  color: #f4eae1;
}
.hero-sub {
  margin: 18px 0 0;
  max-width: 520px;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
  color: #f4eae1;
}
@media only screen and (min-width: 768px) and (max-width: 1365px) {
  .hero.hero-top { margin-top: 7vw; }
  .hero-status-wrap { max-width: 57vw; }
  .hero-status { font-size: 3.3675vw; }
  .hero-sub { font-size: max(16px, 1.4641vw); margin-top: 1.3vw; }
}
@media only screen and (max-width: 767px) {
  /* clear the wavy shape, which is 52.15vw tall and starts 30px from the top */
  .hero.hero-top { margin-top: calc(52.15vw - 40px); }
  .hero-status { font-size: 28px; }
  .hero-sub { font-size: 16px; margin-top: 14px; }
}
@media only screen and (max-width: 375px) {
  /* app.css fixes the shape at 230px here */
  .hero.hero-top { margin-top: 170px; }
  .hero-status { font-size: 26px; }
}

/* Thesis and appendix: archive notice above the title */
.archive-note {
  margin: 0 0 40px;
  padding: 14px 18px;
  max-width: 860px;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-size: 16px;
  line-height: 1.45;
}
/* the thesis header is a solid band with no space under it */
.thesis .archive-note { margin-top: 40px; }
@media only screen and (max-width: 767px) {
  .archive-note { margin-bottom: 24px; font-size: 14px; }
  .thesis .archive-note { margin-top: 24px; }
}

/* Mobile menu button: it is a real button now */
button.header-burger-inner {
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
/* a white ring inside a black ring: one of them shows on purple and on cream */
button.header-burger-inner:focus-visible {
  outline: 2px solid #000;
  outline-offset: 5px;
  box-shadow: 0 0 0 5px #fff;
}

/* Keyboard focus. app.css removes every outline, so put one back for keyboard users. */
a:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid currentColor !important;
  outline-offset: 3px;
}
/* a section that received focus after a menu link scrolled to it */
[tabindex="-1"]:focus { outline: none; }

/* Footer: legal line */
.footer-legal {
  position: relative;
  z-index: 1;
  margin: 30px 0 44px;
  max-width: 560px;
  font-size: 13px;
  line-height: 1.5;
  color: #f4eae1;
}
/* app.css shows the copyright at 70% opacity, which is too faint on the purple footer */
.footer-menu-link.footer-menu-link-copyright { opacity: 1; }
/* the copyright column was a <nav>; app.css removed list bullets only inside nav */
.footer-menu-column-terms .footer-menu-list { list-style: none; }

/* Contact: the address must fit a 320px screen */
@media only screen and (max-width: 400px) {
  .contact-email { font-size: 11vw; }
}

/* 404 page */
.notfound {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 20px;
  background-color: #630df8;
  color: #f4eae1;
  text-align: center;
}
.notfound h1 {
  margin: 0 0 16px;
  font-family: Editorial New, Georgia, serif;
  font-weight: 300;
  font-size: 46px;
  letter-spacing: -.02em;
}
.notfound p { margin: 0 0 28px; font-size: 18px; }

/* Scrolling strip: app.js measures each group's width without its 80px right margin,
   so the strip jumped by 241px at every loop. Padding is inside the measured width. */
.logos-list { margin-right: 0; padding-right: 80px; }

/* If the main script is off, blocked or fails to load, nothing fades in. Show everything.
   <html> starts with class "no-anim". A one-line script in <head> removes it. The app.js tag puts it back if app.js fails to load. */
.no-anim .fade,
.no-anim .fade-up,
.no-anim .lazyload { opacity: 1 !important; transform: none !important; }
.no-anim .anim-filter { filter: none !important; }

/* Footer: app.css gives the last column of its type an automatic left margin. The copyright column is a div now,
   so name the two columns instead. */
.footer-menu .footer-menu-column-main { margin-left: 0; }
.footer-menu .footer-menu-column-terms { margin-left: auto; }

/* 404 page: the focus outline must show on the purple background */
.notfound a:focus-visible { outline-color: #f4eae1 !important; outline-offset: 5px; }
.notfound-logo { display: block; width: 220px; margin: 0 auto 48px; color: #f4eae1; }
.notfound-logo svg { display: block; width: 100%; height: auto; }
