/* ==========================================================================
   Whitney PTC — site styles
   Palette and type follow the Fall 2026 newsletter and the PTC meeting flyer:
   maroon, Wildcat gold and cream; Oswald headlines, Barlow Condensed labels,
   Inter for reading text.
   ========================================================================== */

:root {
  --maroon: #6E2B3D;
  --maroon-deep: #561F2F;
  --maroon-ink: #3E1420;
  --gold: #B5A268;          /* rules, large type, fills */
  --gold-lift: #C9B67E;     /* small text on maroon */
  --gold-text: #7A6831;     /* small text on white or cream */
  --cream: #F8F4EC;
  --cream-deep: #EFE7D8;
  --ink: #2B2A2C;
  --ink-soft: #5B5557;
  --line: #E2D8C6;
  --white: #FFFFFF;

  --display: "Oswald", "Arial Narrow", Arial, sans-serif;
  --label: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --shell: 1180px;
  --radius: 4px;
  --shadow: 0 18px 40px -22px rgba(62, 20, 32, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--maroon); }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1.05; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--maroon-ink); padding: 10px 16px; z-index: 100; font-weight: 600; }
.skip:focus { left: 8px; }
.setting { display: none; }

/* ------------------------------------------------------------ type bits */
.eyebrow {
  font-family: var(--label); font-weight: 600; text-transform: uppercase;
  letter-spacing: .26em; font-size: .9rem; color: var(--gold-text); margin: 0 0 .9rem;
}
.eyebrow--light { color: var(--gold-lift); }
.display { font-size: clamp(2.2rem, 5vw, 3.6rem); color: var(--maroon); letter-spacing: -.005em; margin-bottom: .45em; }
.display--light { color: var(--cream); }
.display::after {
  content: ""; display: block; width: 64px; height: 3px; background: var(--gold); margin-top: .35em;
}
.lede { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--ink-soft); max-width: 62ch; }
.subhead { font-size: clamp(1.7rem, 3vw, 2.2rem); color: var(--maroon); margin-bottom: .6rem; }
.fine { font-size: .9rem; color: var(--ink-soft); }
.kicker { font-family: var(--label); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--maroon); font-size: .95rem; margin-top: 1.4rem; }

/* the three-slash claw bullet from the newsletter */
.claws { list-style: none; margin: 1rem 0; padding: 0; }
.claws li { position: relative; padding-left: 2.2rem; margin: .45rem 0; }
.claws li::before {
  content: "\\\\\\"; position: absolute; left: 0; top: -.05em;
  font-family: var(--label); font-weight: 700; font-size: 1.1rem; letter-spacing: -.06em;
  color: var(--gold); transform: skewX(-8deg);
}
.claws--light li { color: var(--cream); }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--label); font-weight: 700; text-transform: uppercase; letter-spacing: .14em;
  font-size: 1rem; line-height: 1; text-decoration: none; text-align: center;
  padding: .95rem 1.5rem; border: 2px solid transparent; border-radius: var(--radius);
  transition: background-color .18s, color .18s, border-color .18s, transform .18s;
}
.btn:hover { transform: translateY(-1px); }
.btn--lg { font-size: 1.1rem; padding: 1.1rem 1.9rem; }
.btn--gold { background: var(--gold); color: var(--maroon-ink); border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-lift); border-color: var(--gold-lift); }
.btn--maroon { background: var(--maroon); color: var(--cream); border-color: var(--maroon); }
.btn--maroon:hover { background: var(--maroon-deep); border-color: var(--maroon-deep); }
.btn--ghost { color: var(--maroon); border-color: var(--maroon); background: transparent; }
.btn--ghost:hover { background: var(--maroon); color: var(--cream); }
.btn--ghost-light { color: var(--cream); border-color: rgba(248, 244, 236, .55); background: transparent; }
.btn--ghost-light:hover { background: var(--cream); color: var(--maroon); border-color: var(--cream); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

/* ------------------------------------------------------------ masthead */
.masthead {
  position: sticky; top: 0; z-index: 50;
  background: var(--maroon); color: var(--cream);
  border-bottom: 4px solid var(--gold);
}
.masthead__inner { display: flex; align-items: center; gap: 1.2rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--cream); margin-right: auto; }
.brand__mark { width: 62px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text b { font-family: var(--display); font-weight: 700; font-size: 1.45rem; letter-spacing: .02em; text-transform: uppercase; }
.brand__text small { font-family: var(--label); font-weight: 600; text-transform: uppercase; letter-spacing: .22em; font-size: .72rem; color: var(--gold-lift); margin-top: .35rem; }
.nav { display: flex; align-items: center; gap: 1.35rem; }
.nav a:not(.btn) {
  color: var(--cream); text-decoration: none; font-family: var(--label); font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em; font-size: .98rem; padding: .3rem 0;
  border-bottom: 2px solid transparent;
}
.nav a:not(.btn):hover, .nav a.is-current { border-bottom-color: var(--gold); color: var(--white); }
.nav__cta { padding: .7rem 1.2rem; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--cream); margin: 6px 0; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--maroon-deep); padding: .5rem clamp(16px, 4vw, 32px) 1.2rem;
    border-bottom: 4px solid var(--gold); display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid rgba(248, 244, 236, .12); }
  .nav__cta { margin-top: 1rem; }
}

/* ------------------------------------------------------------ hero: forum */
.hero { position: relative; overflow: hidden; }
.hero--forum {
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(181, 162, 104, .16), transparent 55%),
    linear-gradient(160deg, var(--maroon) 0%, var(--maroon-deep) 70%, var(--maroon-ink) 100%);
  color: var(--cream);
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3.2rem, 7vw, 5.5rem);
}
.hero--forum::before {           /* the big faded W from the meeting flyer */
  content: ""; position: absolute; right: -8%; top: 50%; width: min(760px, 80vw); aspect-ratio: 480 / 330;
  transform: translateY(-50%) rotate(-8deg);
  background: url("img/logo.png") center / contain no-repeat;
  opacity: .07; filter: grayscale(1) brightness(2.2); pointer-events: none;
}
.hero--forum::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 40px, transparent 40px 52px);
  opacity: .8;
}
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.tag { display: inline-flex; align-items: stretch; margin: 0 0 1.4rem; font-family: var(--label); font-weight: 700; text-transform: uppercase; letter-spacing: .16em; font-size: .92rem; box-shadow: var(--shadow); }
.tag__a { background: var(--gold); color: var(--maroon-ink); padding: .5rem .9rem; }
.tag__b { background: var(--cream); color: var(--maroon); padding: .5rem .9rem; }
.hero__title { font-weight: 700; text-transform: uppercase; margin-bottom: 1.8rem; }
.hero__title-a { display: block; font-size: clamp(1.6rem, 3.8vw, 2.7rem); font-weight: 500; letter-spacing: .06em; color: var(--gold-lift); }
.hero__title-b { display: block; font-size: clamp(3.1rem, 9vw, 6.6rem); letter-spacing: -.01em; line-height: .95; }
.when { list-style: none; margin: 0 0 1.8rem; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--cream); border-radius: var(--radius); box-shadow: var(--shadow); max-width: 680px; }
.when li { padding: 1rem 1.1rem 1.1rem; text-align: center; display: flex; flex-direction: column; align-items: center; }
.when li + li { border-left: 1px solid var(--line); }
.when__k { font-family: var(--label); font-weight: 700; text-transform: uppercase; letter-spacing: .24em; font-size: .78rem; color: var(--gold-text); }
.when strong { font-family: var(--display); font-weight: 700; color: var(--maroon); font-size: clamp(1.35rem, 3vw, 2.1rem); line-height: 1.1; margin: .25rem 0 .15rem; text-transform: uppercase; }
.when small { font-family: var(--label); font-weight: 600; color: var(--ink-soft); font-size: .95rem; letter-spacing: .04em; }
.hero__lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 56ch; color: rgba(248, 244, 236, .9); }
.qr-card { background: var(--cream); color: var(--ink); border: 2px solid var(--gold); border-radius: var(--radius); padding: 1.5rem 1.4rem 1.3rem; text-align: center; box-shadow: var(--shadow); }
.qr-card__code { background: var(--white); padding: 12px; margin: 0 auto 1rem; width: 100%; max-width: 230px; aspect-ratio: 1; }
.qr-card__code svg { width: 100%; height: 100%; display: block; }
.qr-card__title { font-family: var(--display); font-weight: 600; text-transform: uppercase; color: var(--maroon); font-size: 1.25rem; line-height: 1.15; margin-bottom: .4rem; }
.qr-card__note { font-size: .88rem; color: var(--ink-soft); margin: 0; }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .qr-card { display: grid; grid-template-columns: 120px 1fr; gap: 1rem; text-align: left; align-items: center; max-width: 520px; }
  .qr-card__code { margin: 0; padding: 6px; grid-row: span 2; }
  .qr-card__title { margin: 0; align-self: end; }
  .qr-card__note { align-self: start; }
}
@media (max-width: 560px) {
  .when { grid-template-columns: 1fr; }
  .when li { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; gap: .1rem .7rem; text-align: left; padding: .8rem 1rem; }
  .when li + li { border-left: 0; border-top: 1px solid var(--line); }
  .when__k { width: 4.2rem; }
  .when strong { margin: 0; font-size: 1.4rem; }
  .when small { flex-basis: 100%; padding-left: 4.9rem; margin-top: -.2rem; }
}

/* ------------------------------------------------------------ hero: crab feed */
.hero--crab { background: var(--cream); padding: clamp(3rem, 7vw, 5.5rem) 0; border-bottom: 1px solid var(--line); }
.crab__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.crab__photo { position: relative; margin: 0; }
.crab__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.crab__photo::before { content: ""; position: absolute; inset: 16px -16px -16px 16px; border: 2px solid var(--gold); border-radius: var(--radius); z-index: -1; }
.crab__photo { z-index: 0; }
.stamp {
  position: absolute; right: -22px; top: -22px; width: 116px; height: 116px; border-radius: 50%;
  background: var(--maroon); color: var(--cream); display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 4px solid var(--gold); box-shadow: var(--shadow); transform: rotate(8deg);
}
.stamp span { font-family: var(--display); font-weight: 700; font-size: 2.3rem; line-height: 1; }
.stamp small { font-family: var(--label); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; font-size: .8rem; color: var(--gold-lift); }
.crab__title { font-size: clamp(3.4rem, 10vw, 7rem); text-transform: uppercase; color: var(--maroon); line-height: .9; letter-spacing: -.01em; }
.crab__sub { font-family: var(--display); font-weight: 400; font-size: clamp(1.15rem, 2vw, 1.45rem); color: var(--ink); margin: .8rem 0 1.6rem; }
.facts { margin: 0 0 1rem; display: grid; gap: 0; border-top: 2px solid var(--gold); }
.facts > div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.facts dt { font-family: var(--label); font-weight: 700; text-transform: uppercase; letter-spacing: .2em; font-size: .85rem; color: var(--gold-text); padding-top: .15rem; }
.facts dd { margin: 0; font-weight: 500; }
.facts strong { font-family: var(--display); font-size: 1.35rem; color: var(--maroon); font-weight: 600; }
@media (max-width: 860px) {
  .crab__grid { grid-template-columns: 1fr; }
  .crab__photo { max-width: 420px; margin-right: 16px; }
  .crab__photo img { aspect-ratio: 5 / 4; }
  .stamp { width: 96px; height: 96px; right: -10px; }
  .stamp span { font-size: 1.9rem; }
}
@media (max-width: 480px) { .facts > div { grid-template-columns: 1fr; gap: .15rem; } }

/* ------------------------------------------------------------ sections */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section--cream { background: var(--cream); }
.section--maroon { background: var(--maroon); color: var(--cream); }
.intro { max-width: 820px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.intro--tight { margin-top: clamp(4rem, 8vw, 6rem); }

/* about */
.who { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.mission { background: var(--cream); border: 1px solid var(--gold); border-radius: var(--radius); padding: 1.8rem 1.8rem 1rem; color: var(--maroon); font-size: 1.05rem; }
.mission .eyebrow::after { content: ""; display: block; width: 44px; height: 2px; background: var(--gold); margin-top: .7rem; }
.stat { background: var(--maroon); color: var(--cream); border-radius: var(--radius); padding: 1.3rem 1.8rem; margin-top: 1rem; display: flex; align-items: center; gap: 1.2rem; }
.stat strong { font-family: var(--label); font-weight: 700; font-size: clamp(2.8rem, 6vw, 3.8rem); color: var(--gold); line-height: 1; }
.stat span { font-family: var(--label); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .9rem; line-height: 1.35; }
.photo-row { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.photo-row img { width: 100%; height: clamp(220px, 32vw, 380px); object-fit: cover; border-radius: var(--radius); }
@media (max-width: 760px) {
  .who { grid-template-columns: 1fr; }
  .photo-row { grid-template-columns: 1fr; }
  .photo-row img:last-child { display: none; }
}

.priorities { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; counter-reset: pri; }
.priority { counter-increment: pri; background: var(--cream); border: 1px solid var(--gold); border-radius: var(--radius); padding: 1.6rem 1.7rem 1.2rem; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto 1fr; align-content: start; column-gap: 1.1rem; }
.priority::before { content: counter(pri, decimal-leading-zero); grid-row: span 2; font-family: var(--display); font-weight: 700; font-size: 2.6rem; line-height: .9; color: var(--gold); }
.priority h3 { font-size: 1.45rem; color: var(--maroon); font-weight: 600; margin: .2rem 0 .5rem; }
.priority p { color: var(--ink-soft); font-size: .98rem; }
.photo-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; margin-top: 1.1rem; }
.photo-strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 760px) {
  .priorities { grid-template-columns: 1fr; }
  .photo-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.card { border: 1px solid var(--gold); border-radius: var(--radius); background: var(--cream); padding: 1.6rem 1.6rem 1.1rem; border-top: 5px solid var(--maroon); }
.card h3 { font-size: 1.45rem; color: var(--maroon); font-weight: 600; margin-bottom: .7rem; }
.card__kicker { font-family: var(--label); font-weight: 700; text-transform: uppercase; letter-spacing: .16em; font-size: .85rem; color: var(--gold-text); margin-bottom: .5rem; }
.card__text { color: var(--ink-soft); font-size: .98rem; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }

.involve { margin-top: clamp(4rem, 8vw, 6rem); background: var(--maroon); color: var(--cream); border-radius: var(--radius); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); overflow: hidden; box-shadow: var(--shadow); }
.involve__text { padding: clamp(2rem, 5vw, 3.5rem); }
.involve__text > p { color: rgba(248, 244, 236, .88); max-width: 52ch; }
.involve__photo { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
@media (max-width: 860px) {
  .involve { grid-template-columns: 1fr; }
  .involve__photo { order: -1; aspect-ratio: 16 / 9; min-height: 0; height: auto; }
}

/* grants */
.grants { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.steps { list-style: none; padding: 0; margin: 1.6rem 0 0; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: .2rem 0 1.1rem 3.4rem; display: flex; flex-direction: column; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: var(--maroon); color: var(--gold); font-family: var(--display); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 1.15rem; }
.steps b { font-family: var(--display); font-weight: 600; font-size: 1.2rem; color: var(--maroon); }
.steps span { color: var(--ink-soft); font-size: .98rem; }
.grants .fine { margin-top: 1.6rem; max-width: 60ch; }
.grants__photo { position: relative; margin: 0; }
.grants__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.stat--float { position: absolute; left: -24px; bottom: 28px; margin: 0; box-shadow: var(--shadow); max-width: 300px; }
@media (max-width: 860px) {
  .grants { grid-template-columns: 1fr; }
  .grants__photo { max-width: 440px; margin-left: 16px; }
  .grants__photo img { aspect-ratio: 5 / 4; }
}

/* board */
.board { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.member { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius); padding: 1.2rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .35rem; }
.member__role { font-family: var(--label); font-weight: 700; text-transform: uppercase; letter-spacing: .16em; font-size: .82rem; color: var(--gold-text); }
.member__name { font-family: var(--display); font-weight: 600; font-size: 1.4rem; color: var(--maroon); line-height: 1.15; }
.member.is-open { background: var(--cream); border-style: dashed; border-top-style: solid; border-top-color: var(--line); }
.member.is-open .member__name { color: var(--ink-soft); font-weight: 400; }
.member.is-open .member__name::after { content: " · we need you"; font-family: var(--label); font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; }
.board__open { margin-top: 1rem; color: var(--ink-soft); }
@media (max-width: 1020px) { .board { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .board { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 400px) { .board { grid-template-columns: 1fr; } }

.meet { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1.1rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.meet__next { background: var(--maroon); color: var(--cream); border-radius: var(--radius); padding: clamp(1.8rem, 4vw, 2.6rem); box-shadow: var(--shadow); }
.meet__date { font-size: clamp(1.8rem, 4vw, 2.6rem); text-transform: uppercase; margin-bottom: 1.2rem; }
.meet__facts { list-style: none; padding: 0; margin: 0 0 1.4rem; display: flex; flex-wrap: wrap; gap: 1rem 2.6rem; }
.meet__facts li { display: flex; flex-direction: column; }
.meet__facts span { font-family: var(--label); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; font-size: .8rem; color: var(--gold-lift); }
.meet__facts b { font-family: var(--display); font-weight: 500; font-size: 1.35rem; }
.zoom { border-top: 1px solid rgba(248, 244, 236, .2); padding-top: 1.2rem; }
.zoom__label { font-family: var(--label); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; font-size: .8rem; color: var(--gold-lift); margin-bottom: .3rem; }
.zoom__details { color: rgba(248, 244, 236, .88); margin-bottom: 1rem; }
.meet__agenda { background: var(--cream); border: 1px solid var(--gold); border-radius: var(--radius); padding: clamp(1.8rem, 4vw, 2.6rem); }
.meet__doc { font-size: 1.6rem; color: var(--maroon); font-weight: 600; margin-bottom: .8rem; }
.meet__agenda p:not(.eyebrow) { color: var(--ink-soft); }
@media (max-width: 860px) { .meet { grid-template-columns: 1fr; } }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact__intro > p { color: rgba(248, 244, 236, .9); }
.contact__alt { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: .9rem; }
.contact__alt li { display: flex; flex-direction: column; }
.contact__alt span { font-family: var(--label); font-weight: 700; text-transform: uppercase; letter-spacing: .2em; font-size: .8rem; color: var(--gold-lift); }
.contact__alt a, .contact__alt b { color: var(--cream); font-weight: 500; font-size: 1.05rem; }
.form { background: var(--cream); color: var(--ink); border-radius: var(--radius); padding: clamp(1.4rem, 4vw, 2.4rem); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .5); border-top: 5px solid var(--gold); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.field > span { font-family: var(--label); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .85rem; color: var(--maroon); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
  border: 1px solid #CFC3AD; border-radius: var(--radius); padding: .75rem .85rem; width: 100%;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--maroon); box-shadow: 0 0 0 3px rgba(181, 162, 104, .45); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.form-status { margin: 0; font-weight: 500; }
.form-status.is-ok { color: #1F6F43; }
.form-status.is-bad { color: #9B1C1C; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; gap: 0; } }

/* ------------------------------------------------------------ footer */
.footer { background: var(--maroon-ink); color: var(--cream); border-top: 4px solid var(--gold); padding: 2.6rem 0 1.6rem; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.footer__brand { display: flex; align-items: center; gap: .9rem; text-decoration: none; color: var(--cream); }
.footer__brand img { width: 70px; }
.footer__brand span { display: flex; flex-direction: column; }
.footer__brand b { font-family: var(--display); font-weight: 600; font-size: 1.2rem; text-transform: uppercase; letter-spacing: .03em; }
.footer__brand small { color: var(--gold-lift); font-size: .9rem; }
.footer__nav { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.footer__nav a { color: var(--cream); text-decoration: none; font-family: var(--label); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: .95rem; }
.footer__nav a:hover { color: var(--gold-lift); }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; margin-top: 2rem; padding-top: 1.2rem; font-size: .88rem; color: rgba(248, 244, 236, .72);
  background: linear-gradient(rgba(248, 244, 236, .14), rgba(248, 244, 236, .14)) center top / calc(100% - 2 * clamp(16px, 4vw, 32px)) 1px no-repeat; }
.footer__legal p { margin: 0; }

/* ------------------------------------------------------------ reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

@media print {
  .masthead, .nav-toggle, .form, .footer__nav { display: none; }
  .hero--forum, .section--maroon { background: var(--maroon) !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ==========================================================================
   Candidate Question Forum (forum/index.html)
   ========================================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.forum { background: var(--cream); }
.forum__shell { max-width: 860px; }
.forum__intro { margin-bottom: 2rem; }
.panel { background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--gold); border-radius: var(--radius); padding: clamp(1.4rem, 4vw, 2.2rem); box-shadow: var(--shadow); margin-bottom: 1.6rem; }
.panel__title { font-size: 1.6rem; color: var(--maroon); font-weight: 600; margin-bottom: .5rem; }
.panel__text { color: var(--ink-soft); }
.panel__fine { font-size: .9rem; color: var(--ink-soft); margin: .6rem 0 0; }
.inline-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .8rem 1rem; }
.inline-form .field { flex: 1 1 260px; margin: 0; }
.inline-form .btn { padding-top: .9rem; padding-bottom: .9rem; }
.code-input { font-family: var(--display) !important; font-size: 1.6rem !important; letter-spacing: .35em; max-width: 240px; }
.form-error { flex-basis: 100%; margin: .3rem 0 0; color: #9B1C1C; font-weight: 500; }
.form-error:empty { display: none; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--maroon); text-decoration: underline; cursor: pointer; }
.whoami { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; font-size: .95rem; color: var(--ink-soft); margin-bottom: 1rem; }
.panel--ask textarea { width: 100%; min-height: 120px; }
.ask__foot { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; }
.ask__foot .btn { margin-left: auto; }
.counter, .remaining { font-size: .85rem; color: var(--ink-soft); }
.review__label { font-weight: 600; color: var(--maroon); }
.review__q { margin: 0; padding: 1.1rem 1.3rem; background: var(--cream); border-left: 4px solid var(--gold); font-size: 1.1rem; }
.forum__notice { background: var(--cream-deep); border-left: 4px solid var(--maroon); padding: .9rem 1.1rem; margin: 0; }
.forum-status { min-height: 1.5em; font-weight: 500; }
.forum-status.is-ok { color: #1F6F43; }
.forum-status.is-bad { color: #9B1C1C; }
.list-title { font-size: 1.7rem; color: var(--maroon); margin: 2.2rem 0 .4rem; font-weight: 600; }
.list-note { color: var(--ink-soft); margin-bottom: 1.2rem; }
.list-empty { font-style: italic; color: var(--ink-soft); }
.badge { display: inline-block; font-family: var(--label); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; padding: .35rem .7rem; border-radius: 2px; background: var(--cream-deep); color: var(--maroon); }
.badge--gold { background: var(--gold); color: var(--maroon-ink); }
.list-title .badge { font-size: 1rem; padding: .45rem .9rem; }
.qlist { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.q { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; }
.q__text { margin: 0; font-size: 1.05rem; overflow-wrap: anywhere; }
.q--selected { border: 2px solid var(--gold); background: #FFFDF7; }
.q--mine { border-style: dashed; }
.votes { display: flex; gap: .4rem; }
.vote { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--line); background: var(--white); color: var(--ink-soft); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all .15s; padding: 0; }
.vote svg { width: 22px; height: 22px; fill: currentColor; }
.vote:hover:not(:disabled) { border-color: var(--maroon); color: var(--maroon); }
.vote--up[aria-pressed="true"] { background: var(--maroon); border-color: var(--maroon); color: var(--gold-lift); }
.vote--down[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.vote:disabled { opacity: .45; cursor: not-allowed; }
@media (max-width: 520px) {
  .q { grid-template-columns: 1fr; }
  .q__meta { justify-self: end; }
}

/* ------------------------------------------------------------ forum panel: v2 */
.hero__grid--single { grid-template-columns: minmax(0, 1fr); max-width: var(--shell); }
.hero__grid--single .hero__copy { max-width: 820px; }
.btn--sm { font-size: .85rem; padding: .6rem 1rem; letter-spacing: .12em; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 1.4rem; }
.share__label { font-family: var(--label); font-weight: 600; text-transform: uppercase; letter-spacing: .16em; font-size: .85rem; color: var(--gold-lift); margin-right: .3rem; }
/* forum page: the same panel, shorter, so the sign-in box is in view */
.hero--compact { padding: clamp(2rem, 4vw, 3rem) 0 clamp(2rem, 4vw, 2.8rem); }
.hero--compact .tag { margin-bottom: 1rem; }
.hero--compact .hero__title { margin-bottom: 1.2rem; }
.hero--compact .hero__title-b { font-size: clamp(2.6rem, 6vw, 4.4rem); }
.hero--compact .hero__lede { display: none; }
.hero--compact .when { margin-bottom: 0; }
.hero--compact .share { margin-top: 1.2rem; }
.forum.section { padding-top: clamp(2.5rem, 5vw, 3.5rem); }

/* ------------------------------------------------------------ v3: forum art on the right */
.hero__grid--art { grid-template-columns: minmax(0, 1fr) clamp(240px, 26vw, 360px); align-items: start; }
.hero__art { margin: 0; justify-self: end; max-width: 100%; }
/* site.js sizes the picture so its top lines up with "Rocklin School Board" and
   its bottom with the date block; these values are the fallback without script. */
.hero__art img { display: block; width: 300px; max-width: 100%; height: auto; border-radius: 14px; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .6); border: 3px solid var(--gold); box-sizing: border-box; }
@media (max-width: 960px) {
  .hero__grid--art { grid-template-columns: minmax(0, 1fr); }
  .hero__art { display: none; }
}

/* ------------------------------------------------------------ added sections */
.custom--Hide { display: none !important; }
.custom { padding: clamp(3rem, 7vw, 5rem) 0; }
.custom--Cream { background: var(--cream); }
.custom--White { background: var(--white); border-top: 1px solid var(--line); }
.custom--Maroon { background: var(--maroon); color: var(--cream); }
.custom--Maroon .display { color: var(--cream); }
.custom--Maroon .eyebrow { color: var(--gold-lift); }
.custom--Maroon .lede { color: rgba(248, 244, 236, .9); }
.custom--Maroon .custom__btn { background: var(--gold); border-color: var(--gold); color: var(--maroon-ink); }
.custom__inner { max-width: 900px; }
.custom__eyebrow:empty { display: none; }
.custom__text { margin-bottom: 0; }
.custom__btn { margin-top: 1.6rem; }

/* ------------------------------------------------------------ forum page: event recap */
.recap { background: var(--maroon); color: var(--cream); border-bottom: 4px solid var(--gold); padding: 1.1rem 0; }
.recap__inner { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.6rem; }
.recap__title { margin: 0; font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: 1.25rem; letter-spacing: .02em; }
.recap__title span:first-child { color: var(--gold-lift); font-weight: 500; }
.recap__facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; font-family: var(--label); font-weight: 600; letter-spacing: .06em; font-size: 1.05rem; }
.recap__facts li::before { content: "\25C6"; color: var(--gold); font-size: .7em; margin-right: .5em; vertical-align: .12em; }
.recap__more { margin-left: auto; color: var(--gold-lift); font-family: var(--label); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: .9rem; }
@media (max-width: 700px) { .recap__more { margin-left: 0; } }

/* ------------------------------------------------------------ forum: pending and locked */
.pending { margin-top: 1.4rem; }
.pending .q { border-style: dashed; background: #FFFCF4; }
.badge--pending { background: #FBF0DC; color: #7A5410; }
.badge--locked { background: var(--cream-deep); color: var(--ink-soft); }

/* ------------------------------------------------------------ forum moderator */
.mod { display: inline-flex; align-items: center; gap: 1rem; margin: 1.3rem 0 .4rem; color: var(--cream); text-decoration: none; }
.mod img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; border: 3px solid var(--gold); box-shadow: 0 .5rem 1.2rem -.5rem rgba(0, 0, 0, .6); flex: none; }
.mod__txt { display: flex; flex-direction: column; line-height: 1.2; }
.mod__k { font-family: var(--label); font-weight: 700; font-size: .8rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-lift); }
.mod__name { font-family: var(--display); font-weight: 600; font-size: 1.5rem; text-transform: uppercase; letter-spacing: .02em; }
.mod small { font-family: var(--label); font-weight: 500; font-size: 1rem; color: rgba(248, 244, 236, .82); }
.mod__bio { color: var(--gold-lift); text-decoration: underline; text-decoration-color: rgba(201, 182, 126, .6); text-underline-offset: .15em; }
.mod:hover .mod__name, .mod:focus-visible .mod__name { color: var(--gold-lift); }
.recap__mod { color: inherit; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: .18em; }

/* ------------------------------------------------------------ forum video (inside the forum panel) */
.hero__video { margin: 0 0 1.8rem; max-width: 880px; }
.video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 3px solid var(--gold); border-radius: 12px; background: #000; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .7); }
.video .video__fallback { margin-top: .8rem; }
.video:not(.video--link) .video__fallback { background: transparent; color: var(--gold-lift); border: 0; padding: 0; min-height: 0; text-decoration: underline; text-underline-offset: .2em; box-shadow: none; }
/* the video takes the illustration's place */
.hero.has-video .hero__art, .hero:has(.hero__video:not([hidden])) .hero__art { display: none; }
.hero.has-video .hero__grid--art, .hero:has(.hero__video:not([hidden])) .hero__grid--art { grid-template-columns: minmax(0, 1fr); }
/* forum page notices (forum disabled / private) */
.panel--notice { border-top-color: var(--maroon); }

/* forum: the question box opens from a button under the community list heading */
.ask-bar { margin: 0 0 1.2rem; }
.ask-bar .forum__notice { margin: 0; }
#ask-panel { margin-bottom: 1.6rem; }
.ask__foot .linklike { margin-left: auto; }
.ask__foot .linklike + .btn { margin-left: 0; }
.forum-status:empty { display: none; }
