/* src/styles/calendar.css */
/* /calendar "What's Shooting" (markup built by src/scripts/calendar.js, so the rules live in this code asset).
   Week sections, each a list of rows: when on the left, what on the right. Kind is written out in words
   ("Student shoot", "Department event"); the left rule colour is extra. */
.shootcal__bar { margin-bottom: 2rem; }
.shootcal__crew { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px; font-weight: 600; }
.shootcal__crew input { width: 1.35rem; height: 1.35rem; accent-color: var(--gold); margin: 0; }
.shootcal__crew input:disabled + label { color: var(--muted); }
.shootcal__loading, .shootcal__none, .shootcal__week-note { color: var(--muted); margin: 0; }
.shootcal__week { margin: 0 0 2.5rem; }
.shootcal__week-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 1rem; margin: 0 0 1rem; padding-bottom: 0.6rem; border-bottom: 2px solid var(--gold); }
.shootcal__week-dates { font: 400 1rem/1.2 var(--font-mono); text-transform: none; letter-spacing: 0; color: var(--muted); }
.shootcal__week-note { margin: -0.4rem 0 1rem; font-size: var(--step--1); }
.shootcal__items { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
:root .shootcal__items > li::before { content: none; display: none; }
.shootcal__item { display: grid; grid-template-columns: minmax(9rem, 13rem) minmax(0, 1fr); gap: 0.35rem 1.5rem; margin: 0; padding: 1rem 1.15rem; border: 1px solid var(--glass-edge, var(--line)); border-left: 4px solid var(--gold); border-radius: var(--radius, 8px); background: var(--glass, var(--ink-1)); }
.shootcal__item--event { border-left-color: var(--purple-hi, #fdba74); }
.shootcal__when { margin: 0; font: 400 0.95rem/1.4 var(--font-mono); color: var(--gold-hi, var(--gold)); }
.shootcal__item--event .shootcal__when { color: var(--purple-hi, #fdba74); }
.shootcal__cont, .shootcal__time { color: var(--muted); }
.shootcal__body { min-width: 0; }
.shootcal__kind { margin: 0 0 0.15rem; font-size: var(--step--1); font-weight: 600; color: var(--muted); }
.shootcal__title { margin: 0; font: 700 var(--step-1)/1.3 var(--font-body); text-transform: none; letter-spacing: 0; overflow-wrap: anywhere; }
.shootcal__title a { color: var(--text); text-decoration: underline; text-decoration-color: var(--purple-hi, #fdba74); text-underline-offset: 0.2em; }
.shootcal__title a:hover { color: var(--gold); }
.shootcal__meta { margin: 0.2rem 0 0; color: var(--muted); }
.shootcal__crew-wanted { margin: 0.5rem 0 0; line-height: 1.5; }
.shootcal__crew-wanted a { font-weight: 700; }
.shootcal__end { margin: 0; color: var(--muted); }
.shootcal__about { margin: 2.5rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line); max-width: 65ch; font-size: var(--step--1); color: var(--muted); line-height: 1.6; }
@media (max-width: 40rem) { .shootcal__item { grid-template-columns: 1fr; } }
@media (forced-colors: active) { .shootcal__item { border-left-color: CanvasText; } }
/* /news "Upcoming Events": student shoots in the next 10 days (calendar.js initNext) */
.shoots-next { margin-top: 2.5rem; }
.shoots-next[hidden] { display: none; }
.shoots-next__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 1.5rem; margin-bottom: 1rem; }
.shoots-next__title { margin: 0; font: 700 var(--step-1)/1.3 var(--font-body); text-transform: none; letter-spacing: 0; }
.shoots-next .shootcal__title { font-size: var(--step-0); }
.shoots-next__none { margin: 0; color: var(--muted); }
@media print { .shootcal__bar { display: none; } .shootcal__item { background: none; border-color: #999; break-inside: avoid; } }


/* src/styles/crew-match.css */
/* Crew matches panel on /account/calls (markup from src/scripts/crew-match.js). */
.crew-match { margin: 1rem 0 0.5rem; padding: 1rem 1.1rem; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius, 8px); background: var(--ink-1); }
.crew-match[hidden] { display: none; }
.crew-match__title { margin: 0 0 0.3rem; font: 700 var(--step-1)/1.3 var(--font-body); text-transform: none; letter-spacing: 0; }
.crew-match__note { margin: 0 0 0.75rem; color: var(--muted); font-size: var(--step--1); line-height: 1.5; }
.crew-match__list { list-style: none; margin: 0; padding: 0; display: grid; }
:root .crew-match__list > li::before { content: none; display: none; }
.crew-match__person { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; padding: 0.75rem 0; border-top: 1px solid var(--line); }
.crew-match__who { flex: 1 1 16rem; min-width: 0; }
.crew-match__name { font-weight: 700; }
.crew-match__dept { margin-left: 0.5rem; padding: 0.1rem 0.5rem; border: 1px solid var(--line); border-radius: 999px; font-size: 0.8rem; color: var(--muted); }
.crew-match__fits { margin: 0.2rem 0 0; font-size: var(--step--1); color: var(--muted); }
.crew-match__invite { min-height: 44px; }
.crew-match__invite:disabled { opacity: 0.7; cursor: default; }
.crew-match__status { margin: 0.75rem 0 0; font-weight: 600; }
.crew-match__status:empty { display: none; }


/* src/styles/equipment.css */
/* Equipment Room: live status box (filled by src/scripts/er-status.js). The word in the title carries the meaning;
   the dot is extra. */
.er-status { margin: 0 0 1.5rem; padding: 0.9rem 1rem 0.95rem; border: 1px solid var(--line); border-left: 4px solid var(--control); border-radius: var(--radius); background: var(--ink-1); }
.er-status p { margin: 0; }
.er-status__title { display: flex; align-items: center; gap: 0.55rem; font-weight: 700; font-size: var(--step-1); color: var(--text); }
.er-status__title::before { content: ""; flex: 0 0 auto; width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--control); }
.er-status__text { margin-top: 0.3rem !important; font-size: var(--step--1); line-height: 1.5; color: var(--muted); }
.er-status[data-state="open"] { border-left-color: #4fbf7a; }
.er-status[data-state="open"] .er-status__title::before { background: #4fbf7a; }
.er-status[data-state="away"] { border-left-color: var(--gold); }
.er-status[data-state="away"] .er-status__title::before { background: var(--gold); }
.er-status[data-state="closed"] .er-status__title::before { background: transparent; border: 2px solid var(--muted); box-sizing: border-box; }

/* Door page (/equipment-room/status): the same box, big enough to read at arm's length. */
.er-status--big { margin-bottom: 3rem; padding: 1.5rem 1.5rem 1.6rem; border-left-width: 8px; }
/* Breathing room for the hours table and link under it. */
.er-status--big ~ .info-table { margin-bottom: 2.25rem; }
.er-status--big ~ .info-table .info-table__caption { padding-bottom: 0.75rem; text-align: left; }
.er-status--big ~ .info-table .info-table__label { text-align: left; padding-right: 1.5rem; }
.er-status--big ~ .er-door__more { margin: 0; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.er-ping + .er-staff, .er-status--big + .er-ping { margin-top: 0; }
.er-status--big .er-status__title { font: 800 clamp(2.4rem, 1.6rem + 4vw, 4rem)/1 var(--font-display); text-transform: uppercase; gap: 0.9rem; }
.er-status--big .er-status__title::before { width: 1.1rem; height: 1.1rem; }
.er-status--big .er-status__text { margin-top: 0.8rem !important; font-size: var(--step-1); line-height: 1.5; color: var(--text); max-width: 40ch; }

/* "Let Brian know you're here" and Brian's staff controls */
.er-ping, .er-staff { margin: 0 0 2rem; padding: 1.25rem 1.25rem 1.35rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-1); }
.er-ping[hidden] { display: none; }
.er-ping__title { margin: 0 0 0.35rem; font: 700 var(--step-1)/1.3 var(--font-body); text-transform: none; letter-spacing: 0; }
.er-ping__lede { margin: 0 0 1rem; color: var(--muted); font-size: var(--step--1); }
.er-ping__form { display: grid; gap: 1rem; justify-items: start; }
.er-ping__form[hidden] { display: none; }
.er-ping__need { margin: 0; padding: 0; border: 0; display: grid; gap: 0.25rem; }
.er-ping__need legend { margin-bottom: 0.35rem; font-weight: 700; }
.er-ping__choice { display: flex; align-items: center; gap: 0.6rem; min-height: 44px; cursor: pointer; }
.er-ping__choice input { width: 1.3rem; height: 1.3rem; margin: 0; accent-color: var(--gold); }
.er-ping__field { display: grid; gap: 0.35rem; }
.er-ping__field label, .er-staff__where label { font-weight: 700; }
.er-ping__input { min-height: 44px; width: min(100%, 22rem); padding: 0.5rem 0.75rem; border: 1px solid var(--control); border-radius: var(--radius); background: var(--ink); color: var(--text); font: inherit; }
.er-ping__send { min-height: 48px; }
.er-ping__said { margin: 1rem 0 0; font-weight: 600; font-size: var(--step-0); line-height: 1.5; }
.er-ping__said--answer { padding: 1rem 1.1rem 1.1rem; border-left: 6px solid var(--gold); border-radius: 8px; background: rgba(255, 191, 26, 0.09); font-weight: 400; }
.er-ping__said-head { margin: 0; font: 800 clamp(1.6rem, 1.3rem + 1.2vw, 2rem)/1.05 var(--font-display); text-transform: uppercase; color: var(--text); }
.er-ping__said-body { margin: 0.5rem 0 0; color: var(--text); max-width: 40ch; }
.er-ping__said-body a { color: var(--gold); font-weight: 600; overflow-wrap: anywhere; }
.er-ping__said:empty, .er-staff__msg:empty { display: none; }
.er-staff__row { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.er-staff__row .btn { min-height: 44px; }
.er-staff__sub { margin: 1.25rem 0 0.6rem; font: 700 var(--step-0)/1.3 var(--font-body); text-transform: none; letter-spacing: 0; }
.er-staff__where { display: grid; gap: 0.4rem; margin-top: 0.9rem; }
.er-staff__msg { margin: 1rem 0 0; font-weight: 600; }
@media (forced-colors: active) { .er-status { border-left-color: CanvasText; } .er-status__title::before { background: CanvasText; } }
@media print { .er-status, .er-ping, .er-staff { display: none; } }


/* src/styles/events.css */
/* Events: lists (/events, /news, home), the month view, and the event page.
   Markup comes from the lacc.site plugin and events.js, so it lives in a code asset (the publisher
   would prune these rules from the editor stylesheet). The date chip is a small slate: clapper
   stripes on top, month and weekday in Courier, the day in the display face. */

/* ---------- list ---------- */
.events__groups { display: grid; gap: var(--space-6, 3rem); }
.events__month {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.75rem);
  line-height: 1;
  margin: 0 0 var(--space-3, 1rem);
}
.events__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3, 1rem); }
.events__list--compact { grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); }
.event { margin: 0; }
.event[hidden], .events__group[hidden] { display: none; }
.event__card {
  position: relative;
  display: grid;
  grid-template-columns: 4.75rem 1fr;
  gap: var(--space-3, 1rem);
  align-items: start;
  padding: var(--space-3, 1rem);
  border: 1px solid var(--glass-edge, var(--line));
  border-radius: var(--radius-lg, 16px);
  background: var(--glass, var(--ink-1));
  box-shadow: var(--glass-shine, none), var(--drop, none);
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.event__card:hover { border-color: rgba(255, 191, 26, 0.35); background: var(--glass-hover, var(--ink-2)); }
.event__card:focus-within { border-color: var(--gold); }

.event__chip {
  margin: 0;
  display: grid;
  justify-items: center;
  overflow: hidden;
  border-radius: 6px;
  background: var(--ink);
  border: 1px solid var(--line);
  text-align: center;
  line-height: 1;
  padding-bottom: 0.45rem;
}
.event__chip::before {
  content: "";
  justify-self: stretch;
  height: 0.55rem;
  margin-bottom: 0.4rem;
  background: repeating-linear-gradient(-45deg, var(--gold) 0 0.5rem, var(--ink) 0.5rem 1rem);
}
.event__chip-mon, .event__chip-dow { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.04em; color: var(--muted); }
.event__chip-mon { color: var(--gold); }
.event__chip-day { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; line-height: 0.95; color: var(--text); }

.event__body { display: grid; gap: 0.35rem; min-width: 0; }
.event__title { margin: 0; font-family: var(--font-body); font-weight: 700; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem); line-height: 1.25; text-transform: none; letter-spacing: -0.01em; }
.event__link { color: var(--text); text-decoration: none; }
.event__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.event__link:hover, .event__link:focus-visible { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 0.2em; }
.event__link:focus-visible { outline: none; }
.event__card:has(.event__link:focus-visible) { outline: 3px solid var(--gold); outline-offset: 3px; }
.event__when { margin: 0; color: var(--gold-hi, var(--gold)); font-weight: 600; }
.event__where { margin: 0; color: var(--text); }
.event__summary { margin: 0.15rem 0 0; color: var(--muted); line-height: 1.6; max-width: 62ch; }
.event__status {
  margin: 0;
  justify-self: start;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
  background: var(--purple-hi, #fdba74);
  color: var(--ink);
  font-weight: 700;
}
.event[data-status="cancelled"] .event__title { text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: var(--purple-hi, #fdba74); }
.event[data-status="cancelled"] .event__when { color: var(--muted); }

.event__tags { list-style: none; margin: 0.35rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; position: relative; }
.event__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--step--1, 0.9rem);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text);
}
.event__tag--plain { color: var(--muted); }
/* Type = colour + shape + text, never colour alone. */
.event__tag[data-type]::before, .cal__event::before {
  content: "";
  flex: none;
  width: 0.7rem;
  height: 0.7rem;
  background: var(--tc, var(--gold));
  clip-path: var(--ts, circle(50%));
}
[data-type="screening"] { --tc: var(--gold); --ts: circle(50%); }
[data-type="workshop"] { --tc: #fdba74; --ts: inset(0); }
[data-type="info-session"] { --tc: #f5f1ea; --ts: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
[data-type="showcase"] { --tc: var(--gold-hi, #ffd25c); --ts: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
[data-type="speaker"] { --tc: #f9a8a8; --ts: polygon(50% 0, 100% 100%, 0 100%); }
[data-type="campus"] { --tc: #b3ab9c; --ts: polygon(50% 0, 100% 45%, 100% 100%, 0 100%, 0 45%); }
[data-type="deadline"] { --tc: #fb923c; --ts: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%); }
[data-type="outside"] { --tc: #f5f1ea; --ts: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 0, 25% 25%, 25% 75%, 75% 75%, 75% 25%, 25% 25%); }

.events__empty[hidden] { display: none; }
.events__empty a { color: var(--gold); }

/* ---------- controls ---------- */
.events-bar { display: flex; flex-wrap: wrap; gap: var(--space-3, 1rem) var(--space-4, 1.5rem); align-items: center; margin: 0 0 var(--space-4, 1.5rem); }
.events-bar:empty { display: none; }
.events-bar__group { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.events-bar__group[hidden] { display: none; }
.events-bar__btn {
  min-height: 44px;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: var(--step--1, 0.95rem);
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.events-bar__btn:hover { border-color: var(--gold); }
.events-bar__btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.events-bar__btn[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.events-bar__btn--type[data-type]:not([data-type="all"])::before { content: ""; width: 0.65rem; height: 0.65rem; background: var(--tc); clip-path: var(--ts); }
.events-bar__btn--type[aria-pressed="true"]::before { background: var(--ink); }

.events-subscribe { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin: var(--space-3, 1rem) 0 0; padding: 0; list-style: none; }
.events-subscribe a { color: var(--gold); }

/* ---------- month view ---------- */
.cal[hidden] { display: none; }
.cal__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3, 1rem); margin-bottom: var(--space-3, 1rem); }
.cal__title { margin: 0; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.75rem); line-height: 1; text-align: center; }
.cal__nav { min-height: 44px; white-space: nowrap; }
.cal__table { width: 100%; border-collapse: separate; border-spacing: 4px; table-layout: fixed; }
.cal__th { font-family: var(--font-mono); font-weight: 400; font-size: 0.85rem; color: var(--muted); padding: 0.25rem; text-align: left; }
.cal__th abbr { text-decoration: none; }
.cal__cell {
  vertical-align: top;
  height: 7rem;
  padding: 0.4rem;
  border-radius: 6px;
  background: rgba(38, 33, 28, 0.5);
  border: 1px solid transparent;
}
.cal__cell--blank { background: transparent; }
.cal__cell--past { opacity: 0.7; }
.cal__cell[aria-current="date"] { border-color: var(--gold); }
.cal__cell[aria-current="date"] .cal__num { background: var(--gold); color: var(--ink); border-radius: 999px; padding: 0 0.45rem; }
.cal__num { display: inline-block; font-family: var(--font-mono); font-size: 0.9rem; color: var(--muted); margin-bottom: 0.25rem; }
.cal__cell--has .cal__num { color: var(--text); font-weight: 700; }
.cal__dow { display: none; }
.cal__events { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.25rem; }
.cal__event { display: flex; gap: 0.35rem; align-items: baseline; font-size: 0.85rem; line-height: 1.3; }
.cal__event::before { width: 0.55rem; height: 0.55rem; transform: translateY(0.05rem); }
.cal__link { color: var(--text); text-decoration: none; overflow-wrap: anywhere; }
.cal__link:hover, .cal__link:focus-visible { color: var(--gold); text-decoration: underline; }
.cal__link:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 2px; }
.cal__event[data-status="cancelled"] .cal__link { text-decoration: line-through; }
.cal__time { color: var(--gold-hi, var(--gold)); font-family: var(--font-mono); font-size: 0.8rem; }
.cal__none { color: var(--muted); margin-top: var(--space-3, 1rem); }

/* Phones: the grid becomes a list of the days that have events. */
@media (max-width: 47.99rem) {
  .cal__nav-label { display: none; }
  .cal__table, .cal__table tbody, .cal__table tr, .cal__table td { display: block; width: auto; height: auto; }
  .cal__table thead { display: none; }
  .cal__table { border-spacing: 0; }
  .cal__cell { display: none !important; }
  .cal__cell--has, .cal__cell[aria-current="date"] { display: grid !important; grid-template-columns: 4.5rem 1fr; gap: 0.75rem; margin-bottom: 0.5rem; padding: 0.75rem; }
  .cal__dow { display: inline; }
  .cal__num { margin: 0; }
  .cal__event { font-size: 1rem; }
}

/* ---------- event page ---------- */
.event-banner { margin: 0 0 var(--space-4, 1.5rem); padding: var(--space-3, 1rem); border-radius: 8px; border-left: 4px solid var(--purple-hi, #fdba74); background: rgba(194, 65, 12, 0.18); }
.event-banner--past { border-left-color: var(--muted); background: rgba(38, 33, 28, 0.6); }
.event-facts { margin: 0 0 var(--space-4, 1.5rem); display: grid; gap: 0.5rem; }
.event-facts__row { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: 0.75rem 1rem; border-radius: 8px; background: var(--glass, var(--ink-1)); border: 1px solid var(--glass-edge, var(--line)); }
.event-facts__term { font-family: var(--font-mono); color: var(--muted); font-size: 0.9rem; padding-top: 0.15rem; }
.event-facts__value { margin: 0; line-height: 1.6; }
.event-facts__value a { color: var(--gold); }
.event-facts__note { display: block; color: var(--muted); font-size: var(--step--1, 0.9rem); }
.event-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0 0 var(--space-5, 2rem); }
@media (max-width: 34rem) {
  .event-facts__row { grid-template-columns: 1fr; gap: 0.15rem; }
  .event__card { grid-template-columns: 3.75rem 1fr; gap: 0.75rem; }
  .event__chip-day { font-size: 2rem; }
}
/* ---------- RSVP ---------- */
.rsvp { margin: 0 0 var(--space-5, 2rem); padding: var(--space-4, 1.5rem); border-radius: var(--radius-lg, 16px); border: 1px solid var(--glass-edge, var(--line)); border-top: 4px solid var(--gold); background: var(--glass, var(--ink-1)); scroll-margin-top: 6rem; }
.rsvp__title { margin: 0 0 0.5rem; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.75rem); line-height: 1; }
.rsvp__lede { margin: 0 0 var(--space-3, 1rem); color: var(--muted); max-width: 62ch; line-height: 1.6; }
.rsvp__count { margin: 0 0 var(--space-3, 1rem); font-weight: 700; color: var(--gold-hi, var(--gold)); }
.rsvp__count[hidden], .rsvp__form[hidden], .rsvp__error[hidden] { display: none; }
.rsvp__fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: var(--space-3, 1rem); margin-bottom: var(--space-3, 1rem); }
.rsvp__field { display: grid; gap: 0.35rem; align-content: start; }
.rsvp__label { font-weight: 700; }
.rsvp__input { min-height: 48px; padding: 0.65rem 0.85rem; border-radius: 8px; border: 2px solid var(--control, #8a8172); background: var(--ink); color: var(--text); font: inherit; width: 100%; box-sizing: border-box; }
.rsvp__input:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-color: var(--gold); }
.rsvp__input[aria-invalid="true"] { border-color: #fb923c; }
.rsvp__error { margin: 0; color: #fdba74; font-size: var(--step--1, 0.9rem); }
.rsvp__error::before { content: "▲ "; font-size: 0.75em; }
.rsvp__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.rsvp__msg { margin: var(--space-3, 1rem) 0 0; font-weight: 600; }
.rsvp__msg:empty { display: none; }
.rsvp__msg[data-kind="ok"] { padding: 0.75rem 1rem; border-radius: 8px; background: rgba(255, 191, 26, 0.12); border-left: 4px solid var(--gold); }
.rsvp__msg[data-kind="error"] { color: #fdba74; }
.rsvp__msg:focus { outline: none; }
.rsvp__msg:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.rsvp__again { margin-top: var(--space-3, 1rem); }
.rsvp__cancel p { margin: 0 0 0.75rem; font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .event__card { transition: none; } }

/* ---------- Staff portal: safety quiz referrals (prod-staff.js) ---------- */
.ps-referrals { margin-top: var(--space-5, 2rem); scroll-margin-top: 6rem; }
.ps-referrals[hidden] { display: none; }
.ps-ref__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.ps-ref { display: grid; grid-template-columns: 1fr auto; gap: 0.25rem 1rem; align-items: center; padding: 0.9rem 1rem; border-radius: 8px; border: 1px solid var(--line); background: var(--ink-1, #1a1815); }
.ps-ref__name { margin: 0; font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; text-transform: none; }
.ps-ref__meta { margin: 0; grid-column: 1; color: var(--muted); font-size: var(--step--1, 0.9rem); }
.ps-ref > .btn, .ps-ref > .crew-hint { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
@media (max-width: 40rem) { .ps-ref { grid-template-columns: 1fr; } .ps-ref > .btn, .ps-ref > .crew-hint { grid-column: 1; grid-row: auto; justify-self: start; } }
@media (forced-colors: active) {
  .event__tag[data-type]::before, .cal__event::before, .events-bar__btn--type::before { forced-color-adjust: none; background: CanvasText; }
  .events-bar__btn[aria-pressed="true"] { outline: 3px solid Highlight; }
}


/* src/styles/generated-content.css */
/* Styles for HTML that isn't built in the page editor:
   - lacc.site plugin output (.requirements__*, .program-links__*)
   - site.js output (.disclosure__list / __chip)
   The publisher prunes class rules it can't find in the editor's node tree,
   so these live in a plain stylesheet instead. */

/* ---------- Degree requirements (plugin: pathway-requirements) ---------- */
.requirements { display: grid; gap: clamp(1.75rem, 1.25rem + 1.5vw, 2.5rem); margin-top: 0.5rem; }
.requirements__group { margin: 0; }
.requirements__title {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem;
  margin: 0 0 0.85rem;
  font-family: var(--font-body); font-weight: 700; font-size: 1.125rem; line-height: 1.3;
  text-transform: none; letter-spacing: 0; color: var(--text);
}
.requirements__count {
  display: inline-flex; align-items: center; min-height: 26px; padding: 0.1rem 0.6rem;
  font: 400 0.78rem/1.2 var(--font-mono); letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--control); border-radius: 3px;
}
.requirements__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.requirements__item {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
  gap: 0.25rem 1.25rem; margin: 0; padding: 0.9rem 1.1rem;
  background-color: var(--ink-1); border: 1px solid var(--line); border-radius: 4px;
  transition: border-color 0.2s, transform 0.3s cubic-bezier(.2,.8,.2,1);
}
.requirements__item:hover { border-color: var(--control); }
.requirements__link {
  display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); align-items: baseline; gap: 0.15rem 1rem;
  color: var(--text); text-decoration: none; font-weight: 600; line-height: 1.4;
}
a.requirements__link::after { content: ""; position: absolute; inset: 0; border-radius: 4px; }
a.requirements__link:focus-visible { outline: none; }
.requirements__item:has(a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.requirements__code { font: 400 0.9rem var(--font-mono); color: var(--gold); letter-spacing: 0.03em; white-space: nowrap; }
.requirements__link--static .requirements__code { color: var(--muted); }
.requirements__name { background: linear-gradient(currentColor, currentColor) 0 100% / 0% 0.08em no-repeat; transition: background-size 0.35s cubic-bezier(0.65, 0, 0.25, 1); }
.requirements__item:hover .requirements__name { background-size: 100% 0.08em; }
.requirements__meta { font-size: var(--step--1); color: var(--muted); white-space: nowrap; text-align: right; }
.requirements__empty { color: var(--muted); margin: 0; }

/* ---------- "Counts toward" on course pages (plugin: course-programs) ---------- */
.program-links__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.program-links__item {
  position: relative; display: flex; flex-direction: column; gap: 0.3rem; margin: 0; padding: 0.95rem 1.1rem;
  background-color: var(--ink-1); border: 1px solid var(--line); border-radius: 4px; transition: border-color 0.2s;
}
.program-links__item:hover { border-color: var(--control); }
.program-links__link {
  width: fit-content; font-weight: 700; font-size: 1.0625rem; color: var(--text); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0% 0.08em no-repeat;
  transition: background-size 0.35s cubic-bezier(0.65, 0, 0.25, 1);
}
.program-links__link::after { content: ""; position: absolute; inset: 0; border-radius: 4px; }
.program-links__link:focus-visible { outline: none; }
.program-links__item:has(a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.program-links__item:hover .program-links__link { background-size: 100% 0.08em; }
.program-links__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.6rem; font: 400 0.78rem var(--font-mono); color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }

/* Award badge (plugin "Counts toward"; colours come from [data-credential] rules in site CSS) */
.credential-badge { display: inline-flex; align-items: center; min-height: 24px; padding: 0.22rem 0.55rem 0.15rem; font: 700 0.72rem/1.1 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; border-radius: 3px; }
.program-links__empty { color: var(--muted); margin: 0; }

/* ---------- Bulleted lists (site.js: data-split-lines, .facility__highlights) ---------- */
.bullets { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; max-width: 62ch; color: var(--text); }
.bullets__item { position: relative; padding-left: 1.5rem; line-height: 1.5; }
.bullets__item::before { content: ""; position: absolute; left: 0.1rem; top: 0.62em; width: 0.45rem; height: 0.45rem; background: var(--gold); border-radius: 1px; }
@media (forced-colors: active) { .bullets__item::before { background: CanvasText; } }

/* ---------- Contact rows (faculty profile) ---------- */
.contact { list-style: none; margin: var(--space-3) 0 0; padding: 0; display: grid; gap: 0.5rem; }
.contact__item { margin: 0; }
.contact__link, .contact__item--static {
  display: flex; align-items: center; gap: 0.85rem; min-height: 56px; padding: 0.6rem 0.9rem;
  background-color: var(--ink-1); border: 1px solid var(--line); border-radius: 4px; color: var(--text); text-decoration: none;
  transition: border-color 0.2s, background-color 0.2s;
}
.contact__link:hover { border-color: var(--gold); color: var(--text); background-color: var(--ink-2); }
.contact__link:hover .contact__value { text-decoration: underline; text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
.contact__icon { flex: none; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background-color: rgba(255, 191, 26, 0.12); }
.contact__icon::before { content: ""; width: 1.15rem; height: 1.15rem; background-color: var(--gold); -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.contact__icon--phone, .contact__icon[data-kind="phone"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E"); }
.contact__icon--email, .contact__icon[data-kind="email"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 6L2 7'/%3E%3C/svg%3E"); }
.contact__icon--web, .contact__icon[data-kind="social"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20M12 2a15 15 0 0 1 4 10 15 15 0 0 1-4 10 15 15 0 0 1-4-10 15 15 0 0 1 4-10z'/%3E%3C/svg%3E"); }
.contact__icon--office, .contact__icon[data-kind="address"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
.contact__icon--person { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E"); }
.contact__icon[data-kind="transit"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='3' width='14' height='14' rx='3'/%3E%3Cpath d='M5 11h14M8 21l2-4M16 21l-2-4'/%3E%3Ccircle cx='9' cy='14' r='.5'/%3E%3Ccircle cx='15' cy='14' r='.5'/%3E%3C/svg%3E"); }
.contact__icon[data-kind="hours"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.contact__link--static:hover { border-color: var(--line); background-color: var(--ink-1); }
/* Contact page aside: two loops styled as one list */
.contact-info__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.contact-info__list + .contact-info__list { margin-top: 0.5rem; }
.contact-info__list .contact__item { margin: 0; }
.contact__item--group { display: grid; gap: 0.5rem; }
.contact__text { display: flex; flex-direction: column; min-width: 0; }
.contact__label { font: 400 0.75rem/1.3 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.contact__value { font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
@media (forced-colors: active) {
  .contact__link, .contact__item--static { border-color: CanvasText; }
  .contact__icon::before { forced-color-adjust: none; background-color: CanvasText; }
}

/* ---------- Education (faculty profile) ---------- */
.profile__education { margin: 0 0 var(--space-4); }
.profile__education-title { margin: 0 0 0.75rem; font: 400 0.8rem/1.3 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
p.profile__education-list { margin: 0; font-weight: 600; }
.profile__education-list.bullets { gap: 0.45rem; }
.profile__education-list .bullets__item { font-weight: 600; }

/* ---------- Testimonial slider (.tslider; plugin filters slides, site.js drives it) ---------- */
.tslider { margin: 0; }
.tslider--wide { grid-column: 1 / -1; margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); }
.tslider--home { margin-top: var(--space-4); }
.tslider__title { margin-bottom: var(--space-3); }
.tslider__controls { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin: 0 0 var(--space-3); }
.tslider__controls[hidden] { display: none; }
.tslider__btn {
  min-height: 44px; min-width: 44px; padding: 0.55rem 1rem 0.4rem; border: 1px solid var(--control); border-radius: 3px;
  background: transparent; color: var(--text); font: 600 0.95rem/1.1 var(--font-body); cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.tslider__btn:hover { border-color: var(--gold); color: var(--gold-hi); }
.tslider__btn--toggle { min-width: 5.5rem; }
.tslider__status { margin: 0 0 0 0.5rem; font: 400 0.85rem var(--font-mono); color: var(--muted); letter-spacing: 0.04em; }
.tslider__track { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.tslider--enhanced .tslider__track { display: block; }
.tslider__slide { margin: 0; }
.tslider__slide[hidden] { display: none; }
.tslider__figure {
  position: relative; margin: 0; padding: clamp(1.75rem, 1.25rem + 2vw, 3rem); max-width: 60rem;
  background-color: var(--ink-1); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 4px;
}
.tslider__quote { margin: 0 0 var(--space-3); }
.tslider__text {
  margin: 0; max-width: 52ch; font: 500 clamp(1.2rem, 1.05rem + 0.7vw, 1.6rem)/1.45 var(--font-body); color: var(--text); text-wrap: pretty;
}
.tslider__text::before { content: "\201C"; color: var(--gold); margin-right: 0.05em; }
.tslider__text::after { content: "\201D"; color: var(--gold); margin-left: 0.05em; }
.tslider__caption { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; }
.tslider__photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--ink-2); }
.tslider__who { display: flex; flex-direction: column; gap: 0.15rem; }
.tslider__name { font-weight: 700; color: var(--text); }
.tslider__meta { display: flex; flex-wrap: wrap; gap: 0.25rem 0.75rem; font-size: var(--step--1); color: var(--muted); }
.tslider__meta > * + *::before { content: ""; display: inline-block; width: 4px; height: 4px; margin-right: 0.75rem; vertical-align: middle; background: var(--control); border-radius: 50%; }
.tslider__sample {
  margin-left: auto; align-items: center; padding: 0.25rem 0.6rem 0.15rem; border: 1.5px dashed var(--muted); border-radius: 3px;
  font: 700 0.75rem/1.2 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
@media (forced-colors: active) {
  .tslider__figure { border-left-color: CanvasText; }
  .tslider__btn { border-color: ButtonText; }
}
@media (prefers-reduced-motion: reduce) { .tslider__btn { transition: none; } }

/* ---------- FAQ answers split into paragraphs + bullets (site.js formatLongText) ---------- */
/* Animated plus/minus for FAQ and disclosure accordions: the vertical bar
   collapses into the horizontal one while the icon turns half a turn. */
details.faq__item > .faq__question::after,
details.disclosure > .disclosure__summary::after {
  content: ""; display: block; flex: 0 0 auto; justify-self: end; width: 1.1rem; height: 1.1rem; color: var(--gold);
  background:
    linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
  transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1), background-size 0.35s cubic-bezier(0.65, 0, 0.35, 1);
}
details.faq__item[open] > .faq__question::after,
details.disclosure[open] > .disclosure__summary::after {
  content: ""; transform: rotate(180deg);
  background-size: 100% 2px, 2px 0%;
}
@media (prefers-reduced-motion: reduce) {
  details.faq__item > .faq__question::after, details.disclosure > .disclosure__summary::after { transition: none; }
}
@media (forced-colors: active) {
  details.faq__item > .faq__question::after, details.disclosure > .disclosure__summary::after { content: "+"; background: none; width: auto; height: auto; color: CanvasText; font: 400 1.5rem/1 var(--font-mono); transform: none; }
  details.faq__item[open] > .faq__question::after, details.disclosure[open] > .disclosure__summary::after { content: "\2013"; }
}
details.faq__item > summary { transition: color 0.2s; }
details.faq__item[open] > summary { color: var(--gold); }
details.faq__item > summary:hover { color: var(--gold-hi); }
@media (forced-colors: active) { details.faq__item[open] > summary { color: Highlight; } }
.faq__answer-body { padding-bottom: 40px; }
.faq__answer-body > * { margin-top: 0; margin-bottom: 0; }
.faq__answer-body > .faq__answer { padding-bottom: 0; }
.faq__answer-body > * + * { margin-top: 0.9rem; }
.faq__list { max-width: 64ch; }

/* ---------- Footer social links ---------- */
.social { list-style: none; margin: var(--space-3) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.social__item { margin: 0; }
.social__link { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px; color: var(--text); text-decoration: none; font-weight: 600; }
.social__link:hover { color: var(--gold-hi); }
.social__link:hover .social__handle { text-decoration: underline; text-underline-offset: 0.18em; }
.social__icon { flex: none; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 1px solid var(--control); transition: border-color 0.2s, background-color 0.2s; }
.social__link:hover .social__icon { border-color: var(--gold); background-color: rgba(255, 191, 26, 0.12); }
.social__icon::before { content: ""; width: 1.05rem; height: 1.05rem; background-color: currentColor; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.social__icon--instagram { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h3l2-3h6l2 3h3a1 1 0 0 1 1 1v11a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1z'/%3E%3Ccircle cx='12' cy='13' r='4'/%3E%3C/svg%3E"); }
.social__icon--substack { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16v16H4z'/%3E%3Cpath d='M8 8h8M8 12h8M8 16h5'/%3E%3C/svg%3E"); }
.social__text { display: flex; flex-direction: column; line-height: 1.2; }
.social__handle { font: 400 0.8rem var(--font-mono); color: var(--muted); }
@media (forced-colors: active) { .social__icon::before { forced-color-adjust: none; background-color: LinkText; } }

/* ---------- External links (site.js initExternalLinks) ---------- */
.sr-only--external { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
a[data-external]:not(.social__link):not(.contact__link):not(.brand)::after {
  content: ""; display: inline-block; width: 0.7em; height: 0.7em; margin-left: 0.3em; vertical-align: 0.05em; flex: none;
  background-color: currentColor; opacity: 0.8;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (forced-colors: active) { a[data-external]::after { forced-color-adjust: none; background-color: LinkText; } }
/* Menu: the arrow swings 45° down (↗ → →) on hover/focus */
.nav a[data-external]::after { transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
.nav a[data-external]:hover::after, .nav a[data-external]:focus-visible::after { transform: rotate(45deg); }
@media (prefers-reduced-motion: reduce) { .nav a[data-external]::after { transition: none; } }

@media (max-width: 640px) {
  .requirements__item { grid-template-columns: 1fr; }
  .requirements__link { grid-template-columns: 1fr; gap: 0.2rem; }
  .requirements__meta { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .requirements__name, .program-links__link { transition: none; }
}

.letter {
  display: inline-block;
}

/* Individual offset variations to mimic the hillside */
.up {
  transform: translateY(-7px) rotate(-1deg);
}

.up-mid {
  transform: translateY(-3px) rotate(1deg);
}

.down-mid {
  transform: translateY(px) rotate(-0.5deg);
}

.down {
  transform: translateY(15px) rotate(1.5deg);
}

/* src/styles/links.css */
/* Links: no underline at rest. A gold underline draws in from the left on hover and keyboard focus.
   Replaces the always-on underline + "link-wipe" animation from the global styles (Brian, Nov 8 2026: legibility).
   Links inside running text in main stay semibold, because gold on the cream body text is under 3:1,
   so color alone wouldn't mark them as links (WCAG 1.4.1). Buttons (.btn) are untouched.
   :root:root lifts specificity above the component rules (e.g. :root .prod-problems__list a:visited), since this file loads at the default priority. */
:root:root :is(
  :where(main, .site-footer) a:not([class]),
  .section__link, .card__action, .program-tile__cta, .breadcrumbs__link,
  .crew-btn-link, .people-links__link, .crew-call__cta, .crew-call__by a, .shootcal__title a,
  .roadmap__step a.roadmap__more, .roadmap__step a.roadmap__more:visited,
  .prod-problems__list a, .prod-problems__list a:visited
) {
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 0.09em;
  padding-bottom: 0.08em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  animation: none;
}
:root:root :is(
  :where(main, .site-footer) a:not([class]),
  .section__link, .card__action, .breadcrumbs__link,
  .crew-btn-link, .people-links__link, .crew-call__cta, .crew-call__by a, .shootcal__title a,
  .roadmap__step a.roadmap__more, .prod-problems__list a
):is(:hover, :focus-visible),
:root .program-tile:is(:hover, :focus-visible, :focus-within) .program-tile__cta {
  background-size: 100% 0.09em;
  animation: none;
}
/* Running text: semibold so links stand out without the underline. */
:root main :is(p, li, dd, dt, td, th, figcaption, blockquote, address, label, small) a:not([class]) {
  font-weight: 600;
}
@media (prefers-reduced-motion: no-preference) {
  :root:root :is(
    :where(main, .site-footer) a:not([class]),
    .section__link, .card__action, .program-tile__cta, .breadcrumbs__link,
    .crew-btn-link, .people-links__link, .crew-call__cta, .crew-call__by a, .shootcal__title a,
    .roadmap__step a.roadmap__more, .prod-problems__list a
  ) {
    transition: color 0.25s ease, background-size 0.35s cubic-bezier(0.65, 0, 0.25, 1);
  }
}
/* High-contrast / forced colors drop background images, so fall back to a real underline there. */
@media (forced-colors: active) {
  :root:root :is(:where(main, .site-footer) a:not([class]), .section__link, .card__action, .program-tile__cta, .crew-btn-link, .people-links__link, .crew-call__cta, .crew-call__by a, .shootcal__title a, .roadmap__step a.roadmap__more, .prod-problems__list a) {
    text-decoration: underline;
  }
}


/* src/styles/people-links.css */
/* People links (src/scripts/people-links.js): plain text links between someone's crew profile, alumni entry and story. */
.people-links { display: flex; flex-wrap: wrap; gap: 0.25rem 1.1rem; margin: 0.75rem 0 0; padding: 0; list-style: none; font-size: var(--step--1); line-height: 1.4; }
.people-links li { margin: 0; }
.people-links__link { display: inline-flex; align-items: center; min-height: 44px; color: var(--gold); font-weight: 600; text-decoration: underline; text-underline-offset: 0.2em; }
.people-links__link:hover { text-decoration-thickness: 2px; }
.quote__footer .people-links { flex-basis: 100%; }
/* Where a link lands: a brief outline so people can see which card it was. */
.alum-card.is-target, .grid__item.is-target, figure.is-target { outline: 3px solid var(--gold); outline-offset: 4px; border-radius: var(--radius); }
@media print { .people-links { display: none; } }


/* src/styles/quiz-practice.css */
/* Safety quiz practice (src/scripts/quiz-practice.js) on /safety/quiz#practice. Reuses the real quiz's .quiz styles. */
.quiz-practice { margin: 1.25rem 0 2rem; padding: clamp(1rem, 0.8rem + 1vw, 1.5rem); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 14px; background: rgba(14, 13, 12, 0.35); }
.quiz-practice > p:only-child { margin: 0; }
.quiz-practice__setup { display: grid; gap: 1rem; }
.quiz-practice__pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1rem 1.25rem; align-items: end; }
.quiz-practice__pick .form__field { margin: 0; }
.quiz-practice .crew-form__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0; }
.quiz-practice .crew-form__actions .btn { margin: 0; }
.quiz-practice__status { margin: 0; color: var(--muted); }
.quiz-practice__status:empty { display: none; }
:root .quiz-practice .quiz-practice__title { margin: 0 0 0.35rem; font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); line-height: 1.25; scroll-margin-top: 6rem; }
.quiz-practice__title:focus { outline: none; }
.quiz-practice .quiz__form > p { margin: 0; color: var(--muted); }
/* Question cards: same look as the real quiz (those rules are scoped to .quiz in productions.css). */
:root .quiz-practice .quiz__q { margin: 0; padding: 1rem 1.1rem 1.1rem; border: 1px solid var(--line); border-radius: 14px; min-width: 0; }
:root .quiz-practice .quiz__legend { padding: 0 0.35rem; font-family: var(--font-body); text-transform: none; letter-spacing: normal; font-weight: 700; font-size: 1.1rem; line-height: 1.45; max-width: 60ch; color: var(--text); }
:root .quiz-practice .quiz__n { display: block; margin-bottom: 0.15rem; font-family: var(--font-mono); font-size: 0.85rem; font-weight: 400; color: var(--muted); }
:root .quiz-practice .quiz__opt { display: flex; align-items: flex-start; gap: 0.6rem; min-height: 44px; margin: 0; padding: 0.55rem 0; line-height: 1.45; }
:root .quiz-practice .quiz__opt .form__checkbox { flex: none; margin-top: 0.2rem; }
.quiz-practice .quiz__errors:focus { outline: 3px solid var(--gold); outline-offset: 3px; }
/* Results: missed first, then right. Each item says right or missed in words; the border color only repeats it. */
.quiz-practice__results { display: grid; gap: 0.85rem; }
.quiz-practice__results > * { margin: 0; }
:root .quiz-practice__results h4 { margin: 0.5rem 0 0; font-family: var(--font-mono); font-size: 0.95rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--gold-hi); }
:root .quiz-practice__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
:root .quiz-practice__list > li { margin: 0; padding: 0.85rem 1rem; border: 1px solid var(--line); border-left: 4px solid var(--control); border-radius: 8px; line-height: 1.5; }
:root .quiz-practice__list > li::before { content: none; display: none; }
:root .quiz-practice__list > li.is-wrong { border-left-color: #e07a6c; background: rgba(143, 45, 34, 0.14); }
:root .quiz-practice__list > li.is-right { border-left-color: var(--gold); }
.quiz-practice__item p { margin: 0 0 0.35rem; max-width: 64ch; }
.quiz-practice__item p:last-child { margin: 0; }
.quiz-practice__q { font-weight: 600; }
.quiz-practice__core { font-family: var(--font-mono); font-size: 0.85rem; color: var(--gold-hi); }
@media (forced-colors: active) { .quiz-practice, :root .quiz-practice__list > li { border-color: CanvasText; } }
/* Production Safety pages: the "The rules" heading on the account's quiz intro. */
.quiz__rules-title { margin: 0.25rem 0 0; font-size: 1.15rem; }


/* src/styles/start.css */
/* /start "Your First Semester": one numbered checklist across three phases. Numbers are real order (a sequence),
   the checkbox is the native control, and the label is the step title, so the whole title is a big tap target. */
.path { counter-reset: path; }
.path__progress { margin: 0 0 1.5rem; padding: 0.6rem 1rem; width: fit-content; border: 1px solid var(--line); border-radius: 999px; background: var(--ink-1); font-weight: 700; font-size: var(--step--1); }
.path__progress[hidden] { display: none; }
.path__phase { margin: 0 0 2.75rem; }
.path__phase-title { margin: 0 0 0.75rem; padding-bottom: 0.6rem; border-bottom: 2px solid var(--gold); }
.path__list { list-style: none; margin: 0; padding: 0; }
:root .path__list > li::before { content: none; display: none; }
.path__step { counter-increment: path; display: grid; grid-template-columns: 2.25rem 1.75rem minmax(0, 1fr); align-items: start; column-gap: 0.75rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.path__step::after { content: counter(path, decimal-leading-zero) / ""; grid-column: 1; grid-row: 1; padding-top: 0.15rem; font: 700 1.05rem/1 var(--font-mono); color: var(--gold); }
.path__check { grid-column: 2; grid-row: 1; width: 1.5rem; height: 1.5rem; margin: 0; accent-color: var(--gold); cursor: pointer; }
.path__body { grid-column: 3; grid-row: 1; min-width: 0; }
.path__title { display: block; margin: 0 0 0.35rem; font-weight: 700; font-size: var(--step-1); line-height: 1.3; color: var(--text); cursor: pointer; }
.path__text { margin: 0 0 0.6rem; max-width: 62ch; line-height: 1.6; }
.path__links { display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; margin: 0; font-weight: 600; }
.path__links a { display: inline-flex; align-items: center; min-height: 24px; }
.path__step.is-done .path__title { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.path__step.is-done .path__text { color: var(--muted); }
.path__note { margin: 0; font-size: var(--step--1); color: var(--muted); }
@media (max-width: 480px) { .path__step { grid-template-columns: 1.75rem 1.6rem minmax(0, 1fr); column-gap: 0.6rem; } }
@media print { .path__check { accent-color: #000; } }


/* src/styles/stories.css */
/* Student stories (/stories): one story per row, name beside the words, a comfortable line length.
   Long quotes collapse to a preview with "Read X's full story" (stories.js). */

:root [data-filter-noun="stories"] .filter__list { grid-template-columns: minmax(0, 1fr); gap: clamp(1.25rem, 1rem + 1vw, 2rem); align-items: start; max-width: 64rem; }
:root [data-filter-noun="stories"] .quote {
  height: auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem 2.5rem; align-items: start;
  padding: clamp(1.5rem, 1.1rem + 1.5vw, 2.5rem);
}

/* Who's speaking: shown first, name large, status and role on their own lines */
:root [data-filter-noun="stories"] .quote__footer {
  order: -1; display: flex; flex-direction: column; gap: 0.3rem; margin: 0;
  padding: 0 0 1rem; border-bottom: 1px solid var(--line); font-size: 0; /* hides the ", " between the name and status */
}
:root [data-filter-noun="stories"] .quote__cite { font-size: var(--step-1); line-height: 1.2; }
:root [data-filter-noun="stories"] .quote__status { font-size: var(--step--1); font-weight: 600; color: var(--gold-hi); line-height: 1.35; }
:root [data-filter-noun="stories"] .quote__meta { font-size: var(--step--1); color: var(--muted); line-height: 1.4; }
:root [data-filter-noun="stories"] .quote__status + .quote__meta:not(:empty)::before { content: "" / ", "; margin: 0; }

/* The words: body-sized type, generous leading, gold quote marks */
:root [data-filter-noun="stories"] .quote__text {
  margin: 0; max-width: 62ch; color: var(--text);
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); line-height: 1.7; text-wrap: pretty;
}
:root [data-filter-noun="stories"] .quote__text::before { content: "\201C"; margin-right: 0.05em; color: var(--gold); font-weight: 700; }
:root [data-filter-noun="stories"] .quote__text::after { content: "\201D"; color: var(--gold); font-weight: 700; }

@media (min-width: 52rem) {
  :root [data-filter-noun="stories"] .quote { grid-template-columns: 12rem minmax(0, 1fr); }
  :root [data-filter-noun="stories"] .quote__footer { grid-column: 1; grid-row: 1 / span 2; padding: 0.2rem 1.5rem 0 0; border-bottom: 0; border-right: 1px solid var(--line); align-self: stretch; }
  :root [data-filter-noun="stories"] .quote__text, :root [data-filter-noun="stories"] .quote__more { grid-column: 2; }
}

/* Collapsed preview */
.quote--long:not(.is-open) .quote__text {
  max-height: calc(1.55em * 5); overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
}
:root [data-filter-noun="stories"] .quote--long:not(.is-open) .quote__text { max-height: calc(1.7em * 6); }

.quote__more {
  justify-self: start; align-self: start;
  display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: 44px; margin: -0.5rem 0 0; padding: 0.5rem 0 0.35rem;
  border: 0; background: none; color: var(--gold-hi);
  font: 700 var(--step-0)/1.2 var(--font-body); cursor: pointer;
}
.quote__more[hidden] { display: none; }
.quote__more span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.25em; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); }
.quote__more:hover span { text-decoration-color: currentColor; }
.quote__more:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 2px; }
.quote__more svg { flex: none; transition: transform 0.25s ease; }
.quote.is-open .quote__more svg { transform: rotate(180deg); }

@media (prefers-reduced-motion: reduce) { .quote__more svg { transition: none; } }
@media (forced-colors: active) {
  .quote--long:not(.is-open) .quote__text { -webkit-mask-image: none; mask-image: none; }
  .quote__more { color: LinkText; }
}
@media print {
  .quote--long:not(.is-open) .quote__text, :root [data-filter-noun="stories"] .quote--long:not(.is-open) .quote__text { max-height: none; overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .quote__more { display: none; }
}


/* src/styles/crew.css */
/* Crew directory, crew calls and crew account (markup built by src/scripts/crew.js). */
.crew__status { margin: 0 0 var(--space-3); color: var(--muted); }
.crew__status:empty { display: none; }
/* Hold room for the account while it loads so the footer doesn't jump up and back down. */
[data-crew="account"] { min-height: 70vh; }
/* Alum badge on crew cards (set from the end-of-semester "Did you finish at LACC?" email). */
:root .crew-card__alum { display: inline-block; margin: 0.3rem 0 0.15rem; padding: 0.1rem 0.6rem; border: 1px solid rgba(255, 191, 26, 0.55); border-radius: 999px; color: var(--gold); font-size: 0.82rem; font-weight: 700; line-height: 1.5; }
@media (forced-colors: active) { :root .crew-card__alum { border-color: CanvasText; color: CanvasText; } }
.crew-dir__alum { align-self: end; }
/* New alum page (/alumni/?a=1…) */
.alum-hello { border-color: rgba(255, 191, 26, 0.45); }
.alum-status .form__check { margin: 0.35rem 0; }
.alum-undo { margin-top: 1.25rem; color: var(--muted); }
/* "Keep your account after LACC" prompt above the account tabs (students without a personal email yet). */
.crew-keep { max-width: 46rem; margin: 0 0 var(--space-4); padding: var(--space-3) var(--space-4); border: 1px solid rgba(255, 191, 26, .45); border-radius: 14px; background: rgba(255, 191, 26, .06); }
.crew-keep__title { margin: 0 0 var(--space-1); font-size: var(--step-1); }
.crew-keep > p { margin: 0 0 var(--space-2); max-width: 60ch; }
.crew-keep__form .form__field { margin: 0 0 var(--space-2); max-width: 28rem; }
.crew-keep__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); }
.crew-keep__msg { margin: var(--space-2) 0 0; }
.crew-keep__msg:empty { display: none; }
@media (forced-colors: active) { .crew-keep { border-color: CanvasText; } }
.crew__note { max-width: 62ch; margin: var(--space-3) 0 0; color: var(--muted); font-size: var(--step--1); }
.crew__alert { margin: 0 0 var(--space-3); padding: 0.8rem 1rem; border-left: 4px solid #d9534f; background: rgba(217, 83, 79, 0.12); border-radius: 4px; }
.crew__alert:empty, .crew__alert[hidden] { display: none; }
.crew__ok { margin: 0 0 var(--space-3); padding: 0.8rem 1rem; border-left: 4px solid #3fae6e; background: rgba(63, 174, 110, 0.12); border-radius: 4px; }
.crew__ok:empty, .crew__ok[hidden] { display: none; }
.crew-btn-link { background: none; border: 0; padding: 0.25rem 0; min-height: 44px; color: var(--purple-hi, #a98ce0); font: inherit; text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer; }
.crew-btn-link:hover { color: var(--gold-hi); }

/* Tags */
.crew-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.crew-tags li { margin: 0; padding: 0.25rem 0.6rem; font-size: 0.85rem; line-height: 1.3; border: 1px solid var(--control); border-radius: 999px; color: var(--text); }
.crew-tags li.is-match { border-color: var(--gold); color: var(--gold-hi); }

/* Directory */
.crew-dir__filters { display: grid; grid-template-columns: minmax(12rem, 18rem) minmax(12rem, 1fr); gap: 0.75rem 1rem; align-items: end; margin: 0 0 var(--space-3); }
.crew-dir__filters .form__check { grid-column: 1 / -1; }
.crew-dir__filters[hidden] { display: none; }
@media (max-width: 640px) { .crew-dir__filters { grid-template-columns: 1fr; } }
.crew-dir__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 1rem; }
.crew-card { margin: 0; display: flex; flex-direction: column; gap: 0.75rem; padding: 1.1rem 1.15rem 1.2rem; background-color: var(--ink-1); border: 1px solid var(--line); border-radius: 4px; scroll-margin-top: 6rem; }
.crew-card.is-target { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(243, 177, 14, 0.25); }
.crew-card__head { display: flex; align-items: center; gap: 0.85rem; }
.crew-card__photo { flex: none; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--ink-2); }
.crew-card__initials { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--ink-2); color: var(--muted); font-weight: 700; font-size: 1.15rem; }
.crew-card__name { margin: 0; font-size: 1.2rem; line-height: 1.2; }
.crew-card__name:focus { outline: none; }
.crew-card__focus { margin: 0.2rem 0 0; color: var(--gold-hi); font-weight: 600; font-size: 0.95rem; display: flex; align-items: center; gap: 0.4rem; }
.crew-card__star { flex: none; width: 1.05em; height: 1.05em; fill: currentColor; }
@media (forced-colors: active) { .crew-card__star { fill: CanvasText; } }
.crew-card__label { margin: 0 0 0.35rem; font: 400 0.75rem/1.3 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.crew-card__bio { margin: 0; white-space: pre-line; color: var(--text); line-height: 1.5; }
.crew-card__bio.is-clamped { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; line-clamp: 5; overflow: hidden; }
.crew-card__toggle { align-self: flex-start; margin-top: -0.4rem; }
.crew-card__links { list-style: none; margin: auto 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; }
.crew-card__links a { display: inline-flex; align-items: center; min-height: 44px; }
.crew-card__links:has(.crew-icon-link) { gap: 0.5rem; }
.crew-card__links a.crew-icon-link { justify-content: center; width: 44px; height: 44px; border: 1px solid var(--control); border-radius: 50%; color: var(--gold); background: none; text-decoration: none; transition: color 0.2s, border-color 0.2s, background-color 0.2s; }
.crew-card__links a.crew-icon-link:hover { color: var(--ink); background-color: var(--gold); border-color: var(--gold); }
.crew-card__links a.crew-icon-link:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.crew-icon-link svg { display: block; pointer-events: none; }
@media (forced-colors: active) { .crew-card__links a.crew-icon-link { border-color: LinkText; color: LinkText; } }

/* Crew calls */
.crew-calls__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
/* Cards never grow past the screen: long words and links wrap instead of stretching the card. */
.crew-call { min-width: 0; overflow-wrap: anywhere; }
.crew-call { margin: 0; padding: clamp(1.1rem, 0.9rem + 1vw, 1.75rem); background-color: var(--ink-1); border: 1px solid var(--line); border-left: 4px solid var(--purple, #7b51c2); border-radius: 4px; scroll-margin-top: 6rem; }
.crew-call.is-target { border-color: var(--gold); border-left-color: var(--gold); }
.crew-call__title { margin: 0 0 0.35rem; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); line-height: 1.15; }
.crew-call__title:focus { outline: none; }
.crew-call__by { margin: 0 0 1rem; color: var(--muted); }
.crew-call__facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0.3rem 1.25rem; margin: 0 0 1rem; }
.crew-call__facts dt { color: var(--muted); }
.crew-call__facts dd { margin: 0; font-weight: 600; }
.crew-call__desc { margin: 1rem 0; max-width: 68ch; white-space: pre-line; line-height: 1.55; }
.crew-call__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.crew-call__panel { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.crew-call__panel[hidden] { display: none; }
.crew-calls__past { list-style: none; margin: var(--space-3) 0 0; padding: 0; display: grid; gap: 0.5rem; }
.crew-calls__past li { margin: 0; padding: 0.75rem 1rem; display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; align-items: baseline; border-bottom: 1px solid var(--line); }
.crew-calls__past strong { font-size: 1.05rem; }
.crew-calls__past span { color: var(--muted); font-size: var(--step--1); }
.crew-badge { display: inline-flex; align-items: center; min-height: 24px; padding: 0.15rem 0.5rem; font: 700 0.72rem/1.1 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; border-radius: 3px; border: 1px solid var(--control); color: var(--muted); }
.crew-badge--live { border-color: #3fae6e; color: #7fd8a4; }
.crew-badge--pending { border-color: var(--gold); color: var(--gold-hi); }
.crew-badge--no { border-color: #d9534f; color: #f19d9a; }

/* Account */
.crew-account { max-width: 46rem; }
.crew-panel { margin: 0 0 var(--space-4); padding: clamp(1.1rem, 0.9rem + 1vw, 1.75rem); background-color: var(--ink-1); border: 1px solid var(--line); border-radius: 4px; scroll-margin-top: 6rem; }
.crew-panel__title { margin: 0 0 0.5rem; font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.75rem); }
.crew-panel__title:focus { outline: none; }
.crew-panel__lede { margin: 0 0 1.25rem; color: var(--muted); max-width: 60ch; }
.crew-who { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; margin: 0 0 var(--space-3); }
.crew-who p { margin: 0; }
.crew-fieldset { margin: 1.25rem 0 0; padding: 0; border: 0; }
.crew-fieldset legend { padding: 0; margin: 0 0 0.35rem; font-weight: 700; }
.crew-fieldset__hint { margin: 0 0 0.6rem; color: var(--muted); font-size: var(--step--1); }
.crew-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); gap: 0.15rem 1rem; }
.crew-checks .form__check { margin: 0; min-height: 44px; display: flex; align-items: center; gap: 0.5rem; }
.crew-hint { display: block; margin: 0.3rem 0 0; color: var(--muted); font-size: var(--step--1); }
.crew-form__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-top: 1.5rem; }
.crew-mycalls { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.crew-mycalls li { margin: 0; padding: 0.85rem 1rem; border: 1px solid var(--line); border-radius: 4px; display: grid; gap: 0.5rem; }
.crew-mycalls__head { display: flex; flex-wrap: wrap; gap: 0.5rem 0.75rem; align-items: center; }
.crew-mycalls__note { margin: 0; color: var(--muted); white-space: pre-line; }

/* How it works */
.crew-steps { list-style: none; margin: var(--space-3) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1rem; counter-reset: step; }
.crew-steps__item { margin: 0; padding: 1.1rem 1.15rem; border-top: 3px solid var(--gold); background: var(--ink-1); border-radius: 0 0 4px 4px; counter-increment: step; }
.crew-steps__title { margin: 0 0 0.4rem; font-size: 1.15rem; }
.crew-steps__title::before { content: counter(step) ". "; color: var(--gold); }
.crew-steps__text { margin: 0; color: var(--muted); }

/* Contact form helpers (src/scripts/contact.js) */
.form [hidden] { display: none !important; }
/* Leftover spam-trap field: never shown or announced. */
.form > input[data-instatic-field-id="company"] { display: none !important; }
.contact-form > form:empty, .contact-form > form:not(:has(:not([data-instatic-honeypot]))) { display: none; }
.form__hint { margin: 0.35rem 0 0; color: var(--muted); font-size: var(--step--1); }
.form__hint:empty { display: none; }
.form__fieldset { margin: 0; padding: 0; border: 0; display: grid; gap: 0.1rem; }
.form__fieldset .form__check { min-height: 44px; display: flex; align-items: center; gap: 0.5rem; margin: 0; }

@media (forced-colors: active) {
  .crew-card, .crew-call, .crew-panel, .crew-tags li, .crew-badge { border-color: CanvasText; }
}

/* Crew account: on-page jump links */
.crew-jump { margin: 0 0 var(--space-3); }
.crew-jump ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.crew-jump li { margin: 0; }
.crew-jump a { display: inline-flex; align-items: center; min-height: 44px; }

/* Student showcase (src/scripts/crew.js initShowcase) */
.showcase-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.showcase__filters { display: grid; grid-template-columns: minmax(10rem, 14rem) minmax(8rem, 10rem) minmax(12rem, 1fr); gap: 0.75rem 1rem; align-items: end; margin: 0 0 var(--space-3); }
.showcase__filters[hidden] { display: none; }
@media (max-width: 720px) { .showcase__filters { grid-template-columns: 1fr 1fr; } .showcase__filters .form__field:last-child { grid-column: 1 / -1; } }
@media (max-width: 420px) { .showcase__filters { grid-template-columns: 1fr; } }
.showcase__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); gap: 1.5rem 1.25rem; }
.showcase-card { margin: 0; display: flex; flex-direction: column; background-color: var(--ink-1); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; scroll-margin-top: 6rem; }
.showcase-card.is-featured { border-color: var(--gold); }
.showcase-card.is-target { box-shadow: 0 0 0 3px rgba(243, 177, 14, 0.35); }
.showcase-card__watch { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; background: linear-gradient(135deg, #2a1f45, var(--ink-2, #1a1a24)); cursor: pointer; overflow: hidden; }
.showcase-card__thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.showcase-card__play { position: absolute; left: 0.85rem; bottom: 0.85rem; display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px; padding: 0.4rem 1rem 0.4rem 0.8rem; background: rgba(10, 10, 14, 0.85); color: #fff; font-weight: 700; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.35); }
.showcase-card__play::before { content: ""; width: 0; height: 0; border-style: solid; border-width: 0.45em 0 0.45em 0.75em; border-color: transparent transparent transparent var(--gold, #f3b10e); }
.showcase-card__watch:hover .showcase-card__play, .showcase-card__watch:focus-visible .showcase-card__play { background: var(--purple, #7b51c2); }
.showcase-card__watch:focus-visible { outline: 3px solid var(--gold, #f3b10e); outline-offset: -3px; }
.showcase-card__body { display: flex; flex-direction: column; gap: 0.45rem; padding: 1rem 1.15rem 1.15rem; flex: 1; }
.showcase-card__flag { margin: 0; color: var(--gold-hi); font-weight: 700; font-size: 0.9rem; }
.showcase-card__title { margin: 0; font-size: 1.3rem; line-height: 1.2; }
.showcase-card__meta, .showcase-card__by, .showcase-card__notes { margin: 0; color: var(--muted); font-size: var(--step--1); }
.showcase-card__logline { margin: 0.2rem 0; line-height: 1.5; }
.showcase-card__body .crew-btn-link { align-self: flex-start; margin-top: auto; }

.showcase-dialog { width: min(100% - 2rem, 60rem); max-height: calc(100dvh - 2rem); padding: 0; color: var(--text); background: var(--ink-1, #14141c); border: 1px solid var(--line); border-radius: 6px; }
.showcase-dialog::backdrop { background: rgba(5, 5, 10, 0.82); }
.showcase-dialog__inner { padding: clamp(1rem, 0.8rem + 1vw, 1.75rem); display: grid; gap: 0.85rem; }
.showcase-dialog__bar { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.showcase-dialog__title { margin: 0; font-size: clamp(1.4rem, 1.15rem + 1vw, 2rem); line-height: 1.15; }
.showcase-dialog__close { flex: none; }
.showcase-dialog__notes { margin: 0; padding: 0.6rem 0.9rem; border-left: 4px solid var(--gold); background: rgba(243, 177, 14, 0.1); }
.showcase-dialog__stage { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 4px; overflow: hidden; }
.showcase-dialog__stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.showcase-dialog__play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: #000; cursor: pointer; display: grid; place-items: center; }
.showcase-dialog__play img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.75; }
.showcase-dialog__playlabel { position: relative; min-height: 44px; display: inline-flex; align-items: center; padding: 0.6rem 1.25rem; background: var(--purple, #7b51c2); color: #fff; font-weight: 700; border-radius: 999px; }
.showcase-dialog__play:focus-visible { outline: 3px solid var(--gold, #f3b10e); outline-offset: -3px; }
.showcase-dialog__meta { margin: 0; color: var(--muted); }
.showcase-dialog__logline { margin: 0; font-size: 1.1rem; line-height: 1.5; max-width: 68ch; }
.showcase-dialog__text { margin: 0; white-space: pre-line; line-height: 1.55; max-width: 68ch; }
@media (forced-colors: active) {
  .showcase-card, .showcase-dialog, .showcase-card__play, .showcase-dialog__playlabel { border: 1px solid CanvasText; }
}

/* Account: pending review notes and headshot upload */
.crew__pending { margin: 0 0 var(--space-3); padding: 0.8rem 1rem; border-left: 4px solid var(--gold); background: rgba(243, 177, 14, 0.1); border-radius: 4px; }
.crew-photo { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.crew-photo__preview { flex: none; }
.crew-photo__img, .crew-photo__initials { display: grid; place-items: center; width: 128px; height: 128px; border-radius: 50%; object-fit: cover; background: var(--ink-2); color: var(--muted); font-weight: 700; font-size: 2rem; }
.crew-photo__actions { margin-top: 0; }
.crew-photo__file { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
/* Headshot cropper (crew.js photoCropper) */
.crew-photo__preview:has(.crew-crop) { flex: 1 1 100%; }
.crew-crop { display: grid; gap: 0.75rem; width: min(100%, 22rem); }
.crew-crop__stage { position: relative; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 6px; background: var(--ink-2); cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
.crew-crop__stage.is-dragging { cursor: grabbing; }
.crew-crop__stage:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.crew-crop__canvas { display: block; width: 100%; height: 100%; }
.crew-crop__ring { position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 100vmax rgba(10, 10, 14, 0.5); outline: 2px solid rgba(255, 255, 255, 0.85); outline-offset: -2px; pointer-events: none; }
.crew-crop__controls { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1rem; }
.crew-crop__label { font-weight: 700; }
.crew-crop__zoom { flex: 1 1 8rem; min-height: 44px; margin: 0; accent-color: var(--gold); }
.crew-crop .crew-hint { margin: 0; }
@media (forced-colors: active) { .crew-crop__ring { box-shadow: none; outline-color: CanvasText; } }

/* Crew account: signed-in bar + three separate areas (Profile / Crew Calls / Showcase) */
.crew-account__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin: 0 0 var(--space-4); padding: 0 0 1rem; border-bottom: 1px solid var(--line); }
.crew-account__bar .crew-who { margin: 0; color: var(--muted); }
.crew-account__bar .crew-who strong { color: var(--text); font-weight: 600; }
.crew-tabs ul { list-style: none; margin: 0; padding: 4px; display: flex; flex-wrap: wrap; gap: 4px; background: var(--ink-1); border: 1px solid var(--line); border-radius: 999px; }
.crew-tabs li { margin: 0; padding: 0; }
/* The tab bar is a plain <ul>, so it was picking up the gold bullets meant for lists in page text. */
:root .crew-tabs ul > li { margin: 0; padding: 0; }
:root .crew-tabs ul > li::before { content: none; display: none; }
/* Sliding gold pill behind the current tab */
.crew-tabs--pill { position: relative; }
.crew-tabs__pill { position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 1; border-radius: 999px; background: var(--gold); box-shadow: 0 0 22px -6px rgba(255, 191, 26, 0.55); pointer-events: none; }
.crew-tabs--pill .crew-tabs__link { position: relative; z-index: 2; transition: color 0.25s ease, background-color 0.2s ease; }
.crew-tabs--pill .crew-tabs__link[aria-current="page"], .crew-tabs--pill .crew-tabs__link[aria-current="page"]:hover { background: none; color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .crew-tabs--pill .crew-tabs__link { transition: none; } }
@media (forced-colors: active) {
  .crew-tabs__pill { display: none; }
  :root .crew-tabs--pill .crew-tabs__link[aria-current="page"] { background: Highlight; color: HighlightText; forced-color-adjust: none; }
}
/* Signed-in account: the bar and tabs stay the same width on every tab; only the planner's content goes full width. */
:root .crew-account:has(> .crew-account__bar) { max-width: none; }
:root .crew-account:has(> .crew-account__bar) > .crew-view:not([data-view="planner"]) { max-width: 46rem; }
.crew-tabs__link, .crew-tabs__link:link, .crew-tabs__link:visited { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.15rem; border-radius: 999px; color: var(--text); font-weight: 600; text-decoration: none; border: 0; background: none; box-shadow: none; }
.crew-tabs__link:hover { color: var(--gold-hi); background: var(--ink-2); }
.crew-tabs__link[aria-current="page"] { background: var(--gold); color: var(--ink); }
.crew-tabs__link:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.crew-view[hidden] { display: none; }
.crew-status-line { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; margin: 0 0 var(--space-3); color: var(--muted); }
.crew-status-line a { color: var(--gold); }
@media (max-width: 40rem) {
  .crew-tabs, .crew-tabs ul { width: 100%; }
  .crew-tabs li { flex: 1 1 0; }
  .crew-tabs__link { justify-content: center; width: 100%; padding: 0 0.5rem; }
}

/* Role chips (button cloud). The checkbox stays a real checkbox; only its drawing changes. */
.crew-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.crew-chip { position: relative; display: inline-flex; margin: 0; cursor: pointer; }
.crew-chip__input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.crew-chip__label { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; padding: 0 1rem; border: 1px solid var(--control); border-radius: 999px; color: var(--text); background: var(--ink-1); font-weight: 600; font-size: 0.95rem; line-height: 1.2; transition: background-color 0.15s, border-color 0.15s, color 0.15s; }
.crew-chip__label::before { content: "+"; font-weight: 700; color: var(--muted); }
.crew-chip:hover .crew-chip__label { border-color: var(--gold); }
.crew-chip__input:checked + .crew-chip__label { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.crew-chip__input:checked + .crew-chip__label::before { content: "✓"; color: var(--ink); }
.crew-chip__input:focus-visible + .crew-chip__label { outline: 3px solid var(--gold); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .crew-chip__label { transition: none; } }
@media (forced-colors: active) {
  .crew-chip__label, .crew-tabs ul { border-color: CanvasText; }
  .crew-chip__input:checked + .crew-chip__label, .crew-tabs__link[aria-current="page"] { background: Highlight; color: HighlightText; forced-color-adjust: none; }
}

/* Equipment catalog (/equipment-room/catalog) */
.gear-filters { display: grid; gap: 1.25rem; margin: 0 0 var(--space-3); }
.gear-search { margin: 0; max-width: 32rem; }
.gear-filter__label { margin: 0 0 0.5rem; font-weight: 700; }
.gear-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.gear-pill { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; padding: 0 1rem; border: 1px solid var(--control); border-radius: 999px; color: var(--text); background: var(--ink); font: inherit; font-weight: 600; font-size: 0.95rem; line-height: 1.2; cursor: pointer; }
.gear-pill:hover { border-color: var(--gold); }
.gear-pill[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.gear-pill[aria-pressed="true"]::before { content: "✓"; }
.gear-pill:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.gear-filters .crew-fieldset__hint { margin: -0.5rem 0 0; }
.gear-count { margin: 0 0 var(--space-3); color: var(--muted); }
.gear-group { margin: 0 0 var(--space-4); }
.gear-group__title { margin: 0 0 1rem; }
.gear-group__count { color: var(--muted); font-size: 0.6em; font-weight: 600; }
.gear-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); gap: 0 2rem; }
.gear-card { display: flex; gap: 1rem; align-items: flex-start; margin: 0; padding: 1rem 0; border-top: 1px solid var(--line); }
.gear-card__img { flex: none; width: 88px; height: 88px; object-fit: contain; background: #fff; border-radius: 10px; }
.gear-card__img--none { display: block; background: var(--ink-2); }
.gear-card__body { min-width: 0; }
.gear-card__title { margin: 0 0 0.25rem; font-family: var(--font-body); font-size: 1rem; line-height: 1.3; letter-spacing: 0; text-transform: none; }
.gear-card__meta, .gear-card__classes { margin: 0 0 0.35rem; color: var(--muted); font-size: 0.875rem; }
.gear-card__facts { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.75rem; margin: 0.2rem 0 0.45rem; font-size: 0.875rem; }
.gear-cat { --c: var(--muted); display: inline-flex; align-items: center; min-height: 26px; padding: 0.1rem 0.7rem; border-radius: 999px; font-weight: 600; font-size: 0.8rem; color: var(--c); background: color-mix(in srgb, var(--c) 16%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 40%, transparent); }
.gear-cat--camera { --c: #ffcf4d; }
.gear-cat--electric { --c: #ffa26b; }
.gear-cat--grip { --c: #ff8fa3; }
.gear-cat--sound { --c: #6fd6e8; }
.gear-cat--production { --c: #b99bff; }
.gear-cat--educational-entry-level { --c: #8fe0a6; }
.gear-cat--general-support { --c: #c3c3d8; }
.gear-qty { color: var(--muted); font-variant-numeric: tabular-nums; }
.gear-card__classes-label { color: var(--text); font-weight: 600; }
.gear-card__reserve { margin: 0.5rem 0 0; font-size: 0.9rem; }
@media (forced-colors: active) { .gear-cat { box-shadow: none; border: 1px solid CanvasText; } .gear-pill[aria-pressed="true"] { background: Highlight; color: HighlightText; forced-color-adjust: none; } .gear-card { border-color: CanvasText; } }
/* Paged lists: the Show more button under long lists */
.crew-more { display: flex; justify-content: center; margin-top: 2rem; }
.crew-more[hidden] { display: none; }
/* Crew call: Instagram tag options appear under the story checkbox */
.crew-call__tag { margin-top: 1rem; padding-left: 1.75rem; display: grid; gap: 0.75rem; }
.crew-call__tag[hidden], .crew-call__handle[hidden] { display: none; }
.crew-call__handle .form__input { max-width: 22rem; }
/* Pills and chips: the check mark never changes the width, and the text sits on the optical
   center (Overpass's ascender pushes caps ~0.17em above center, so the top padding nudges it down). */
.gear-pill { position: relative; justify-content: center; padding: 0.34em 1.4rem 0; }
.gear-pill::before { content: "✓"; position: absolute; left: 0.6rem; top: 50%; transform: translateY(-42%); font-size: 0.85em; opacity: 0; }
.gear-pill[aria-pressed="true"]::before { content: "✓"; opacity: 1; }
.crew-chip__label { padding: 0.34em 1rem 0; }
.crew-chip__label::before { display: inline-block; width: 0.9em; text-align: center; }
.gear-cat { padding-top: calc(0.1rem + 0.3em); padding-bottom: 0.1rem; }

/* ---------- Alumni accounts (Nov 10 2026) ---------- */
/* Crew calls posted by an LACC alum: a gold pill with a mortarboard, right under the "Personal project" pill. */
.crew-call__alum {
  display: inline-flex; align-items: center; gap: 0.4rem; width: fit-content;
  margin: 0.4rem 0 0; padding: 0.2rem 0.75rem 0.12rem 0.6rem;
  border: 1.5px solid rgba(255, 191, 26, 0.7); border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 191, 26, 0.16), rgba(194, 65, 12, 0.14));
  color: var(--gold); font: 700 0.85rem/1.3 var(--font-body); letter-spacing: 0;
}
.crew-call__alum-mark {
  flex: none; width: 1.05em; height: 1.05em; margin-top: -0.12em; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3 1 9l11 6 9-4.91V17h2V9L12 3zm-6.82 9.4V16c0 1.8 3.05 4 6.82 4s6.82-2.2 6.82-4v-3.6L12 16.2 5.18 12.4z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3 1 9l11 6 9-4.91V17h2V9L12 3zm-6.82 9.4V16c0 1.8 3.05 4 6.82 4s6.82-2.2 6.82-4v-3.6L12 16.2 5.18 12.4z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.crew-call__by + .crew-call__alum { margin-top: 0.5rem; }
@media (forced-colors: active) {
  .crew-call__alum { border-color: CanvasText; background: Canvas; color: CanvasText; }
  .crew-call__alum-mark { background: CanvasText; }
}
/* Alumni welcome above the profile form, and the story form's character count. */
.crew-alum-hello { border-left: 4px solid var(--gold); }
.crew-alum-hello p { margin: 0; }
.crew-story__count { margin: -0.5rem 0 1rem; font-size: var(--step--1); color: var(--muted); }


/* src/styles/brand.css */
/* Brand refresh (Oct 2026): "Tungsten" palette + glass cards
   Warm charcoal darks, gold for anything you can act on, ember for special moments.
   Depth comes from light: warm stage lights drifting behind the page (site.js adds
   .stage-lights and moves them slowly with GSAP), film grain, and frosted glass cards
   that let that light through.
   Selectors start with :root so they win over the older component rules.
   To go back to the original palette, delete the "Palette" block below. */

/* ---------- Palette (overrides the design-system tokens) ---------- */
:root {
  --ink: #0e0d0c;
  --ink-1: #1a1815;
  --ink-2: #26231e;
  --line: #36322b;
  --text: #f5f1ea;
  --muted: #b3ab9c;
  --control: #8a8172;
  --frame: #7a7366;
  /* The second accent: ember instead of purple. -hi is for text on dark. */
  --purple: #c2410c;
  --purple-deep: #7c2d12;
  --purple-hi: #fdba74;
  --violet: #fdba74;
  --violet-hi: #fed7aa;
}

/* ---------- Depth tokens ---------- */
:root {
  --radius: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --glass: rgba(38, 33, 28, 0.72);
  --glass-hover: rgba(50, 43, 36, 0.8);
  --glass-edge: rgba(255, 236, 214, 0.09);
  --glass-shine: inset 0 1px 0 rgba(255, 244, 228, 0.12);
  --drop: 0 22px 44px -26px rgba(0, 0, 0, 0.95), 0 2px 6px -2px rgba(0, 0, 0, 0.5);
  --drop-hover: 0 30px 56px -24px rgba(0, 0, 0, 1), 0 16px 36px -20px rgba(255, 191, 26, 0.35);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Light ---------- */
/* Smooth scrolling: no background-attachment: fixed (it repaints the whole screen on every scroll frame).
   The bottom ember glow now lives in the fixed vignette layer (body::before), which the GPU just moves. */
:root body {
  background-color: var(--ink);
  background-image: none;
}
/* Stage lights: soft warm beams fixed behind everything (added by site.js) */
.stage-lights { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.stage-lights__beam { position: absolute; border-radius: 50%; will-change: transform; } /* soft gradients only: a blur filter here re-rendered every frame */
.stage-lights__beam--ember { width: 46vmax; height: 34vmax; right: -10vmax; top: -6vmax; background: radial-gradient(closest-side, rgba(194, 65, 12, 0.30), transparent); }
.stage-lights__beam--gold { width: 40vmax; height: 34vmax; left: -12vmax; bottom: -8vmax; background: radial-gradient(closest-side, rgba(255, 191, 26, 0.13), transparent); }
.stage-lights__beam--warm { width: 30vmax; height: 26vmax; left: 38%; top: 42%; background: radial-gradient(closest-side, rgba(253, 186, 116, 0.07), transparent); }
@media (prefers-reduced-transparency: reduce) { .stage-lights { display: none; } }
/* Slow drift (site.js sets each beam's path). Transform-only, so it runs on the compositor with no page redraws. */
@media (prefers-reduced-motion: no-preference) {
  .stage-lights__beam--drift { animation: stage-drift var(--drift-d, 20s) ease-in-out var(--drift-delay, 0s) infinite alternate; }
}
@keyframes stage-drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(var(--drift-x, 0), var(--drift-y, 0)) scale(var(--drift-s, 1)); } }

:root .page-head {
  position: relative;
  border-bottom: 0;
  background:
    radial-gradient(55% 140% at 0% 0%, rgba(255, 191, 26, 0.10), transparent 62%),
    radial-gradient(45% 120% at 100% 0%, rgba(194, 65, 12, 0.18), transparent 60%);
}
:root .page-head::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 15%, var(--line) 85%, transparent);
}
:root .section--surface,
:root .subscribe {
  border-top: 0;
  background:
    radial-gradient(60% 100% at 100% 0%, rgba(194, 65, 12, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(26, 24, 21, 0.7), rgba(14, 13, 12, 0.2));
}
:root .revival { background-image: radial-gradient(80% 120% at 0% 0%, rgba(194, 65, 12, 0.20), transparent 60%); }

/* ---------- Glass cards: things you click, and forms ---------- */
:root .card,
:root .pathway,
:root .person,
:root .program-tile,
:root .crew-card,
:root .crew-call,
:root .showcase-card,
:root .crew-panel {
  border: 1px solid var(--glass-edge);
  border-radius: var(--radius-lg);
  background: var(--glass);
  /* No backdrop blur: with the stage lights moving behind, every card re-blurred every frame while scrolling. */
  box-shadow: var(--glass-shine), var(--drop);
  transition: transform 0.35s cubic-bezier(.2, .7, .2, 1), box-shadow 0.35s ease, background-color 0.35s ease, border-color 0.35s ease;
}
:root .person { overflow: hidden; }
/* Pointer light: a soft neutral glow that follows the mouse across the card (site.js eases --mx/--my with GSAP). */
:root .card, :root .pathway, :root .person, :root .program-tile, :root .crew-card, :root .showcase-card, :root .gear-card { position: relative; isolation: isolate; }
:root .card::after, :root .pathway::after, :root .person::after, :root .program-tile::after, :root .crew-card::after, :root .showcase-card::after, :root .gear-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: -1; /* sits under the card's text so it never washes it out */
  background: radial-gradient(20rem circle at var(--mx, 50%) var(--my, 0%), rgba(255, 240, 215, 0.07), rgba(255, 240, 215, 0.025) 45%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
:root .card:hover::after, :root .pathway:hover::after, :root .person:hover::after, :root .program-tile:hover::after, :root .crew-card:hover::after, :root .showcase-card:hover::after, :root .gear-card:hover::after { opacity: 1; }
:root .card:has(.card__link):hover,
:root .pathway:hover,
:root .person:hover,
:root .program-tile:hover,
:root .crew-card:hover,
:root .showcase-card:hover {
  transform: translateY(-3px);
  background-color: var(--glass-hover);
  border-color: rgba(255, 191, 26, 0.38);
  box-shadow: var(--glass-shine), var(--drop-hover);
}
:root .crew-card.is-target, :root .crew-call.is-target, :root .crew-panel.is-target, :root .showcase-card.is-target { border-color: rgba(255, 191, 26, 0.5); box-shadow: var(--glass-shine), var(--drop-hover); }
:root .program-tile--cinema { background: radial-gradient(80% 100% at 0% 0%, rgba(255, 191, 26, 0.14), transparent 60%), var(--glass); }
:root .program-tile--television { background: radial-gradient(80% 100% at 100% 0%, rgba(194, 65, 12, 0.26), transparent 60%), var(--glass); }
:root .card__media, :root .facility__photo, :root .showcase-card__thumb { border-radius: calc(var(--radius-lg) - 6px); box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 1); }
:root .slate__body { border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--glass-shine), var(--drop); }

/* Gear list: lighter glass (no blur) so hundreds of items scroll smoothly */
:root .gear-card {
  border: 1px solid var(--glass-edge);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(48, 42, 35, 0.5), rgba(30, 27, 23, 0.42));
  box-shadow: var(--glass-shine), var(--drop);
  padding: 1rem;
  transition: border-color 0.35s ease, transform 0.35s cubic-bezier(.2, .7, .2, 1);
}
:root .gear-card:hover { border-color: rgba(255, 191, 26, 0.3); transform: translateY(-2px); }
:root .gear-list { gap: 1rem; }

/* ---------- Open layouts: information, not objects ---------- */
:root .equipment__contact { row-gap: 0; }
:root .equipment__contact-row,
:root .glance__item,
:root .pathway-page__fact {
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: none;
  box-shadow: none;
  padding: 0.85rem 0;
}
:root .equipment__contact-row:first-child,
:root .pathway-page__fact:first-child { border-top: 0; }
:root .glance { column-gap: 1.5rem; row-gap: 0; }
:root .info-table { border-collapse: collapse; }
:root .info-table__label,
:root .info-table__value {
  background: none;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding-left: 0;
}
:root .info-table tbody .info-table__row:first-child > * { border-top: 0; }
:root .quote {
  border: 0;
  border-left: 2px solid var(--purple-hi);
  border-radius: 0;
  background: radial-gradient(70% 90% at 0% 0%, rgba(194, 65, 12, 0.16), transparent 70%);
}
:root .quote--television { border-left-color: var(--violet); }
:root .revival__item { border-left-width: 2px; }

/* ---------- Type roles ---------- */
/* The typewriter face stays for metadata (codes, units, dates, breadcrumbs), in normal case. */
:root .breadcrumbs__list,
:root .program-links__meta,
:root .kicker { text-transform: none; letter-spacing: 0; }
/* Labels and hints move to the body face. */
:root .glance__label,
:root .equipment__contact-label,
:root .facility__category,
:root .info-table__label,
:root .info-table__caption,
:root .site-footer__heading {
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
}
:root .glance__label,
:root .equipment__contact-label,
:root .facility__category,
:root .info-table__label { font-size: var(--step--1); font-weight: 600; color: var(--muted); }
:root .info-table__caption,
:root .site-footer__heading { font-size: 1rem; font-weight: 700; color: var(--text); }
:root .tag,
:root .person__badge,
:root .pathway__credential,
:root .pathway-page__credential {
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  border-radius: var(--radius-pill);
}
:root .pathway__credential,
:root .pathway-page__credential { padding-inline: 0.75rem; }
:root [data-credential="coa"] { color: #fff; }
:root [data-credential="skills"] { background-color: rgba(194, 65, 12, 0.18); }

/* ---------- Actions ---------- */
:root .btn { border-radius: var(--radius-pill); }
:root .btn--volt { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 10px 24px -14px rgba(255, 191, 26, 0.6); }
:root .btn--volt:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 14px 32px -12px rgba(255, 191, 26, 0.65); }
:root .btn--ghost { background: rgba(255, 244, 228, 0.05); }
:root .filter__btn,
:root .disclosure__chip { border-radius: var(--radius-pill); }
:root .program-links__link:hover { color: var(--gold); }
:root .crew-btn-link { color: var(--gold); }
/* Underlines are only as wide as the words. */
:root .program-tile__cta,
:root .card__action,
:root .pathway__cue,
:root .section__link { align-self: flex-start; width: fit-content; }

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  :root .card, :root .pathway, :root .person, :root .program-tile, :root .crew-card, :root .crew-call, :root .showcase-card, :root .crew-panel { background: rgba(38, 33, 28, 0.92); }
}
@media (prefers-reduced-motion: reduce) {
  :root .card, :root .pathway, :root .person, :root .program-tile, :root .crew-card, :root .showcase-card { transition: none; }
  :root .card:has(.card__link):hover, :root .pathway:hover, :root .person:hover, :root .program-tile:hover, :root .crew-card:hover, :root .showcase-card:hover, :root .gear-card:hover { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  :root .card, :root .pathway, :root .person, :root .program-tile, :root .crew-card, :root .crew-call, :root .showcase-card, :root .crew-panel, :root .gear-card { background: #26211c; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (forced-colors: active) {
  :root .card, :root .pathway, :root .person, :root .program-tile, :root .crew-card, :root .crew-call, :root .showcase-card, :root .crew-panel, :root .gear-card { border: 1px solid CanvasText; }
}
/* No flash before the entrance animations: things that animate in start hidden from the very
   first paint (only when motion is allowed). site.js adds .motion-ready and animates them in.
   If the script never runs, a fallback shows everything after 3s. */
@media (prefers-reduced-motion: no-preference) {
  :is(.page-head .container > *:not(.breadcrumbs), .section__header > *, .section__actions, .grid > *, .facts__item, .program-split > *, .pathway-list > *, .facility, .steps__item, .course-group, .glance, .disclosures, .equipment__section, .course-page__section, .info-table, .site-footer__grid > *):not(.hero *, .nav *, .mega *, details *),
  .hero :is(.hero__line, .hero__lede, .hero__actions, .slate) { opacity: 0; animation: lacc-show 0s 3s forwards; }
  .hero .kicker { clip-path: inset(0 100% 0 0); animation: lacc-show-clip 0s 3s forwards; }
  .hero .hero__line--accent { --wipe: 0; }
  .motion-ready :is(.page-head .container > *:not(.breadcrumbs), .section__header > *, .section__actions, .grid > *, .facts__item, .program-split > *, .pathway-list > *, .facility, .steps__item, .course-group, .glance, .disclosures, .equipment__section, .course-page__section, .info-table, .site-footer__grid > *),
  .motion-ready .hero :is(.hero__line, .hero__lede, .hero__actions, .slate, .kicker) { animation: none; }
}
@keyframes lacc-show { to { opacity: 1; --wipe: 1; } }
/* Forms: tighter rhythm. Label sits close to its box; fields are grouped closer together
   (was 24px between fields and 40px between stacked pairs on phones). */
:root .form { row-gap: 1.125rem; }
:root .form__row { row-gap: 1.125rem; column-gap: 1.25rem; }
:root .form__field { row-gap: 0.4rem; }
:root .form__field .form__hint { margin-top: 0; }
/* Intro note above a form ("All fields are required…") belongs to the heading, not the first label. */
:root :is(h1, h2, h3):has(+ .form__note) { margin-bottom: 0.75rem; }
:root .form__note:has(+ form, + .form) { margin-bottom: 2rem; }
/* Labels as script slug lines: Courier Prime Bold, normal case. Hints, errors and typed text stay in Overpass. */
:root .form__label, :root .crew-fieldset > legend, :root .gear-filter__label {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}
/* Anything inside a label that isn't the slug line ("(optional)", hints) keeps the body face and normal case. */
:root :is(.form__label, .crew-fieldset > legend, .gear-filter__label) :is(.prod-opt, .form__optional, small, .crew-hint) { font-family: var(--font-body); font-weight: 400; text-transform: none; letter-spacing: 0; }
/* Field boxes recede until used: quieter border at rest (still 3.5:1 against the page), warmer on hover, gold on focus. */
:root .form__input, :root .form__select, :root .form__textarea {
  border-color: #6f685c;
  background-color: rgba(26, 24, 21, 0.7);
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
:root .form__input:hover, :root .form__select:hover, :root .form__textarea:hover { border-color: var(--control); }
:root .form__input:focus, :root .form__select:focus, :root .form__textarea:focus {
  border-color: var(--gold);
  background-color: var(--ink-1);
  box-shadow: 0 0 0 3px rgba(255, 191, 26, 0.18);
}
@media (forced-colors: active) { :root .form__input, :root .form__select, :root .form__textarea { border-color: CanvasText; } }
/* ---------- Film look ----------
   1. Living grain: fine gray noise over the whole page (about 6%), jumping position ~12 times a second like
      grain changing frame to frame. Moved with transform only, so it stays cheap. Still with reduced motion.
   2. Lens vignette: edges fall off slightly darker, behind the content (never over text).
   3. Halation: big gold type and gold buttons bleed a warm ember glow, like film highlights. */
/* Grain tile: white specks whose strength comes from contrast-stretched noise (flat gray noise just reads as haze). */
:root { --film-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 3.2 0 0 0 -1.35'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url%28%23g%29'/%3E%3C/svg%3E"); --film-grain-opacity: 0.05; }
body::after {
  content: "";
  position: fixed;
  inset: -120px;
  z-index: 2147483000;
  pointer-events: none;
  background-image: var(--film-grain);
  background-size: 200px 200px;
  opacity: var(--film-grain-opacity, 0.05);
  will-change: transform;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 125% 95% at 50% 42%, transparent 55%, rgba(0, 0, 0, 0.42) 100%),
    radial-gradient(50% 35% at 50% 105%, rgba(194, 65, 12, 0.10), transparent 70%);
}
@media (prefers-reduced-motion: no-preference) {
  body::after { animation: film-grain 0.6s steps(1) infinite; }
}
@keyframes film-grain {
  0% { transform: translate(0, 0); }
  14% { transform: translate(-37px, 23px); }
  28% { transform: translate(29px, -41px); }
  42% { transform: translate(-13px, 57px); }
  57% { transform: translate(51px, 11px); }
  71% { transform: translate(-55px, -17px); }
  85% { transform: translate(17px, 43px); }
}
:root .facts__value, :root .slate__value { text-shadow: 0 0 0.3em rgba(255, 130, 40, 0.35), 0 0 1.1em rgba(194, 65, 12, 0.3); }
:root details.faq__item[open] > summary, :root #primary-nav .nav__trigger[aria-expanded="true"] { text-shadow: 0 0 0.6em rgba(255, 120, 30, 0.3); }
:root .btn--volt { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 10px 24px -14px rgba(255, 191, 26, 0.6), 0 0 22px -6px rgba(255, 120, 30, 0.35); }
:root .btn--volt:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 14px 32px -12px rgba(255, 191, 26, 0.65), 0 0 34px -4px rgba(255, 110, 30, 0.5), 0 0 70px -10px rgba(194, 65, 12, 0.45); }
@media (prefers-reduced-transparency: reduce), (forced-colors: active) {
  body::after, body::before { display: none; }
  :root .facts__value, :root .slate__value, :root details.faq__item[open] > summary, :root #primary-nav .nav__trigger[aria-expanded="true"] { text-shadow: none; }
}
@media print { body::after, body::before { display: none; } }
/* ---------- Speed ----------
   Sticky header: solid instead of blurring whatever scrolls under it (re-blurred every scroll frame).
   Long lists: the browser skips layout and painting for cards that are off screen.
   Phones and tablets: grain holds still, lights stay put, lighter card shadows, no hover transitions. */
:root .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background-color: rgba(14, 13, 12, 0.97); }
:root .crew-card, :root .crew-call, :root .alum-card { content-visibility: auto; contain-intrinsic-size: auto 360px; }
:root .showcase-card { content-visibility: auto; contain-intrinsic-size: auto 460px; }
:root .gear-card { content-visibility: auto; contain-intrinsic-size: auto 220px; }
@media (hover: none), (pointer: coarse) {
  body::after { animation: none; inset: 0; will-change: auto; }
  .stage-lights__beam { will-change: auto; }
  :root .card, :root .pathway, :root .person, :root .program-tile, :root .crew-card, :root .crew-call, :root .showcase-card, :root .crew-panel, :root .gear-card {
    box-shadow: var(--glass-shine), 0 10px 22px -16px rgba(0, 0, 0, 0.9);
    transition: none;
  }
  :root .card::after, :root .pathway::after, :root .person::after, :root .program-tile::after, :root .crew-card::after, :root .showcase-card::after, :root .gear-card::after { display: none; }
}
/* Gold buttons: light that follows the pointer (site.js tweens these with GSAP).
   Inside: a soft white hotspot at --bx/--by (only lightens the gold, so the dark text gets more contrast, not less).
   Outside: the ember glow leans toward the pointer (--gx/--gy, -1..1) and blooms with --halo. */
@property --sheen { syntax: '<number>'; inherits: false; initial-value: 0; }
@property --halo { syntax: '<number>'; inherits: false; initial-value: 0; }
@property --gx { syntax: '<number>'; inherits: false; initial-value: 0; }
@property --gy { syntax: '<number>'; inherits: false; initial-value: 0; }
:root .btn--volt, :root .btn--volt:hover {
  background-image: radial-gradient(5rem circle at var(--bx, 50%) var(--by, 50%), rgba(255, 255, 255, calc(0.42 * var(--sheen))), rgba(255, 255, 255, 0) 70%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 10px 24px -14px rgba(255, 191, 26, 0.6),
    calc(var(--gx) * 14px) calc(var(--gy) * 10px + 2px) calc(22px + 16px * var(--halo)) calc(-6px + 2px * var(--halo)) rgba(255, 120, 30, calc(0.35 + 0.2 * var(--halo))),
    calc(var(--gx) * 24px) calc(var(--gy) * 16px) calc(56px * var(--halo)) calc(-12px * var(--halo)) rgba(194, 65, 12, calc(0.45 * var(--halo)));
}
/* Key light on big headings. site.js moves the light with the mouse on desktop; this is the fixed version
   (light up and to the left) for phones, reduced motion, and the moment before the mouse moves.
   The yellow highlighted hero line is excluded. */
:root :is(.hero__title .hero__line:not(.hero__line--accent), .page-head h1) {
  text-shadow: -1px -1px 0 rgba(255, 214, 150, 0.45), -2px -2px 6px rgba(255, 160, 60, 0.12), 3px 4px 4px rgba(0, 0, 0, 0.55), 8px 11px 14px rgba(0, 0, 0, 0.45);
}
:root :is(.revival__title, .section__title, .contact-form__title) {
  text-shadow: -0.7px -0.7px 0 rgba(255, 214, 150, 0.4), 2px 3px 3px rgba(0, 0, 0, 0.5), 6px 8px 10px rgba(0, 0, 0, 0.35);
}
@media (forced-colors: active) { :root :is(.hero__title .hero__line, .page-head h1, .revival__title, .section__title, .contact-form__title) { text-shadow: none; } }
/* Without the pointer script (touch, reduced motion) hovering still blooms, centered. */
:root .btn--volt:hover { --halo: 1; --sheen: 0.5; }
/* Mobile menu: the section buttons (Programs, Students…) and links get side padding so the hover/open fill
   doesn't sit right against the text. */
@media (max-width: 1080px) {
  :root #primary-nav .nav__trigger, :root #primary-nav .nav__item > .nav__link { padding-inline: 1rem; border-radius: 12px; }
  :root #primary-nav .nav__panel { padding-left: 2rem; }
}
/* Dropdowns (FAQs, program disclosures): room on the left and right, and a soft fill on hover and when open. */
:root details.faq__item > .faq__question, :root details.disclosure > .disclosure__summary { padding-inline: clamp(0.875rem, 0.6rem + 1vw, 1.25rem); }
:root details.faq__item .faq__answer-body, :root details.faq__item .faq__answer, :root details.disclosure .disclosure__body { padding-inline: clamp(0.875rem, 0.6rem + 1vw, 1.25rem); }
:root details.faq__item .faq__answer-body .faq__answer { padding-inline: 0; }
:root details.faq__item, :root details.disclosure { transition: background-color 0.3s ease; }
:root details.faq__item:hover, :root details.disclosure:hover, :root details.faq__item[open], :root details.disclosure[open] { background-color: rgba(255, 240, 215, 0.035); }
@keyframes lacc-show-clip { to { clip-path: inset(0 0 0 0); } }
/* Typewriter sub-headlines read like a scene heading in a script: all caps, a touch of tracking.
   (Form labels, codes and breadcrumbs keep their own case.) */
:root :is(.kicker, .mega__hint, .brand__sub, .course-group__head, .profile__education-title, .crew-card__label, .breadcrumbs__list) {
  text-transform: uppercase;
  letter-spacing: 0.04em;
}


/* src/styles/planner.css */
/* Degree Planner (Your Account → Planner). Uses the site tokens from brand.css. */
/* "See what you have left" box on program pages (links into the planner set to that program). */
:root .planner-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem 2rem; align-items: center; margin: 2rem 0; padding: 1.25rem 1.5rem; border: 1px solid rgba(255, 191, 26, 0.45); border-radius: 16px; background: radial-gradient(70% 140% at 0% 0%, rgba(255, 191, 26, 0.12), transparent 65%), var(--ink-1); }
:root .planner-cta[hidden] { display: none; }
:root .planner-cta__title { margin: 0 0 0.35rem; font: 800 clamp(1.5rem, 3.5vw, 2rem)/1 var(--font-display); text-transform: uppercase; }
:root .planner-cta__lede { margin: 0; max-width: 60ch; color: var(--muted); }
:root .planner-cta__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 0.6rem; }
:root .planner-cta__demo { color: var(--gold); text-underline-offset: 3px; }
@media (max-width: 700px) { :root .planner-cta { grid-template-columns: 1fr; } }
@media (forced-colors: active) { :root .planner-cta { border-color: CanvasText; } }
.planner { display: grid; gap: 1.5rem; }
.planner .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pl-slug { font-family: var(--font-mono); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); margin: 0; }
.pl-h { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.7rem, 4.5vw, 2.4rem); line-height: 1; margin: 0 0 0.4rem; text-wrap: balance; }
.pl-h:focus { outline: none; }
.pl-sub { font-family: var(--font-mono); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.04em; text-transform: uppercase; margin: 1.75rem 0 0.25rem; }
.pl-step { display: grid; gap: 0.5rem; }

/* steps */
.pl-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; counter-reset: pl; }
.pl-steps li { counter-increment: pl; }
.pl-steps button { display: inline-flex; align-items: center; gap: 0.55rem; min-height: 44px; padding: 0.45rem 0.8rem 0.45rem 0.6rem; border-radius: 999px; border: 1px solid var(--line); background: none; color: var(--muted); font: 600 0.95rem var(--font-body); cursor: pointer; }
.pl-steps button::before { content: counter(pl); display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; border: 1px solid currentColor; font: 700 0.8rem var(--font-mono); }
.pl-steps button[aria-current="step"] { color: var(--text); border-color: var(--gold); background: rgba(255, 191, 26, 0.1); }
.pl-steps button:disabled { opacity: 0.45; cursor: not-allowed; }

/* checklists */
.pl-cls { border: 0; margin: 0 0 1.25rem; padding: 0; min-width: 0; }
.pl-cls > legend { font-family: var(--font-mono); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.04em; text-transform: uppercase; padding: 0; margin-bottom: 0.6rem; }
.pl-grp { font-family: var(--font-mono); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); margin: 1rem 0 0.5rem; }
.pl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 8px; }
.pl-check { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.1rem 0.7rem; align-items: start; align-content: start; min-height: 58px; padding: 0.7rem 0.85rem 0.6rem; border: 1.5px solid var(--line); border-radius: 12px; background: var(--ink-1); cursor: pointer; transition: border-color 0.2s, background-color 0.2s; }
.pl-check input { grid-row: 1 / 3; width: 22px; height: 22px; margin: 0.05rem 0 0; accent-color: var(--gold); }
.pl-check b { font: 700 0.88rem var(--font-mono); }
.pl-check span { font-size: 0.92rem; line-height: 1.3; color: var(--muted); }
.pl-check:hover { border-color: rgba(255, 191, 26, 0.6); }
.pl-check:has(input:checked) { border-color: var(--gold); background: linear-gradient(rgba(255, 191, 26, 0.1), rgba(255, 191, 26, 0.1)), var(--ink-1); }
.pl-check:has(input:checked) span { color: var(--text); }
.pl-check:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
.pl-check--goal b { font: 800 1.35rem/1.05 var(--font-display); text-transform: uppercase; }
.pl-more > summary, .pl-other > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; color: var(--gold); font-weight: 600; }
.pl-more > summary { text-decoration: underline; text-underline-offset: 3px; width: fit-content; margin-bottom: 0.5rem; }
.pl-other { border-top: 1px solid var(--line); padding-top: 1rem; }
.pl-other > summary { font: 800 1.4rem/1 var(--font-display); text-transform: uppercase; }
.pl-filter { max-width: 440px; margin: 0.5rem 0 1rem; }
.pl-bar { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; align-items: center; justify-content: space-between; padding-top: 0.75rem; }
/* Only the long class checklist keeps its button in reach, as a floating bar that matches the panel. */
[data-pane="classes"] .pl-bar { position: sticky; bottom: max(12px, env(safe-area-inset-bottom, 0px)); z-index: 2; padding: 0.6rem 0.6rem 0.6rem 1.1rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(26, 24, 21, 0.94); box-shadow: 0 14px 34px -18px rgba(0, 0, 0, 0.9); }
.pl-count, .pl-saved { color: var(--muted); font-size: 0.9rem; margin: 0; }

/* results */
.pl-results { list-style: none; margin: 0.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 12px; }
.pl-result { display: grid; gap: 0.45rem; align-content: start; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 16px; background: rgba(26, 24, 21, 0.72); box-shadow: inset 0 1px 0 rgba(255, 240, 215, 0.06), 0 18px 40px -24px rgba(0, 0, 0, 0.8); }
.pl-result.is-mine { border-color: rgba(255, 191, 26, 0.45); }
.pl-result__t { font: 800 1.6rem/1 var(--font-display); text-transform: uppercase; margin: 0; }
.pl-left { font-weight: 700; margin: 0; }
.pl-result .btn { justify-self: start; margin-top: 0.3rem; }
.pl-meter { display: block; height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.pl-meter i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--purple, #c2410c), var(--gold)); }

/* goal bar + map */
.pl-goalbar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.25rem; align-items: center; padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: 16px; background: rgba(26, 24, 21, 0.72); box-shadow: inset 0 1px 0 rgba(255, 240, 215, 0.06); }
.pl-goalbar:focus { outline: none; }
.pl-goalbar:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.pl-togo { margin: 0; font-weight: 700; }
.pl-ring { width: 84px; height: 84px; }
.pl-ring circle { fill: none; stroke-width: 9; }
.pl-ring .bg { stroke: var(--line); }
.pl-ring .fg { stroke: var(--gold); stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; }
.pl-ring text { fill: var(--text); font: 800 24px var(--font-display); }
@media (max-width: 600px) { .pl-goalbar { grid-template-columns: auto minmax(0, 1fr); } .pl-goalbar .btn { grid-column: 1 / -1; justify-content: center; } }

.pl-canvas { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background-color: var(--ink-1); background-image: radial-gradient(var(--line) 1px, transparent 1.4px); background-size: 22px 22px; }
.pl-board { position: relative; padding: 20px; min-width: fit-content; }
.pl-wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.pl-wires path { fill: none; stroke: #57514a; stroke-width: 2; }
/* Lit wires flow. No glow filter: a filtered, animating SVG had to be redrawn every frame. */
/* Runs 4 times (about 4.4s) and stops: anything moving longer than 5s needs a pause control (WCAG 2.2.2). */
.pl-wires path.is-on { stroke: var(--gold); stroke-dasharray: 6 6; animation: pl-flow 1.1s linear 4; }
@keyframes pl-flow { to { stroke-dashoffset: -12; } }
.pl-terms { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 48px; align-items: start; }
/* The account column is kept narrow for forms; the planner tab uses the full page width. */
:root .crew-account:has(> .crew-panel > .planner) { max-width: none; }
.pl-term h5 { display: flex; justify-content: space-between; gap: 0.5rem; margin: 0 0 0.75rem; font: 700 0.8rem var(--font-mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.pl-term ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pl-node { position: relative; display: block; width: 100%; min-height: 66px; padding: 0.65rem 0.8rem 0.55rem 2.75rem; text-align: left; color: var(--text); font: inherit; cursor: pointer; background: var(--ink-2); border: 1.5px solid var(--line); border-radius: 12px; transition: border-color 0.2s, box-shadow 0.2s; }
.pl-node::before { content: ""; position: absolute; left: 0.75rem; top: 0.75rem; width: 1.35rem; height: 1.35rem; border-radius: 6px; border: 2px solid var(--muted); }
.pl-node__code { display: block; font: 700 0.85rem var(--font-mono); }
.pl-node__name { display: block; font-size: 0.9rem; line-height: 1.3; }
.pl-node__state { display: block; margin-top: 0.2rem; font-size: 0.78rem; color: var(--muted); }
.pl-node:hover { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(255, 191, 26, 0.08); }
.pl-node[data-s="ready"] { border-color: rgba(255, 191, 26, 0.5); }
.pl-node[data-s="ready"] .pl-node__state { color: var(--gold); }
.pl-node[data-s="locked"] .pl-node__code, .pl-node[data-s="locked"] .pl-node__name { color: var(--muted); }
.pl-node[data-s="done"] { border-color: var(--gold); background: linear-gradient(rgba(255, 191, 26, 0.12), rgba(255, 191, 26, 0.12)), var(--ink-2); box-shadow: 0 0 24px -8px rgba(255, 191, 26, 0.45); }
.pl-node[data-s="done"]::before { border-color: var(--gold); background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%230e0d0c' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100%; }
.pl-node--slot { border-style: dashed; }
.pl-node--slot[data-s="done"] { border-style: solid; }
.pl-node--slot:not([data-s="done"])::before { border: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' fill='none' stroke='%23ffbf1a' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 100%; }
.pl-node--slot:not([data-s="done"]) .pl-node__code { color: var(--gold); }
.pl-port { position: absolute; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--ink-2); border: 2px solid #57514a; }
.pl-port--in { left: -5.5px; } .pl-port--out { right: -5.5px; }
.pl-node[data-s="done"] .pl-port { background: var(--gold); border-color: var(--gold); }
@media (max-width: 760px) {
  .pl-canvas { overflow: visible; }
  .pl-board { padding: 16px 14px 18px 34px; min-width: 0; }
  .pl-terms { grid-auto-flow: row; grid-auto-columns: auto; gap: 28px; }
  .pl-port { display: none; }
}
/* Stacked map: used on phones and whenever the semesters don't fit side by side (set by planner.js). */
.pl-canvas.is-stacked { overflow: visible; }
.pl-canvas.is-stacked .pl-board { padding: 16px 14px 18px 34px; min-width: 0; }
.pl-canvas.is-stacked .pl-terms { grid-auto-flow: row; grid-auto-columns: auto; gap: 28px; }
.pl-canvas.is-stacked .pl-term ol { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.pl-canvas.is-stacked .pl-port { display: none; }
.pl-panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 32px; }
.pl-list { list-style: none; margin: 0; padding: 0; }
.pl-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.3rem 1rem; padding: 0.7rem 0; border-top: 1px solid var(--line); }
.pl-list .pl-meter { grid-column: 1 / -1; height: 6px; }
.pl-list li { align-items: start; }
.pl-also__name { display: flex; flex-direction: column; align-items: flex-start; gap: 0.25rem; min-width: 0; }
.planner .pl-also__name .crew-btn-link { text-align: left; padding: 0; margin: 0; font-size: 1rem; line-height: 1.35; }
.pl-list .pl-slug { white-space: nowrap; }

/* opt-in: its own section, name split into first and last */
.pl-share { display: grid; gap: 1rem; margin: 0; padding: 1.75rem 0 0; border: 0; border-top: 1px solid var(--line); min-width: 0; }
.pl-share > legend { float: left; width: 100%; padding: 0; margin: 0 0 0.25rem; }
.pl-share .form__check { margin: 0; max-width: 62ch; }
.pl-name { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1rem; max-width: 560px; padding-left: 2.1rem; }
.pl-name[hidden] { display: none; }
.pl-name .form__field { margin: 0; }
.pl-saved:empty { display: none; }

/* secondary buttons read as buttons */
.planner .btn:not(.btn--volt) { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0.55rem 1.2rem 0.4rem; border: 1px solid var(--control, #8a8172); border-radius: 999px; background: transparent; color: var(--text); }
.planner .btn:not(.btn--volt):hover { border-color: var(--gold); color: var(--gold); }

/* elective picker: dialog on desktop, bottom sheet on phones */
.pl-dlg { width: min(560px, calc(100vw - 32px)); max-height: min(80vh, 720px); padding: 0; color: var(--text); background: var(--ink-1); border: 1px solid var(--line); border-radius: 16px; }
/* Centered in the viewport (the site reset zeroes dialog margins, which pinned it to the top left). */
:root .pl-dlg[open] { position: fixed; inset: 0; margin: auto; height: fit-content; overscroll-behavior: contain; }
.pl-dlg::backdrop { background: rgba(0, 0, 0, 0.6); }
/* Page behind the picker stays put while it's open. */
html.pl-locked, html.pl-locked body { overflow: hidden; }
.pl-sheet { display: flex; flex-direction: column; max-height: inherit; }
.pl-sheet header { padding: 1.1rem 1.25rem 0.6rem; border-bottom: 1px solid var(--line); }
.pl-sheet__body { overflow: auto; padding: 0.75rem 1.25rem 1rem; display: grid; gap: 0.6rem; }
.pl-picklist { display: grid; gap: 0.6rem; }
.pl-sheet footer { display: flex; justify-content: flex-end; padding: 0.75rem 1.25rem max(1rem, env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
.pl-choice { display: grid; gap: 0.15rem; width: 100%; min-height: 56px; padding: 0.6rem 0.85rem 0.5rem; text-align: left; color: var(--text); font: inherit; cursor: pointer; background: var(--ink-2); border: 1.5px solid var(--line); border-radius: 12px; }
.pl-choice small { color: var(--muted); font-size: 0.8rem; }
.pl-choice[aria-pressed="true"] { border-color: var(--gold); background: linear-gradient(rgba(255, 191, 26, 0.12), rgba(255, 191, 26, 0.12)), var(--ink-2); }
@media (max-width: 600px) { :root .pl-dlg[open] { margin: auto 0 0; width: 100%; max-width: 100%; border-radius: 16px 16px 0 0; max-height: 85vh; } }

.planner :focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* Goal complete: green, always paired with the word "Complete" and the petition link. Green #4ADE80 on ink = 11:1; ink text on green = 11:1. */
.planner { --pl-done: #4ade80; }
.pl-goalbar.is-complete { border-color: var(--pl-done); background: linear-gradient(rgba(74, 222, 128, 0.1), rgba(74, 222, 128, 0.1)), rgba(26, 24, 21, 0.72); box-shadow: 0 0 32px -12px rgba(74, 222, 128, 0.55); }
.pl-goalbar.is-complete .pl-ring .fg { stroke: var(--pl-done); }
.pl-goalbar.is-complete .pl-award { color: var(--pl-done); }
.pl-petition { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.25rem; margin: 0.85rem 0 0; }
.pl-petition[hidden] { display: none; }
.planner .btn.pl-petition__btn { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; padding: 0.55rem 1.3rem 0.4rem; border: 0; border-radius: 999px; background: var(--pl-done); color: var(--ink, #0e0d0c); font-weight: 800; text-decoration: none; }
.planner .btn.pl-petition__btn:hover { background: #86efac; color: var(--ink, #0e0d0c); }
.pl-petition__how { color: var(--text); text-underline-offset: 3px; }
.pl-result.is-complete { border-color: var(--pl-done); background: linear-gradient(rgba(74, 222, 128, 0.08), rgba(74, 222, 128, 0.08)), rgba(26, 24, 21, 0.72); }
.pl-result.is-complete .pl-meter i, .pl-list li.is-complete .pl-meter i { background: var(--pl-done); }
.pl-done-badge { display: inline-block; margin-right: 0.35rem; padding: 0.1rem 0.55rem; border-radius: 999px; background: var(--pl-done); color: var(--ink, #0e0d0c); font: 800 0.75rem/1.5 var(--font-mono); letter-spacing: 0.04em; text-transform: uppercase; vertical-align: 0.1em; }
.pl-list li.is-complete > .pl-slug { color: var(--pl-done); }
@media (forced-colors: active) { .pl-goalbar.is-complete, .pl-result.is-complete { border: 3px solid CanvasText; } .planner .btn.pl-petition__btn, .pl-done-badge { border: 2px solid ButtonText; } }
@media (prefers-reduced-motion: reduce) { .pl-wires path.is-on { animation: none; stroke-dasharray: none; } }
@media (forced-colors: active) { .pl-wires { display: none; } .pl-node[data-s="done"]::before { forced-color-adjust: none; background-color: Highlight; } }


/* src/styles/productions.css */
/* Productions (src/scripts/productions.js): Your Account → Productions, and the instructor review page. */
/* Quiz facts list: a grid turns its items into plain blocks and hides the bullets, so keep it a normal list. */
.quiz ul.quiz__facts { display: block; list-style: disc outside; padding-left: 1.25rem; }
.quiz ul.quiz__facts > li { display: list-item; }
.quiz ul.quiz__facts > li + li { margin-top: 0.35rem; }
.prod-head .crew-panel__lede { max-width: 62ch; }
.prod [hidden] { display: none !important; }
.prod-goes { margin: 0.4rem 0 0; }
.prod-goes:empty { display: none; }
.prod-body { display: grid; gap: var(--space-3); }
.prod-opt { font-family: var(--font-body); font-weight: 400; color: var(--muted); }
.prod-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; }
.prod-back { min-height: 44px; }
.prod-saved { margin: 0; color: var(--muted); font-size: var(--step--1); }
.prod-saved:empty { display: none; }
.prod-bar__state { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1rem; }
.prod-progress { margin: 0; font-family: var(--font-mono); font-size: 0.85rem; color: var(--muted); }
.prod-progress:empty { display: none; }

/* Start: one row per way in (fresh, LACC CUE, copy a past plan), action on the right; stacks on phones */
.prod-start { display: grid; gap: 1.25rem; }
.prod-start__opts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
.prod-start__opt { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0.75rem 1.5rem; padding: 1rem 1.15rem; border: 1px solid var(--line); border-radius: 12px; background: rgba(14, 13, 12, 0.35); }
.prod-start__opt.is-ready { border-color: var(--gold); border-left-width: 4px; }
.prod-start__text { min-width: 0; }
.prod-start__opt h4 { margin: 0 0 0.2rem; font-size: 1.15rem; }
.prod-start__opt .crew-hint { margin: 0; }
.prod-start__acts { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: flex-end; gap: 0.5rem; }
.prod-start__acts > .btn { margin: 0; white-space: nowrap; min-height: 48px; }
.prod-start__acts .form__field { margin: 0; min-width: 14rem; }
.prod-start__opt > .prod-start__paste, .prod-start__opt > .crew__alert { grid-column: 1 / -1; margin: 0; }
.prod-start__paste { display: grid; gap: 0.6rem; justify-items: start; padding-top: 0.75rem; border-top: 1px solid var(--line); }
.prod-start__paste .form__field { width: 100%; margin: 0; }
.prod-start__file { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.prod-start__file:focus-visible + label { outline: 3px solid var(--gold); outline-offset: 3px; }
@media (max-width: 40rem) { .prod-start__opt { grid-template-columns: minmax(0, 1fr); } .prod-start__acts { justify-content: flex-start; } .prod-start__acts .form__field { min-width: 0; width: 100%; } }

/* Delete an unfinished plan: a quiet link on the card, then an inline confirm under it */
.prod-del__btn { color: var(--muted); }
.prod-del__btn:hover, .prod-del__btn:focus-visible { color: #ff9a8f; }
.prod-del { margin-top: 0.75rem; padding: 0.85rem 1rem; border: 1px solid rgba(224, 122, 108, 0.6); border-left: 4px solid #e07a6c; border-radius: 10px; background: rgba(143, 45, 34, 0.18); }
.prod-del p { margin: 0 0 0.6rem; }
.prod-del__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; }
:root .prod-del__yes { background: #c62828; border-color: #c62828; color: #fff; }
:root .prod-del__yes:hover { background: #a91f1f; color: #fff; }

/* Quick safety check: one question per row, Yes / No side by side; a yes opens its sections underneath */
.prod-qs { display: grid; gap: 0; border-top: 1px solid var(--line); }
.prod-q { margin: 0; padding: 0.9rem 0; border: 0; border-bottom: 1px solid var(--line); display: grid; gap: 0.6rem; min-width: 0; }
:root .prod-q > legend { float: left; width: 100%; padding: 0; margin: 0 0 0.35rem; font: 600 var(--step-0)/1.4 var(--font-body); text-transform: none; letter-spacing: 0; color: var(--text); }
.prod-q__opts { clear: both; display: flex; gap: 0.5rem; }
:root .prod-q .prod-q__opt { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; margin: 0; padding: 0 1.1rem 0 0.85rem; border: 1px solid var(--control); border-radius: 999px; cursor: pointer; font-weight: 600; }
:root .prod-q .prod-q__opt .form__checkbox { margin: 0; }
:root .prod-q .prod-q__opt:has(input:checked) { border-color: var(--gold); background: rgba(255, 191, 26, 0.1); color: var(--gold-hi); }
:root .prod-q .prod-q__opt:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
.prod-q__more { display: grid; gap: 0.85rem; }
.prod-q__more:empty { display: none; }
.prod-q__which { margin: 0 0 0.25rem; width: 100%; font-size: var(--step--1); color: var(--muted); }
.prod-flags--other { margin-top: 0.75rem; }
.prod-why { margin: -0.25rem 0 0; }
.prod-why > summary { display: inline-flex; align-items: center; min-height: 36px; cursor: pointer; color: var(--gold); font-size: var(--step--1); font-weight: 600; }
.prod-why > summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.prod-why > p { margin: 0.25rem 0 0; max-width: 62ch; color: var(--muted); line-height: 1.5; }

/* Shoot day extras: map helpers and the duplicate / remove links */
.prod-maps { margin: -0.5rem 0 0; }
.prod-maplink { color: var(--gold); }
.prod-day__actions { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.prod-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1.125rem 1.25rem; align-items: start; }
.prod-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); }
.prod-narrow .form__input { max-width: 10rem; }
.prod-pane { display: grid; gap: 1.125rem; }
.prod-pane__title { margin: 0; font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.6rem); }
.prod-pane__title:focus { outline: none; }
.prod-pane .crew-panel__lede { margin: -0.5rem 0 0.25rem; }
.prod-sub { margin: 0.75rem 0 0; font-family: var(--font-mono); font-weight: 700; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.04em; }
.prod-next { margin-top: 0.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }

/* Step bar: a real sequence, so it's numbered. Current step is gold. */
.prod-steps ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; counter-reset: none; }
:root .prod-steps ol > li { margin: 0; padding: 0; }
:root .prod-steps ol > li::before { content: none; display: none; }
.prod-step { display: inline-flex; align-items: center; gap: 0.55rem; min-height: 44px; padding: 0 1rem 0 0.4rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 244, 228, 0.03); color: var(--text); font: inherit; font-weight: 600; cursor: pointer; }
.prod-step__n { display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; border: 1px solid var(--control); font-family: var(--font-mono); font-size: 0.9rem; }
.prod-step:hover { border-color: var(--gold); }
.prod-step[aria-current="step"] { border-color: var(--gold); color: var(--gold-hi); }
.prod-step[aria-current="step"] .prod-step__n { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.prod-step:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
@media (max-width: 40rem) { .prod-step { padding-right: 0.75rem; } .prod-step span:last-child { font-size: 0.92rem; } }

/* Shoot days */
.prod-days { display: grid; gap: 1.25rem; }
.prod-day { margin: 0; padding: 1.1rem 1.15rem 1.2rem; display: grid; gap: 1rem; border: 1px solid var(--line); border-radius: var(--radius, 12px); background: rgba(14, 13, 12, 0.35); min-width: 0; }
.prod-day__legend { padding: 0 0.4rem; font-family: var(--font-mono); font-weight: 700; color: var(--gold-hi); text-transform: uppercase; letter-spacing: 0.04em; }
.prod-kind { margin: 0; }
.prod-kind .form__check, .prod-day > .form__check, .prod-flag .form__check, .prod-basics .form__check, .prod-share, .crew-fieldset .form__check { display: flex; align-items: flex-start; gap: 0.6rem; min-height: 44px; margin: 0; padding: 0.55rem 0; line-height: 1.45; }
.prod-kind .form__checkbox, .prod-flag .form__checkbox, .prod-basics .form__checkbox, .prod-share .form__checkbox, .prod-day .form__checkbox { flex: none; margin-top: 0.2rem; }
.prod-day__notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.prod-day__notes:empty { display: none; }
:root .prod-day__notes > li::before { content: none; display: none; }
.prod-note { margin: 0; padding: 0.6rem 0.85rem; border-left: 4px solid var(--control); border-radius: 4px; background: rgba(255, 244, 228, 0.04); line-height: 1.45; }
.prod-note--warn { border-left-color: var(--gold); background: rgba(243, 177, 14, 0.09); }
.prod-day > .crew-btn-link { justify-self: start; }

/* Crew rows */
.prod-crew { display: grid; gap: 0.75rem; }
.prod-crew:empty { display: none; }
.prod-crew__row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 0.75rem 1rem; align-items: end; }
@media (max-width: 34rem) { .prod-crew__row { grid-template-columns: 1fr; padding-bottom: 0.75rem; border-bottom: 1px solid var(--line); } .prod-crew__row .crew-btn-link { justify-self: start; } }

/* Safety flags: chips open a panel each */
.prod-flags { margin-top: -0.25rem; }
.prod-chip--stop .crew-chip__label { border-style: dashed; }
.prod-chip--stop .crew-chip__input:checked + .crew-chip__label { background: #8f2d22; border-color: #e07a6c; color: #fff; }
.prod-chip--stop .crew-chip__input:checked + .crew-chip__label::before { content: "✕"; color: #fff; }
.prod-flags__panels { display: grid; gap: 1rem; }
.prod-flags__panels:empty { display: none; }
.prod-flag { padding: 1rem 1.15rem 1.15rem; display: grid; gap: 0.75rem; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 6px; background: rgba(14, 13, 12, 0.35); }
.prod-flag h4 { margin: 0; font-size: 1.15rem; }
.prod-flag h4:focus { outline: none; }
.prod-flag > .crew-hint { margin-top: -0.5rem; }
.prod-flag .crew-fieldset { margin: 0; }
.prod-flag--stop { border-left-color: #e07a6c; background: rgba(143, 45, 34, 0.18); }
.prod-flag--stop p { margin: 0; max-width: 64ch; line-height: 1.55; }
.prod-basics { margin: 0.5rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line); }
/* "Still needed" box on Review: a calm to-do list grouped by step, not an error wall. */
.prod-problems { padding: 1.1rem 1.25rem 1.2rem; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 8px; background: rgba(255, 191, 26, 0.05); }
.prod-problems:focus { outline: 3px solid var(--gold); outline-offset: 3px; }
.prod-problems > p:only-child { margin: 0; }
.prod-problems__h { margin: 0; font-size: 1.15rem; line-height: 1.3; }
.prod-problems__lede { margin: 0.25rem 0 0.9rem; color: var(--muted); font-size: var(--step--1); }
.prod-problems__group + .prod-problems__group { margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid var(--line); }
.prod-problems__step { display: flex; align-items: center; gap: 0.55rem; margin: 0 0 0.25rem; font-weight: 700; color: var(--text); }
.prod-problems__step .prod-step__n { width: 1.6rem; height: 1.6rem; font-size: 0.8rem; color: var(--muted); }
.prod-problems__list { list-style: none; margin: 0; padding: 0 0 0 2.15rem; display: grid; gap: 0.1rem; }
:root .prod-problems__list > li { margin: 0; padding: 0; }
:root .prod-problems__list > li::before { content: none; display: none; }
:root .prod-problems__list > li { padding: 0.35rem 0; line-height: 1.45; }
:root .prod-problems__list a, :root .prod-problems__list a:visited { display: inline; padding: 0; background: none; border: 0; box-shadow: none; color: var(--text); font-size: 0.98rem; text-decoration: underline; text-decoration-color: rgba(255, 191, 26, 0.5); text-decoration-thickness: 1px; text-underline-offset: 0.3em; }
:root .prod-problems__list a:hover { color: var(--gold-hi); text-decoration-color: currentColor; background: none; }
.prod-problems__list a:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 2px; }
@media (forced-colors: active) { .prod-problems { border-color: CanvasText; } }
.prod-share { font-weight: 600; }

/* ---------- The slate ----------
   A production shows up as a dark card with a gold top edge (the clapper sticks were retired). */
.prod-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr)); gap: 1.5rem 1.25rem; }
:root .prod-list > li { margin: 0; padding: 0; }
:root .prod-list > li::before { content: none; display: none; }
.prod-slate { --chalk: #f5f1ea; --board: #151311; position: relative; min-width: 0; overflow-wrap: anywhere; }
.prod-slate__board { padding: 1rem 1.15rem 1.15rem; border: 1px solid rgba(245, 241, 234, 0.22); border-top: 4px solid var(--gold, #FFBF1A); border-radius: var(--radius, 12px); background: var(--board); box-shadow: var(--drop); color: var(--chalk); }
.prod-slate__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; padding-bottom: 0.85rem; border-bottom: 1px solid rgba(245, 241, 234, 0.25); }
.prod-slate__cell { display: grid; gap: 0.2rem; align-content: start; }
.prod-slate__k { font-family: var(--font-mono); font-size: 0.82rem; color: var(--muted); }
.prod-slate__num { font-family: var(--font-mono); font-weight: 700; font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); letter-spacing: 0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.prod-slate.has-number .prod-slate__num { color: var(--gold-hi); text-shadow: 0 0 0.35em rgba(255, 130, 40, 0.35); }
.prod-slate__title { margin: 0.85rem 0 0.75rem; font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem); line-height: 1.15; color: var(--chalk); }
.prod-slate__title:focus { outline: none; }
.prod-slate__facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem 1rem; }
.prod-slate__facts div { min-width: 0; }
.prod-slate__facts dt { font-family: var(--font-mono); font-size: 0.82rem; color: var(--muted); }
.prod-slate__facts dd { margin: 0.1rem 0 0; font-weight: 600; }
.prod-slate__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; margin-top: 0.85rem; }
@media (max-width: 26rem) { .prod-slate__facts { grid-template-columns: 1fr; } }
@media (forced-colors: active) { .prod-slate__board { border-color: CanvasText; } }
.prod-body > .prod-slate { max-width: 34rem; }

.prod-empty { padding: 1.1rem 1.25rem; border: 1px dashed var(--control); border-radius: var(--radius, 12px); }
.prod-empty p { margin: 0 0 0.5rem; }
.prod-empty__list { margin: 0; padding-left: 1.25rem; color: var(--muted); }
/* The site resets list markers, so draw gold dots like the safety sheet (the list stays a real list). */
:root .prod-empty__list { list-style: none; padding: 0; display: grid; gap: 0.35rem; }
:root .prod-empty__list > li { position: relative; margin: 0; padding: 0 0 0 1.5rem; line-height: 1.5; }
:root .prod-empty__list > li::before { content: ""; display: block; position: absolute; left: 0.3rem; top: 0.62em; width: 0.42rem; height: 0.42rem; border-radius: 50%; background: var(--gold); }
@media (forced-colors: active) { :root .prod-empty__list > li::before { background: CanvasText; } }

/* ---------- Safety sheet (on screen and printed) ---------- */
.prod-sheetbox { border-top: 1px solid var(--line); padding-top: 0.5rem; }
.prod-sheetbox > summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; font-weight: 700; color: var(--gold); }
.prod-sheetbox > summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.prod-sheet { display: grid; gap: 1.25rem; max-width: 52rem; }
.prod-sheet__head { padding-bottom: 0.85rem; border-bottom: 2px solid var(--text); }
.prod-sheet__dept { margin: 0 0 0.25rem; font-family: var(--font-mono); font-size: 0.9rem; color: var(--muted); }
.prod-sheet__title { margin: 0; font-family: var(--font-display, inherit); font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.9rem); line-height: 1.15; }
.prod-sheet__num { margin: 0.35rem 0 0; font-family: var(--font-mono); font-weight: 700; }
.prod-sheet__facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); gap: 0.6rem 1.25rem; }
.prod-sheet__facts dt { font-family: var(--font-mono); font-size: 0.85rem; color: var(--muted); }
.prod-sheet__facts dd { margin: 0.1rem 0 0; font-weight: 600; }
.prod-sheet__logline { margin: 0; max-width: 68ch; font-size: 1.05rem; line-height: 1.5; }
/* Sheet hierarchy: title > section labels (gold slug lines with a rule above) > item headings > body text > muted details. */
.prod-pane > .prod-sheet { padding: clamp(1rem, 0.8rem + 1vw, 1.5rem); border: 1px solid var(--line); border-radius: 10px; background: rgba(14, 13, 12, 0.4); }
:root .prod-sheet .prod-sheet__title { margin: 0.15rem 0 0; font-size: clamp(1.55rem, 1.25rem + 1vw, 2.1rem); line-height: 1.1; }
.prod-sheet__num { display: inline-block; margin: 0.6rem 0 0; padding: 0.2rem 0.7rem; border: 1px solid var(--control); border-radius: 999px; font-size: 0.85rem; font-weight: 700; color: var(--muted); }
.prod-sheet__num.has-number { border-color: var(--gold); color: var(--gold-hi); }
.prod-sheet__head { border-bottom-width: 1px; border-bottom-color: var(--control); }
.prod-sheet__sec { padding-top: 1rem; border-top: 1px solid var(--line); }
.prod-sheet__h { margin: 0 0 0.75rem; font-family: var(--font-mono); font-size: 0.9rem; font-weight: 700; line-height: 1.3; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold-hi); }
.prod-sheet__fh { margin: 0 0 0.35rem; font-size: 1.05rem; line-height: 1.3; }
.prod-sheet__sec p { margin: 0 0 0.5rem; max-width: 68ch; line-height: 1.55; }
.prod-sheet__empty { color: var(--muted); font-style: italic; }
/* Lists: the site resets list markers, so the sheet draws its own (decoration only; the list semantics stay). */
:root .prod-sheet :is(ul, ol) { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
:root .prod-sheet :is(ul, ol) > li { position: relative; margin: 0; padding: 0 0 0 1.5rem; line-height: 1.5; }
:root .prod-sheet ul > li::before { content: ""; display: block; position: absolute; left: 0.3rem; top: 0.62em; width: 0.42rem; height: 0.42rem; border-radius: 50%; background: var(--gold); }
/* Emergency steps are a sequence, so they're numbered. */
:root .prod-sheet ol.prod-sheet__list { counter-reset: prod-step; gap: 0.6rem; }
:root .prod-sheet ol.prod-sheet__list > li { counter-increment: prod-step; padding-left: 2.35rem; min-height: 1.7rem; }
:root .prod-sheet ol.prod-sheet__list > li::before { content: counter(prod-step); display: grid; place-items: center; position: absolute; left: 0; top: 0; width: 1.65rem; height: 1.65rem; border-radius: 50%; border: 1px solid var(--control); background: none; font: 700 0.8rem/1 var(--font-mono); color: var(--text); }
/* Shoot days: one row per day, date first. */
:root .prod-sheet ol.prod-sheet__days { gap: 0.6rem; }
:root .prod-sheet ol.prod-sheet__days > li { display: grid; gap: 0.15rem; padding: 0.75rem 0.95rem; border: 1px solid var(--line); border-radius: 8px; background: rgba(255, 244, 228, 0.03); }
:root .prod-sheet ol.prod-sheet__days > li::before { content: none; display: none; }
.prod-sheet__days strong { font-size: 1.02rem; }
.prod-sheet__days span { color: var(--muted); }
/* Special circumstances: each one is a block with its checklist ticked or open. */
.prod-sheet__flag { padding: 0.25rem 0 0.25rem 0.95rem; border-left: 3px solid var(--gold); }
.prod-sheet__flag + .prod-sheet__flag { margin-top: 1rem; }
.prod-sheet__flag ul { margin-top: 0.4rem; }
:root .prod-sheet .prod-sheet__flag li::before { content: "✓"; width: auto; height: auto; background: none; top: 0; left: 0.1rem; color: var(--gold); font-weight: 700; border-radius: 0; }
:root .prod-sheet .prod-sheet__flag li.is-open { color: var(--muted); }
:root .prod-sheet .prod-sheet__flag li.is-open::before { content: "○"; color: var(--muted); }
.prod-sheet__flag li.is-open::after { content: " (not checked)"; font-style: italic; }
.prod-sheet__crew strong { font-weight: 700; }
.prod-sheet__pre { white-space: pre-line; }
.prod-review__head .crew-panel__lede { margin-bottom: 0; }
.prod-decide .crew-fieldset { margin-top: 0; }

@media print {
  html.prod-printing body > *:not(#prod-print) { display: none !important; }
  html.prod-printing, html.prod-printing body { background: #fff !important; color: #000 !important; }
  #prod-print { display: block; padding: 0; color: #000; font-size: 11pt; }
  #prod-print .prod-sheet { max-width: none; gap: 10pt; }
  #prod-print .prod-sheet__head { border-color: #000; }
  #prod-print .prod-sheet__dept, #prod-print .prod-sheet__facts dt, #prod-print .prod-sheet__days span, #prod-print .prod-sheet__flag li.is-open { color: #333; }
  #prod-print .prod-sheet__h, #prod-print .prod-sheet__num { color: #000; border-color: #000; }
  #prod-print .prod-sheet ul > li::before { background: #000; }
  #prod-print .prod-sheet .prod-sheet__flag li::before, #prod-print .prod-sheet ol.prod-sheet__list > li::before { color: #000; border-color: #000; background: none; }
  #prod-print .prod-sheet__flag { border-left-color: #000; }
  #prod-print .prod-sheet ol.prod-sheet__days > li { border-color: #999; background: none; }
  #prod-print .prod-sheet__sec { break-inside: avoid; }
  #prod-print a { color: #000; }
}
#prod-print { display: none; }
@media print { html.prod-printing #prod-print { display: block; } }
/* Five account tabs: on phones they wrap into rows instead of squeezing into one. */
@media (max-width: 40rem) {
  :root .crew-tabs li { flex: 1 1 auto; }
  :root .crew-tabs ul { border-radius: 24px; }
}

/* ---------- Safety quick check: one switch per question ---------- */
.prod-q__row { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem 1.25rem; }
.prod-q__label { flex: 1 1 18rem; font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; line-height: 1.4; cursor: pointer; }
.prod-switch { flex: none; display: inline-flex; align-items: center; gap: 0.6rem; min-height: 2.75rem; min-width: 6.25rem; padding: 0.25rem 0.5rem 0.25rem 0.25rem; border: 0; border-radius: 999px; background: none; color: var(--muted); font: inherit; font-weight: 700; cursor: pointer; }
.prod-switch__track { position: relative; width: 3.25rem; height: 1.85rem; border: 2px solid var(--muted); border-radius: 999px; background: transparent; transition: background-color 0.18s ease, border-color 0.18s ease; }
.prod-switch__thumb { position: absolute; top: 50%; left: 0.2rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--muted); transform: translateY(-50%); transition: transform 0.18s ease, background-color 0.18s ease; }
.prod-switch__state { min-width: 2rem; text-align: left; }
.prod-switch[aria-checked="true"] { color: var(--gold); }
.prod-switch[aria-checked="true"] .prod-switch__track { border-color: var(--gold); background: var(--gold); }
.prod-switch[aria-checked="true"] .prod-switch__thumb { background: var(--ink, #0f0f13); transform: translate(1.4rem, -50%); }
.prod-switch:hover .prod-switch__track { border-color: var(--gold-hi); }
.prod-switch:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .prod-switch__track, .prod-switch__thumb { transition: none; } }
@media (forced-colors: active) {
  .prod-switch__track { border-color: ButtonText; }
  .prod-switch__thumb { background: ButtonText; forced-color-adjust: none; }
  .prod-switch[aria-checked="true"] .prod-switch__track { background: Highlight; border-color: Highlight; }
  .prod-switch[aria-checked="true"] .prod-switch__thumb { background: HighlightText; }
}

/* ---------- Call sheet (phone on set) ---------- */
.prod-cs { max-width: 44rem; margin-inline: auto; display: grid; gap: 1.25rem; overflow-wrap: anywhere; }
.prod-cs__head { padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.prod-cs__dept { margin: 0 0 0.35rem; font-family: var(--font-mono); font-size: 0.85rem; color: var(--muted); }
.prod-cs__title { margin: 0 0 0.4rem; font-size: clamp(1.6rem, 1.2rem + 2vw, 2.4rem); line-height: 1.1; }
.prod-cs__num { margin: 0; color: var(--muted); }
.prod-cs__num strong { font-family: var(--font-mono); color: var(--gold); letter-spacing: 0.03em; }
.prod-cs__sos { padding: 1.1rem 1.15rem 1.2rem; border: 2px solid #ff8a80; border-radius: 16px; background: rgba(255, 138, 128, 0.08); }
.prod-cs__sosh { margin: 0 0 0.75rem; font-size: 1.25rem; }
:root p.prod-cs__call { margin: 0; }
:root .prod-cs__call { display: flex; align-items: center; justify-content: center; min-height: 3.5rem; padding: 0.75rem 1.25rem; border-radius: 999px; background: #c62828; color: #fff; font-size: 1.35rem; font-weight: 700; text-decoration: none; background-image: none; }
:root a.prod-cs__call:not(.prod-cs__call--sheriff):hover { background: #a91f1f; }
:root a.prod-cs__call:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.prod-cs__calls { display: grid; gap: 0.6rem; }
:root a.prod-cs__call--sheriff { background: transparent; border: 2px solid #ff8a80; color: var(--text); font-size: 1.1rem; text-align: center; }
:root a.prod-cs__call--sheriff:hover { background: rgba(255, 138, 128, 0.15); }
.prod-cs__steps { list-style: decimal; margin: 0.9rem 0 0.6rem; padding-left: 1.35rem; display: grid; gap: 0.35rem; line-height: 1.5; }
:root .prod-cs__stop { display: inline-block; margin: 0; padding: 0.45rem 0.85rem; border-radius: 8px; background: var(--gold); color: #1a1815; font-weight: 700; line-height: 1.4; }
@media (forced-colors: active) { :root .prod-cs__stop { border: 2px solid CanvasText; } }
@media print { :root .prod-cs__stop { background: none; color: #000; border: 2px solid #000; } }
.prod-cs__sec { display: grid; gap: 0.75rem; }
.prod-cs__h { margin: 0; font-size: 1.2rem; }
.prod-cs__people { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 0.6rem 1rem; }
.prod-cs__people dt, .prod-cs__facts dt { font-family: var(--font-mono); font-size: 0.82rem; color: var(--muted); }
.prod-cs__people dd, .prod-cs__facts dd { margin: 0.1rem 0 0; font-weight: 600; }
.prod-cs__days { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; }
.prod-cs__day article { padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 14px; }
.prod-cs__day.is-next article { border: 2px solid var(--gold); }
.prod-cs__day.is-past article { border-style: dashed; }
.prod-cs :is(h2, h3, section) { scroll-margin-top: 6rem; }
.prod-cs__list, .prod-changes__list { list-style: disc; }
.prod-cs__dayh { margin: 0 0 0.4rem; font-size: 1.1rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.prod-cs__tag { font-size: 0.8rem; }
.prod-cs__time { margin: 0 0 0.75rem; font-size: 1.3rem; font-weight: 700; }
.prod-cs__k { font-family: var(--font-mono); font-size: 0.85rem; font-weight: 400; color: var(--muted); }
.prod-cs__facts { margin: 0; display: grid; gap: 0.75rem; }
.prod-cs__sub { display: block; margin-top: 0.15rem; font-weight: 400; color: var(--muted); }
.prod-cs__links { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; margin-top: 0.35rem; font-weight: 600; }
.prod-cs__links a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.prod-cs__er dd { color: var(--text); }
.prod-cs__flag { padding: 0.85rem 1rem; border-left: 4px solid var(--gold); background: rgba(255, 255, 255, 0.03); border-radius: 0 10px 10px 0; }
.prod-cs__fh { margin: 0 0 0.25rem; font-size: 1rem; }
.prod-cs__flag p { margin: 0.25rem 0 0; }
.prod-cs__list { margin: 0; padding-left: 1.25rem; display: grid; gap: 0.3rem; line-height: 1.5; }
.prod-cs__crew { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 0.5rem 1rem; }
.prod-cs__crew li { display: grid; }
.prod-cs__crew span { color: var(--muted); }
.prod-cs__actions { margin: 0; }

/* Instructor list and review extras */
.prod-q-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; }
.prod-q-item article { display: grid; gap: 0.6rem; justify-items: start; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 14px; }
.prod-q-item article > dl { justify-self: stretch; }
.prod-q-item__t { margin: 0; font-size: 1.15rem; }
.prod-q-item__meta { margin: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.prod-q-item__num { font-family: var(--font-mono); color: var(--gold); }
.prod-changes { border-left: 4px solid var(--gold); }
.prod-changes__list { margin: 0; padding-left: 1.25rem; display: grid; gap: 0.35rem; line-height: 1.5; }
.prod-queue-link { text-align: center; }

/* Set Safety Quiz (Productions tab) */
.quiz { display: grid; gap: 1rem; margin-bottom: 1.5rem; scroll-margin-top: 6rem; }
.quiz > * { margin: 0; }
.quiz__facts { margin: 0; padding-left: 1.25rem; display: grid; gap: 0.35rem; line-height: 1.55; }
.quiz__form { display: grid; gap: 1.25rem; }
.quiz__q { margin: 0; padding: 1rem 1.1rem 1.1rem; border: 1px solid var(--line); border-radius: 14px; scroll-margin-top: 6rem; }
.quiz__q[data-missing] { border: 2px solid var(--gold); }
.quiz .quiz__q > .quiz__legend { padding: 0 0.35rem; font-family: inherit; text-transform: none; letter-spacing: normal; font-weight: 700; font-size: 1.1rem; line-height: 1.45; max-width: 60ch; color: var(--text); }
.quiz .quiz__n { display: block; text-transform: none; letter-spacing: normal; margin-bottom: 0.15rem; font-family: var(--font-mono); font-size: 0.85rem; font-weight: 400; color: var(--muted); }
.quiz__opts { display: grid; gap: 0.25rem; margin-top: 0.6rem; }
.quiz__opt { min-height: 2.75rem; align-items: center; line-height: 1.4; }
.quiz__errors ul { margin: 0.35rem 0 0; padding-left: 1.25rem; }
.quiz__missed { margin: 0; padding-left: 1.4rem; display: grid; gap: 0.6rem; line-height: 1.5; }
.quiz__missed a { font-weight: 600; white-space: nowrap; }
.quiz-done { margin: 0 0 1.25rem; }
.quiz-done:focus { outline: 2px solid var(--gold); outline-offset: 3px; }

@media print {
  body:has(.prod-cs) :is(.site-header, .site-footer, header.site-head, footer, nav, .skip-link) { display: none !important; }
  .prod-cs { color: #000; }
  .prod-cs__sos { border-color: #000; background: none; }
  :root .prod-cs__call, :root a.prod-cs__call--sheriff { background: none; color: #000; border: 2px solid #000; }
  .prod-cs__links, .prod-cs__actions { display: none; }
  .prod-cs__day { break-inside: avoid; }
}


/* src/styles/prod-staff.css */
/* Staff portal (/productions/staff) and the QR check page (/p). src/scripts/prod-staff.js */
.ps-head .ps-who { margin: 0.5rem 0 0; }
.ps-tools { display: grid; gap: 1rem; margin: 1.25rem 0 0.5rem; }
.ps-tools__row { display: flex; flex-wrap: wrap; align-items: end; gap: 0.75rem 1.5rem; }
.ps-search { flex: 1 1 18rem; margin: 0; }
/* Semester / Class / Instructor dropdowns */
.ps-filter { flex: 0 1 13rem; margin: 0; }
.ps-filter .form__select { width: 100%; min-height: 44px; }
.ps-practice { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; margin: 1rem 0 0; }
.ps-practice .crew-hint { margin: 0; flex: 1 1 18rem; }

/* Practice account bar on /account for faculty and staff (src/scripts/practice.js) */
.practice { margin: 0 0 var(--space-4); padding: 1.1rem 1.25rem 1.2rem; border: 2px dashed var(--gold); border-radius: 12px; background: rgba(255, 191, 26, 0.06); }
.practice__h { margin: 0 0 0.35rem; font-size: var(--step-1); }
.practice__lede { margin: 0 0 0.75rem; max-width: 65ch; line-height: 1.5; }
.practice__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.25rem; margin: 0; }
.practice__act { margin-top: 1rem; border-top: 1px solid var(--line); padding-top: 0.75rem; }
.practice__act summary { min-height: 44px; display: flex; align-items: center; font-weight: 700; cursor: pointer; }
.practice__act summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.practice__list { list-style: none; margin: 0.5rem 0 0; padding: 0; display: grid; gap: 0.5rem; }
:root .practice__list > li { margin: 0; padding: 0.6rem 0; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; }
:root .practice__list > li::before { content: none; display: none; }
.practice__what { flex: 1 1 16rem; }
.practice__btns { display: flex; flex-wrap: wrap; gap: 0.5rem; }
@media (forced-colors: active) { .practice { border-color: CanvasText; } }
.ps-past { display: flex; align-items: center; gap: 0.6rem; min-height: 44px; margin: 0; }
.ps-seg { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.ps-seg__btn { min-height: 44px; padding: 0 1rem; border: 1px solid var(--control); border-radius: 999px; background: transparent; color: var(--text); font: inherit; font-weight: 600; cursor: pointer; }
.ps-seg__btn:hover { border-color: var(--gold); }
.ps-seg__btn[aria-pressed="true"] { border-color: var(--gold); background: var(--gold); color: var(--ink); }
.ps-seg__btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.ps-head .ps-seg { margin-top: 0.85rem; }
.ps-results { display: grid; gap: 2rem; margin-top: 1rem; }
.ps-group__h { margin: 0 0 0.75rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: 1.05rem; letter-spacing: 0.02em; }
.ps-group__n { font-weight: 400; color: var(--muted); }
.ps-item h4 { margin: 0.35rem 0 0; font-size: 1.2rem; }
.ps-item h4:focus { outline: none; }
.ps-title { margin: 0.15rem 0 0.6rem; color: var(--muted); }
.ps-item.is-past { opacity: 0.85; }
.ps-term { font-family: var(--font-mono); font-size: 0.85rem; color: var(--muted); }
.ps-acts { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.85rem; }
.ps-links { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; margin: 0.75rem 0 0; font-size: var(--step--1); }
.ps-links a { display: inline-flex; align-items: center; min-height: 44px; }
.ps-empty { margin: 0; color: var(--muted); }
.ps-dialog { position: fixed; inset: 0; margin: auto; height: fit-content; max-height: calc(100dvh - 2rem); overflow: auto; width: min(34rem, calc(100vw - 2rem)); padding: 1.5rem; border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 12px; background: #151311; color: var(--text); }
.ps-dialog::backdrop { background: rgba(0, 0, 0, 0.7); }
.ps-dialog__h { margin: 0 0 0.5rem; font-size: 1.35rem; }
.ps-dialog p { max-width: 60ch; line-height: 1.5; }

/* The QR check page: one big answer, readable at arm's length on a phone */
.ps-verify { --tone: var(--gold); display: grid; gap: 0.35rem; padding: 1.5rem 1.4rem 1.4rem; border: 2px solid var(--tone); border-radius: 16px; background: color-mix(in srgb, var(--tone) 14%, #151311); }
.ps-verify--approved { --tone: #4fc27a; }
.ps-verify--wrapped, .ps-verify--paused { --tone: #f2b233; }
.ps-verify--expired, .ps-verify--revoked, .ps-verify--invalid { --tone: #ef6a5b; }
.ps-verify__state { display: flex; align-items: center; gap: 0.75rem; margin: 0; font-size: clamp(1.7rem, 1.3rem + 2vw, 2.4rem); font-weight: 800; line-height: 1.1; color: var(--text); }
.ps-verify__state span:focus { outline: none; }
.ps-verify__mark { display: grid; place-items: center; flex: none; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--tone); color: #111; font-size: 1.5rem; }
.ps-verify__num { margin: 0.5rem 0 0; font-family: var(--font-mono); font-weight: 700; font-size: clamp(1.6rem, 1.3rem + 1.6vw, 2.2rem); letter-spacing: 0.03em; font-variant-numeric: tabular-nums; }
.ps-verify__title { margin: 0; font-size: 1.2rem; }
.ps-verify__msg { margin: 0.5rem 0 0; max-width: 56ch; line-height: 1.5; }
.ps-verify__meta { margin: 0.25rem 0 0; color: var(--muted); font-size: var(--step--1); }
.ps-detail { margin-top: 1.25rem; }
.ps-owner { margin: 0; font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2rem); font-weight: 800; }
.ps-detail__h { margin: 1.25rem 0 0.5rem; font-size: 1.1rem; }
.ps-days { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.35rem; line-height: 1.45; }
.ps-staffnote { margin-top: 1rem; }
@media (forced-colors: active) { .ps-verify { border-color: CanvasText; } .ps-verify__mark { border: 2px solid CanvasText; } .ps-seg__btn[aria-pressed="true"] { outline: 2px solid Highlight; } }

/* Student side: the QR code on an approved production, and on the printed safety sheet */
.prod-qr { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin: 0; padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: 12px; background: rgba(14, 13, 12, 0.35); }
.prod-qr__img { display: block; width: 200px; height: 200px; border-radius: 8px; background: #fff; image-rendering: pixelated; }
.prod-qr__cap { flex: 1 1 16rem; margin: 0; line-height: 1.5; }
.prod-qr__links { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; margin-top: 0.5rem; }
.prod-qr__links a { display: inline-flex; align-items: center; min-height: 44px; }
.prod-sheet__qr { float: right; width: 120px; height: 120px; margin: 0 0 0.5rem 1rem; image-rendering: pixelated; }


/* src/styles/guide.css */
/* Student Guide (/guide and /guide/*): plain-language policy pages built from the college catalog.
   Every page: The Short Version → On This Page → question-headed sections → Who to Contact → Source. */

.guide-page .prose > h2 { scroll-margin-top: 6rem; }
.guide-page .prose h3 { scroll-margin-top: 6rem; }

/* The short version: the answer up top, before any detail */
.guide-short { margin: 0 0 2.5rem; padding: 1.4rem 1.6rem 1.5rem; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); background: var(--ink-1); }
.guide-short h2 { margin: 0 0 0.75rem; font: 800 var(--step-1)/1.1 var(--font-display); text-transform: uppercase; letter-spacing: 0.01em; color: var(--text); }
.guide-short ul { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.55rem; }
.guide-short li::marker { color: var(--gold); }
.guide-short li { line-height: 1.5; }

/* On this page */
.guide-toc { margin: 0 0 2.5rem; }
.guide-toc h2 { margin: 0 0 0.6rem; font: 400 0.8rem/1.2 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.guide-toc ol { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.guide-toc a, .guide-toc a:hover { display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0.35rem 1rem; border: 1px solid var(--line); border-radius: 999px; color: var(--text); text-decoration: none; background: none; font-size: var(--step--1); font-weight: 600; line-height: 1.2; }
.guide-toc a:hover { border-color: var(--gold); color: var(--gold); background: rgba(255, 191, 26, 0.06); }
.guide-toc a:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Tables: real tables with captions; scroll sideways on small screens instead of squishing */
.guide-table { margin: 1.25rem 0 1.75rem; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.guide-table:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.guide-table table { width: 100%; border-collapse: collapse; font-size: var(--step--1); }
.guide-table caption { caption-side: top; text-align: left; padding: 0.85rem 1rem 0.6rem; font-weight: 700; color: var(--text); }
.guide-table th, .guide-table td { padding: 0.7rem 1rem; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.guide-table thead th { font: 400 0.75rem/1.3 var(--font-mono); letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); background: var(--ink-1); }
.guide-table tbody th { font-weight: 600; color: var(--text); }
.guide-table td.num, .guide-table th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.guide-table tfoot td, .guide-table tfoot th { font-weight: 700; background: var(--ink-1); }

/* A question and its answer (the site plugin turns these into FAQ data for search engines) */
.guide-q { margin: 0 0 1.75rem; }
.guide-q > h3 { margin: 0 0 0.5rem; font: 700 var(--step-1)/1.3 var(--font-body); color: var(--text); text-transform: none; letter-spacing: 0; }
.guide-q > p:last-child, .guide-q > ul:last-child, .guide-q > ol:last-child { margin-bottom: 0; }

/* Numbered steps (only for real sequences) */
.guide-steps { counter-reset: step; list-style: none; margin: 1rem 0 1.5rem; padding: 0; display: grid; gap: 0.9rem; }
.guide-steps > li { counter-increment: step; position: relative; padding-left: 2.75rem; line-height: 1.5; }
.guide-steps > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 1.9rem; height: 1.9rem; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--ink); font-weight: 800; font-size: 0.95rem; }

/* Callout for a rule that costs people money or a deadline that's easy to miss */
.guide-note { margin: 1.25rem 0 1.75rem; padding: 1rem 1.25rem; border-radius: var(--radius); border: 1px solid rgba(255, 191, 26, 0.45); background: rgba(255, 191, 26, 0.07); }
.guide-note > :last-child { margin-bottom: 0; }
.guide-note strong:first-child { color: var(--gold); }

/* Who to contact */
.guide-contact { margin: 2.5rem 0 1.5rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 0.9rem; }
.guide-contact__card { padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-1); }
.guide-contact__card h3 { margin: 0 0 0.4rem; font: 700 var(--step-0)/1.3 var(--font-body); text-transform: none; letter-spacing: 0; }
.guide-contact__card p { margin: 0.2rem 0; font-size: var(--step--1); color: var(--muted); }
.guide-contact__card a { color: var(--gold); }

/* Source line */
.guide-source { margin: 2.5rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: var(--step--1); color: var(--muted); }
.guide-source p { margin: 0 0 0.4rem; }

/* Hub: topic cards */
.guide-topics { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); gap: 1rem; }
/* Whole card is the link (title link stretched over it). Title, then summary, then the one fact
   worth remembering, set off by a hairline at the bottom so every card ends on the same line. */
.guide-topic { position: relative; height: 100%; padding: 1.5rem 1.5rem 1.25rem; border: 1px solid var(--line); border-radius: 16px; background: var(--ink-1); display: flex; flex-direction: column; }
.guide-topic h3 { margin: 0 0 0.85rem; font: 800 var(--step-2)/0.98 var(--font-display); text-transform: uppercase; letter-spacing: 0.005em; text-wrap: balance; }
.guide-topic h3 a, .guide-topic h3 a:hover { color: var(--text); text-decoration: none; background: none; padding: 0; }
.guide-topic h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.guide-topic:hover, .guide-topic:focus-within { border-color: var(--gold); }
.guide-topic:hover h3 a, .guide-topic:focus-within h3 a { color: var(--gold); }
.guide-topic:has(a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.guide-topic a:focus-visible { outline: none; }
.guide-topic p { margin: 0; color: var(--muted); line-height: 1.55; }
.guide-topic__key { margin-top: auto !important; padding-top: 0.9rem; border-top: 1px solid var(--line); font: 400 0.8rem/1.3 var(--font-mono); letter-spacing: 0.02em; color: var(--gold) !important; }
.guide-topic p:not(.guide-topic__key) { margin-bottom: 1.25rem; }

/* Campus support directory: plain cards (not links) inside a .filter list */
.guide-svc { padding: 1.25rem 1.35rem 1.15rem; border: 1px solid var(--line); border-radius: 16px; background: var(--ink-1); display: flex; flex-direction: column; }
.guide-svc h3 { margin: 0 0 0.55rem; font: 700 var(--step-1)/1.2 var(--font-body); text-transform: none; letter-spacing: 0; color: var(--text); text-wrap: balance; }
.guide-svc p { margin: 0; line-height: 1.55; }
.guide-svc__what { color: var(--muted); margin-bottom: 1rem !important; }
.guide-svc__where { margin-top: auto !important; padding-top: 0.85rem; border-top: 1px solid var(--line); font-size: var(--step--1); line-height: 1.6 !important; }
.guide-svc__where a { color: var(--gold); }

/* Production Safety Guide (/safety): same pattern, plus a hard-rule banner, an emergency box,
   "Your plan needs" checklists that mirror the production planner, and "Why it matters" lines. */
.safety-page .page-head__actions { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.safety-rule { margin: 0 0 2rem; padding: 1rem 1.25rem; border: 2px solid #ff8a80; border-radius: var(--radius); background: rgba(255, 138, 128, 0.08); }
.safety-rule p { margin: 0; line-height: 1.5; }
.safety-rule strong { color: #ffb4ab; }
.safety-sos { padding: 1.4rem 1.6rem; border: 2px solid #ff8a80; border-radius: 16px; background: rgba(255, 138, 128, 0.07); max-width: 52rem; }
.safety-sos h2 { margin: 0 0 0.75rem; font: 800 var(--step-2)/1 var(--font-display); text-transform: uppercase; }
.safety-sos ol { margin: 0 0 0.85rem; padding-left: 1.35rem; display: grid; gap: 0.45rem; line-height: 1.5; }
.safety-sos a { color: var(--gold); }
.safety-sos p { margin: 0.25rem 0 0; }
:root .safety-sos .safety-sos__stop { display: inline-block; margin: 0.5rem 0 0.75rem; padding: 0.45rem 0.85rem; border-radius: 8px; background: var(--gold); color: #1a1815; font-weight: 700; line-height: 1.4; }
@media (forced-colors: active) { :root .safety-sos .safety-sos__stop { border: 2px solid CanvasText; } }
/* Emergency numbers: 911 is a red label (not a link, so it can't be dialed by accident); the Sheriff line is a tappable link. */
:root .safety-calls { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 0.75rem; }
:root .safety-calls > li { margin: 0; padding: 0; display: block; }
:root .safety-calls > li::before { content: none; display: none; }
:root .safety-sos .safety-call, :root .guide-q .safety-call { display: grid; gap: 0.15rem; margin: 0; padding: 0.85rem 1.1rem; min-height: 44px; border: 2px solid var(--gold); border-radius: var(--radius, 12px); background: transparent; background-image: none; color: var(--text); text-decoration: none; }
:root .safety-call .safety-call__n { font-size: clamp(1.4rem, 1.2rem + 1vw, 1.8rem); font-weight: 700; font-variant-numeric: tabular-nums; color: var(--gold); text-decoration: underline; text-underline-offset: 0.15em; }
:root a.safety-call:hover { background: rgba(255, 191, 26, 0.12); }
:root .safety-sos .safety-call--911, :root .guide-q .safety-call--911 { background: #c62828; border-color: #c62828; color: #fff; }
:root .safety-call--911 .safety-call__k, :root .safety-call--911 .safety-call__n { color: #fff; text-decoration: none; }
:root .safety-sos > ol { list-style: decimal outside; padding-left: 1.5rem; }
:root .safety-sos > ol > li { display: list-item; padding-left: 0.25rem; }
:root .safety-sos > ol > li::before { content: none; display: none; }
:root .safety-sos > ol > li::marker { color: var(--gold); font-weight: 700; }
@media (forced-colors: active) { :root .safety-sos .safety-call--911, :root .guide-q .safety-call--911 { background: Canvas; border-color: CanvasText; } :root .safety-call--911 .safety-call__k, :root .safety-call--911 .safety-call__n { color: CanvasText; } }
.guide-note--plan { border-color: var(--line); background: var(--ink-1); border-left: 4px solid var(--gold); }
.guide-note--plan ul { margin: 0.4rem 0 0.6rem; padding-left: 1.2rem; display: grid; gap: 0.35rem; }
.guide-note--plan li::marker { color: var(--gold); }
.guide-note--plan p:last-child { margin: 0; color: var(--muted); font-size: var(--step--1); }
.guide-note--plan p:last-child strong { color: var(--text); }
.safety-why { margin: 0.85rem 0 0 !important; padding-left: 0.9rem; border-left: 2px solid var(--line); color: var(--muted); font-size: var(--step--1); line-height: 1.55; }
.safety-why strong { color: var(--text); }
/* Real bullets drawn with ::marker (the site's default list reset and custom ::before bullets are switched off here). */
:root .safety-basics { columns: 2 18rem; column-gap: 2.5rem; margin: 0; padding-left: 1.4rem; list-style: disc outside; }
:root .safety-basics > li { display: list-item; break-inside: avoid; margin: 0 0 0.5rem; padding-left: 0.25rem; }
:root .safety-basics > li::before { content: none; display: none; }
:root .safety-basics > li::marker { color: var(--gold); font-size: 1.1em; }
.safety-hub .section__lede { max-width: 42rem; }
@media (forced-colors: active) { .safety-rule, .safety-sos { border-color: CanvasText; } }

/* Cinema and Television pages: programs split into Degrees and Certificates (one loop per credential type, merged into one grid). */
:root .pathways__group { margin: 2.5rem 0 1.25rem; padding-bottom: 0.6rem; border-bottom: 2px solid var(--gold); font: 800 var(--step-2)/1 var(--font-display); text-transform: uppercase; scroll-margin-top: 6rem; }
:root .section__header + .pathways__group { margin-top: 1.5rem; }
:root .pathway-group { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 1.75rem; }
:root .pathway-group > .pathway-list { display: contents; }
@media (min-width: 900px) { :root .pathway-group { gap: 2.25rem; } }
#pathways .pathway-group:empty, #pathways .pathway-group:not(:has(li)) { display: none; }

/* Programs mega menu: Degrees & Certificates column with Cinema (gold) and Television (ember) subheadings. */
:root #panel-programs .mega__heading { padding-bottom: 0.6rem; margin-bottom: 0.5rem; border-bottom: 1px solid var(--line); }
:root #panel-programs .mega__subheading { display: flex; align-items: center; gap: 0.5rem; margin: 1.1rem 0 0.2rem; font: 800 1.15rem/1.1 var(--font-display); text-transform: uppercase; letter-spacing: 0.04em; color: var(--text); }
:root #panel-programs .mega__subheading a, :root #panel-programs .mega__subheading a:visited { font: inherit; letter-spacing: inherit; color: inherit; }
:root #panel-programs .mega__subheading a:hover { color: var(--gold); }
:root #panel-programs .mega__subheading::before { content: ""; flex: none; width: 0.5em; height: 0.5em; border-radius: 50%; background: #ffbf1a; }
:root #panel-programs .mega__subheading.mega__subheading--television::before { background: #fdba74 !important; }
:root #panel-programs .mega__subheading.mega__subheading--plan::before { background: transparent !important; box-shadow: inset 0 0 0 2px var(--text); }
:root #panel-programs .mega__list--sub { padding-left: 1rem; }
:root #panel-programs .mega__account { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
:root #panel-programs .mega__account-text { margin: 0; color: var(--muted); line-height: 1.5; }
:root #panel-programs .mega__account-text strong { color: var(--text); }
:root #panel-programs .mega__account-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
:root #panel-programs .mega__account-btn { flex: none; }
:root #panel-programs .mega__divider { margin: 1rem 0 0.25rem; border: 0; border-top: 1px solid var(--line); }
@media (forced-colors: active) { :root #panel-programs .mega__subheading::before { background: CanvasText; } }

/* Students mega menu (site header): three columns by task, an LACC sites subgroup, and a full-width account bar. */
:root #panel-students .mega__heading { padding-bottom: 0.6rem; margin-bottom: 0.5rem; border-bottom: 1px solid var(--line); }
:root #panel-students .mega__subheading { margin: 1.25rem 0 0.35rem; padding-bottom: 0.4rem; border-bottom: 1px solid var(--line); font: 400 0.8rem/1.3 var(--font-mono); letter-spacing: 0.04em; color: var(--muted); }
:root #panel-students .mega__sites { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.5rem; margin-top: 0.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
:root #panel-students .mega__sites-label { margin: 0; font: 400 0.85rem/1.3 var(--font-mono); letter-spacing: 0.04em; color: var(--muted); }
:root #panel-students .mega__sites-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.75rem; }
:root #panel-students .mega__sites-list > li { margin: 0; padding: 0; }
:root #panel-students .mega__sites-list > li::before { content: none; display: none; }
:root #panel-students .mega__account { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
:root #panel-students .mega__account-text { margin: 0; color: var(--muted); line-height: 1.5; }
:root #panel-students .mega__account-text strong { color: var(--text); }
:root #panel-students .mega__account-btn { flex: none; }

/* Mobile menu: hide the no-JS fallback menu while site.js loads (html.js is set in <head> by js-flag.js),
   and show the Menu button right away so the header doesn't jump. No JS = no .js class = fallback menu as before. */
@media (max-width: 1080px) {
  :root.js .nav:not(.nav--enhanced) { display: none; }
  :root.js .site-header__toggle[hidden] { display: inline-flex; }
}

/* Mega menu bottom bars (Students: account; Programs: plan your classes): title over subtext on the left, buttons right, vertically centered. */
:root #panel-students .mega__account, :root #panel-programs .mega__account { flex-wrap: nowrap; align-items: center; }
:root .mega__account .mega__account-copy { flex: 1 1 auto; min-width: 0; }
:root .mega__account .mega__account-title { margin: 0 0 0.2rem; font: 800 var(--step-1)/1.1 var(--font-display); text-transform: uppercase; letter-spacing: 0.02em; color: var(--text); }
:root .mega__account .mega__account-text { margin: 0; color: var(--muted); line-height: 1.5; }
:root .mega__account .mega__account-actions { flex: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 0.75rem; margin-left: auto; }
/* Bottom bars as a dark box with a warm orange-ember wash that drifts slowly on its own (CSS only, no pointer tracking). Still for reduced motion. */
@property --gx { syntax: '<percentage>'; inherits: false; initial-value: 78%; }
@property --gy { syntax: '<percentage>'; inherits: false; initial-value: 55%; }
@keyframes mega-glow-drift { 0% { --gx: 78%; --gy: 55%; } 33% { --gx: 60%; --gy: 30%; } 66% { --gx: 88%; --gy: 75%; } 100% { --gx: 78%; --gy: 55%; } }
:root #panel-students .mega__account, :root #panel-programs .mega__account { position: relative; isolation: isolate; margin-top: 0.75rem; padding: 1.25rem 1.5rem; border: 1px solid rgba(240, 120, 40, 0.24); border-radius: var(--radius-lg, 16px); background-color: rgba(8, 5, 3, 0.72); background-image: radial-gradient(ellipse 34rem 14rem at var(--gx) var(--gy), rgb(142 98 29 / 26%), rgba(234, 110, 30, 0) 72%), linear-gradient(115deg, rgba(150, 60, 15, 0.10) 0%, rgba(220, 95, 25, 0.16) 100%); box-shadow: inset 0 1px 0 rgba(255, 190, 130, 0.07); animation: mega-glow-drift 18s ease-in-out infinite; transition: border-color 0.3s ease; }
:root #panel-students .mega__account:hover, :root #panel-programs .mega__account:hover, :root #panel-students .mega__account:focus-within, :root #panel-programs .mega__account:focus-within { border-color: rgba(240, 120, 40, 0.42); }
@media (prefers-reduced-motion: reduce) { :root #panel-students .mega__account, :root #panel-programs .mega__account { animation: none; } }
@media (forced-colors: active) { :root #panel-students .mega__account, :root #panel-programs .mega__account { background: Canvas; border-color: CanvasText; } }
/* Phones: buttons share the row evenly with smaller text, and stack if there still isn't room. Tap targets stay 44px tall. */
@media (max-width: 700px) {
  :root #panel-students .mega__account, :root #panel-programs .mega__account { padding: 1.1rem 1rem; }
  :root .mega__account .mega__account-actions { width: 100%; flex-wrap: wrap; gap: 0.6rem; }
  :root .mega__account .mega__account-actions > a, :root .mega__account .mega__account-actions > .btn { flex: 1 1 9rem; min-width: 0; min-height: 44px; padding: 0.6rem 0.9rem; font-size: var(--step--1); white-space: nowrap; justify-content: center; text-align: center; }
}
@media (max-width: 700px) { :root #panel-students .mega__account, :root #panel-programs .mega__account { flex-wrap: wrap; } :root .mega__account .mega__account-actions { margin-left: 0; justify-content: flex-start; } }

/* Footer: brand column takes the free space, so the three link columns sit together on the right with tighter gaps. */
@media (min-width: 901px) {
  :root .site-footer__grid { grid-template-columns: minmax(18rem, 1fr) repeat(3, max-content); column-gap: clamp(2.5rem, 1.5rem + 2.5vw, 4.5rem); }
  :root .site-footer__grid > :first-child { max-width: 28rem; padding-right: 2rem; }
}

/* External-link arrows swing 45° on hover/focus everywhere (the menu already did; this adds the footer and page content). */
:root .site-footer a[data-external]::after, :root main a[data-external]::after { transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
:root .site-footer a[data-external]:hover::after, :root .site-footer a[data-external]:focus-visible::after, :root main a[data-external]:hover::after, :root main a[data-external]:focus-visible::after { transform: rotate(45deg); }
@media (prefers-reduced-motion: reduce) { :root .site-footer a[data-external]::after, :root main a[data-external]::after { transition: none; } }

/* Boxes with a colored accent bar on the left: square corners on that side so the bar runs straight top to bottom. */
:root :is(.mega__newhere, .guide-short, .guide-note--plan, .form__message, .crew__alert, .crew__ok, .crew__pending, .showcase-dialog__notes, .prod-note, .prod-flag, .prod-problems, .prod-sheet__flag, .prod-cs__flag, .prod-changes, .prose blockquote, .course-page__verify, .equipment__callout, .alum-card__quote) { border-top-left-radius: 0; border-bottom-left-radius: 0; }
/* Same idea for boxes with the accent bar on top: square top corners. */
:root :is(.toolkit-check__col, .toolkit-folder, .crew-steps__item, .prod-slate__board) { border-top-left-radius: 0; border-top-right-radius: 0; }

/* Crew calls (/crew/calls): open calls as a grid of compact cards; ?call=ID shows one call in full. */
:root .crew-calls__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 1rem; }
:root .crew-calls__grid > li::before, :root .crew-calls__single > li::before { content: none; display: none; }
:root .crew-calls__single { list-style: none; margin: 0; padding: 0; max-width: 52rem; }
:root .crew-call--card { position: relative; margin: 0; padding: 1.25rem 1.35rem 1.15rem; display: flex; flex-direction: column; }
:root .crew-call--card > article { display: flex; flex-direction: column; height: 100%; }
:root .crew-call--card .crew-call__title { margin: 0 0 0.35rem; font: 700 var(--step-1)/1.25 var(--font-body); text-transform: none; letter-spacing: 0; text-wrap: balance; }
:root .crew-call--card .crew-call__link, :root .crew-call--card .crew-call__link:visited { color: var(--text); text-decoration: none; background: none; padding: 0; }
:root .crew-call--card .crew-call__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
:root .crew-call--card .crew-call__link:focus-visible { outline: none; }
:root .crew-call--card:has(.crew-call__link:focus-visible) { outline: 3px solid var(--focus, var(--gold)); outline-offset: 2px; }
:root .crew-call--card:hover .crew-call__link, :root .crew-call--card:focus-within .crew-call__link { color: var(--gold); }
:root .crew-call--card .crew-call__by, :root .crew-call--card .crew-call__class { margin: 0; font-size: var(--step--1); color: var(--muted); }
:root .crew-call--card .crew-call__facts { margin: 0.85rem 0 0.9rem; display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 0.9rem; font-size: var(--step--1); }
:root .crew-call--card .crew-call__facts dt { color: var(--muted); }
:root .crew-call--card .crew-call__facts dd { margin: 0; font-weight: 600; }
:root .crew-call__more-roles { margin: 0.4rem 0 0; font-size: var(--step--1); color: var(--muted); }
:root .crew-call__cta { margin: auto 0 0; padding-top: 1rem; font-size: var(--step--1); font-weight: 700; color: var(--gold); text-decoration: underline; text-underline-offset: 0.2em; }
:root .crew-call--card { transition: transform 0.35s cubic-bezier(.2, .7, .2, 1), box-shadow 0.35s ease, background-color 0.35s ease, border-color 0.35s ease; }
:root .crew-call--card:hover, :root .crew-call--card:focus-within { transform: translateY(-3px); background-color: var(--glass-hover); border-color: rgba(255, 191, 26, 0.38); box-shadow: var(--glass-shine), var(--drop-hover); }
@media (prefers-reduced-motion: reduce) { :root .crew-call--card { transition: none; } :root .crew-call--card:hover, :root .crew-call--card:focus-within { transform: none; } }
:root .crew-call__back { margin: 0 0 1.25rem; }
:root .crew-call__back a { font-weight: 700; }
/* Class badge: a tinted outline per class (not a gold fill, which reads as a button). Text stays light for contrast; the border carries the color. */
:root .crew-call .crew-call__class, :root .crew-call--card .crew-call__class { --cls: var(--muted); display: inline-flex; align-items: center; width: fit-content; margin: 0.5rem 0 0; padding: 0.2rem 0.7rem 0.12rem; border: 1.5px solid var(--cls); border-radius: var(--radius-pill, 999px); background: color-mix(in srgb, var(--cls) 14%, transparent); color: var(--text); font: 600 0.85rem/1.3 var(--font-body); letter-spacing: 0; text-transform: none; box-shadow: none; }
:root .crew-call__class[data-cls="cinema-002"] { --cls: #f472b6; }
:root .crew-call__class[data-cls="cinema-010"] { --cls: #2dd4bf; }
:root .crew-call__class[data-cls="cinema-012"] { --cls: #60a5fa; }
:root .crew-call__class[data-cls="cinema-033"] { --cls: #ffbf1a; }
:root .crew-call__class[data-cls="tv-055"] { --cls: #fdba74; }
:root .crew-call__class[data-cls="personal-project"] { --cls: #b3ab9c; border-style: dashed; }
@media (forced-colors: active) { :root .crew-call .crew-call__class { border-color: CanvasText; background: Canvas; color: CanvasText; } }
/* Poster's name link: one underline (the site's), not two. */
:root .crew-call__by a { text-decoration: none; }

/* Technical Toolkit (/technical): storage calculator and sign-off roles. */
:root .tk-calc { margin: 0 0 2rem; padding: 1.4rem 1.5rem 1.5rem; border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 0 0 var(--radius) var(--radius); background: var(--ink-1); }
:root .tk-calc[hidden] { display: none; }
:root .tk-calc__title { margin: 0 0 1rem; font: 800 var(--step-1)/1.1 var(--font-display); text-transform: uppercase; }
:root .tk-calc__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: 1rem 1.25rem; }
:root .tk-calc__grid .form__field:first-child { grid-column: 1 / -1; }
:root .tk-calc__dl { margin: 1.25rem 0 0; display: grid; gap: 0.35rem; }
:root .tk-calc__row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.45rem 0; border-top: 1px solid var(--line); }
:root .tk-calc__row dt { color: var(--muted); }
:root .tk-calc__row dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
:root .tk-calc__row--total dt { color: var(--text); font-weight: 700; }
:root .tk-calc__row--total dd { color: var(--gold); font-size: var(--step-1); }
:root .tk-calc__warn { margin: 0.75rem 0 0; color: #ffb4ab; font-size: var(--step--1); }
:root .tech-roles { margin: 0 0 1.5rem; padding-left: 1.3rem; list-style: disc outside; display: grid; gap: 0.45rem; }
:root .tech-roles > li { display: list-item; }
:root .tech-roles > li::before { content: none; display: none; }
:root .tech-roles > li::marker { color: var(--gold); }

/* Resource offers (/resources): what the student gets, as a gold admission ticket. Notches punched in both ends (mask), a slight tilt that straightens when the card is hovered or focused. */
:root .card .card__offer { position: relative; display: block; width: fit-content; max-width: 100%; box-sizing: border-box; margin: 0.15rem 0 0.35rem; padding: 0.6rem 1.35rem 0.5rem; border-radius: 3px; background: var(--gold); color: #14120f; font: 800 var(--step-1)/1.05 var(--font-display); text-transform: uppercase; letter-spacing: 0.015em; text-wrap: balance; transform: rotate(-1.5deg); transform-origin: left center; transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); -webkit-mask: radial-gradient(circle 0.5rem at 0 50%, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 0.5rem at 100% 50%, #0000 97%, #000) right / 51% 100% no-repeat; mask: radial-gradient(circle 0.5rem at 0 50%, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 0.5rem at 100% 50%, #0000 97%, #000) right / 51% 100% no-repeat; }
:root .card .card__offer::after { content: ""; position: absolute; inset: 4px 0.8rem; border-top: 1.5px dashed rgba(20, 18, 15, 0.35); border-bottom: 1.5px dashed rgba(20, 18, 15, 0.35); pointer-events: none; }
:root .card:hover .card__offer, :root .card:focus-within .card__offer { transform: rotate(0deg); }
@media (prefers-reduced-motion: reduce) { :root .card .card__offer { transition: none; } }
@media (forced-colors: active) { :root .card .card__offer { -webkit-mask: none; mask: none; border: 2px solid CanvasText; color: CanvasText; background: Canvas; transform: none; } :root .card .card__offer::after { content: none; } }
@media print { :root .card .card__offer { -webkit-mask: none; mask: none; transform: none; background: none; color: #000; border: 2px solid #000; } }

/* 404 page: fills the screen, content centered vertically; small "Whoa, that's a 404." line above the headline. */
:root section.hero[aria-labelledby="nf-title"] { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; box-sizing: border-box; }
:root section.hero[aria-labelledby="nf-title"] > .container { width: 100%; }
:root .nf-kicker { margin: 0 0 1rem; font: 700 var(--step-1)/1.2 var(--font-body); color: var(--gold); letter-spacing: 0; text-transform: none; }

/* Filmmaker Toolkits index (/toolkits): one card per toolkit; a coming-soon card has no link. */
:root .toolkits-list { margin-top: 0; }
:root .toolkits-list__title { margin: 0 0 0.85rem; font: 800 var(--step-2)/0.98 var(--font-display); text-transform: uppercase; letter-spacing: 0.005em; text-wrap: balance; }
:root .toolkits-list__title a, :root .toolkits-list__title a:hover { color: var(--text); text-decoration: none; background: none; padding: 0; }
:root .toolkits-list__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
:root .guide-topic:hover .toolkits-list__title a, :root .guide-topic:focus-within .toolkits-list__title a { color: var(--gold); }
:root .guide-topic--soon { border-style: dashed; background: transparent; box-shadow: none; }
:root .guide-topic--soon:hover { transform: none; border-color: var(--line); background: transparent; box-shadow: none; }
:root .guide-topic--soon .guide-topic__key { color: var(--muted) !important; }

/* Production roadmap on /toolkit: phases, numbered steps (number is real text, "Step" is for screen readers), link chips. */
.roadmap__sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.roadmap .section__lede { margin-bottom: 1.5rem; }
.roadmap__jump ol { list-style: none; margin: 0 0 2.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
:root .roadmap__jump li { margin: 0; padding: 0; }
:root .roadmap__jump li::before { content: none; display: none; }
.roadmap__jump a, .roadmap__jump a:hover { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.35rem 1.1rem; border: 1px solid var(--line); border-radius: 999px; color: var(--text); text-decoration: none; background: none; font-weight: 600; }
.roadmap__jump a:hover { border-color: var(--gold); color: var(--gold); }
.roadmap__phase { margin: 0 0 3rem; scroll-margin-top: 6rem; }
.roadmap__phase-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 1rem; margin: 0 0 1.25rem; padding-bottom: 0.6rem; border-bottom: 2px solid var(--gold); font: 800 var(--step-2)/1 var(--font-display); text-transform: uppercase; }
.roadmap__when { font: 400 0.95rem/1.2 var(--font-mono); text-transform: none; color: var(--muted); }
:root .roadmap__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); gap: 1rem; }
:root .roadmap__steps > li { margin: 0; }
:root .roadmap__steps > li::before { content: none; display: none; }
:root .roadmap__steps > li.roadmap__step { position: relative; display: flex; flex-direction: column; padding: 1.2rem 1.3rem 1.15rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-1); }
:root .roadmap__steps > li.roadmap__step, :root .guide-topic { border-color: var(--glass-edge); border-radius: var(--radius-lg); background: var(--glass); box-shadow: var(--glass-shine), var(--drop); transition: transform 0.35s cubic-bezier(.2, .7, .2, 1), box-shadow 0.35s ease, background-color 0.35s ease, border-color 0.35s ease; }
:root .roadmap__step:hover, :root .roadmap__step:focus-within, :root .guide-topic:hover, :root .guide-topic:focus-within { transform: translateY(-3px); background-color: var(--glass-hover); border-color: rgba(255, 191, 26, 0.38); box-shadow: var(--glass-shine), var(--drop-hover); }
:root .roadmap__step .roadmap__num { transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
:root .roadmap__step:hover .roadmap__num, :root .roadmap__step:focus-within .roadmap__num { transform: scale(1.12); }
:root .roadmap__step:hover .roadmap__more { color: var(--gold-hi); }
@media (prefers-reduced-motion: reduce) { :root .roadmap__step, :root .guide-topic, :root .roadmap__step .roadmap__num { transition: none; } :root .roadmap__step:hover, :root .roadmap__step:focus-within, :root .guide-topic:hover, :root .guide-topic:focus-within, :root .roadmap__step:hover .roadmap__num { transform: none; } }
:root .roadmap__step:has(.roadmap__more:focus-visible) { outline: 3px solid var(--focus, var(--gold)); outline-offset: 2px; }
.roadmap__num { display: grid; place-items: center; box-sizing: border-box; width: 2rem; height: 2rem; margin-bottom: 0.75rem; padding-top: 0.16em; border-radius: 50%; background: var(--gold); color: var(--ink, #0e0d0c); font: 800 0.95rem/1 var(--font-body); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
:root .roadmap__step-title { margin: 0 0 0.4rem; font: 700 var(--step-0)/1.3 var(--font-body); text-transform: none; letter-spacing: 0; text-wrap: balance; }
:root .roadmap__step > p { margin: 0 0 1rem; font-size: var(--step--1); line-height: 1.5; color: var(--muted); }
:root .roadmap__step a.roadmap__more, :root .roadmap__step a.roadmap__more:visited { margin-top: auto; align-self: flex-start; color: var(--gold); font-size: var(--step--1); font-weight: 700; text-decoration: underline; text-underline-offset: 0.2em; background: none; padding: 0; }
:root .roadmap__step a.roadmap__more::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
:root .roadmap__step a.roadmap__more:focus-visible { outline: none; }
:root .roadmap__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 0.6rem; }
:root .roadmap__links > li { margin: 0; padding: 0; }
:root .roadmap__links > li::before { content: none; display: none; }
.roadmap__links a, .roadmap__links a:visited { display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0.3rem 0.95rem; border: 1px solid rgba(255, 191, 26, 0.45); border-radius: 999px; color: var(--gold); text-decoration: none; background: rgba(255, 191, 26, 0.06); font-size: var(--step--1); font-weight: 600; line-height: 1.25; }
.roadmap__links a:hover { border-color: var(--gold); background: rgba(255, 191, 26, 0.14); color: var(--gold-hi); }
.roadmap__links a:focus-visible, .roadmap__jump a:focus-visible { outline: 3px solid var(--focus, var(--gold)); outline-offset: 2px; }
@media (forced-colors: active) { .roadmap__num { border: 2px solid CanvasText; } .roadmap__step { border-color: CanvasText; } .roadmap__jump a { border-color: LinkText; } }
@media print { .roadmap__step { background: none; border-color: #999; break-inside: avoid; } .roadmap__links a { border-color: #999; color: #000; background: none; } }

/* Producer's Toolkit (/toolkit): document cards, phase headings, downloads, the printable clearance checklist. */
.toolkit-phase { margin-top: 2.75rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.toolkit-doc { margin: 1.25rem 0 2rem; padding: 1.25rem 1.4rem 1.35rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-1); scroll-margin-top: 6rem; }
.toolkit-doc > h3 { margin: 0 0 0.4rem; font: 800 var(--step-2)/1 var(--font-display); text-transform: uppercase; }
.toolkit-doc__what { margin: 0 0 1rem; font-size: var(--step-0); line-height: 1.55; }
.toolkit-doc__facts { margin: 0 0 0.85rem; display: grid; gap: 0.75rem; }
.toolkit-doc__facts dt { font-weight: 700; color: var(--gold); }
.toolkit-doc__facts dd { margin: 0.15rem 0 0; line-height: 1.55; }
.toolkit-doc ul { margin: 0 0 1rem; padding-left: 1.2rem; display: grid; gap: 0.35rem; }
:root .toolkit-doc ul, :root .toolkit-check__list { list-style: disc outside; }
:root .toolkit-doc ul > li, :root .toolkit-check__list > li { display: list-item; }
:root .toolkit-doc ul > li::before, :root .toolkit-check__list > li::before { content: none; display: none; }
:root .toolkit-doc ul > li::marker, :root .toolkit-check__list > li::marker { color: var(--gold); }
.toolkit-files { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0; }
.toolkit-next { margin: 2.5rem 0 0; }
/* Documents page: the clearance folder box up top and the download-all line at the bottom. */
:root .toolkit-folder { margin: 0 0 2.75rem; padding: 1.6rem 1.75rem 1.5rem; border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius); background: var(--ink-1); scroll-margin-top: 6rem; }
:root .toolkit-folder > h2 { margin: 0 0 0.75rem; }
:root .toolkit-folder > h3 { margin: 1.5rem 0 0.6rem; }
:root .toolkit-folder .toolkit-files { margin: 1.25rem 0 0.4rem; }
:root .toolkit-folder__note { margin: 0; font-size: var(--step--1); color: var(--muted); }
:root .toolkit-folder ul { margin: 0 0 1rem; padding-left: 1.3rem; list-style: disc outside; display: grid; gap: 0.4rem; }
:root .toolkit-folder ul > li { display: list-item; }
:root .toolkit-folder ul > li::before { content: none; display: none; }
:root .toolkit-folder ul > li::marker { color: var(--gold); }
:root .toolkit-folder > p:last-child { margin-bottom: 0; color: var(--muted); }
:root .toolkit-download-all { margin: 2.5rem 0 0; padding: 1.25rem 1.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-1); }
:root .toolkit-download-all p { margin: 0; }
@media print { .toolkit-folder .toolkit-files, .toolkit-download-all { display: none; } }
.toolkit-hub #check-title + .section__lede { margin-bottom: 2rem; }
.toolkit-check { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 1.5rem; margin-top: 2rem; }
.toolkit-check__col { padding: 1.75rem 1.75rem 2rem; border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius); background: var(--ink-1); }
.toolkit-check__col h3 { margin: 0 0 1.25rem; font: 800 var(--step-1)/1.1 var(--font-display); text-transform: uppercase; }
:root .toolkit-check__list { margin: 0; padding-left: 1.4rem; display: grid; gap: 1rem; line-height: 1.5; }
:root .toolkit-check__list > li { padding-left: 0.35rem; }
:root .toolkit-check__list > li::marker { content: '☐  '; color: var(--gold); }
.toolkit-print { margin: 2.25rem 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; }
.toolkit-print__alt { color: var(--gold); }
@media print {
  html.toolkit-printing body * { visibility: hidden; }
  html.toolkit-printing #check-title, html.toolkit-printing .toolkit-check, html.toolkit-printing .toolkit-check * { visibility: visible; color: #000 !important; }
  html.toolkit-printing #check-title { position: absolute; top: 0; left: 0; }
  html.toolkit-printing .toolkit-check { position: absolute; top: 3rem; left: 0; right: 0; grid-template-columns: 1fr 1fr 1fr; }
  html.toolkit-printing .toolkit-check__col { background: none; border-color: #000; }
  .toolkit-files, .toolkit-print, .toolkit-next { display: none; }
  .toolkit-doc { background: none; border-color: #999; break-inside: avoid; }
}

@media (prefers-reduced-motion: no-preference) {
  .guide-toc a, .guide-topic, .guide-topic h3 a { transition: border-color 0.15s, color 0.15s, transform 0.2s; }
  .guide-topic:hover { transform: translateY(-3px); }
}
@media print {
  .guide-toc, .guide-contact, .safety-page .page-head__actions { display: none; }
  .safety-rule, .safety-sos, .guide-note--plan { border-color: #000; background: none; }
  .guide-short, .guide-note, .guide-table { border-color: #999; background: none; }
}


/* src/styles/resource-tags.css */
/* Resource categories: each one gets its own colour AND its own swatch shape,
   and the text label is always shown, so colour is never the only cue.
   Shapes stay visible in Windows High Contrast (forced colours paint them CanvasText). */
.tag[data-cat], .filter__btn[data-cat] { --fam: var(--cat); }
.tag[data-cat]::before, .filter__btn[data-cat]::before {
  content: ""; flex: 0 0 auto; width: 0.75rem; height: 0.75rem;
  background: var(--cat); border-radius: 0; transform: none; clip-path: none;
}
.filter__btn[data-cat][data-filter-value] { display: inline-flex; align-items: center; gap: 0.5rem; order: 0; }
.filter__btn[data-cat][aria-pressed="true"] { color: var(--ink); background: var(--cat); border-color: var(--cat); }
.filter__btn[data-cat][aria-pressed="true"]::before { background: var(--ink); }

/* colour */
[data-cat="rental-discount"] { --cat: #ffbf1a; }
[data-cat="gear"]            { --cat: #b8a2f0; }
[data-cat="editing"]         { --cat: #5fc4ff; }
[data-cat="audio"]           { --cat: #4fe3b0; }
[data-cat="vfx"]             { --cat: #ff8a6b; }
[data-cat="preproduction"]   { --cat: #c8e85e; }
[data-cat="software"]        { --cat: #e2e4f0; }
[data-cat="media"]           { --cat: #ff8fd0; }
[data-cat="permits"]         { --cat: #ff9d3d; }
[data-cat="funding"]         { --cat: #7ddc8a; }
[data-cat="screenings"]      { --cat: #9eb0ff; }
[data-cat="learning"]        { --cat: #ffe3a0; }
[data-cat="industry"]        { --cat: #3fd2d9; }
[data-cat="campus"]          { --cat: #e7b6ff; }
[data-cat="financial"]       { --cat: #f5d76e; }

/* shape */
:is(.tag, .filter__btn)[data-cat="rental-discount"]::before { border-radius: 50%; }                                   /* circle */
:is(.tag, .filter__btn)[data-cat="gear"]::before            { border-radius: 2px; }                                   /* square */
:is(.tag, .filter__btn)[data-cat="editing"]::before         { clip-path: polygon(10% 0, 100% 50%, 10% 100%); }        /* play triangle */
:is(.tag, .filter__btn)[data-cat="audio"]::before           { clip-path: polygon(0 55%, 33% 55%, 33% 0, 67% 0, 67% 30%, 100% 30%, 100% 100%, 0 100%); } /* level steps */
:is(.tag, .filter__btn)[data-cat="vfx"]::before             { clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); } /* diamond */
:is(.tag, .filter__btn)[data-cat="preproduction"]::before   { clip-path: polygon(0 0, 65% 0, 100% 35%, 100% 100%, 0 100%); } /* page with folded corner */
:is(.tag, .filter__btn)[data-cat="software"]::before        { background: transparent; border: 2px solid var(--cat); border-radius: 50%; box-sizing: border-box; } /* ring */
:is(.tag, .filter__btn)[data-cat="media"]::before           { clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); } /* star */
:is(.tag, .filter__btn)[data-cat="permits"]::before         { clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%); } /* octagon (stop sign) */
:is(.tag, .filter__btn)[data-cat="funding"]::before         { clip-path: polygon(35% 0, 65% 0, 65% 35%, 100% 35%, 100% 65%, 65% 65%, 65% 100%, 35% 100%, 35% 65%, 0 65%, 0 35%, 35% 35%); } /* plus */
:is(.tag, .filter__btn)[data-cat="screenings"]::before      { width: 1rem; height: 0.6rem; border-radius: 1px; }      /* wide screen */
:is(.tag, .filter__btn)[data-cat="learning"]::before        { clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); } /* hexagon */
:is(.tag, .filter__btn)[data-cat="industry"]::before        { height: 0.4rem; width: 0.8rem; border-radius: 0.8rem 0.8rem 0 0; align-self: center; } /* half circle */
:is(.tag, .filter__btn)[data-cat="campus"]::before          { clip-path: polygon(50% 0, 100% 45%, 100% 100%, 0 100%, 0 45%); } /* house */
:is(.tag, .filter__btn)[data-cat="financial"]::before       { clip-path: polygon(50% 0, 100% 100%, 0 100%); }         /* triangle */
.filter__btn[data-cat="software"][aria-pressed="true"]::before { background: transparent; border-color: var(--ink); }

@media (forced-colors: active) {
  .tag[data-cat]::before, .filter__btn[data-cat]::before { background: CanvasText; forced-color-adjust: none; }
  :is(.tag, .filter__btn)[data-cat="software"]::before { background: transparent; border-color: CanvasText; }
  .filter__btn[data-cat][aria-pressed="true"]::before { background: HighlightText; }
}


/* src/styles/forms.css */
/* Shown on /news?subscribed=1 after the EmailIt confirmation link. */
.sub-confirmed { width: min(72rem, calc(100% - 2rem)); margin: 1.25rem auto 0; }

/* Dropdowns: readable everywhere. Native popups get the dark scheme; browsers that support
   customizable selects (Chrome/Edge 135+) get a fully styled list with clear rows and a gold selection. */
select {
  color-scheme: dark;
  accent-color: var(--gold);
}
select option {
  background-color: var(--ink-1);
  color: var(--text);
}
select option:checked {
  background-color: var(--gold);
  color: var(--ink);
}
select option[value=""] {
  color: var(--muted);
}
@supports (appearance: base-select) {
  select,
  ::picker(select) {
    appearance: base-select;
  }
  select {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
  }
  select::picker-icon {
    color: var(--gold);
    transition: rotate 0.15s ease;
  }
  select:open::picker-icon {
    rotate: 180deg;
  }
  ::picker(select) {
    background: var(--ink-1);
    color: var(--text);
    border: 2px solid var(--gold);
    border-radius: var(--radius);
    padding: 0.25rem 0;
    margin-block: 4px;
    box-shadow: 0 16px 40px hsla(240, 11.76%, 3%, 0.7);
    max-block-size: min(60vh, 28rem);
  }
  select option {
    font: 400 var(--step-0)/1.4 var(--font-body);
    padding: 0.75rem 1rem;
    border-block-start: 1px solid var(--line);
    gap: 0.6rem;
  }
  select option:first-of-type {
    border-block-start: 0;
  }
  select option:hover,
  select option:focus-visible {
    background-color: var(--ink-2);
    color: var(--text);
    outline: 2px solid var(--gold);
    outline-offset: -2px;
  }
  select option:checked {
    background-color: var(--gold);
    color: var(--ink);
    font-weight: 700;
  }
  select option:checked:hover,
  select option:checked:focus-visible {
    background-color: var(--gold-hi);
    color: var(--ink);
    outline-color: var(--text);
  }
  select option::checkmark {
    color: currentColor;
  }
}
@media (prefers-reduced-motion: reduce) {
  select::picker-icon { transition: none; }
}

/* Join form: photo picker (shown once they choose to be featured) */
#ci-photo-wrap .btn { width: auto; align-self: flex-start; border: 2px solid var(--gold); color: var(--gold); padding: 0.65rem 1.2rem; border-radius: 999px; margin-block: 0.5rem; }
#ci-photo-wrap .btn:hover { background: var(--gold-10); }
#ci-photo-wrap .crew-photo__preview:empty { display: none; }
#ci-photo-wrap .crew-photo__img { border-radius: var(--radius); margin-block: 0.5rem; }

/* Notable alumni archive (/alumni) */
.alum-jump ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; list-style: none; margin: 0 0 2rem; padding: 0; }
.alum-jump a { color: var(--gold); font-weight: 700; }
.alum-group { margin-block-end: 3rem; }
.alum-group > h2 { font: 700 var(--step-3)/1.1 var(--font-display); margin: 0 0 1.25rem; color: var(--text); }
.alum-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.alum-card { background: var(--ink-1); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.25rem 1.25rem 1.4rem; }
.alum-card__photo { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: calc(var(--radius-lg) - 6px); margin: 0 0 1rem; background: var(--ink-2); }
.alum-card__name { font: 700 var(--step-2)/1.15 var(--font-display); margin: 0 0 0.25rem; color: var(--text); }
.alum-card__role { color: var(--gold-hi); margin: 0 0 0.75rem; }
.alum-card__bio { margin: 0 0 0.75rem; color: var(--text); max-width: 65ch; }
.alum-card__work { margin: 0 0 0.75rem; color: var(--muted); }
.alum-card__label { color: var(--text); font-weight: 700; margin-inline-end: 0.35em; }
.alum-card__quote { margin: 0 0 0.75rem; padding: 0.5rem 0 0.5rem 1rem; border-left: 3px solid var(--gold); color: var(--text); font-style: italic; }
.alum-card__quote p { margin: 0; }

/* Crew calls: class line on cards; paid-only sits under the crew call email box */
.crew-call__class { display: inline-block; margin: 0 0 0.75rem; padding: 0.2rem 0.75rem; border-radius: 999px; background: var(--gold); color: var(--ink); font-weight: 700; font-size: var(--step--1); }
.crew-call__by a { color: inherit; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 0.15em; }
.crew-check--sub { margin-inline-start: 1.75rem; }

/* Program requirements: a required "choose one" (rendered by the lacc.site plugin) */
.requirements__item--choice { grid-template-columns: minmax(0, 1fr); gap: 0.45rem; }
.requirements__pick { font: 400 0.78rem/1.2 var(--font-mono); letter-spacing: 0.05em; text-transform: uppercase; color: var(--gold); }
.requirements__alt { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0.25rem 1.25rem; }
.requirements__alt a.requirements__link::after { border-radius: 3px; }
.requirements__or { color: var(--muted); font-style: italic; font-size: var(--step--1); }
.requirements__item--choice:has(a:focus-visible) { outline: none; }
.requirements__alt:has(a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 3px; }
.requirements__item--choice .requirements__alt:hover .requirements__name { background-size: 100% 0.08em; }
.requirements__item--choice:hover .requirements__alt:not(:hover) .requirements__name { background-size: 0% 0.08em; }
@media (max-width: 640px) { .requirements__alt { grid-template-columns: 1fr; } }

/* Course pages: Prerequisites and Advisories (5th and 6th facts) run longer, so they take two grid columns. */
@media (min-width: 360px) {
  .course-page__facts > .course-page__fact:nth-child(5),
  .course-page__facts > .course-page__fact:nth-child(6) { grid-column: span 2; }
}
.course-page__reqs { margin: 0.15rem 0 0; padding: 0 0 0 1.1rem; display: grid; gap: 0.6rem; list-style: disc; }
.course-page__reqs li::marker { color: var(--gold); }
.course-page__reqs li { padding-inline-start: 0.15rem; line-height: 1.35; }
.course-page__req { display: inline-flex; flex-direction: column; gap: 0.1rem; color: var(--text); text-decoration: none; vertical-align: top; }
.course-page__req-code { font: 400 0.95rem var(--font-mono); color: var(--gold); letter-spacing: 0.03em; }
a.course-page__req .course-page__req-code { text-decoration: underline; text-decoration-thickness: 0.08em; text-underline-offset: 0.2em; }
.course-page__req-title { font-weight: 600; }
/* "See what you have left" box: wraps by its own width, not the screen's, so it works in the narrow sidebar column too */
:root .planner-cta:not([hidden]) { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
:root .planner-cta__text { flex: 1 1 18rem; min-width: 0; }
:root .planner-cta__actions { flex: 0 1 auto; }
:root .planner-cta__title { overflow-wrap: normal; word-break: normal; hyphens: manual; }

/* Program pages, wide screens: the sidebar (facts, buttons, planner box) stays stacked at the top. The course list
   spans an extra 1fr row, so when it's tall (or a section opens) the extra height goes there, not between sidebar items. */
@media (min-width: 900px) {
  .pathway-page__body { grid-template-rows: auto auto auto 1fr; }
  .pathway-page__body .disclosures { grid-row: 1 / span 4; }
}

/* Programs menu: a short list plus a "See all" link that looks different from the program links */
/* The tag is an inline-block on its own line, so the hover underline stays under the program name only. */
.mega__tag { display: inline-block; width: 100%; margin-top: 0.15rem; font: 400 0.72rem/1.3 var(--font-mono); letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
:root .mega__link:has(.mega__tag) { background-image: none; text-decoration: underline 2px transparent; text-underline-offset: 0.25em; }
:root .mega__link:has(.mega__tag):hover,
:root .mega__link:has(.mega__tag):focus-visible { text-decoration-color: currentColor; }
@media (prefers-reduced-motion: no-preference) { :root .mega__link:has(.mega__tag) { transition: color 0.15s, text-decoration-color 0.15s; } }
.mega__all { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1rem; padding: 0.55rem 1rem; border: 1.5px solid var(--gold); border-radius: 999px; color: var(--gold); font-weight: 700; font-size: var(--step--1); text-decoration: none; }
.mega__all::after { content: ""; width: 0.45em; height: 0.45em; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.mega__all:hover { background: var(--gold); color: var(--ink); }
.mega__all:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) { .mega__all { transition: background-color 0.15s, color 0.15s; } }
.course-page__req-alts { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 0.3rem; vertical-align: top; }
.course-page__req-or { font-size: var(--step--1); font-style: italic; color: var(--muted); }
a.course-page__req:hover .course-page__req-title { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 0.15em; }
a.course-page__req:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }


/* src/styles/a11y-fixes.css */
/* Screen readers: testimonial captions stack spans visually with no punctuation,
   so NVDA read "AlumGrip and electric". Add spoken-only separators (empty visual text, alt text ", "). */
.tslider__name + .tslider__meta::before,
.tslider__status-label + .tslider__now:not(:empty)::before,
.tslider__who + .tslider__sample::before { content: "" / ", "; }
/* Keep those spoken-only separators out of the layout: as flex items they added a gap that indented "Current student". */
.tslider__name + .tslider__meta::before,
.tslider__who + .tslider__sample::before { position: absolute; }
/* Status and "where they are now" sit on their own lines (a wrapped line used to start with a stray dot). */
.tslider__meta { flex-direction: column; align-items: flex-start; gap: 0.15rem; }
.tslider__meta > * + *::before { display: none; }
.tslider__status-label + .tslider__now:not(:empty)::before { display: inline; width: auto; height: auto; margin: 0; background: none; }
/* Student Stories cards: status and "where they are now" run together on screen too, so show a visible dot
   (read as a comma) between them. */
.quote__status + .quote__meta:not(:empty)::before { content: "\00b7" / ", "; color: var(--muted); margin: 0 0.45em 0 0.2em; }

/* News list: hide "No posts yet" once the list has posts (works without JavaScript too). */
.post-list:has(> li) ~ .post-list__empty, .post-list__empty[hidden] { display: none; }
/* The home page shows the latest 3 posts only; "All News" goes to the full list. */
[aria-labelledby="news-title"] .instatic-loop-load-more { display: none; }

/* Home testimonials carousel: centered card and controls. */
.tslider--home .tslider__figure { margin-inline: auto; }
/* Show the short pull quote when a testimonial has one; otherwise the full quote. Full quotes live on /stories. */
.tslider__text--pull:empty { display: none; }
.tslider__quote:has(> .tslider__text--pull:not(:empty)) > .tslider__text:not(.tslider__text--pull) { display: none; }
.tslider__text--pull { font-size: clamp(1.45rem, 1.2rem + 1.1vw, 2.1rem); line-height: 1.3; text-wrap: balance; }
.tslider--home .tslider__controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem; max-width: 60rem; margin-inline: auto; }

/* WCAG 2.2 AA fixes from the Oct 2026 accessibility review.
   2.5.8 Target Size (Minimum): every link/button at least 24 x 24 CSS px. */
.roadmap__more { display: inline-flex; align-items: center; min-height: 24px; }
.course-page__req { min-height: 24px; align-items: center; }
.course-row__link { min-height: 24px; }
.requirements__link { min-height: 24px; }

/* Text contrast at 7:1 (AAA, as the accessibility statement promises).
   Certificate badges: orange #C2410C -> #9A3412 (white text 7.3:1). 911 call card: red -> #A61B1B (7.5:1).
   Planner node status text: #B3AB9C -> #C9C1B3 (8.8:1 on the node). */
.pathway__credential[data-credential="coa"], .pathway-page__credential[data-credential="coa"], .credential-badge[data-credential="coa"] { background-color: #9a3412; border-color: #9a3412; }
:root .safety-sos .safety-call--911, :root .guide-q .safety-call--911 { background: #a61b1b; border-color: #a61b1b; }
@media (forced-colors: active) { :root .safety-sos .safety-call--911, :root .guide-q .safety-call--911 { background: Canvas; border-color: CanvasText; } }
.pl-node .pl-node__state { color: #c9c1b3; }

/* 2.2.2 Pause, Stop, Hide: the hero's running timecode and blinking REC dot can be paused. */
.timecode__toggle {
  position: absolute; top: calc(14.4px + 1.6rem); right: 44px; z-index: 2;
  min-height: 24px; padding: 0.15rem 0.55rem;
  font: 400 0.75rem/1.2 "Courier Prime", "Courier New", Courier, monospace;
  color: var(--text); background: transparent;
  border: 1px solid var(--control); border-radius: 3px; cursor: pointer;
}
.timecode__toggle:hover { border-color: var(--text); }
.timecode__toggle[aria-pressed="true"] { color: var(--ink); background: var(--gold); border-color: var(--gold); }
.timecode.is-paused .timecode__dot { animation-play-state: paused; }
@media (max-width: 420px) { .timecode__toggle-extra { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
@media (max-width: 700px) { .timecode__toggle { top: 8px; right: auto; left: 52px; font-size: 0.7rem; } }


/* src/styles/perf.css */
/* Scroll performance (Oct 2026). Long card pages stuttered on desktop.
   Film grain is now static: it was a full-screen layer on top of everything, moving every 86ms forever,
   so the browser re-composited the whole screen continuously. Same texture, it just holds still.
   The stage lights hold still too (no drift), so the see-through cards don't redraw over a moving background.
   Both also satisfy WCAG 2.2.2 (no endless motion without a pause control). */
body::after { animation: none !important; will-change: auto !important; inset: 0 !important; transform: none !important; }
.stage-lights__beam, .stage-lights__beam--drift { animation: none !important; will-change: auto !important; }
