/* COMMUNICON '26
   01 Tokens • 02 Foundations • 03 Header/hero • 04 Sections • 05 Responsive
   Mobile is the base. All layout enhancements use min-width queries.
   Set these tokens in Astra global colors; keep component classes for Beaver rows. */
:root {
  --blue: #173f9d;
  --navy: #102954;
  --ink: #172b45;
  --paper: #faf8f0;
  --white: #fffef9;
  --yellow: #ffe250;
  --pink: #ed87b4;
  --aqua: #8dd9d2;
  --muted: #536075;
  --logo-blue: rgb(0, 113, 188);
  --line: #ccd0cf;
  --green: #e0ecdc;
  --body: "Roboto", "Helvetica Neue", Arial, sans-serif;
  --heading: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  --collegiate: "Alumni Sans", "Arial Narrow", sans-serif;
  --hand: "Patrick Hand", cursive;
  --content: 1160px;
  --section-space: clamp(4.5rem, 8vw, 7.5rem);
}
/* Foundations: short heading leading, comfortable body leading, limited measure. */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 1.5rem;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.65 var(--body);
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
button,
input {
  font: inherit;
}
button,
a,
input,
summary {
  -webkit-tap-highlight-color: transparent;
}
a,
button,
input,
summary {
  outline-offset: 5px;
}
:focus-visible {
  outline: 3px solid #bc3e79;
}
button {
  cursor: pointer;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--heading);
  font-weight: 800;
  line-height: 1.08;
  text-wrap: balance;
}
h1 {
  font-size: clamp(3.5rem, 5.2vw, 4.8rem);
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(2.2rem, 3.7vw, 3.3rem);
  letter-spacing: -0.02em;
}
h3 {
  font-size: 1.5rem;
  line-height: 1.2;
}
p {
  max-width: 64ch;
}
p + p {
  margin-top: 1rem;
}
.container {
  width: min(var(--content), calc(100% - 2.5rem));
  margin-inline: auto;
}
.section {
  padding-block: var(--section-space);
}
.section h2 {
  margin-bottom: 2.5rem;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 1.3rem;
  min-height: 50px;
  padding: 0.75rem 1.35rem;
  border: 1.5px solid var(--navy);
  border-radius: 3px;
  background: var(--yellow);
  box-shadow: 3px 3px 0 var(--navy);
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  line-height: 1.3;
  transition:
    transform 0.16s,
    box-shadow 0.16s;
}
.button:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--navy);
}
.button.secondary {
  background: var(--paper);
}
.button.small {
  min-height: 44px;
  padding: 0.6rem 1rem;
}
.text-link {
  font-weight: 700;
  text-underline-offset: 5px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.8rem;
  margin-top: 2rem;
}
[hidden] {
  display: none !important;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 10;
  padding: 1rem;
  background: white;
}
.skip-link:focus {
  top: 1rem;
}
/* Header: paper edge is CSS so the logo remains selectable text. */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid #d6d9d5;
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  padding-block: 1.1rem;
}
.brand {
  font-family: var(--collegiate);
  font-size: 2.3rem;
  line-height: 1.1;
  text-decoration: none;
  color: var(--blue);
  white-space: nowrap;
}
.brand span {
  color: var(--navy);
}
.paper-label {
  display: inline-block;
  background: var(--white);
  padding: 0.3rem 1rem 0.45rem;
  clip-path: polygon(
    0 6%,
    7% 0,
    14% 4%,
    22% 0,
    31% 5%,
    40% 0,
    51% 4%,
    62% 0,
    73% 4%,
    82% 0,
    94% 4%,
    100% 0,
    99% 92%,
    92% 100%,
    80% 95%,
    68% 100%,
    53% 95%,
    40% 100%,
    27% 95%,
    15% 100%,
    0 93%
  );
}
nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-size: 0.9rem;
  font-weight: 700;
}
nav > a:not(.button) {
  padding-block: 0.7rem;
  text-decoration: none;
}
nav > a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
/* Hero: image sits beneath opaque-enough navy wash for stable white-text contrast. */
.blue-campus {
  background:
    linear-gradient(100deg, rgba(16, 41, 84, 0.91), rgba(23, 63, 157, 0.66)),
    url("assets/campus.webp") center/cover;
  color: var(--white);
}
.hero {
  padding-block: 4rem;
}
.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.hero-copy h1 span {
  color: var(--yellow);
}
.hero-copy > p {
  margin-top: 1.6rem;
  font-size: 1.15rem;
  max-width: 43ch;
  line-height: 1.6;
}
.monitor-scene {
  position: relative;
  width: min(100%, 490px);
  margin: auto;
  --screen-left: 16%;
  --screen-top: 18%;
  --screen-width: 69%;
  --screen-height: 47%;
}
.monitor {
  width: 100%;
  filter: drop-shadow(0 22px 22px #081d5044);
}
.video-window {
  position: absolute;
  left: var(--screen-left);
  top: var(--screen-top);
  width: var(--screen-width);
  height: var(--screen-height);
  display: flex;
  flex-direction: column;
  background: #bfc2bf;
  border: 2px outset #ddd;
  overflow: hidden;
  font: clamp(7px, 1vw, 11px)/1.2 monospace;
  color: #111;
}
.window-title {
  background: #05296f;
  color: white;
  display: flex;
  justify-content: space-between;
  padding: 0.4em;
  white-space: nowrap;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 3px;
  background: #112848;
  flex: 1;
  min-height: 0;
  padding: 4px;
}
.avatar {
  display: grid;
  place-items: center;
  font-size: clamp(25px, 4vw, 55px);
  color: var(--navy);
  background: #eabb98;
}
.a2,
.a6 {
  background: #91c6c5;
}
.a3,
.a4 {
  background: #cc92ae;
}
.window-toolbar {
  padding: 0.4em;
}
.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 0;
  flex: 1;
}
.sticky {
  display: inline-block;
  background: #ffec85;
  color: var(--navy);
  font: 700 1.05rem/1.25 var(--hand);
  box-shadow: 2px 5px 8px #172b451a;
  padding: 1rem 1.25rem;
}
.monitor-note {
  position: absolute;
  right: 0;
  bottom: 12%;
  transform: rotate(5deg);
  font-size: clamp(0.8rem, 1.3vw, 1.1rem);
}
/* Details bar: mobile stacks by fact; dividers switch axis on wider screens. */
.facts {
  background: #f0eddf;
  border-bottom: 1px solid #dcd9ca;
}
.facts-grid {
  display: grid;
  padding-block: 1.4rem;
  gap: 1.4rem;
}
.facts-grid > div {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.facts-grid p {
  line-height: 1.4;
}
.facts-grid strong {
  display: block;
  font: 800 1.18rem/1.25 var(--heading);
}
.facts-grid p > span {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.35rem;
}
.fact-icon {
  font-size: 1.75rem;
  color: var(--blue);
}
/* Light sections: faint grid stays out of the way of the text. */
.graph-paper {
  background-color: var(--paper);
  background-image:
    linear-gradient(#193f8a08 1px, transparent 1px),
    linear-gradient(90deg, #193f8a08 1px, transparent 1px);
  background-size: 24px 24px;
}
.highlight {
  background: linear-gradient(
    transparent 60%,
    var(--yellow) 60%,
    var(--yellow) 93%,
    transparent 93%
  );
}
.reason-grid {
  display: grid;
  gap: 1.25rem;
}
.reason {
  padding: 2rem;
  background: var(--white);
  border: 1px solid #deded3;
}
.reason p {
  margin-top: 1rem;
  color: var(--muted);
}
.reason-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: var(--blue);
  border-radius: 3px;
  transform: rotate(-5deg);
}
.yellow {
  background: var(--yellow);
}
.pink {
  background: #f4b1ce;
}
.aqua {
  background: var(--aqua);
}
.margin-note,
.handwriting {
  font: 700 1.2rem/1.4 var(--hand);
  color: var(--blue);
}
.reason-grid + .margin-note {
  text-align: right;
  margin-top: 2rem;
  transform: rotate(-3deg);
}
/* Cork: restrained CSS grain; no large bitmap is needed for this small texture. */
.cork {
  background-color: #c7a276;
  background-image:
    radial-gradient(#73542e24 0.8px, transparent 1px),
    radial-gradient(#fff3da40 1px, transparent 1.4px);
  background-position:
    0 0,
    3px 4px;
  background-size:
    7px 9px,
    11px 13px;
}
.guest-container {
  max-width: 1000px;
}
.collegiate {
  font-family: var(--collegiate);
  font-weight: 400;
  letter-spacing: 0;
  font-size: clamp(3rem, 5vw, 4.3rem);
}
.guest-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
.guest-card {
  position: relative;
  padding: 0.65rem 0.65rem 1.15rem;
  background: var(--white);
  box-shadow: 3px 5px 0 #533c2822;
  min-width: 0;
}
.guest-card h3 {
  font-size: 1.15rem;
  margin-top: 1rem;
}
.guest-card p {
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--muted);
  margin-top: 0.35rem;
  overflow-wrap: anywhere;
}
.portrait-placeholder,
.guest-card > img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.portrait-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #dce2e8;
  color: #708299;
}
.portrait-placeholder > span {
  font: 800 clamp(2rem, 5vw, 4rem)/1 var(--heading);
}
.portrait-placeholder > small {
  font-size: 0.55rem;
  letter-spacing: 0.12em;
}
.guest-card:nth-child(3n + 2) .portrait-placeholder {
  background: #e3ddd0;
  color: #867b65;
}
.guest-card:nth-child(3n) .portrait-placeholder {
  background: #d5e5df;
  color: #69867a;
}
/* One taped corner per row, not ornament on every photo. */
.guest-card:nth-child(3n + 1)::before {
  content: "";
  position: absolute;
  width: 3.4rem;
  height: 1.1rem;
  background: #fff0bca3;
  top: -0.4rem;
  left: 33%;
  transform: rotate(-7deg);
}
.guest-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}
.announcement {
  transform: rotate(-3deg);
  font-size: 1.15rem;
}
/* Continuous-feed paper: alternating pale green rows and independent sprocket holes.
   Stripes deliberately repeat independent of the responsive schedule text rows. */
.schedule {
  position: relative;
  background: repeating-linear-gradient(
    to bottom,
    #f4f6e9 0,
    #f4f6e9 28px,
    #e0ead9 28px,
    #e0ead9 56px
  );
  color: #233b32;
  clip-path: polygon(
    0 0,
    100% 0,
    100% 99%,
    98% 98.1%,
    96% 100%,
    93% 98.8%,
    90% 99.2%,
    0 99.2%
  );
}
.schedule::before,
.schedule::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 20px;
  border-inline: 1px dashed #7e968b70;
  background: radial-gradient(
      ellipse at center,
      #fcfaf1 4px,
      #91a28e77 4.5px,
      transparent 5px
    )
    center top/20px 28px repeat-y;
}
.schedule::before {
  left: 4px;
}
.schedule::after {
  right: 4px;
}
.schedule-inner {
  max-width: 880px;
  padding-inline: 1.25rem;
}
.schedule h2 {
  font-family: "Courier New", monospace;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  line-height: 1.25;
  letter-spacing: 0.015em;
  margin-bottom: 1rem;
}
.schedule-note {
  font: 0.85rem/1.6 var(--body);
}
.schedule-list {
  font:
    700 clamp(0.9rem, 1.5vw, 1.1rem)/1.6 "Courier New",
    monospace;
  margin: 2.2rem 0 0;
}
.schedule-list > div {
  display: grid;
  grid-template-columns: 4.4rem 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px dashed #526e554d;
}
.schedule-list dd {
  margin: 0;
}
/* Mailchimp replacement area. Labels persist above inputs, never placeholder-only. */
.registration-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 39ch;
}
.registration-grid .margin-note {
  margin-top: 2rem;
}
.application {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--ink);
  box-shadow: 7px 7px 0 #173f9d18;
}
.form-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font: 700 0.65rem/1.5 monospace;
  letter-spacing: 0.1em;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--ink);
}
form label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
input {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 0.85rem;
  border: 1px solid #8c98a1;
  background: white;
  border-radius: 2px;
  margin-bottom: 1.4rem;
  color: var(--ink);
}
input::placeholder {
  color: #737b83;
}
form .button {
  width: 100%;
  margin-top: 0.4rem;
}
.form-disclaimer {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 1.3rem;
}
#form-status:not(:empty) {
  border-left: 3px solid var(--blue);
  padding-left: 1rem;
  margin-top: 1rem;
  font-size: 0.9rem;
}
/* Yearbook: pale laminated table texture. White box is intentionally lightweight. */
.study-table {
  background: #e9d5ad url("assets/table.webp") repeat;
  background-size: 680px;
}
.yearbook {
  background: #fffdf6;
  padding: 1.6rem;
  box-shadow: 0 5px 16px #69542e20;
  border: 1px solid #e8dfca;
}
.yearbook-heading .margin-note {
  display: block;
  margin-top: -1rem;
  margin-bottom: 2rem;
}
.archive-grid {
  display: grid;
  gap: 1.7rem;
}
.archive-placeholder {
  aspect-ratio: 4/3;
  background: #e7e5dc;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  color: #666d69;
}
.archive-placeholder > span {
  font: 400 3rem/1 var(--collegiate);
  color: #a2aaa3;
}
.archive-placeholder p {
  font: 800 1.4rem/1.2 var(--heading);
}
.archive-grid figcaption {
  font-size: 0.83rem;
  line-height: 1.5;
  margin-top: 0.75rem;
  color: var(--muted);
}
.archive-copy {
  margin-top: 2rem;
}
.archive-pending {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--blue);
  margin-top: 1.4rem;
}
/* FAQ: native expanders; comfortable click targets. */
.faq-grid {
  display: grid;
  gap: 1rem;
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  padding: 1.25rem 1.8rem 1.25rem 0;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  color: var(--blue);
  font-size: 1.4rem;
  top: 1rem;
}
.faq details[open] summary::after {
  content: "−";
}
.faq details p {
  padding-bottom: 1.5rem;
  color: var(--muted);
}
/* Closing snapshot is a separate image; no text is baked into it. */
.closing-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
.campus-snapshot {
  background: var(--white);
  padding: 0.65rem 0.65rem 1rem;
  transform: rotate(-2deg);
  box-shadow: 7px 9px 0 #051c4d3d;
}
.campus-snapshot img {
  aspect-ratio: 3/2;
  object-fit: cover;
}
.campus-snapshot figcaption {
  text-align: center;
  padding-top: 0.7rem;
}
.closing h2 {
  font-size: clamp(3rem, 5vw, 4.6rem);
  margin-bottom: 1.5rem;
}
.closing h2 span {
  color: var(--yellow);
}
.closing p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}
.site-footer {
  padding-top: 3rem;
  overflow: hidden;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.site-footer .brand {
  color: var(--ink);
}
.footer-inner p,
.footer-inner > a:last-child {
  font-size: 0.9rem;
}
.frisbee-pile {
  width: 100%;
  height: clamp(110px, 19vw, 290px);
  object-fit: cover;
  object-position: center bottom;
  margin-top: 2rem;
}
/* Responsive enhancements. At small phones cards remain legible in two columns;
   below 360px they stack. Desktop keeps the requested compact three-across board. */
@media (min-width: 360px) {
  .guest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .container {
    width: min(var(--content), calc(100% - 3rem));
  }
}
@media (min-width: 600px) {
  .header-inner {
    justify-content: space-between;
    align-items: center;
  }
  .guest-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }
  .guest-card {
    padding: 0.85rem 0.85rem 1.25rem;
  }
  .guest-card h3 {
    font-size: 1.4rem;
  }
  .guest-card p {
    font-size: 0.9rem;
  }
  .reason-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .reason {
    padding: 1.5rem;
  }
  .reason h3 {
    font-size: 1.4rem;
  }
  .archive-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .yearbook {
    padding: 2.5rem;
  }
  .application {
    padding: 2.25rem;
  }
  .facts-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  .facts-grid > div {
    padding-right: 1rem;
    border-right: 1px solid #ccc8b9;
  }
  .facts-grid > div:last-child {
    border: 0;
  }
  .fact-icon {
    display: none;
  }
  .schedule-list > div {
    grid-template-columns: 7rem 1fr;
  }
}
@media (min-width: 900px) {
  .hero {
    padding-block: 5.5rem;
  }
  .hero-grid {
    grid-template-columns: 1.15fr 1fr;
    gap: 3rem;
  }
  .header-inner {
    padding-block: 1.2rem;
  }
  nav {
    gap: 2rem;
    font-size: 0.95rem;
  }
  .brand {
    font-size: 2.75rem;
  }
  .facts-grid {
    padding-block: 1.8rem;
  }
  .fact-icon {
    display: block;
  }
  .reason-grid {
    gap: 1.6rem;
  }
  .reason {
    padding: 2rem;
  }
  .reason h3 {
    font-size: 1.6rem;
  }
  .registration-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
  .faq-grid {
    grid-template-columns: 1fr 1.65fr;
    gap: 5rem;
  }
  .closing-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
  }
  .yearbook-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
  }
  .yearbook-heading .margin-note {
    margin: 0 0 2.5rem;
    white-space: nowrap;
  }
  .yearbook {
    padding: 3.5rem;
  }
  .schedule::before {
    left: 1.5rem;
  }
  .schedule::after {
    right: 1.5rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
@media print {
  nav,
  .monitor-scene,
  .frisbee-pile,
  .actions,
  form {
    display: none;
  }
  .section {
    padding: 2rem 0;
  }
  .blue-campus {
    background: white;
    color: #172b45;
  }
  .hero-copy h1 span,
  .closing h2 span {
    color: #173f9d;
  }
  .guest-card,
  details {
    break-inside: avoid;
  }
}

/* 06 — REVISED ART DIRECTION
   These section-specific refinements follow the original component rules.
   Graduate tracking scales down on phones so letters never collide. */
:root {
  --collegiate: "Alumni Sans", "Arial Narrow", sans-serif;
  --hand: "Patrick Hand", cursive;
  --green: #eef2e7;
}
.brand,
.alumni-heading,
.collegiate {
  font-family: var(--collegiate);
  font-weight: 400;
  letter-spacing: clamp(-0.2rem, -0.3vw, -0.055rem);
}
.alumni-heading,
.collegiate {
  font-size: clamp(1.8rem, 3.3vw, 2.8rem);
  line-height: 1.22;
  text-transform: uppercase;
}
.brand {
  font-size: clamp(1rem, 2.2vw, 2rem);
  letter-spacing: -0.06em;
}
/* Header: a compact single row on phones; menu opens underneath in normal flow. */
.date-banner {
  padding: 0.35rem 1rem;
  background: var(--navy);
  color: var(--white);
  text-align: center;
  font: 700 0.8rem/1.5 var(--body);
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.5rem;
  padding-block: 1rem;
}
.header-inner > .brand {
  transform: rotate(-2deg);
  justify-self: start;
  padding: 0.4rem 0.15rem;
}
.header-register {
  font-size: 0.73rem;
  padding: 0.65rem 0.6rem !important;
  gap: 0;
  white-space: nowrap;
}
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid #173f9d33;
  background: transparent;
  border-radius: 3px;
}
.menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  background: var(--navy);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
#main-nav {
  grid-column: 1/-1;
  width: 100%;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--line);
}
#main-nav a {
  min-height: 44px;
  padding: 0.55rem;
}
/* Script adds .menu-enhanced only after it has connected the toggle. */
.menu-enhanced #main-nav {
  display: none;
}
.menu-enhanced #main-nav.is-open {
  display: flex;
}
.hero-copy > .hero-date {
  font: 800 1.3rem/1.4 var(--heading);
  color: var(--yellow);
  margin-top: 1.4rem;
}
.hero-copy > p:not(.hero-date) {
  margin-top: 1.1rem;
}
.hero-squiggle {
  position: absolute;
  left: -1%;
  bottom: 9%;
  width: 22%;
  transform: rotate(-18deg);
}
/* Handwritten notes use the regular Patrick Hand weight rather than faux bold. */
.margin-note,
.handwriting,
.sticky {
  font-family: var(--hand);
  font-weight: 400;
}
#about .margin-note {
  margin: 2.5rem 0 0 auto;
  width: max-content;
  max-width: 100%;
  text-align: right;
  transform: rotate(-3deg);
}
/* Asymmetric colored shadows give each reason a little energy. Content stays level. */
.reason {
  position: relative;
  isolation: isolate;
  border-color: #deded3;
}
.reason::before {
  content: "";
  position: absolute;
  inset: 3px -3px -6px 3px;
  z-index: -1;
  background: #f2db89;
  transform: rotate(-1.5deg);
}
.reason:nth-child(2)::before {
  background: #edc0d2;
  transform: rotate(1.4deg);
}
.reason:nth-child(3)::before {
  background: #b6dcd5;
  transform: rotate(-1deg);
}
.reason p {
  background: var(--white);
}
/* Real cork bitmap. The gentle paper angles are deterministic, not randomized on load. */
.cork {
  background: #be996c url("assets/cork.webp") repeat;
  background-size: 620px;
}
.guest-grid {
  gap: 2rem 1.4rem;
  padding: 0.5rem;
}
.guest-card {
  transform: rotate(-1.2deg);
  box-shadow: 2px 6px 10px #4f311e30;
}
.guest-card:nth-child(4n + 2) {
  transform: rotate(1.5deg);
}
.guest-card:nth-child(4n + 3) {
  transform: rotate(-0.6deg);
}
.guest-card:nth-child(4n) {
  transform: rotate(1deg);
}
.guest-card:nth-child(7) {
  transform: rotate(-1.8deg);
}
.guest-card h3 {
  text-transform: lowercase;
}
.guest-card > img {
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center 30%;
}
.guest-bottom {
  position: relative;
  flex-direction: column;
  width: 100%;
  gap: 2rem;
}
.announcement {
  margin-inline: auto;
  text-align: center;
}
.board-squiggle {
  width: 95px;
  height: auto;
  align-self: flex-end;
  margin-bottom: -1.5rem;
  transform: rotate(12deg);
}
/* Faint alternating green bars. Real alpha holes reveal the warm paper underneath.
   Circular mask tiles use an explicit radius to avoid ellipse stretching. */
.schedule {
  background: repeating-linear-gradient(
    to bottom,
    #f8f9ef 0,
    #f8f9ef 28px,
    #edf2e6 28px,
    #edf2e6 56px
  );
  -webkit-mask-image:
    linear-gradient(#000 0 0),
    radial-gradient(circle at center, #000 4px, transparent 4.6px),
    radial-gradient(circle at center, #000 4px, transparent 4.6px);
  mask-image:
    linear-gradient(#000 0 0),
    radial-gradient(circle at center, #000 4px, transparent 4.6px),
    radial-gradient(circle at center, #000 4px, transparent 4.6px);
  -webkit-mask-size:
    100% 100%,
    28px 28px,
    28px 28px;
  mask-size:
    100% 100%,
    28px 28px,
    28px 28px;
  -webkit-mask-position:
    0 0,
    left top,
    right top;
  mask-position:
    0 0,
    left top,
    right top;
  -webkit-mask-repeat: no-repeat, repeat-y, repeat-y;
  mask-repeat: no-repeat, repeat-y, repeat-y;
  -webkit-mask-composite: xor, source-over;
  mask-composite: exclude, add;
}
.schedule::before,
.schedule::after {
  width: 1px;
  background: none;
  border: 0;
  border-left: 1px dashed #7e968b55;
}
.schedule::before {
  left: 28px;
}
.schedule::after {
  right: 28px;
}
/* Registration repeats the quiet cream card surface from About. */
.application {
  border: 1px solid #deded3;
  background: var(--white);
  box-shadow: 4px 5px 0 #c7d6d266;
  padding: 1.75rem;
}
.registration-grid h2 {
  max-width: 15ch;
}
.form-heading {
  display: none;
}
/* Yearbook: a light open spread with real images and a quiet center seam on desktop. */
.yearbook {
  position: relative;
  border: 0;
  background-color: #fffdf6;
}
.yearbook::before,
.yearbook::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 20px;
  background: #fffdf6;
  -webkit-mask: url("assets/torn-edge.svg") center/100% 100% no-repeat;
  mask: url("assets/torn-edge.svg") center/100% 100% no-repeat;
  pointer-events: none;
}
.yearbook::before {
  top: -12px;
}
.yearbook::after {
  bottom: -12px;
  transform: rotate(180deg);
}
.yearbook-heading {
  display: block;
}
.archive-grid {
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
.yearbook-photo {
  padding: 0.4rem 0.4rem 0.7rem;
  background: white;
  box-shadow: 1px 3px 6px #503b241a;
  transform: rotate(-1deg);
}
.yearbook-photo:nth-child(2n) {
  transform: rotate(1deg);
}
.yearbook-photo img {
  width: 100%;
  height: auto;
}
.yearbook-photo figcaption {
  font: 400 1.1rem/1.35 var(--hand);
  padding: 0.25rem 0.4rem 0;
  color: var(--blue);
}
.archive-copy {
  max-width: 72ch;
  margin-top: 2.5rem;
}
.archive-disclaimer {
  max-width: 80ch;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 1.5rem;
}
.archive-link {
  display: inline-block;
  margin-top: 1.5rem;
  font-weight: 700;
  color: var(--blue);
  text-underline-offset: 5px;
}
.archive-link[aria-disabled="true"] {
  cursor: default;
}
.archive-soon {
  display: inline-block;
  margin-left: 0.75rem;
  color: var(--muted);
  font-size: 0.8rem;
}
/* Preserve the entire upper silhouette at every size; no cover crop. */
.frisbee-pile {
  width: 100%;
  height: auto;
  object-fit: contain;
  margin-top: 1.5rem;
}
@media (min-width: 535px) {
  .header-inner {
    gap: 1rem;
  }
  .header-register {
    font-size: 0.9rem;
    padding: 0.7rem 1rem !important;
  }
  .hero-copy {
    text-align: center;
    width: 100%;
  }
  .hero-copy > p {
    margin-inline: auto;
  }
  .hero-copy .actions {
    justify-content: center;
  }
  .hero-copy h1 {
    max-width: 16ch;
    margin-inline: auto;
  }
  .archive-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .photo-1 {
    width: 86%;
    justify-self: center;
  }
  .photo-2 {
    margin-top: 1rem;
  }
  .photo-3 {
    align-self: center;
  }
  .photo-4 {
    width: 82%;
    justify-self: center;
  }
}
@media (min-width: 600px) {
  .guest-grid {
    gap: 2.5rem 2rem;
  }
  .application {
    padding: 2.5rem;
  }
  .yearbook {
    background-image: linear-gradient(
      90deg,
      transparent 49.7%,
      #b6a99218 49.9%,
      #fffdf6 50.5%,
      transparent 51%
    );
  }
}
@media (min-width: 900px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
    gap: 1.7rem;
  }
  .header-inner > .brand {
    font-size: 1.95rem;
    letter-spacing: -0.2rem;
    padding: 0.55rem 0.8rem;
  }
  .header-register {
    grid-column: 3;
    grid-row: 1;
  }
  .menu-toggle {
    display: none !important;
  }
  #main-nav,
  .menu-enhanced #main-nav {
    display: flex;
    grid-column: 2;
    grid-row: 1;
    border: 0;
    padding: 0;
    justify-content: flex-end;
    gap: 0.8rem;
  }
  #main-nav a:last-child {
    display: none;
  }
  .hero-copy {
    text-align: left;
  }
  .hero-copy > p,
  .hero-copy h1 {
    margin-inline: 0;
  }
  .hero-copy .actions {
    justify-content: flex-start;
  }
  .hero-grid {
    grid-template-columns: 1.1fr 1fr;
  }
  .hero-copy h1 {
    font-size: clamp(3.1rem, 4.9vw, 4.6rem);
  }
  .guest-grid {
    gap: 2.75rem;
  }
  .alumni-heading,
  .collegiate {
    letter-spacing: -0.2rem;
  }
  .registration-grid {
    gap: 4rem;
  }
  .site-footer .brand {
    letter-spacing: -0.2rem;
  }
}

/* Small irregular fiber edges, without image-based text. */
.paper-label {
  clip-path: polygon(
    0% 2%,
    1% 2%,
    2% 4%,
    3% 5%,
    4% 5%,
    5% 1%,
    6% 2%,
    7% 4%,
    8% 1%,
    9% 5%,
    10% 5%,
    11% 2%,
    12% 4%,
    13% 2%,
    14% 4%,
    15% 2%,
    16% 1%,
    17% 2%,
    18% 2%,
    19% 2%,
    20% 2%,
    21% 5%,
    22% 4%,
    23% 4%,
    24% 3%,
    25% 2%,
    26% 5%,
    27% 1%,
    28% 1%,
    29% 3%,
    30% 5%,
    31% 5%,
    32% 1%,
    33% 5%,
    34% 1%,
    35% 1%,
    36% 4%,
    37% 5%,
    38% 5%,
    39% 3%,
    40% 3%,
    41% 4%,
    42% 4%,
    43% 2%,
    44% 1%,
    45% 3%,
    46% 2%,
    47% 5%,
    48% 4%,
    49% 4%,
    50% 5%,
    51% 5%,
    52% 2%,
    53% 1%,
    54% 1%,
    55% 1%,
    56% 2%,
    57% 5%,
    58% 5%,
    59% 1%,
    60% 1%,
    61% 4%,
    62% 2%,
    63% 3%,
    64% 5%,
    65% 1%,
    66% 5%,
    67% 3%,
    68% 1%,
    69% 4%,
    70% 1%,
    71% 4%,
    72% 4%,
    73% 5%,
    74% 1%,
    75% 1%,
    76% 3%,
    77% 1%,
    78% 2%,
    79% 1%,
    80% 2%,
    81% 3%,
    82% 3%,
    83% 5%,
    84% 4%,
    85% 3%,
    86% 5%,
    87% 4%,
    88% 5%,
    89% 4%,
    90% 1%,
    91% 1%,
    92% 2%,
    93% 5%,
    94% 1%,
    95% 5%,
    96% 1%,
    97% 5%,
    98% 4%,
    99% 1%,
    100% 5%,
    100% 96%,
    99% 99%,
    98% 95%,
    97% 95%,
    96% 98%,
    95% 95%,
    94% 97%,
    93% 98%,
    92% 96%,
    91% 95%,
    90% 97%,
    89% 96%,
    88% 95%,
    87% 95%,
    86% 99%,
    85% 95%,
    84% 95%,
    83% 98%,
    82% 99%,
    81% 95%,
    80% 97%,
    79% 98%,
    78% 97%,
    77% 99%,
    76% 98%,
    75% 95%,
    74% 95%,
    73% 95%,
    72% 96%,
    71% 98%,
    70% 96%,
    69% 97%,
    68% 96%,
    67% 96%,
    66% 99%,
    65% 99%,
    64% 98%,
    63% 98%,
    62% 99%,
    61% 97%,
    60% 95%,
    59% 99%,
    58% 95%,
    57% 96%,
    56% 95%,
    55% 95%,
    54% 96%,
    53% 98%,
    52% 96%,
    51% 97%,
    50% 95%,
    49% 96%,
    48% 97%,
    47% 97%,
    46% 98%,
    45% 98%,
    44% 96%,
    43% 98%,
    42% 96%,
    41% 95%,
    40% 99%,
    39% 95%,
    38% 95%,
    37% 95%,
    36% 96%,
    35% 96%,
    34% 95%,
    33% 96%,
    32% 99%,
    31% 96%,
    30% 95%,
    29% 99%,
    28% 99%,
    27% 96%,
    26% 96%,
    25% 99%,
    24% 95%,
    23% 95%,
    22% 98%,
    21% 98%,
    20% 99%,
    19% 95%,
    18% 98%,
    17% 96%,
    16% 97%,
    15% 96%,
    14% 96%,
    13% 95%,
    12% 99%,
    11% 95%,
    10% 97%,
    9% 97%,
    8% 98%,
    7% 96%,
    6% 99%,
    5% 98%,
    4% 99%,
    3% 98%,
    2% 97%,
    1% 97%,
    0% 97%
  );
}

/* Offset shadow only; the reason-card face remains cream. */
.reason::before {
  background: transparent;
  box-shadow: 4px 5px 0 #f2db89;
}
.reason:nth-child(2)::before {
  background: transparent;
  box-shadow: 4px 5px 0 #edc0d2;
}
.reason:nth-child(3)::before {
  background: transparent;
  box-shadow: 4px 5px 0 #b6dcd5;
}

/* Fine perforated bottom with the last corner torn unevenly. */
.schedule {
  clip-path: polygon(
    0 0,
    100% 0,
    100% 98.7%,
    99% 99.1%,
    98% 98.3%,
    97% 99.4%,
    96% 98.9%,
    95% 99.21%,
    94% 99.28%,
    93% 99.32%,
    92% 99.15%,
    91% 99.27%,
    90% 99.25%,
    89% 99.24%,
    88% 99.1%,
    87% 99.08%,
    86% 99.17%,
    85% 99.26%,
    84% 99.14%,
    83% 99.2%,
    82% 99.15%,
    81% 99.29%,
    80% 99.32%,
    79% 99.17%,
    78% 99.33%,
    77% 99.09%,
    76% 99.28%,
    75% 99.3%,
    74% 99.11%,
    73% 99.25%,
    72% 99.22%,
    71% 99.32%,
    70% 99.12%,
    69% 99.21%,
    68% 99.3%,
    67% 99.24%,
    66% 99.15%,
    65% 99.09%,
    64% 99.31%,
    63% 99.19%,
    62% 99.33%,
    61% 99.11%,
    60% 99.28%,
    59% 99.28%,
    58% 99.31%,
    57% 99.07%,
    56% 99.17%,
    55% 99.08%,
    54% 99.27%,
    53% 99.16%,
    52% 99.32%,
    51% 99.17%,
    50% 99.27%,
    49% 99.3%,
    48% 99.13%,
    47% 99.21%,
    46% 99.32%,
    45% 99.21%,
    44% 99.16%,
    43% 99.14%,
    42% 99.27%,
    41% 99.12%,
    40% 99.23%,
    39% 99.21%,
    38% 99.21%,
    37% 99.1%,
    36% 99.24%,
    35% 99.31%,
    34% 99.15%,
    33% 99.16%,
    32% 99.31%,
    31% 99.22%,
    30% 99.14%,
    29% 99.07%,
    28% 99.27%,
    27% 99.16%,
    26% 99.19%,
    25% 99.14%,
    24% 99.23%,
    23% 99.26%,
    22% 99.15%,
    21% 99.09%,
    20% 99.33%,
    19% 99.31%,
    18% 99.08%,
    17% 99.22%,
    16% 99.25%,
    15% 99.17%,
    14% 99.26%,
    13% 99.32%,
    12% 99.22%,
    11% 99.17%,
    10% 99.12%,
    9% 99.14%,
    8% 99.11%,
    7% 99.1%,
    6% 99.13%,
    5% 99.29%,
    4% 99.21%,
    3% 99.28%,
    2% 99.31%,
    1% 99.28%,
    0% 99.08%
  );
}
/* Extra header room on the narrowest phones; content sections keep wider margins. */
.site-header .header-inner {
  width: min(var(--content), calc(100% - 1.5rem));
}
@media (min-width: 535px) {
  .site-header .header-inner {
    width: min(var(--content), calc(100% - 3rem));
  }
}

/* 07 — FINAL CONTENT PASS
   Supplied image wordmark replaces font-based logos. The image retains its blue. */
.image-brand {
  display: block;
  line-height: 0;
  background: none;
  clip-path: none;
  padding: 0 !important;
}
.image-brand img {
  display: block;
  width: 100%;
  height: auto;
}
.site-header .header-brand {
  position: relative;
  width: clamp(175px, 22vw, 270px);
  transform: rotate(-2deg);
  z-index: 0;
}
/* .header-brand::after {
  content: "";
  position: absolute;
  left: 4%;
  right: 2%;
  bottom: -4px;
  height: 6px;
  background: var(--pink);
  border-radius: 48% 35% 43% 30%;
  transform: rotate(-1deg);
  z-index: -1;
} */
 .header-brand::after {
  content: "";
  position: absolute;
  left: 1%;
  right: -2%;
  bottom: -2px;
  height: 0.55em;

  background: linear-gradient(
    96deg,
    color-mix(in srgb, var(--pink) 75%, transparent),
    color-mix(in srgb, var(--pink) 90%, transparent) 45%,
    color-mix(in srgb, var(--pink) 70%, transparent)
  );
  
  opacity: 0.72;

  clip-path: polygon(
    1% 22%, 10% 11%, 27% 17%, 45% 8%,
    65% 15%, 84% 7%, 99% 20%,
    97% 83%, 80% 92%, 58% 84%,
    36% 94%, 15% 85%, 2% 91%
  );

  transform: rotate(-1.5deg);
  z-index: -1;
}
.footer-brand {
  width: 280px;
  max-width: 100%;
  transform: none;
}
/* Alumni Sans (800) is the solid condensed family, not Collegiate One. */
:root {
  --collegiate: "Alumni Sans", "Arial Narrow", sans-serif;
}
.alumni-heading,
.collegiate {
  font-family: var(--collegiate);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  font-size: clamp(2.6rem, 4.8vw, 4rem);
  line-height: 1.02;
}
/* H1 wraps naturally. Only the yellow closing phrase is held together with NBSP. */
.hero-copy h1 {
  max-width: none;
  font-family: var(--collegiate);
}
/* Course-style printout: session label on left; roll call remains a normal text flow. */
.schedule-date,
.opening-times,
.panel-list {
  font-family: "Courier New", monospace;
}
.schedule-date {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.6;
}
.opening-times {
  margin: 2rem 0;
  font-size: 0.95rem;
  line-height: 1.6;
}
.opening-times > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  padding: 0.35rem 0;
}
.opening-times dt {
  font-weight: 700;
}
.opening-times dd {
  margin: 0;
}
.panel-list {
  margin-top: 1.5rem;
  font-weight: 400;
  text-transform: uppercase;
}
.panel-list > .panel-row {
  grid-template-columns: 1fr;
  gap: 0.75rem;
  padding: 1.8rem 0;
}
.panel-row > dt {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.035em;
}
.panel-row h3 {
  font:
    700 1.1rem/1.4 "Courier New",
    monospace;
  text-wrap: wrap;
}
.panel-row p {
  margin-top: 0.7rem;
  font-size: 0.85rem;
  line-height: 1.65;
  max-width: none;
}
.panel-row .panel-mode {
  display: inline-block;
  font-size: 0.7rem;
  white-space: nowrap;
  border: 1px solid #62746066;
  padding: 0.15rem 0.35rem;
  vertical-align: middle;
}
.moderator-title {
  display: block;
  font-size: 0.75rem;
}
/* No form: simple information card with a prominent external registration CTA. */
.registration-card > p {
  max-width: 48ch;
}
.registration-time {
  margin-top: 1.5rem;
  font-size: 0.95rem;
}
.registration-time span {
  display: block;
  margin-top: 0.4rem;
  color: var(--muted);
}
.register-ticket {
  min-height: 60px;
  font-size: 1.2rem;
  padding: 1rem 2.5rem;
  margin-top: 1.8rem;
}
.registration-card .registration-fee {
  margin-top: 1.2rem;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--muted);
}
/* Remove center-fold simulation. Keep history text left-aligned within a centered measure. */
.yearbook {
  background-image: none;
}
.history-text {
  max-width: 600px;
  margin-inline: auto;
}
.history-text .archive-copy,
.history-text .archive-disclaimer {
  max-width: none;
}
/* Long lightweight accents float along the picture margins, clear of faces and caption. */
.campus-snapshot {
  position: relative;
}
.campus-snapshot > .photo-squiggle {
  position: absolute;
  width: 66%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  pointer-events: none;
}
.photo-squiggle-pink {
  top: -18px;
  left: -2%;
  transform: rotate(-4deg);
}
.photo-squiggle-aqua {
  bottom: 40px;
  right: -2%;
  transform: rotate(4deg);
  filter: hue-rotate(150deg);
}
.closing-grid > div {
  text-align: center;
}
.closing-grid > div > p {
  margin-inline: auto;
}
@media (min-width: 600px) {
  .panel-list > .panel-row {
    grid-template-columns: 6rem 1fr;
    gap: 1.5rem;
  }
}
@media (min-width: 900px) {
  .site-header .header-brand {
    width: 270px;
  }
  .closing-grid > div {
    text-align: left;
  }
  .closing-grid > div > p {
    margin-inline: 0;
  }
}

/* Center the footer logo on narrow phones only. */
@media (width < 535px) {
  .footer-inner > .footer-brand {
    margin-inline: auto;
  }
}
