/* Barlow and Barlow Condensed are SIL Open Font License (The Barlow Project Authors). See /fonts/OFL-barlow.txt
   Illustrations in /art are hand-inked SVG made for this event: no filters, no gradients, lettering as paths. */

@font-face {
  font-family: "Barlow Condensed";
  font-style: italic;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/barlow-condensed-800-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/barlow-condensed-700.woff2") format("woff2");
}

@font-face {
  font-family: Barlow;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/barlow-400-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Barlow;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/barlow-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Barlow;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/barlow-500-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Barlow;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/barlow-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Barlow;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/barlow-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* colour: the poster's night and blue, plus paper, a marker yellow and Hack Club red */
  --night: #070a14;        /* page background (poster black-navy) */
  --night-2: #10172b;      /* form fields, raised bits on night */
  --rule: #2a3a5c;         /* hairlines on night */
  --paper: #eef3fb;        /* light sections; main text on night */
  --ink: #0b0f1a;          /* text on paper, yellow and blue */
  --body: #dbe5f3;         /* body copy on night */
  --blue: #8ec4ff;         /* poster blue: links, lines, accents on night */
  --blue-ink: #24569a;     /* links and accents on paper (6.6:1) */
  --paper-rule: #c3d0e3;   /* hairlines on paper */
  --sun: #ffcf3d;          /* primary buttons, highlights. Ink text only */
  --red: #ec3750;          /* stickers and sail only, never behind body text */
  --danger: #ffb4bd;       /* errors on night */

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: Barlow, "Avenir Next", "Segoe UI", sans-serif;

  /* type scale, 18px base */
  --step--1: 0.9375rem;    /* 15 hints, footer */
  --step-0: 1.125rem;      /* 18 body */
  --step-1: 1.375rem;      /* 22 lede, FAQ questions, h3 */
  --step-2: clamp(1.75rem, 3.2vw, 2.25rem);   /* tagline, legends */
  --step-3: clamp(2.4rem, 5.2vw, 3.75rem);    /* section h2 */
  --step-4: clamp(3.4rem, 11vw, 6rem);        /* hero title, capped at 6rem */

  --measure: 64ch;
  --radius: 10px;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scrollbar-color: var(--rule) var(--night);
  scroll-padding-top: 1rem;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--body);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  overflow-x: clip;
}

::selection {
  background: var(--sun);
  color: var(--ink);
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
}

h1,
h2,
.wordmark,
.tagline,
.button,
.day time,
address,
legend,
.count {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--paper);
}

h1,
h2 {
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

p {
  margin: 0;
}

a {
  color: var(--blue);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--paper);
}

.hackclub-flag {
  position: absolute;
  top: 0;
  left: 0.5rem;
  z-index: 4;
  line-height: 0;
}

.hackclub-flag img {
  display: block;
  width: auto;
  height: 4.6rem;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 6;
  background: var(--sun);
  color: var(--ink);
  padding: 0.5rem 0.75rem;
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: min(74rem, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ---------- header */

.site-header {
  border-bottom: 2px solid var(--rule);
}

.header-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem 1.5rem;
  padding: 0.75rem 0 0.75rem 8.5rem;
}

.wordmark {
  text-decoration: none;
  font-size: 1.6rem;
  line-height: 1;
}

.wordmark:hover {
  color: var(--sun);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 1.1rem;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--body);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--blue);
  text-decoration: underline;
}

.nav a[href="/submit"] {
  padding: 0 0.85rem;
  border-radius: var(--radius);
  background: var(--sun);
  color: var(--ink);
}

.nav a[href="/submit"]:hover {
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
}

/* ---------- hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 0 4.5rem;
}

.hero-globe {
  position: absolute;
  width: 20rem;
  right: -7rem;
  top: -6rem;
  opacity: 0.5;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero-title {
  margin: 0;
  font-size: var(--step-4);
  line-height: 0.84;
}

.hero-title > span {
  display: block;
}

.hero-title .x {
  color: var(--blue);
}

.tagline {
  margin-top: 1.1rem;
  font-size: var(--step-2);
  line-height: 1;
}

.tagline span {
  padding-bottom: 0.3em;
  background: url("/art/marker-underline.svg") no-repeat left bottom / 100% 0.42em;
}

.lede {
  margin-top: 1.25rem;
  max-width: 34ch;
  color: var(--paper);
  font-size: var(--step-1);
  line-height: 1.4;
}

.when {
  margin-top: 1rem;
  color: var(--blue);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.facts {
  margin-top: 1.1rem;
  max-width: 40ch;
  color: var(--body);
  font-size: var(--step--1);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero-art {
  position: relative;
  width: min(100%, 34rem);
  justify-self: center;
}

.hero-art img {
  display: block;
  height: auto;
}

.hooker {
  width: 100%;
  transform: rotate(-3deg);
}

.sticker {
  position: absolute;
  width: 26%;
}

.sticker-age {
  top: -6%;
  right: 2%;
  transform: rotate(9deg);
}

.sticker-free {
  bottom: 6%;
  left: -4%;
  transform: rotate(-12deg);
}

.hero-art .note {
  width: 64%;
  margin: -0.5rem 0 0 auto;
}

/* ---------- buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.55rem 1.3rem 0.5rem;
  border: 2px solid var(--sun);
  border-radius: var(--radius);
  background: var(--sun);
  color: var(--ink);
  text-decoration: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 160ms cubic-bezier(0.16, 1, 0.3, 1), background-color 160ms ease-out;
}

.button:hover {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
  transform: rotate(-1.5deg);
}

.button:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.button.secondary {
  background: transparent;
  border-color: var(--paper);
  color: var(--paper);
}

.button.secondary:hover {
  background: var(--paper);
  color: var(--ink);
}

/* ---------- sections */

.section {
  padding: 4.5rem 0;
}

.section + .section:not(.paper) {
  border-top: 2px solid var(--rule);
}

.section h2 {
  margin: 0 0 1.25rem;
  font-size: var(--step-3);
  line-height: 0.9;
}

.paper {
  background: var(--paper);
  color: var(--ink);
}

.paper h2,
.paper h3,
.paper .partners li {
  color: var(--ink);
}

.paper a {
  color: var(--blue-ink);
}

.paper .button.secondary {
  border-color: var(--ink);
  color: var(--ink);
}

.split {
  display: grid;
  gap: 0.5rem 3rem;
}

/* the brief */

.brief {
  display: grid;
  gap: 1.5rem 3rem;
}

.brief-head {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

.brief h2 {
  max-width: 15em;
}

.label {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--blue-ink);
  font-size: 1.2rem;
  letter-spacing: 0.04em;
}

.brief-art {
  width: min(16rem, 60%);
  height: auto;
  transform: rotate(4deg);
}

.prose p {
  max-width: var(--measure);
}

.prose p + p {
  margin-top: 1rem;
}

.prose h3 {
  margin: 2rem 0 0.5rem;
  font-size: var(--step-1);
  font-weight: 600;
}

.ideas {
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: var(--measure);
}

.ideas li {
  position: relative;
  padding: 0.6rem 0 0.6rem 2rem;
  border-top: 2px solid var(--paper-rule);
}

.ideas li::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 1.05rem;
  width: 1.1rem;
  height: 0.8rem;
  background: url("/art/marker-underline.svg") no-repeat center / 100% 100%;
}

/* how to ship */

.guide-lead {
  margin: 0 0 0.5rem;
  max-width: var(--measure);
}

.ship {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 42rem;
}

.ship li {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  gap: 0.35rem 1rem;
  align-items: start;
  padding: 1.15rem 0;
  border-top: 2px solid var(--rule);
}

.ship li:last-child {
  border-bottom: 2px solid var(--rule);
}

.ship .num {
  color: var(--sun);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: 2rem;
  line-height: 0.9;
}

.ship h3 {
  margin: 0 0 0.45rem;
  color: var(--paper);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.ship p {
  margin: 0;
  max-width: 62ch;
}

.ship .url {
  color: var(--paper);
}

.ship .button {
  margin-top: 0.35rem;
}

/* the day */

.day {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 40rem;
}

.day li {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 0.5rem 1rem;
  align-items: baseline;
  padding: 1rem 0;
  border-top: 2px solid var(--rule);
}

.day li:last-child {
  border-bottom: 2px solid var(--rule);
}

.day time {
  color: var(--sun);
  font-size: 2rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.day time.tba {
  color: var(--blue);
}

.day strong {
  color: var(--paper);
  font-weight: 600;
}

/* one ink for every partner mark, on the paper ground */

.partners-block h2 {
  margin-bottom: 1.75rem;
}

.partners {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem 1rem;
  align-items: center;
  justify-items: center;
}

.partners li {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  min-height: 3rem;
  max-width: 100%;
}

.partner-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  max-width: 100%;
}

.partner-logo,
.partner-mark {
  display: block;
  width: auto;
  height: 2.5rem;
  max-width: 100%;
  object-fit: contain;
  filter: brightness(0);
}

.partner-mark {
  height: 2.35rem;
  flex: none;
}

.partner-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: 1.85rem;
  line-height: 0.9;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.partner-lockup .partner-name {
  font-size: 1.35rem;
  line-height: 0.86;
  text-align: left;
}

.partners small {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 500;
  text-transform: none;
  font-size: var(--step--1);
  color: var(--ink);
}

/* faq */

.faq details {
  border-top: 2px solid var(--rule);
}

.faq details:last-child {
  border-bottom: 2px solid var(--rule);
}

.faq summary {
  position: relative;
  padding: 1rem 2.5rem 1rem 0;
  list-style: none;
  cursor: pointer;
  color: var(--paper);
  font-size: var(--step-1);
  font-weight: 600;
  line-height: 1.3;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.25rem;
  top: 0.55rem;
  color: var(--sun);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq summary:hover {
  color: var(--blue);
}

.faq details p {
  max-width: var(--measure);
  padding: 0 0 1.25rem;
}

/* location */

address {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.95;
  margin: 0;
}

.map-link {
  margin-top: 1.5rem;
}

/* ---------- footer */

.site-footer {
  padding: 0 0 2.5rem;
}

.footer-rule {
  display: block;
  width: 100%;
  height: 2.5rem;
  object-fit: cover;
  object-position: left center;
  margin-bottom: 1.5rem;
}

.footer-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
  align-items: baseline;
}

.footer-bar p {
  color: var(--body);
  font-size: var(--step--1);
}

/* ---------- forms */

.form-page,
.status-page,
.admin-page {
  padding: 2.5rem 0 4.5rem;
}

.form-intro h1,
.status-page h1,
.admin-page h1 {
  margin: 0 0 1rem;
  font-size: clamp(3.25rem, 8vw, 5.5rem);
  line-height: 0.86;
}

.form-intro p {
  max-width: 36ch;
  color: var(--paper);
}

.form-intro p + p {
  margin-top: 0.75rem;
}

.intro-art {
  display: block;
  width: 9rem;
  height: auto;
  margin-top: 1.5rem;
  transform: rotate(-4deg);
}

.status-page .lede {
  max-width: 44ch;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.form fieldset {
  border: 0;
  margin: 0;
  padding: 1.75rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  border-top: 2px solid var(--rule);
}

.form fieldset:first-of-type {
  border-top: 0;
  padding-top: 0;
}

legend {
  float: left;
  width: 100%;
  margin-bottom: 0.25rem;
  padding: 0;
  font-size: var(--step-2);
  line-height: 0.95;
}

legend + * {
  clear: both;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field label,
.check span {
  color: var(--paper);
  font-weight: 600;
}

.req {
  margin-left: 0.4rem;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.field input,
.field textarea,
.field input[type="file"] {
  width: 100%;
  margin: 0;
  padding: 0.7rem 0.85rem;
  border: 2px solid var(--rule);
  border-radius: var(--radius);
  background: var(--night-2);
  color: var(--paper);
  font: inherit;
  font-size: var(--step-0);
  line-height: 1.45;
  caret-color: var(--sun);
}

.field textarea {
  min-height: 7rem;
  resize: vertical;
}

.field input:hover,
.field textarea:hover {
  border-color: #3d5583;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--blue);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--danger);
}

.hint {
  margin: 0;
  color: var(--body);
  font-size: var(--step--1);
}

.field-error {
  margin: 0;
  color: var(--danger);
  font-size: var(--step--1);
  font-weight: 600;
}

.error-summary {
  padding: 1rem 1.15rem;
  border: 2px solid var(--danger);
  border-radius: var(--radius);
}

.error-summary p {
  color: var(--danger);
  font-weight: 600;
}

.error-summary ul {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
}

.error-summary a {
  color: var(--danger);
}

.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.choice {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.4rem;
  min-height: 3rem;
  padding: 0.35rem 0.8rem;
  border: 2px solid var(--rule);
  border-radius: var(--radius);
  background: var(--night-2);
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  cursor: pointer;
}

.choice:hover {
  border-color: var(--blue);
}

.choice input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
}

.choice:has(input:checked) {
  background: var(--sun);
  border-color: var(--sun);
  color: var(--ink);
  transform: rotate(-3deg);
}

.choice:has(input:focus-visible) {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
}

.check {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.35rem 0;
  cursor: pointer;
}

.check input {
  width: 1.3rem;
  height: 1.3rem;
  margin-top: 0.2rem;
  accent-color: var(--sun);
  flex: none;
}

.address {
  border-top: 2px solid var(--rule);
  padding-top: 1rem;
}

.address summary {
  cursor: pointer;
  color: var(--paper);
  font-weight: 600;
}

.address .field {
  margin-top: 1rem;
}

.form > .button {
  align-self: flex-start;
  min-width: 14rem;
  margin-top: 0.5rem;
}

.login-form {
  max-width: 26rem;
}

/* ---------- admin */

.admin-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
}

.count {
  margin: 0.5rem 0 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
}

.count span {
  display: block;
  margin-top: 0.35rem;
  color: var(--blue);
  font-size: 0.55em;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0;
}

.text-button {
  border: 0;
  background: transparent;
  color: var(--blue);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
  padding: 0;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
}

.filters a[aria-current="page"] {
  color: var(--sun);
}

.record {
  display: grid;
  grid-template-columns: minmax(9rem, 14rem) minmax(0, 1fr);
  gap: 0.45rem 1.25rem;
  width: 100%;
  margin: 0.5rem 0 1.5rem;
}

.record dt {
  margin: 0;
  color: var(--blue);
  font-weight: 600;
}

.record dd {
  margin: 0;
  min-width: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.admin-page th,
.admin-page td {
  white-space: normal;
}

.shot {
  display: block;
  max-width: min(100%, 36rem);
  height: auto;
  margin: 0.4rem 0 1rem;
  border: 2px solid var(--rule);
  border-radius: var(--radius);
  background: var(--night-2);
}

.justification {
  margin: 0.4rem 0 1.25rem;
  padding: 0.85rem 1rem;
  border: 2px solid var(--rule);
  border-radius: var(--radius);
  background: var(--night-2);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: inherit;
}

.review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.status-note {
  margin: 0.4rem 0 1rem;
}

.table-wrap {
  overflow-x: auto;
  margin-top: 1.5rem;
  border-top: 2px solid var(--rule);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--step--1);
  font-variant-numeric: tabular-nums;
}

th,
td {
  padding: 0.7rem 0.9rem 0.7rem 0;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--rule);
  white-space: nowrap;
}

th {
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- breakpoints */

@media (min-width: 720px) {
  .hackclub-flag {
    left: 1rem;
  }

  .hackclub-flag img {
    height: 6.5rem;
  }

  .header-bar {
    padding-left: 11.25rem;
  }
}

@media (max-width: 719px) {
  .header-bar {
    padding: 0.6rem 0 0.4rem 8.25rem;
  }

  .nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    width: calc(100% + 1.25rem);
    margin-right: -1.25rem;
    padding-right: 1.25rem;
    scrollbar-width: none;
  }

  .nav a {
    flex: none;
  }

  .hero {
    padding: 2rem 0 3rem;
  }

  .hero-grid {
    gap: 1.5rem;
  }

  .hero-art {
    width: min(100%, 21rem);
  }

  .hero-art .note {
    display: none;
  }

  .hero-globe {
    width: 13rem;
    right: -6rem;
    top: -5rem;
  }

  .actions .button,
  .form > .button,
  .admin-actions .button {
    width: 100%;
  }

  .brief-art,
  .intro-art {
    width: 7rem;
  }

  .record {
    grid-template-columns: 1fr;
  }

  .admin-page th:nth-child(n + 5),
  .admin-page td:nth-child(n + 5) {
    display: none;
  }

}

@media (min-width: 720px) {
  .section {
    padding: 6rem 0;
  }

  .hero {
    padding: 4.5rem 0 6rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 3rem;
  }
}

@media (min-width: 800px) {
  .partners {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem 2rem;
  }

  .partner-logo {
    height: 3rem;
    max-width: none;
  }

  .partner-mark {
    height: 2.85rem;
  }

  .partner-name {
    font-size: 2.35rem;
  }

  .partner-lockup .partner-name {
    font-size: 2.05rem;
  }
}

@media (min-width: 960px) {
  .split {
    grid-template-columns: minmax(16rem, 5fr) minmax(0, 7fr);
    align-items: start;
  }

  .split > h2 {
    position: sticky;
    top: 1.5rem;
  }

  .brief {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    align-items: start;
  }

  .brief-art {
    width: 15rem;
    margin-left: auto;
  }

  .form-page {
    display: grid;
    grid-template-columns: minmax(15rem, 22rem) minmax(0, 40rem);
    gap: 4.5rem;
    align-items: start;
  }

  .form-intro {
    position: sticky;
    top: 1.5rem;
  }

  .form {
    margin-top: 0;
  }

  .intro-art {
    width: 13rem;
    margin-top: 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button,
  .faq summary::after {
    transition: none;
  }

  .button:hover {
    transform: none;
  }
}
