/*
 * Panther Prints — Century High School literary magazine
 *
 * Design intent: a clean, modern reading environment in the school's navy,
 * white and grey. Two typefaces do all the work — a sans for anything that is
 * navigation or labelling, and a serif for anything a student actually wrote.
 * That split is the whole visual system: if it's a poem, a story, a title or a
 * pull quote, it's serif. If it's the site talking about itself, it's sans.
 */

:root {
  /* School colors. Navy is the brand; blue is the interactive accent so that
     links and buttons never get lost against large navy fields. */
  --navy-900: #0d1c3d;
  --navy: #1e3a6e;
  --navy-600: #2b4f8f;
  --blue: #3d6fd6;
  --blue-dark: #2c55ad;
  --corn: #7f9ef2;
  --corn-tint: #edf2fe;

  --ink: #131a29;
  --muted: #5b6579;
  --muted-light: #8b95a7;
  --line: #dfe4ed;
  --line-soft: #eef1f6;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;

  /* One accent per section, used only as a thin identifying stripe. Kept
     desaturated so four of them on a page still reads as a navy site. */
  --poetry: #6b4fbb;
  --prose: #1e3a6e;
  --art: #b4532a;
  --photography: #157a5b;

  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(13, 28, 61, .06), 0 4px 14px rgba(13, 28, 61, .06);
  --shadow-lg: 0 8px 20px rgba(13, 28, 61, .10), 0 24px 48px rgba(13, 28, 61, .08);

  --wrap: 1140px;
  --read: 34rem; /* measure for body text — roughly 65 characters */

  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Newsreader", Georgia, "Iowan Old Style", "Times New Roman", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }

a { color: var(--blue-dark); text-underline-offset: 2px; }
a:hover { color: var(--navy); }

/* Anything focused by keyboard gets the same visible ring everywhere, so
   tabbing through the site is never a guessing game. */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- scroll reveal ----------
   The hidden state only exists while JS is running (html.js-reveal), so if the
   script fails to load nothing is invisible and every page still reads. */
.js-reveal .reveal { opacity: 0; transform: translateY(14px); }
.js-reveal .reveal-in {
  opacity: 1;
  transform: none;
  transition: opacity .5s cubic-bezier(.16, 1, .3, 1),
              transform .5s cubic-bezier(.16, 1, .3, 1);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-reveal .reveal { opacity: 1; transform: none; }
  .js-reveal .reveal-in { transition: none; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* ---------- development warning ---------- */
.dev-bar {
  background: #fff4e5;
  border-bottom: 1px solid #f0d9b5;
  color: #7a4a00;
  font-size: .85rem;
  padding: .6rem 1.25rem;
  text-align: center;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: 0 1px 0 var(--line), 0 6px 24px rgba(13, 28, 61, .07); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .8rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  color: var(--ink);
  padding: .35rem .5rem;
  margin: -.35rem -.5rem;
  border-radius: var(--radius);
  transition: background .2s ease;
}
.brand:hover { background: var(--corn-tint); }
.brand-logo { width: 38px; height: 38px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--navy);
}
.brand-sub {
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.site-nav { display: flex; align-items: center; gap: .15rem; }
.site-nav a {
  padding: .45rem .7rem;
  border-radius: var(--radius);
  font-size: .93rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  transition: background .18s ease, color .18s ease;
}
.site-nav a:hover { background: var(--bg-soft); color: var(--navy); }
.site-nav a[aria-current="page"] { color: var(--navy); font-weight: 600; }
.site-nav .nav-cta {
  margin-left: .5rem;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
}
.site-nav .nav-cta:hover { background: var(--navy-600); color: #fff; }
/* The current-page rule above is more specific than .nav-cta, so without
   this the Submit button renders navy-on-navy — invisible — on its own page. */
.site-nav .nav-cta[aria-current="page"] { color: #fff; }

/* Small screens: the nav wraps under the brand rather than hiding behind a
   menu button. Six links fit on two rows, and nothing needs JavaScript. */
.nav-toggle { display: none; }
@media (max-width: 860px) {
  .header-inner { flex-direction: column; align-items: stretch; gap: .6rem; }
  .site-nav { flex-wrap: wrap; justify-content: center; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.3rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, transform .12s ease, box-shadow .2s ease;
}
.btn:hover { background: var(--navy-600); color: #fff; box-shadow: var(--shadow); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--bg-soft); color: var(--navy); }
.btn-sm { padding: .45rem .85rem; font-size: .87rem; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}
/* Faint blueprint grid, echoing the printed submission posters. Sits behind
   the text at low opacity so it reads as texture, not as a chart. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
}
.hero-inner {
  position: relative;
  padding: 5.5rem 0 5rem;
  text-align: center;
}
.hero-eyebrow {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--corn);
  margin: 0 0 1.1rem;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.025em;
  margin: 0 0 1.1rem;
}
.hero-lede {
  max-width: 36rem;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, .82);
}
.hero-actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.hero .btn { background: #fff; color: var(--navy); }
.hero .btn:hover { background: var(--corn-tint); color: var(--navy); }
.hero .btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .35);
}
.hero .btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }

/* ---------- section scaffolding ---------- */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--bg-soft); border-block: 1px solid var(--line-soft); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  font-weight: 600;
  letter-spacing: -.02em;
  margin: 0;
  color: var(--navy);
}
.section-head p { margin: .35rem 0 0; color: var(--muted); font-size: .97rem; }
.section-head .more { font-size: .92rem; font-weight: 600; white-space: nowrap; }

/* ---------- section (genre) cards on the home page ---------- */
.genre-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.1rem;
}
.genre-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.4rem 1.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.genre-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--accent, var(--navy));
}
.genre-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.genre-card h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  margin: .3rem 0 .4rem;
  color: var(--navy);
}
.genre-card p { margin: 0 0 1.1rem; font-size: .93rem; color: var(--muted); }
.genre-card .count {
  margin-top: auto;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent, var(--navy));
}

/* ---------- piece cards ---------- */
.piece-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.5rem;
}
/* Visual work wants a denser, gallery-like grid than text work. */
.piece-grid.is-visual { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

.piece-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.piece-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.piece-thumb {
  aspect-ratio: 4 / 3;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}
.piece-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Shown when a visual piece has no image file yet. Deliberately plain — an
   obviously empty frame is more honest than a decorative stand-in. */
.piece-thumb-empty {
  display: grid;
  place-items: center;
  height: 100%;
  gap: .4rem;
  color: var(--muted-light);
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  background:
    repeating-linear-gradient(45deg, var(--line-soft) 0 10px, transparent 10px 20px);
}

/* Text pieces get an excerpt block instead of an image, set in the reading
   serif so a card previews what the piece will actually feel like. */
.piece-excerpt {
  padding: 1.5rem 1.4rem;
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-soft);
  white-space: pre-line;
  /* Clamp to a consistent height so a grid of cards stays even. */
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 9.5rem;
}

.piece-body { padding: 1.1rem 1.4rem 1.3rem; }
.piece-card h3 {
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 .3rem;
  color: var(--navy);
}
.piece-meta { font-size: .87rem; color: var(--muted); margin: 0; }
.piece-medium { font-size: .82rem; color: var(--muted-light); margin: .25rem 0 0; }

/* ---------- tags ---------- */
.tag {
  display: inline-block;
  padding: .18rem .55rem;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  background: var(--corn-tint);
  color: var(--navy);
}
.tag-poetry { background: #f0ecfa; color: var(--poetry); }
.tag-prose { background: var(--corn-tint); color: var(--prose); }
.tag-art { background: #fbeee8; color: var(--art); }
.tag-photography { background: #e6f5ef; color: var(--photography); }
.tag-example { background: #fff4e5; color: #7a4a00; }

/* ---------- page header (interior pages) ---------- */
.page-head {
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.page-head .eyebrow {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent, var(--navy));
  margin: 0 0 .7rem;
}
.page-head h1 {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.1;
  margin: 0 0 .8rem;
  color: var(--navy);
}
.page-head .lede {
  max-width: var(--read);
  margin: 0;
  font-size: 1.05rem;
  color: var(--muted);
}

/* ---------- filter bar ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 2rem;
}
.filters label {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin-right: .2rem;
}
.filters select, .filters input[type="search"] {
  padding: .5rem .7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-size: .92rem;
}
.filters input[type="search"] { min-width: 15rem; flex: 1; }
.result-count { margin-left: auto; font-size: .88rem; color: var(--muted); }

/* ---------- single piece ---------- */
.piece-page { padding: 3.5rem 0 4.5rem; }
.back-link {
  display: inline-block;
  margin-bottom: 2rem;
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--muted);
}
.back-link:hover { color: var(--navy); }

.piece-header { max-width: var(--read); margin: 0 auto 2.5rem; text-align: center; }
.piece-header h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.12;
  margin: .9rem 0 .7rem;
  color: var(--navy);
}
.piece-byline { font-size: 1rem; color: var(--muted); margin: 0; }
.piece-byline strong { color: var(--ink); font-weight: 600; }

/* The reading column. Text work is centred at a comfortable measure; visual
   work breaks out wider because an image needs the room. */
.piece-text {
  max-width: var(--read);
  margin: 0 auto;
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.75;
}
/* Poetry keeps its own line breaks exactly as the poet typed them, which is
   the entire reason poems are stored as raw text rather than HTML. */
.piece-text.is-poetry { white-space: pre-wrap; }
.piece-text p { margin: 0 0 1.4rem; }

.piece-figure { max-width: 900px; margin: 0 auto; }
.piece-figure img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.piece-figure figcaption {
  margin-top: 1rem;
  text-align: center;
  font-size: .9rem;
  color: var(--muted);
}

.piece-note {
  max-width: var(--read);
  margin: 3rem auto 0;
  padding: 1.2rem 1.4rem;
  background: var(--bg-soft);
  border-left: 3px solid var(--corn);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .95rem;
  color: var(--muted);
}
.piece-note strong { color: var(--ink); }

.content-note {
  max-width: var(--read);
  margin: 0 auto 2rem;
  padding: .8rem 1.1rem;
  background: #fff4e5;
  border: 1px solid #f0d9b5;
  border-radius: var(--radius);
  font-size: .9rem;
  color: #7a4a00;
}

/* ---------- forms ---------- */
.form-page { padding: 3rem 0 4.5rem; }
.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 900px) {
  .form-layout { grid-template-columns: 1fr; gap: 2rem; }
  .form-aside { order: -1; }
}

.field { margin-bottom: 1.5rem; }
.field > label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  margin-bottom: .35rem;
  color: var(--ink);
}
.field .hint { font-size: .84rem; color: var(--muted); margin: 0 0 .5rem; }
.field .req { color: var(--art); font-weight: 700; }

.field input[type="text"],
.field input[type="email"],
.field input[type="file"],
.field select,
.field textarea {
  width: 100%;
  padding: .65rem .8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { min-height: 16rem; font-family: var(--serif); font-size: 1.05rem; line-height: 1.7; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(61, 111, 214, .15);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* A checkbox and its wording sit on one line, so this overrides the block
   display that .field > label gives every other label in the form. */
.field > label.check {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  margin: .7rem 0 0;
  font-size: .92rem;
  font-weight: 500;
  cursor: pointer;
}
.field > label.check input {
  width: 1.05rem;
  height: 1.05rem;
  margin: .1rem 0 0;
  flex: none;
  accent-color: var(--blue);
}
.check-note {
  margin: .5rem 0 0;
  padding: .6rem .8rem;
  border-left: 2px solid var(--corn);
  background: var(--corn-tint);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .84rem;
  line-height: 1.55;
  color: var(--muted);
}
.check-note strong { color: var(--navy); }

@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* Genre picker: radio buttons styled as selectable cards, because choosing the
   category is the decision that changes the rest of the form. */
.genre-picker { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
@media (max-width: 620px) { .genre-picker { grid-template-columns: repeat(2, 1fr); } }
.genre-option { position: relative; }
.genre-option input { position: absolute; opacity: 0; width: 0; height: 0; }
.genre-option span {
  display: block;
  padding: .8rem .6rem;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}
.genre-option input:checked + span {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
  font-weight: 600;
}
.genre-option input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }

.file-preview {
  margin-top: .8rem;
  padding: .8rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
}
.file-preview img { max-height: 240px; width: auto; border-radius: var(--radius); margin: 0 auto; }
.file-preview p { margin: .6rem 0 0; font-size: .85rem; color: var(--muted); text-align: center; }

.form-aside {
  padding: 1.5rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
/* Sticky only in the two-column layout. Below that the guidelines sit above the
   form, and a sticky box there rides down over the fields as you scroll. */
@media (min-width: 901px) {
  .form-aside { position: sticky; top: 6rem; }
}
.form-aside h2 {
  font-family: var(--serif);
  font-size: 1.15rem;
  margin: 0 0 .8rem;
  color: var(--navy);
}
.form-aside ul { margin: 0; padding-left: 1.1rem; font-size: .89rem; color: var(--muted); }
.form-aside li { margin-bottom: .5rem; }
.form-aside .deadline {
  margin: 1.2rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: .88rem;
}
.form-aside .deadline strong { display: block; font-size: 1.05rem; color: var(--navy); }

.form-result { margin-top: 1.5rem; padding: 1.3rem 1.5rem; border-radius: var(--radius-lg); }
.form-result-ok { background: #e6f5ef; border: 1px solid #b8e2d2; }
.form-result-error { background: #fdecea; border: 1px solid #f5c6c0; }
.form-result h3 { font-family: var(--serif); margin: 0 0 .5rem; font-size: 1.25rem; }
.form-result p { margin: 0 0 .6rem; }
.form-result pre {
  overflow-x: auto;
  padding: .8rem;
  background: #fff;
  border-radius: var(--radius);
  font-size: .8rem;
}

/* ---------- issues ---------- */
.issue-list { display: grid; gap: 1.2rem; }
.issue-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1.6rem 1.8rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.issue-card h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  margin: 0 0 .3rem;
  color: var(--navy);
}
.issue-card p { margin: 0; color: var(--muted); font-size: .95rem; max-width: 40rem; }
.issue-status {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .7rem;
  border-radius: 999px;
}
.issue-status.open { background: #e6f5ef; color: var(--photography); }
.issue-status.upcoming { background: var(--line-soft); color: var(--muted); }
.issue-status.published { background: var(--corn-tint); color: var(--navy); }

/* ---------- empty + loading states ---------- */
.empty {
  padding: 4rem 1.5rem;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
}
.empty h3 { font-family: var(--serif); font-size: 1.3rem; color: var(--navy); margin: 0 0 .5rem; }
.empty p { margin: 0 auto 1.2rem; max-width: 26rem; }

/* ---------- prose pages (about) ---------- */
.page { padding: 3rem 0 4.5rem; }
.page-body { max-width: var(--read); }
.page-body h2 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--navy);
  margin: 2.5rem 0 .8rem;
}
.page-body h2:first-child { margin-top: 0; }
.page-body p { margin: 0 0 1.2rem; }
.page-body ul { margin: 0 0 1.2rem; padding-left: 1.3rem; }
.page-body li { margin-bottom: .5rem; }

/* ---------- staff ---------- */
/* The staff list sits outside .page-body so the photo grid can use the full
   width of the wrap instead of the 34rem reading measure. */
.staff { margin: 3rem 0 0; }
.staff h2 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 .5rem;
}
.staff-intro { color: var(--muted); margin: 0 0 1.8rem; max-width: var(--read); }

.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 2rem 1.5rem;
}
@media (max-width: 480px) { .staff-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; } }

.staff-photo {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  margin-bottom: .85rem;
}
.staff-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Same reasoning as .piece-thumb-empty — an obviously empty frame reads as
   "no photo yet" rather than pretending to be one. */
.staff-photo-empty {
  display: grid;
  place-items: center;
  height: 100%;
  color: var(--muted-light);
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  background:
    repeating-linear-gradient(45deg, var(--line-soft) 0 10px, transparent 10px 20px);
}

.staff-card h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 .2rem;
}
.staff-role {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 .6rem;
}
.staff-bio {
  font-size: .92rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, .72);
  padding: 3.5rem 0 2.5rem;
  font-size: .92rem;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.footer-brand { max-width: 22rem; }
.footer-brand .brand-name { color: #fff; font-size: 1.25rem; }
.footer-brand p { margin: .6rem 0 0; line-height: 1.6; }
.footer-links { display: flex; gap: 3rem; flex-wrap: wrap; }
.footer-col h3 {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  margin: 0 0 .8rem;
}
.footer-col a {
  display: block;
  margin-bottom: .45rem;
  color: rgba(255, 255, 255, .8);
  text-decoration: none;
}
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { padding-top: 1.5rem; font-size: .84rem; color: rgba(255, 255, 255, .5); }
.footer-bottom a { color: rgba(255, 255, 255, .7); }
