@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 750;
  font-display: swap;
}

:root {
  color-scheme: light;
  --navy: #102448;
  --ink: #142647;
  --muted: #485873;
  --sky: #edf4fb;
  --gold: #f3cb62;
  --sand: #fbf0d2;
  --paper: #f8fafc;
  --white: #fff;
  --border: #d9e0e9;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 3px solid #427eac; outline-offset: 4px; }
.hero :focus-visible { outline-color: var(--gold); }
::selection { background: #f7df9b; color: var(--navy); }
.wrap { width: min(1220px, 100% - 80px); margin-inline: auto; }
.skip { position: fixed; left: 12px; top: -100px; z-index: 10; background: white; padding: 12px; }
.skip:focus { top: 12px; }

.header { background: var(--white); border-bottom: 1px solid var(--border); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 39px; height: 44px; object-fit: contain; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 1.05rem; line-height: 1.2; }
.brand small { font-size: .75rem; color: var(--muted); margin-top: 3px; }
nav { display: flex; align-items: center; gap: clamp(8px, 2vw, 24px); }
nav a { font-size: .9rem; white-space: nowrap; font-weight: 650; text-decoration: none; padding: 10px 5px; border-bottom: 2px solid transparent; }
nav a[aria-current] { border-bottom-color: var(--navy); }
nav a:hover { color: #2b5e99; }
nav a.daily-nav { color: #77520c; }
nav a.daily-nav[aria-current] { border-bottom-color: #997017; }

.hero {
  background-color: var(--navy);
  background-image: linear-gradient(#a8c8f00c 1px, transparent 1px), linear-gradient(90deg, #a8c8f00c 1px, transparent 1px);
  background-size: 30px 30px;
  color: #fbfaff;
  border-bottom: 1px solid var(--gold);
  overflow: hidden;
}
.hero-grid { position: relative; isolation: isolate; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 25px; min-height: clamp(424px, 38vw, 480px); }
.hero-copy { position: relative; z-index: 1; padding-block: 56px 62px; }
h1, h2, h3 { margin: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
h1 { font-size: clamp(3.15rem, 6vw, 6rem); line-height: 1.02; letter-spacing: -.039em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.23rem); letter-spacing: -.034em; line-height: 1.12; }
h3 { font-size: 1rem; }
p, li { line-height: 1.62; }
.lede { margin: 12px 0 0; max-width: 64ch; color: var(--muted); font-size: clamp(1rem, 1.45vw, 1.14rem); }
.hero .lede { margin-top: 18px; max-width: 33rem; color: #dbe6f7; }
.mast { background: var(--white); border-bottom: 1px solid var(--border); }
.mast-inner { padding-block: 38px 32px; }
.mast h1 { font-size: clamp(2.65rem, 5vw, 4.15rem); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; }
.hero .actions { margin-top: 28px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 44px; border: 1px solid transparent; border-radius: 7px; text-decoration: none;
  padding: 10px 15px; font-size: .91rem; font-weight: 650; line-height: 1.28;
}
.button.gold { background: var(--gold); color: var(--navy); }
.button.gold:hover { background: #ffdc7d; }
.button.navy { background: var(--navy); color: white; }
.button.navy:hover { background: #25466e; }
.button.outline { color: var(--navy); border-color: #7486a0; background: transparent; }
.button.outline:hover { background: #eff4fa; }
.button.outline-light { color: white; border-color: #8194b5; background: transparent; }
.button.outline-light:hover { background: #ffffff18; }

.gallery { position: relative; align-self: stretch; min-width: 0; margin-left: -15%; margin-right: min(-40px, calc((1220px - 100vw) / 2)); }
.gallery-images {
  position: absolute;
  inset: 0;
  mask-image: linear-gradient(90deg, transparent, #000 29%, #000 96%, #000c);
}
.gallery-images::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(0deg, #102448 1%, #10244800 39%, #10244800 77%, #10244855);
}
.gallery-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s ease; }
.gallery-photo.current { opacity: .92; }
.gallery-controls { position: absolute; z-index: 2; left: 50%; bottom: 16px; translate: -50% 0; }
.gallery-dots { display: grid; grid-template-columns: repeat(5, 24px); align-items: center; }
.gallery-dots button { grid-row: 1; min-height: 28px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 4px; background: transparent; }
.gallery-dots button:focus-visible { outline-offset: -2px; }
.gallery-dots button::before { content: ""; width: 5px; height: 5px; border-radius: 8px; background: #dbe6f7; box-shadow: 0 1px 3px #102448a0; }
.gallery-dots .gallery-dot-edge::before { opacity: .58; }
.gallery-dots button:hover::before { background: white; opacity: 1; }
.gallery-dots button[aria-pressed="true"]::before { width: 13px; background: var(--gold); }
.gallery-playback {
  position: absolute;
  z-index: 2;
  right: max(40px, calc((100vw - 1220px) / 2));
  bottom: 14px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #edf4ff;
  background: #102448dd;
}
.gallery-playback:hover { background: var(--navy); }
.gallery-playback::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  height: 12px;
  translate: -4px -50%;
  border-radius: 1px;
  background: currentColor;
  box-shadow: 5px 0 currentColor;
}
.gallery-playback[data-paused="true"]::before {
  width: 9px;
  translate: -3px -50%;
  border-radius: 0;
  box-shadow: none;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.resource-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 36px; border-bottom: 1px solid var(--border); }
.resource-link { display: grid; grid-template-columns: 27px minmax(0, 1fr); gap: 12px; padding: 24px 18px; text-decoration: none; }
.resource-link + .resource-link { border-left: 1px solid var(--border); }
.resource-link:hover { background: var(--sky); }
.resource-link:hover h2 { text-decoration: underline; text-underline-offset: 4px; }
.resource-link h2 { font: 700 1.18rem/1.35 "DM Sans", system-ui, sans-serif; letter-spacing: -.014em; }
.resource-link p { font-size: .91rem; color: var(--muted); margin: 3px 0 0; }
.resource-symbol { width: 27px; text-align: center; color: #345582; font: 1.45rem/1.12 Georgia, serif; }

.section { padding-block: 34px 60px; }
.panel { padding: clamp(20px, 3.1vw, 34px); min-width: 0; border: 1px solid var(--border); border-radius: 12px; background: var(--white); }
.panel p, .panel li { color: var(--muted); }
.panel p { margin: 10px 0 20px; }
.panel p:last-child { margin-bottom: 0; }
.about-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; gap: 24px clamp(26px, 5vw, 68px); }
.about-board { min-width: 0; padding-top: 10px; }
.about-board p { color: var(--muted); }
.related-links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 22px; padding-block: 14px; border-top: 1px solid var(--border); }
.related-links a { padding-block: 5px; color: var(--navy); font-size: .92rem; text-underline-offset: 4px; }
.contact-list { list-style: none; margin: 16px 0 0; padding: 0; }
.contact-list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-block: 12px; border-top: 1px solid var(--border); }
.contact-list strong, .contact-address { display: block; }
.contact-list strong { color: var(--ink); }
.contact-list button { min-width: 6em; }
.contact-address, .copy-status { overflow-wrap: anywhere; }
.panel .copy-status { margin: 8px 0 0; font-size: .88rem; }
.panel .copy-status:empty { margin: 0; }
.board-list > article { border-top: 1px solid var(--border); padding: 14px 0; }
.board-list > article:first-child { margin-top: 18px; }
.board-member { display: flex; align-items: start; gap: 15px; }
.board-member img, .board-photo-preview { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.board-member p { margin: 4px 0; white-space: pre-line; }
.sheet-head { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.sheet-head p { margin-bottom: 0; }
.sheet-head .button { flex-shrink: 0; }
.sheet-placeholder { margin-top: 16px; }
.sheet-placeholder.active { overflow: hidden; border-radius: 8px; }
.sheet-placeholder iframe { display: block; width: 100%; height: 520px; border: 1px solid var(--border); }
.sheet-panel { margin-bottom: 20px; }
#volunteer { scroll-margin-top: 16px; }
.volunteer-fields, .calendar-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 15px; }
.volunteer-form label, .calendar-fields label { margin: 0; }
.calendar-toolbar select { width: 100%; padding: 10px 12px; min-height: 44px; border: 1px solid #8494aa; border-radius: 6px; background: #fff; color: var(--navy); }
.volunteer-form input, .calendar-fields input { margin-top: 5px; }
.volunteer-cancel, #my-shifts { border-top: 1px solid #b1c8df; margin-top: 19px; padding-top: 15px; }
.volunteer-cancel summary, .volunteer-claims summary { cursor: pointer; }
.volunteer-cancel form { max-width: 470px; margin-top: 12px; }
.volunteer-cancel button { margin-top: 8px; }
.volunteer-claims, .calendar-claims { margin: 10px 0 0; padding: 0; list-style: none; }
.volunteer-claims li, .calendar-claims li { display: flex; flex-wrap: wrap; gap: 8px 15px; align-items: center; justify-content: space-between; padding: 8px 0; }
.volunteer-claims details code { user-select: all; overflow-wrap: anywhere; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.calendar-settings, .weekday-options { min-width: 0; border: 0; margin: 0; padding: 0; }
.calendar-settings { margin-top: 16px; }
.check-option { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.calendar-settings > .check-option { display: flex; margin-bottom: 12px; }
.check-option input { width: 18px; height: 18px; margin: 0; accent-color: #28588a; }
.calendar-settings .field-hint { font-size: .87rem; margin: 5px 0 14px; }
.weekday-options { display: flex; flex-wrap: wrap; gap: 6px 13px; margin-top: 10px; }
.weekday-options legend { font-weight: 650; margin-bottom: 7px; }
.calendar-fields { grid-template-columns: repeat(auto-fit, minmax(125px, 1fr)); }
.range-fields { grid-template-columns: repeat(2, minmax(0,1fr)); margin-block: 9px; }
.calendar-range { margin-top: 18px; }
.calendar-range summary { cursor: pointer; font-weight: 650; }
.calendar-toolbar { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 7px; margin-block: 17px 10px; }
.calendar-toolbar label { margin: 0; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); gap: 4px; text-align: center; }
.calendar-grid[aria-hidden] { margin-bottom: 4px; font-size: .76rem; color: var(--muted); }
.calendar-day { position: relative; min-height: 40px; padding: 4px 0; border: 1px solid var(--border); border-radius: 6px; background: #f3f4f5; color: var(--ink); }
.calendar-day[aria-pressed=true], .calendar-key .key-open { background: var(--sky); border-color: #7196bd; }
.calendar-day:disabled { background: transparent; color: #5e6a7c; border-color: transparent; }
.calendar-day.claimed::after { position: absolute; content: ""; width: 5px; height: 5px; border-radius: 50%; bottom: 3px; left: calc(50% - 2px); background: #9a660e; }
.calendar-key { display: flex; gap: 14px; margin-block: 9px 16px; font-size: .85rem; color: var(--muted); }
.calendar-key span { display: flex; align-items: center; gap: 5px; }
.calendar-key i { display: inline-block; width: 14px; height: 14px; border: 1px solid var(--border); border-radius: 3px; background: #f3f4f5; }
.calendar-claims li { border-top: 1px solid var(--border); }
.calendar-settings button:disabled { opacity: .55; }
#email-setup details { margin-bottom: 16px; }
#email-setup summary { cursor: pointer; font-weight: 650; }
#email-setup ol { padding-left: 23px; }
#email-setup li { margin-bottom: 6px; }
#mail-key-tools, #mail-copy-fallback, #mail-test-form { margin-top: 16px; }
#mail-key-tools button, #volunteer-reminder-field { margin-top: 10px; }
.tutoring-layout { display: grid; gap: 20px; }
.tutoring-intro { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding-bottom: 22px; border-bottom: 1px solid var(--border); }
.tutoring-intro > div:first-child { flex: 1 1 32rem; }
.tutoring-intro p { max-width: 60ch; margin: 6px 0 0; color: var(--muted); }
.tutoring-intro .drop-in-note { font-weight: 700; color: var(--ink); }
.schedule-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; }
.schedule-head p { margin: 0; }
.tutoring-schedule .schedule-status { margin-top: 22px; }
.appointment-layout { display: grid; grid-template-columns: minmax(0, 510px) minmax(0, 1fr); align-items: start; gap: clamp(15px, 3vw, 30px); margin-top: 22px; }
.appointment-calendar, .appointment-details { min-width: 0; border: 1px solid var(--border); border-radius: 10px; padding: clamp(8px, 2vw, 18px); }
.appointment-details { background: #f2f7fc; }
.appointment-details h3 { color: var(--ink); font-size: 1.16rem; }
.appointment-details > div > p { margin: 6px 0 0; }
.appointment-details form { margin-top: 20px; }
.appointment-toolbar { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 8px; text-align: center; margin-bottom: 12px; }
.appointment-toolbar button { min-height: 44px; border: 1px solid var(--border); border-radius: 7px; background: white; color: var(--navy); font-size: 1.6rem; line-height: 1; }
.appointment-toolbar button:enabled:hover { background: var(--sky); }
.appointment-toolbar button:disabled { opacity: .45; }
.appointment-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: clamp(3px, 1vw, 6px); text-align: center; }
.appointment-weekdays { color: var(--muted); font-size: clamp(.69rem, 1.5vw, .81rem); margin-bottom: 5px; }
.appointment-day { min-height: 44px; padding: 0; border-radius: 7px; border: 1px solid transparent; background: transparent; color: #606d80; font-weight: 650; }
.appointment-day[data-state="full"] { border-color: #e6e9ee; background: #f5f6f7; }
.appointment-day:enabled { border-color: #9bb9d9; background: var(--sky); color: var(--navy); }
.appointment-day:enabled:hover { border-color: #426b99; background: #d6e9fa; }
.appointment-day[data-state="unfilled"]:not([aria-pressed="true"]) { border: 1px dashed #8494aa; background: var(--white); color: var(--muted); }
.appointment-day[data-state="unfilled"]:hover { border-color: #7196bd; }
.appointment-day[aria-pressed="true"], .appointment-day[aria-pressed="true"]:hover { border-color: var(--navy); background: var(--navy); color: white; }
.schedule-key { display: flex; flex-wrap: wrap; gap: 5px 15px; margin-top: 12px; font-size: .8rem; color: var(--muted); }
.schedule-key span { display: inline-flex; align-items: center; gap: 6px; }
.schedule-key span::before { content: ""; width: 11px; height: 11px; border: 1px solid #9bb9d9; border-radius: 3px; background: var(--sky); }
.schedule-key span:last-child::before { border: 1px dashed #8494aa; background: var(--white); }
.schedule-list { margin: 12px 0 0; padding: 0; list-style: none; }
.schedule-list li { border-top: 1px solid var(--border); padding-block: 12px; }
.schedule-list li:last-child { padding-bottom: 0; }
.schedule-list strong { color: var(--ink); }
.schedule-list p { margin: 2px 0 0; font-size: .9rem; }

.puzzle-layout { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(225px, 1fr); align-items: start; gap: 20px; }
.puzzle-head { display: flex; gap: 16px; align-items: center; justify-content: space-between; }
.clock { min-width: 74px; text-align: center; padding: 7px 12px; border: 1px solid var(--border); border-radius: 8px; color: var(--navy); }
.clock span { display: block; font-size: .7rem; color: var(--muted); }
.clock output { font: 700 1.27rem ui-monospace, monospace; }
.puzzle-wait { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin-top: 24px; }
.puzzle-wait p { margin: 0; }
.puzzle-clues { display: flex; justify-content: space-between; gap: 10px; margin-block: 24px 20px; }
.num-row { display: flex; gap: clamp(4px, 1.2vw, 10px); }
.num-row span, .target { min-width: clamp(34px, 6vw, 58px); min-height: 56px; display: grid; place-items: center; border-radius: 8px; background: var(--sky); color: var(--navy); font: 1.85rem Georgia, serif; }
.target { padding: 4px 13px; background: var(--sand); line-height: 1; }
.target small { font-size: .66rem; font-family: "DM Sans", system-ui, sans-serif; font-weight: 700; }
label { display: block; font-size: .92rem; font-weight: 650; margin-bottom: 6px; }
input, textarea { width: 100%; padding: 10px 12px; border: 1px solid #8494aa; border-radius: 6px; background: #fff; color: var(--navy); }
.answer-row { display: flex; gap: 8px; }
.answer-row input { min-width: 0; }
.answer-row button { flex-shrink: 0; }
.feedback { margin-block: 8px !important; }
.feedback.error { color: #982f29; }
.feedback.success { color: #21683f; }
.puzzle details { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--border); }
.puzzle summary { cursor: pointer; width: fit-content; }
.puzzle-rules { padding: 16px 0; }
.puzzle-rules p { margin-block: 12px; color: var(--muted); }
.stats { border-top: 1px solid #b1c8df; padding-top: 14px; display: flex; align-items: baseline; gap: 8px; }
.stats strong { font: 1.7rem Georgia, serif; }

.editor { display: grid; gap: 18px; max-width: 900px; }
.editor-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 14px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.editor-toolbar .feedback { flex-basis: 100%; }
.editor-toolbar .feedback:empty, #calendar-status:empty { display: none; }
.editor-tabs { display: flex; flex-wrap: wrap; gap: 4px; }
.editor-tabs button { min-height: 42px; padding: 7px 11px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font-weight: 650; }
.editor-tabs button:hover { background: var(--sky); }
.editor-tabs button[aria-selected="true"] { border-bottom-color: var(--navy); color: var(--navy); }
.editor-section { display: grid; gap: 18px; }
.editor-section h2 + label { margin-top: 16px; }
.editor-section input + label { margin-top: 12px; }
.editor-contact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.editor-contact button { grid-column: 1 / -1; }
.editor-access summary { cursor: pointer; font-weight: 750; }
.editor-access form { margin-top: 16px; }
.editor-row { border-top: 1px solid var(--border); padding-block: 15px; display: grid; gap: 10px; }
.editor-photo { grid-template-columns: 106px 1fr; align-items: start; }
.editor-photo img { aspect-ratio: 3 / 2; object-fit: cover; border-radius: 5px; }
.editor-row label { margin: 0; }
.editor-row .button { width: max-content; }
.editor-fields { display: grid; gap: 7px; }
.editor-shift { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.editor-shift label:last-of-type { grid-column: 1 / -1; }
.editor textarea + label { margin-top: 13px; }
.editor input[type="file"] { margin-block: 0 15px; }
.editor-login { max-width: 510px; }
.editor-easter-egg {
  width: 46px;
  height: 11px;
  justify-self: end;
  background: #b51620;
  clip-path: polygon(0 50%, 2% 10%, 6% 23%, 7% 43%, 15% 51%, 26% 52%, 36% 45%, 47% 49%, 57% 46%, 65% 38%, 75% 47%, 82% 53%, 87% 33%, 95% 29%, 99% 42%, 100% 65%, 97% 78%, 90% 81%, 85% 74%, 78% 90%, 65% 94%, 53% 91%, 40% 83%, 26% 77%, 12% 68%, 2% 64%);
}
.editor-login .actions, .editor form .actions, .editor form + form { margin-top: 16px; }
.editor form input + label { margin-top: 12px; }
.board-photo-editor { display: grid; gap: 8px; }

.footer { border-top: 1px solid var(--border); color: var(--muted); }
.footer-inner { min-height: 73px; display: flex; align-items: center; justify-content: space-between; gap: 10px 20px; font-size: .85rem; }
.footer a { color: var(--navy); font-weight: 650; text-underline-offset: 3px; }
.separator { padding-inline: 3px; color: #9a7731; }

@media (max-width: 860px) {
  .wrap { width: calc(100% - 42px); }
  .header-inner { gap: 12px; }
  nav { gap: 8px; }
  .hero-grid { gap: 25px; }
}
@media (max-width: 690px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { flex-direction: column; align-items: start; gap: 6px; padding-top: 10px; }
  nav { width: 100%; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; }
  nav a { display: grid; place-items: center; min-height: 42px; font-size: .81rem; padding: 6px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; min-height: 0; }
  .hero-copy { padding-block: 34px 0; }
  .gallery { margin: 0 -16px; min-height: clamp(220px, 57vw, 350px); }
  .gallery-images { mask-image: linear-gradient(0deg, #000 79%, transparent); }
  .gallery-images::after { background: linear-gradient(0deg, #102448 1%, #10244800 45%); }
  .gallery-controls { bottom: 6px; }
  .gallery-playback { right: 16px; bottom: 4px; }
  .hero h1 { font-size: clamp(3.45rem, 12vw, 5.25rem); }
  .hero .lede { margin-top: 16px; }
  .hero .actions { margin-top: 20px; }
  .mast-inner { padding-block: 26px 22px; }
  .resource-list, .about-layout, .puzzle-layout { grid-template-columns: 1fr; }
  .resource-list { margin-bottom: 24px; }
  .resource-link { padding: 14px 4px; }
  .resource-link + .resource-link { border-left: 0; border-top: 1px solid var(--border); }
  .section { padding-block: 20px 36px; }
  .sheet-head { flex-direction: column; gap: 12px; }
  .sheet-placeholder iframe { height: 450px; }
  .appointment-layout { grid-template-columns: 1fr; }
  .puzzle-rules { padding-top: 2px; }
  .editor-shift { grid-template-columns: 1fr 1fr; }
  .footer-inner { align-items: start; justify-content: center; flex-direction: column; padding-block: 14px; }
}
@media (max-width: 390px) {
  .answer-row { flex-direction: column; }
  .editor-photo { grid-template-columns: 1fr; }
  .editor-contact { grid-template-columns: 1fr; }
  .volunteer-fields { grid-template-columns: 1fr; }
  .calendar-toolbar button { padding-inline: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gallery-photo { transition: none; }
}
