/* ==========================================================================
   Fall '26 Rush — "Built on Blue"
   Card-room theme derived from the rush graphics: one blue ink, halftone dot
   screen, playing-card faces. Loaded AFTER general.css and overrides it for
   this page only.
   ========================================================================== */

.rush {
  --ink: #04121f;
  --deep: #043e79; /* chapter blue, already used site-wide */
  --cobalt: #0b5fc7;
  --cyan: #4fb4f5;
  --ice: #dceefb;
  --bone: #dacaa6; /* site accent, used sparingly */

  /* the site is Oswald throughout; the three roles are weight and spacing,
     not different families */
  --display: "Oswald", "Helvetica Neue", Arial, sans-serif;
  --prose: "Oswald", "Helvetica Neue", Arial, sans-serif;
  --utility: "Oswald", "Helvetica Neue", Arial, sans-serif;

  --halftone: radial-gradient(
    circle,
    rgba(79, 180, 245, 0.16) 1px,
    transparent 1.35px
  );
  --halftone-size: 10px 10px;

  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(72px, 10vw, 132px);

  background: var(--ink);
  color: var(--ice);
}

.rush *::selection {
  background: var(--cyan);
  color: var(--ink);
}

/* --- shared bits ---------------------------------------------------------- */

.rush .eyebrow {
  font-family: var(--utility);
  font-weight: 300;
  font-size: clamp(10px, 1.1vw, 12px);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0;
}

.rush .section-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(36px, 6.4vw, 68px);
  line-height: 1.04;
  letter-spacing: 0.005em;
  color: var(--ice);
  margin: 14px 0 0;
}

.rush .section-note {
  font-family: var(--prose);
  font-weight: 200;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.85;
  color: rgba(220, 238, 251, 0.72);
  max-width: 54ch;
  margin: 18px 0 0;
}

.rush .rule {
  height: 1px;
  border: 0;
  background: linear-gradient(
    to right,
    var(--cyan),
    rgba(79, 180, 245, 0.15) 60%,
    transparent
  );
  margin: 0;
}

.rush a:focus-visible,
.rush .faq:focus-visible,
.rush button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
  border-radius: 2px;
}

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

.rush-hero {
  position: relative;
  overflow-x: hidden; /* the closed mobile menu parks at right:-200px */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  background-image: linear-gradient(
      110deg,
      rgba(4, 18, 31, 0.98) 0%,
      rgba(4, 18, 31, 0.93) 46%,
      rgba(4, 62, 121, 0.45) 100%
    ),
    url(../images/fall26rush1.jpg);
  background-position: 82% center;
  background-size: cover;
}

/* halftone screen over the photograph */
.rush-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--halftone);
  background-size: var(--halftone-size);
  opacity: 0.9;
  pointer-events: none;
  z-index: -1;
}

.rush-hero__inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 8vw, 90px) var(--gutter) clamp(56px, 9vw, 110px);
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.rush-hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(58px, 13.5vw, 172px);
  line-height: 0.92;
  letter-spacing: 0.002em;
  text-transform: uppercase;
  margin: 18px 0 0;
  color: var(--ice);
  text-wrap: balance;
}

.rush-hero h1 em {
  font-style: normal;
  font-weight: 300;
  color: var(--cyan);
}

.rush-hero__lede {
  font-family: var(--prose);
  font-weight: 200;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.7;
  color: rgba(220, 238, 251, 0.8);
  max-width: 40ch;
  margin: 26px 0 0;
}

.rush-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

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

.rush-btn {
  display: inline-block;
  font-family: var(--utility);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 30px;
  border: 1px solid var(--cyan);
  color: var(--ink);
  background: var(--cyan);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.rush-btn:hover {
  background: var(--ice);
  border-color: var(--ice);
}

.rush-btn--ghost {
  background: transparent;
  color: var(--ice);
  border-color: rgba(220, 238, 251, 0.45);
}

.rush-btn--ghost:hover {
  background: rgba(220, 238, 251, 0.1);
  border-color: var(--ice);
  color: var(--ice);
}

/* --- the hand (schedule) -------------------------------------------------- */

.rush-hand {
  padding: var(--section-y) var(--gutter);
  background: linear-gradient(180deg, var(--ink) 0%, #061c33 55%, var(--ink) 100%);
}

.rush-hand__head {
  max-width: 1180px;
  margin: 0 auto clamp(34px, 4.5vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  column-gap: clamp(32px, 5vw, 72px);
  align-items: end;
}

.rush-hand__head .eyebrow { grid-area: 1 / 1; }
.rush-hand__head .section-title { grid-area: 2 / 1; }
.rush-hand__head .section-note { grid-area: 2 / 2; margin: 0 0 5px; }
.rush-hand__head .rule { grid-area: 3 / 1 / 4 / 3; margin-top: 26px; }

.hand {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.card {
  position: relative;
  flex: 0 0 auto;
  width: clamp(168px, 14vw, 198px);
  aspect-ratio: 2.5 / 3.5;
  margin-inline: -13px;
  padding: 15px 14px;
  box-sizing: border-box;
  border-radius: 13px;
  background-color: var(--ice);
  background-image: var(--halftone);
  background-size: var(--halftone-size);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 0 rgba(4, 62, 121, 0.55), 0 18px 34px rgba(2, 8, 16, 0.55);
  transform-origin: bottom center;
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.25, 1), box-shadow 0.4s ease;
}

/* hairline ring, the way a card face is printed inside its trim */
.card::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(4, 62, 121, 0.34);
  border-radius: 7px;
  pointer-events: none;
}

.hand .card:nth-child(1) { transform: rotate(-9deg) translateY(16px); }
.hand .card:nth-child(2) { transform: rotate(-4.5deg) translateY(4px); }
.hand .card:nth-child(3) { transform: rotate(0deg) translateY(0); }
.hand .card:nth-child(4) { transform: rotate(4.5deg) translateY(4px); }
.hand .card:nth-child(5) { transform: rotate(9deg) translateY(16px); }

.hand .card:hover,
.hand .card:focus-within {
  transform: rotate(0deg) translateY(-26px) scale(1.045);
  box-shadow: 0 1px 0 rgba(4, 62, 121, 0.55), 0 34px 54px rgba(2, 8, 16, 0.68);
  z-index: 3;
}

.card__index {
  font-family: var(--display);
  font-weight: 500;
  line-height: 0.95;
  font-size: 22px;
  letter-spacing: 0.01em;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: max-content;
}

.card__index span {
  font-size: 13px;
  font-weight: 500;
}

/* bottom index is rotated, as on a real card face */
.card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 6px 0;
}

.card__name {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.2;
  letter-spacing: 0.02em;
  margin: 0;
  text-wrap: balance;
}

.card__time {
  font-family: var(--utility);
  font-weight: 300;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--deep);
  margin: 9px 0 0;
}

.card__place {
  font-family: var(--utility);
  font-weight: 300;
  font-size: 10.5px;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: rgba(4, 18, 31, 0.6);
  margin: 7px 0 0;
}

/* the fifth card is face down — it is the one you have to earn */
.card--facedown {
  background-color: var(--deep);
  background-image: repeating-linear-gradient(
      45deg,
      rgba(79, 180, 245, 0.16) 0 2px,
      transparent 2px 9px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(79, 180, 245, 0.16) 0 2px,
      transparent 2px 9px
    ),
    var(--halftone);
  background-size: auto, auto, var(--halftone-size);
  color: var(--ice);
  justify-content: center;
  text-align: center;
}

.card--facedown::before {
  border-color: rgba(79, 180, 245, 0.5);
}

.card--facedown .card__letters {
  font-family: var(--display);
  font-weight: 500;
  font-size: 32px;
  letter-spacing: 0.06em;
  color: var(--ice);
  margin: 0;
}

.card--facedown .card__name {
  font-size: 19px;
  margin-top: 14px;
  color: var(--ice);
}

.card--facedown .card__place {
  color: var(--cyan);
  margin-top: 10px;
}

.rush-hand__footnote {
  font-family: var(--prose);
  font-weight: 200;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(220, 238, 251, 0.62);
  text-align: center;
  max-width: 46ch;
  margin: clamp(52px, 7vw, 82px) auto 0;
}

.rush-hand__footnote a {
  color: var(--cyan);
}

/* --- posters -------------------------------------------------------------- */

.rush-posters {
  padding: var(--section-y) var(--gutter);
  border-top: 1px solid rgba(79, 180, 245, 0.16);
}

.rush-posters__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.rush-posters__copy .rule {
  margin-top: 26px;
}

.rush-posters__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 2vw, 24px);
}

.rush-posters figure {
  margin: 0;
}

.rush-posters img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(79, 180, 245, 0.34);
  box-shadow: 0 20px 44px rgba(2, 8, 16, 0.6);
}

.rush-posters figcaption {
  font-family: var(--utility);
  font-weight: 300;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(220, 238, 251, 0.5);
  margin-top: 12px;
}

/* --- house rules (FAQ) ---------------------------------------------------- */

.rush-rules {
  padding: var(--section-y) var(--gutter);
  border-top: 1px solid rgba(79, 180, 245, 0.16);
  background: linear-gradient(180deg, #061c33 0%, var(--ink) 70%);
}

.rush-rules__inner {
  max-width: 780px;
  margin: 0 auto;
}

.rush-rules__head {
  margin-bottom: clamp(36px, 5vw, 56px);
}

.rush-rules__head .rule {
  margin-top: 26px;
}

/* override general.css .faq for this page */
.rush .faq {
  max-width: none;
  margin: 0;
  padding: 22px 0;
  border-bottom: 1px solid rgba(79, 180, 245, 0.22);
  cursor: pointer;
}

.rush .faq:first-of-type {
  border-top: 1px solid rgba(79, 180, 245, 0.22);
}

.rush .question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.rush .question h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(19px, 2.2vw, 25px);
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: var(--ice);
  margin: 0;
  transition: color 0.25s ease;
}

.rush .faq:hover .question h3,
.rush .faq.active .question h3 {
  color: var(--cyan);
}

.rush .question svg {
  flex: 0 0 auto;
}

.rush .question svg path {
  stroke: var(--cyan);
}

.rush .answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.55s ease;
}

.rush .faq.active .answer {
  max-height: 900px;
  animation: none;
}

.rush .answer p {
  font-family: var(--prose);
  font-weight: 200;
  font-size: 17px;
  line-height: 1.85;
  color: rgba(220, 238, 251, 0.74);
  padding-top: 16px;
}

/* --- rush chairs ---------------------------------------------------------- */

.rush-chairs {
  padding: var(--section-y) var(--gutter);
  border-top: 1px solid rgba(79, 180, 245, 0.16);
}

.rush-chairs__inner {
  max-width: 1000px;
  margin: 0 auto;
}

.rush-chairs__head {
  margin-bottom: clamp(40px, 5.5vw, 64px);
}

.rush-chairs__head .rule {
  margin-top: 26px;
}

.chairs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
}

.chair {
  display: grid;
  grid-template-columns: clamp(120px, 15vw, 168px) minmax(0, 1fr);
  gap: clamp(18px, 2.4vw, 28px);
  align-items: start;
}

.chair__portrait {
  position: relative;
}

.chair__portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  border: 1px solid rgba(79, 180, 245, 0.34);
  filter: grayscale(0.35) contrast(1.05);
}

/* the number each brother is known by, set like a dealer button */
.chair__badge {
  position: absolute;
  top: -12px;
  left: -12px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--cyan);
  color: var(--ink);
  font-family: var(--utility);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.02em;
}

.chair__name {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(19px, 1.9vw, 23px);
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: var(--ice);
  margin: 0;
}

.chair__role {
  font-family: var(--utility);
  font-weight: 300;
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 8px 0 0;
}

.chair__facts {
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 5px;
}

.chair__facts > div {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.chair__facts dt {
  flex: 0 0 82px;
  font-family: var(--utility);
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(220, 238, 251, 0.45);
}

.chair__facts dd {
  margin: 0;
  font-family: var(--prose);
  font-weight: 300;
  font-size: 15px;
  color: rgba(220, 238, 251, 0.82);
}

.chair__contacts {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.chair__contacts li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px solid rgba(79, 180, 245, 0.2);
}

.chair__contacts .chair__label {
  flex: 0 0 82px;
  font-family: var(--utility);
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(220, 238, 251, 0.45);
}

.chair__contacts a {
  font-family: var(--prose);
  font-weight: 300;
  font-size: 15px;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.chair__contacts a:hover {
  border-bottom-color: var(--cyan);
}

/* an unfilled slot: a labelled blank, not a broken link */
.chair__contacts li.is-empty {
  border-bottom-style: dashed;
  border-bottom-color: rgba(79, 180, 245, 0.3);
}

.chair__contacts li.is-empty .chair__label {
  color: rgba(220, 238, 251, 0.3);
}

@media (max-width: 900px) {
  .chairs {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(34px, 6vw, 48px);
  }
}

@media (max-width: 480px) {
  .chair {
    grid-template-columns: minmax(0, 1fr);
  }

  .chair__portrait {
    max-width: 190px;
  }

  .chair__badge {
    top: -10px;
    left: -10px;
    width: 36px;
    height: 36px;
    font-size: 13px;
  }
}

/* --- closing -------------------------------------------------------------- */

.rush-closing {
  padding: var(--section-y) var(--gutter);
  text-align: center;
  border-top: 1px solid rgba(79, 180, 245, 0.16);
}

.rush-closing__inner {
  max-width: 720px;
  margin: 0 auto;
}

.rush-closing h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(32px, 5.8vw, 60px);
  line-height: 1.1;
  letter-spacing: 0.005em;
  color: var(--ice);
  margin: 16px 0 0;
  text-wrap: balance;
}

.rush-closing p {
  font-family: var(--prose);
  font-weight: 200;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.8;
  color: rgba(220, 238, 251, 0.72);
  margin: 20px auto 0;
  max-width: 50ch;
}

.rush-closing .rush-hero__actions {
  justify-content: center;
}

/* --- responsive ----------------------------------------------------------- */

@media (max-width: 900px) {
  .rush-posters__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .rush-hand__head {
    display: block;
  }

  .rush-hand__head .section-note {
    margin-top: 18px;
  }
}

@media (max-width: 820px) {
  /* the fan does not survive small screens — lay the hand out flat */
  .hand {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
    gap: 18px;
    padding-top: 0;
  }

  .hand .card,
  .hand .card:nth-child(n) {
    width: auto;
    margin-inline: 0;
    transform: none;
  }

  .hand .card:hover,
  .hand .card:focus-within {
    transform: translateY(-6px);
  }
}

@media (max-width: 520px) {
  .rush-posters__pair {
    grid-template-columns: 1fr;
  }

  .hand {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .card {
    padding: 12px 10px;
  }

  .card__name {
    font-size: 16px;
  }

  .card__time {
    font-size: 11.5px;
  }

  /* the fifth card would otherwise sit orphaned in the left column */
  .card--facedown {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, 186px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rush *,
  .rush *::before,
  .rush *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .hand .card:hover,
  .hand .card:focus-within {
    transform: none;
  }

  .hand .card:nth-child(n) {
    transform: none;
  }

  .hand {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(178px, 1fr));
    gap: 18px;
  }

  .hand .card {
    width: auto;
    margin-inline: 0;
  }
}
