
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
.gathering[hidden] { display: none; }

html { overflow-x: clip; color-scheme: dark; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
img { max-width: 100%; }
.min-h-screen { min-height: 100dvh; }
input, textarea, select { font-size: 1rem; }
header > div > a:first-child { min-width: 0; }
header .leading-tight { min-width: 0; }
header details nav { max-height: calc(100dvh - 4.5rem); overflow: auto; }
header { padding-top: env(safe-area-inset-top); }
footer { padding-bottom: env(safe-area-inset-bottom); }

@media (max-width: 64rem) {
  header > div > a.bg-gold { display: none; }
  .md\:grid-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 40rem) {
  header > div { padding-left: 1rem; padding-right: 1rem; gap: 0.75rem; }
  header .leading-tight > span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  header .leading-tight > span:last-child { letter-spacing: 0.08em; }
  main .px-6, header details nav { padding-left: 1rem; padding-right: 1rem; }
  h1.font-display { font-size: 2.25rem; }
  .md\:grid-cols-4 { grid-template-columns: minmax(0, 1fr); }
  form button[type="submit"] { width: 100%; justify-content: center; }
  section.bg-blood a { width: 100%; justify-content: center; }
}
@media (max-height: 36rem) and (orientation: landscape) {
  section.relative.min-h-screen > .relative { padding-top: 4.5rem; padding-bottom: 1rem; }
  section.relative.min-h-screen h1 { font-size: 1.7rem; margin-top: 0.35rem; }
  .logo-seal { width: 3.25rem; height: 3.25rem; margin-bottom: 0.35rem; }
  section.relative.min-h-screen .mt-5 { margin-top: 0.5rem; }
  section.relative.min-h-screen .mt-8 { margin-top: 0.65rem; }
}

.logo-mark,
.logo-seal,
.logo-footer {
  display: block;
  width: 2.75rem;
  height: 2.75rem;
  max-width: 2.75rem;
  object-fit: cover;
  border-radius: 9999px;
  flex-shrink: 0;
}
.logo-seal {
  width: 5rem;
  height: 5rem;
  max-width: 5rem;
  margin-bottom: 1rem;
}
.logo-footer {
  width: 5rem;
  height: 5rem;
  max-width: 5rem;
}
@media (min-width: 40rem) {
  .logo-mark { width: 3.5rem; height: 3.5rem; max-width: 3.5rem; }
  .logo-seal { width: 7rem; height: 7rem; max-width: 7rem; }
}
@media (min-width: 48rem) {
  .logo-seal { width: 8rem; height: 8rem; max-width: 8rem; }
}
