/* ==========================================================================
   Huda Academy — Community & Giving (/give/, /give/volunteer/,
   /community/partnerships/)

   Loaded by those three pages only, after site.css and never instead of it.

   ONE STYLESHEET FOR THREE PAGES, and that is the point rather than a saving.
   They are one IA section ("Community & Giving"), they share a master hero
   eyebrow, and a visitor moves between them in a single errand — give, give
   time, or bring an organization in. Three stylesheets would have let them
   drift into three looks for one answer. The markup is written by
   tools/build-community.mjs out of tools/community-content.json; read that
   file's header before renaming a class here, because the renderer decides
   which of these selectors exists.

   NAMESPACED `com-`, AND THAT IS NOT TIDINESS. site.css owns .give (the home
   page's giving band), .card, .step, .quote, .facts and .btn. site.js block 3
   reads .stat__num off every .stat, so a bare site.css class picked up here
   could take the nav drawer and every reveal down with it. Nothing on these
   pages can be reached by a site.css selector written for the home page.

   TOKENS sit on .com, not :root — :root belongs to site.css and this file is a
   guest on three pages. Everything resolves to a crest token (CLAUDE.md: "a
   new colour comes from the crest tokens, not from a hex literal").

   THE PALETTE AND TYPE ARE assets/css/news.css's, deliberately. /news/ was
   built on 2026-10-18 from the same master hero and the same two faces, and
   these three shipped the same week. A second set of decisions for the same
   brand, one page apart, is how a site stops looking like one site.

   MEASURED CONTRAST, every pair that carries text (sRGB, WCAG 2.1):
     ink #34231A on paper #F8F4EE ........ 13.68:1
     ink #34231A on cream #F4EEE4 ........ 12.99:1
     ink-soft #655548 on paper ........... 6.51:1
     ink-soft #655548 on cream ........... 6.18:1
     terracotta #A83226 on paper ......... 6.09:1
     terracotta-deep #86251B on paper .... 8.35:1
     cream #F4EEE4 on terracotta ......... 5.78:1   (the give box's light stop)
     cream #F4EEE4 on terracotta-deep .... 7.93:1
     white on terracotta ................. 6.67:1   (the button fill)

   REVEALS: the global `.rv` from site.css, armed by site.js and backed by the
   shell's inline 6s failsafe. **Only content carries it** — never a card, a
   step, a row of amounts or anything else wrapping a link. CLAUDE.md's
   burger-bug rule: a running transition outranks author !important, so a
   control that starts at opacity 0 can be pinned there by a stalled
   transition and no failsafe can win. Headings, paragraphs, figures and the
   quote box cannot contain a control, so those are the whole reveal set here.
   ========================================================================== */

.com {
  --com-rust: var(--terracotta);           /* #A83226 */
  --com-rust-deep: var(--terracotta-deep); /* #86251B */
  --com-ink: var(--ink);                   /* #34231A */
  --com-ink-soft: var(--ink-soft);         /* #655548 */
  --com-paper: var(--paper);               /* #F8F4EE */
  --com-cream: var(--cream);               /* #F4EEE4 */

  --com-line: rgba(52, 35, 26, .14);
  --com-line-strong: rgba(52, 35, 26, .26);
  --com-lift: 0 18px 44px rgba(64, 30, 14, .10);
  --com-lift-hover: 0 24px 56px rgba(64, 30, 14, .16);
  --com-line-light: rgba(244, 238, 228, .30);

  --com-s2: 8px;
  --com-s3: 16px;
  --com-s4: 24px;
  --com-s5: 32px;
  --com-s6: clamp(40px, 5vw, 64px);
  --com-s7: clamp(56px, 8vw, 104px);

  --com-gutter: clamp(20px, 5vw, 56px);
  --com-wrap: 1180px;
  --com-radius: 18px;
  --com-ease: 220ms cubic-bezier(.22, 1, .36, 1);

  background: var(--com-paper);
  color: var(--com-ink);
  font-family: "DM Sans", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

/* page.css is not loaded on a graduated page, so the first band owns the gap
   under the hero. Nothing here reaches into .page-hero: that stylesheet is the
   master and a rule from this file inside it would make these three the odd
   ones out, which is what the 2026-09-27 decision exists to prevent. */
.com > .page-hero { margin-bottom: 0; }

/* :where() SO THE RESETS CARRY NO SPECIFICITY. `.com p` would be (0,1,1) and
   would beat every single-class rule below it — the exact bug found in
   news.css on 2026-10-18, where six paragraph margins computed to 0 while
   reading as correct in the source. */
.com :where(p, ul, ol) { margin: 0; }
.com :where(ul, ol) { padding: 0; list-style: none; }

.com :where(h2, h3) {
  font-family: "Libre Caslon Display", "Cormorant Garamond", Georgia, serif;
  font-weight: 400;          /* the face ships ONE weight — never bold it */
  letter-spacing: -.01em;
  line-height: 1.14;
  margin: 0;
  text-wrap: balance;
}

/* ---------- the band ------------------------------------------------------
   Every section is the same shape: a centred column with the house gutter.
   Alternating grounds come from :nth-of-type rather than a class, so a section
   added or reordered in the JSON cannot land two cream bands together. */
.com-sec {
  padding: var(--com-s7) 0;
}
.com-sec > * {
  width: 100%;
  max-width: var(--com-wrap);
  margin-inline: auto;
  padding-inline: var(--com-gutter);
}
.com-sec:nth-of-type(even) { background: var(--com-cream); }
/* The three boxes set their own padding (and the quote its own margin), which
   replaced the gutter above: below the wrap width they ran edge to edge on a
   phone, and the quote sat on the window's left edge at any width. They keep
   the gutter outside them; the quote's left edge is the column's text edge. */
.com-sec > .com-quote__box,
.com-sec > .com-visit__box,
.com-sec > .com-give__box { width: calc(100% - 2 * var(--com-gutter)); }
.com-sec > .com-visit__box,
.com-sec > .com-give__box { margin-inline: auto; }
.com-sec > .com-quote__box {
  margin-inline-start: max(var(--com-gutter), calc((100% - var(--com-wrap)) / 2 + var(--com-gutter)));
}

.com-head { margin-bottom: var(--com-s6); }
.com-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--com-rust);
  margin-bottom: var(--com-s3) !important;
}
.com-eyebrow--light { color: var(--com-cream); }
.com-h { font-size: clamp(28px, 4.2vw, 48px); max-width: 20ch; }
.com-lede {
  margin-top: var(--com-s4) !important;
  max-width: 62ch;
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--com-ink-soft);
}

.com-p {
  max-width: 62ch;
  font-size: 17px;
  color: var(--com-ink-soft);
}
.com-p + .com-p { margin-top: var(--com-s4) !important; }

/* ---------- links and buttons --------------------------------------------- */
.com-more {
  display: inline-flex;
  align-items: center;
  gap: var(--com-s2);
  min-height: 44px;
  color: var(--com-rust-deep);      /* 8.35:1 on paper */
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color var(--com-ease);
}
.com-more span { transition: transform var(--com-ease); }
.com-more:hover { border-bottom-color: var(--com-rust); }
.com-more:hover span { transform: translateX(3px); }

.com-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--com-s2);
  min-height: 48px;
  padding: 0 var(--com-s4);
  border: 1px solid var(--com-rust);
  border-radius: 999px;
  background: var(--com-rust);
  color: #FFFFFF;                    /* 6.67:1 on the fill */
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background var(--com-ease), transform var(--com-ease);
}
.com-btn:hover { background: var(--com-rust-deep); border-color: var(--com-rust-deep); transform: translateY(-2px); }
.com-btn span { transition: transform var(--com-ease); }
.com-btn:hover span { transform: translateX(3px); }

.com :where(a, button):focus-visible {
  outline: 3px solid var(--com-rust);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- prose, with or without a reviewed photograph ------------------ */
.com-prose__grid { display: grid; gap: var(--com-s6); align-items: start; }
@media (min-width: 900px) {
  .com-prose--media .com-prose__grid { grid-template-columns: 1fr 1fr; align-items: center; }
}
.com-figure { margin: 0; }
.com-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--com-radius);
  box-shadow: var(--com-lift);
}

/* ---------- the verbatim quotation ----------------------------------------
   data-verbatim marks the school's own words, exactly as /about/ does. The
   rule is editorial rather than visual: anything inside this box is quoted and
   must not be tidied, reordered or modernised. */
.com-quote__box {
  margin: 0 0 var(--com-s6);
  padding: var(--com-s6);
  border-radius: var(--com-radius);
  background: var(--com-paper);
  border-inline-start: 3px solid var(--com-rust);
  box-shadow: var(--com-lift);
  max-width: 68ch;
}
.com-sec:nth-of-type(even) .com-quote__box { background: #FFFFFF; }
.com-quote__box blockquote {
  margin: 0;
  font-family: "Libre Caslon Display", "Cormorant Garamond", Georgia, serif;
  font-size: clamp(19px, 2.1vw, 25px);
  line-height: 1.45;
  color: var(--com-ink);
}
.com-quote__box figcaption {
  margin-top: var(--com-s4);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--com-rust);
}

/* ---------- facts: partner / fund, term and definition -------------------- */
.com-facts__list { display: grid; gap: var(--com-s5); }
@media (min-width: 820px) { .com-facts__list { grid-template-columns: repeat(3, 1fr); } }
/* Two items read better as two columns than as three with a gap on the end. */
@media (min-width: 820px) {
  .com-facts__list:has(> .com-fact:nth-child(2):last-child) { grid-template-columns: repeat(2, 1fr); }
}
.com-fact {
  padding-top: var(--com-s4);
  border-top: 2px solid var(--com-rust);
}
.com-fact__t { font-size: clamp(20px, 2vw, 24px); }
.com-fact__d {
  margin-top: var(--com-s3) !important;
  font-size: 16px;
  color: var(--com-ink-soft);
}

/* ---------- cards ---------------------------------------------------------- */
.com-cards__grid { display: grid; gap: var(--com-s4); }
@media (min-width: 760px) { .com-cards__grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } }
.com-card {
  padding: var(--com-s5);
  border: 1px solid var(--com-line);
  border-radius: var(--com-radius);
  background: var(--com-paper);
  box-shadow: var(--com-lift);
  transition: box-shadow var(--com-ease), transform var(--com-ease);
}
.com-sec:nth-of-type(even) .com-card { background: #FFFFFF; }
.com-card:hover { box-shadow: var(--com-lift-hover); transform: translateY(-2px); }
.com-card__t { font-size: clamp(19px, 1.9vw, 23px); }
.com-card__b {
  margin-top: var(--com-s3) !important;
  font-size: 16px;
  color: var(--com-ink-soft);
}

/* ---------- steps ---------------------------------------------------------- */
.com-steps__list { display: grid; gap: var(--com-s5); counter-reset: com-step; }
@media (min-width: 880px) { .com-steps__list { grid-template-columns: repeat(3, 1fr); } }
.com-step { display: flex; gap: var(--com-s4); align-items: flex-start; }
.com-step__n {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--com-rust);
  color: #FFFFFF;
  font-family: "Libre Caslon Display", Georgia, serif;
  font-size: 20px;
  line-height: 1;
}
.com-step__t { font-size: 19px; }
.com-step__b {
  margin-top: var(--com-s2) !important;
  font-size: 16px;
  color: var(--com-ink-soft);
}
.com-steps__cta {
  margin-top: var(--com-s6) !important;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--com-s4);
}
.com-tel {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 17px;
  font-weight: 700;
  color: var(--com-rust-deep);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color var(--com-ease);
}
.com-tel:hover { border-bottom-color: var(--com-rust); }

/* ==========================================================================
   THE GIVING BLOCK — the only section on these three pages carrying money
   ==========================================================================
   A REAL TWO-STOP GRADIENT, NOT A FLAT FILL (CLAUDE.md's anti-dither rule),
   with explicit hex stops so check-page-rules.mjs can read their luminance
   rather than failing safe on an unresolvable var(). The .com-noise film
   beside it in the markup is what pays for the gradient.

   THERE IS NO PAYMENT FIELD HERE AND THERE NEVER WILL BE. The program's
   non-negotiable is "Donations -> link out", and the amounts below are TEXT,
   not chips: a control that looks pressable but cannot set an amount is a
   fake control, and the amount is chosen on PayPal's own page where it takes
   effect. */
.com-give { padding: var(--com-s7) 0; }
.com-give__box {
  position: relative;
  isolation: isolate;
  overflow: clip;              /* clip, never hidden — site.css's sticky rule */
  max-width: var(--com-wrap);
  margin-inline: auto;
  padding: var(--com-s7) var(--com-s6);
  border-radius: 28px;
  background: linear-gradient(162deg, #A83226 0%, #86251B 100%);
  color: var(--com-cream);
  box-shadow: var(--com-lift);
}
/* THE FILM IS A PSEUDO-ELEMENT HERE, NOT THE HOUSE'S <span>, and the reason
   is that this stylesheet is shared by three pages while the gradient is on
   one. As a <span> the film lives in the markup, so /give/volunteer/ and
   /community/partnerships/ - which never render the giving block - carried a
   dark-gradient rule with no film anywhere on the page, and
   check-page-rules.mjs failed both of them for it. A ::after is declared with
   the gradient, so it cannot be absent from a page that uses it or present on
   one that does not. The rule sanctions this form; /about/principal/'s
   .abp-pullquote already ships it.

   z-index:-1 inside the box's own stacking context (isolation:isolate above)
   paints the film over the gradient and under the words - the same order the
   <span> form gets, for the same reason. */
.com-give__box::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
}
.com-give__h { font-size: clamp(28px, 3.8vw, 44px); }
.com-give__lede {
  margin-top: var(--com-s4) !important;
  max-width: 56ch;
  font-size: clamp(16px, 1.4vw, 18px);
  opacity: .94;
}
.com-give__grid {
  margin-top: var(--com-s6);
  display: grid;
  gap: var(--com-s5);
  padding-top: var(--com-s5);
  border-top: 1px solid var(--com-line-light);
}
@media (min-width: 820px) { .com-give__grid { grid-template-columns: repeat(3, 1fr); } }
.com-give__label {
  font-family: "DM Sans", Inter, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .8;
  margin-bottom: var(--com-s3);
}
.com-give__list { display: grid; gap: 6px; font-size: 17px; font-weight: 700; }
.com-give__amts { display: flex; flex-wrap: wrap; gap: var(--com-s2); }
.com-amt {
  font-size: 17px;
  font-weight: 700;
  padding: 4px 12px;
  border: 1px solid var(--com-line-light);
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
}
.com-give__any { margin-top: var(--com-s2) !important; font-size: 14px; opacity: .85; }
.com-give__go { margin-top: var(--com-s6) !important; }
.com-btn--give {
  background: var(--com-cream);
  border-color: var(--com-cream);
  color: var(--com-rust-deep);      /* 7.93:1 */
  min-height: 56px;
  padding: 0 var(--com-s5);
  font-size: 17px;
}
.com-btn--give:hover { background: #FFFFFF; border-color: #FFFFFF; color: var(--com-rust-deep); }
.com-give__note {
  margin-top: var(--com-s4) !important;
  font-size: 14px;
  max-width: 56ch;
  opacity: .9;
}
.com-give :where(a):focus-visible { outline-color: var(--com-cream); }

/* ==========================================================================
   Motion and small screens
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .com *,
  .com *::before,
  .com *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
  .com-card:hover,
  .com-btn:hover { transform: none; }
  .com-btn:hover span,
  .com-more:hover span { transform: none; }
}

@media (max-width: 560px) {
  .com-sec,
  .com-give { padding-top: var(--com-s6); padding-bottom: var(--com-s6); }
  .com-give__box { padding: var(--com-s6) var(--com-s4); border-radius: 20px; }
  .com-quote__box { padding: var(--com-s5) var(--com-s4); }
  .com-card { padding: var(--com-s4); }
  .com-steps__cta { align-items: stretch; }
  .com-steps__cta .com-btn { justify-content: center; }
}

@media (max-height: 600px) and (min-width: 561px) {
  .com-sec,
  .com-give { padding-top: var(--com-s6); padding-bottom: var(--com-s6); }
}

/* ==========================================================================
   ALUMNI AND CONTACT — added 2026-10-18 when those two pages joined this
   family. Same tokens, same bands, same reveal rules as everything above.
   ========================================================================== */

/* ---------- alumni spotlights, and the state before there are any ---------
   THE HOLDING STATE IS NOT A PLACEHOLDER NOTICE. docs/OTHER-PAGES-PLAN.md §11
   says to leave this section out rather than write generic copy, and the brief
   says keep it structurally ready without fake profiles. Those meet here: one
   sentence saying what the section will be, and a route to the only thing a
   reader can actually do about it. Nothing is dressed as a profile. */
.com-hold {
  padding: var(--com-s6);
  border: 1px dashed var(--com-line-strong);
  border-radius: var(--com-radius);
  background: var(--com-paper);
  max-width: 68ch;
}
.com-sec:nth-of-type(even) .com-hold { background: #FFFFFF; }
.com-hold__lead {
  font-size: clamp(18px, 1.8vw, 21px);
  line-height: 1.5;
  color: var(--com-ink);
}
.com-hold__note {
  margin-top: var(--com-s3) !important;
  font-size: 15px;
  color: var(--com-ink-soft);
}

.com-stories__grid { display: grid; gap: var(--com-s4); }
@media (min-width: 760px) { .com-stories__grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); } }
.com-story {
  padding: var(--com-s5);
  border-radius: var(--com-radius);
  background: var(--com-paper);
  border-inline-start: 3px solid var(--com-rust);
  box-shadow: var(--com-lift);
}
.com-story__q {
  margin: 0;
  font-family: "Libre Caslon Display", "Cormorant Garamond", Georgia, serif;
  font-size: clamp(18px, 1.8vw, 21px);
  line-height: 1.45;
}
.com-story__who { margin-top: var(--com-s4) !important; font-weight: 700; font-size: 15px; }
.com-story__when { font-size: 13px; color: var(--com-ink-soft); }

/* ---------- the email + phone route ---------------------------------------
   The two columns are not decoration: the left one lists the fields a form
   would have asked for, so the office receives the same information and this
   site stores none of it. */
.com-reach__grid { display: grid; gap: var(--com-s6); align-items: start; }
@media (min-width: 820px) { .com-reach__grid { grid-template-columns: 1.2fr 1fr; } }
.com-reach__t {
  font-family: "DM Sans", Inter, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--com-rust);
  margin-bottom: var(--com-s4);
}
.com-reach__list { display: grid; gap: var(--com-s3); max-width: 54ch; }
.com-reach__list li {
  position: relative;
  padding-inline-start: var(--com-s4);
  font-size: 17px;
  color: var(--com-ink-soft);
}
.com-reach__list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: .62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--com-rust);
}
.com-reach__note {
  margin-top: var(--com-s5) !important;
  font-size: 14px;
  color: var(--com-ink-soft);
  max-width: 52ch;
}
.com-reach__col--act {
  padding: var(--com-s5);
  border: 1px solid var(--com-line);
  border-radius: var(--com-radius);
  background: var(--com-paper);
  box-shadow: var(--com-lift);
}
.com-sec:nth-of-type(even) .com-reach__col--act { background: #FFFFFF; }
.com-reach__or {
  margin: var(--com-s4) 0 var(--com-s2) !important;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--com-ink-soft);
}
.com-tel--big {
  font-family: "Libre Caslon Display", Georgia, serif;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

/* ---------- the contact details ------------------------------------------- */
.com-details__grid { display: grid; gap: var(--com-s5); }
@media (min-width: 760px) { .com-details__grid { grid-template-columns: repeat(3, 1fr); } }
.com-detail { padding-top: var(--com-s4); border-top: 2px solid var(--com-rust); }
.com-detail__k {
  font-family: "DM Sans", Inter, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--com-rust);
  margin-bottom: var(--com-s3);
}
.com-detail__v { font-size: 17px; line-height: 1.55; }
.com-mail {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--com-rust-deep);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  word-break: break-word;      /* the address is long and must not overflow */
  transition: border-color var(--com-ease);
}
.com-mail:hover { border-bottom-color: var(--com-rust); }

/* ---------- visit ---------------------------------------------------------- */
.com-visit__box {
  padding: var(--com-s6);
  border-radius: var(--com-radius);
  background: var(--com-paper);
  border: 1px solid var(--com-line);
  box-shadow: var(--com-lift);
  max-width: 62ch;
}
.com-sec:nth-of-type(even) .com-visit__box { background: #FFFFFF; }
.com-visit__addr {
  margin: var(--com-s5) 0 var(--com-s5) !important;
  font-family: "Libre Caslon Display", Georgia, serif;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.4;
}

/* ---------- the quick links ------------------------------------------------ */
.com-quick__grid { display: grid; gap: var(--com-s3); }
@media (min-width: 680px) { .com-quick__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .com-quick__grid { grid-template-columns: repeat(3, 1fr); } }
.com-quick__a {
  display: block;
  height: 100%;
  min-height: 44px;
  padding: var(--com-s4);
  border: 1px solid var(--com-line);
  border-radius: 14px;
  background: var(--com-paper);
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--com-ease), transform var(--com-ease), border-color var(--com-ease);
}
.com-sec:nth-of-type(even) .com-quick__a { background: #FFFFFF; }
.com-quick__a:hover { box-shadow: var(--com-lift-hover); transform: translateY(-2px); border-color: var(--com-rust); }
.com-quick__t { display: block; font-size: 17px; font-weight: 700; color: var(--com-rust-deep); }
.com-quick__n { display: block; margin-top: 4px; font-size: 14px; color: var(--com-ink-soft); }

/* ==========================================================================
   THE INQUIRY FORM — styled, and not currently rendered
   ==========================================================================
   The markup exists in tools/build-community.mjs and is emitted only when
   tools/community-content.json carries an endpoint. It does not today, for
   three recorded reasons: no endpoint is configured, the client settled on
   2026-09-30 that the site has no form, and nobody at the school has been
   named as the recipient. Styled anyway so that switching it on is one line
   of JSON rather than a design exercise — and so that the day it ships it
   already looks like the rest of this family rather than a browser default. */
.com-form__box {
  max-width: 56ch;
  padding: var(--com-s6);
  border: 1px solid var(--com-line);
  border-radius: var(--com-radius);
  background: var(--com-paper);
  box-shadow: var(--com-lift);
}
.com-form__row { display: grid; gap: var(--com-s2); margin-bottom: var(--com-s4) !important; }
.com-form__row label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
}
.com-form__req { color: var(--com-rust); }
.com-form__opt { font-weight: 400; color: var(--com-ink-soft); }
.com-form__box :where(input, select, textarea) {
  width: 100%;
  min-height: 48px;              /* clears the 44px touch minimum */
  padding: 12px 14px;
  border: 1px solid var(--com-line-strong);
  border-radius: 10px;
  background: #FFFFFF;
  color: var(--com-ink);
  font-family: inherit;
  font-size: 16px;               /* 16px, or iOS zooms the page on focus */
  line-height: 1.5;
}
.com-form__box textarea { min-height: 140px; resize: vertical; }
.com-form__box :where(input, select, textarea):focus-visible {
  outline: 3px solid var(--com-rust);
  outline-offset: 2px;
  border-color: var(--com-rust);
}
/* The invalid state is a border AND a message, never colour alone. */
.com-form__box :where(input, select, textarea)[aria-invalid="true"] {
  border-color: var(--com-rust-deep);
  border-width: 2px;
}
.com-form__msg { font-size: 14px; color: var(--com-rust-deep); font-weight: 700; }
.com-form__err {
  margin-bottom: var(--com-s4) !important;
  padding: var(--com-s3) var(--com-s4);
  border-radius: 10px;
  background: #F6E4E1;
  color: #6E1C14;                /* 8.9:1 on that ground */
  font-size: 15px;
  font-weight: 700;
}
/* The honeypot sits off-screen rather than display:none, because some bots
   skip anything that is not rendered. aria-hidden and tabindex keep it away
   from assistive technology and from the keyboard. */
.com-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.com-form__consent {
  margin-bottom: var(--com-s5) !important;
  font-size: 14px;
  color: var(--com-ink-soft);
}

@media (max-width: 560px) {
  .com-hold,
  .com-visit__box,
  .com-form__box { padding: var(--com-s5) var(--com-s4); }
  .com-reach__col--act { padding: var(--com-s4); }
}
