/* Princeton Quadrangle Club — brand: Medium Blue #273075, Old Gold #FCCD05,
   Montserrat (display) + Overpass (text), per the club Style Guide. */

:root {
  --blue: #273075;
  --blue-deep: #1b2152;
  --gold: #fccd05;
  --gold-soft: #fde68a;
  --ice: #eef0f8;
  --ink: #151935;
  --muted: #545a7a;
  --white: #ffffff;
  --line: #d6d9ea;

  --display: "Montserrat", system-ui, sans-serif;
  --text: "Overpass", system-ui, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: 1.6rem;
  --step-3: 2.1rem;
  --step-4: clamp(2.4rem, 5.2vw, 3.9rem);

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1180px;
  --pane-gap: 6px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--text);
  font-size: var(--step-0);
  line-height: 1.6;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

h1, h2, h3 {
  font-family: var(--display);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: var(--step-4); font-weight: 800; }
h2 { font-size: var(--step-3); font-weight: 700; }
h3 { font-size: var(--step-1); font-weight: 700; }

p { margin: 0 0 1em; max-width: 64ch; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--gold);
  color: var(--ink);
  padding: 8px 14px;
  font-weight: 700;
  z-index: 10;
}
.skip:focus { left: 8px; }

/* ---------- Header: white bar, set apart from the page ---------- */

.site-header {
  background: var(--blue);
  border-bottom: var(--pane-gap) solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 20;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  min-height: 76px;
  flex-wrap: wrap;
  padding-block: 10px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.12rem;
  line-height: 1.1;
}
.brand:hover { color: var(--white); }
.brand small {
  display: block;
  font-family: var(--text);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 3px;
}
.mark { width: 52px; height: 52px; flex: none; object-fit: contain; }

.menu-toggle { display: none; }
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  align-items: center;
}
.nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.nav a:hover,
.nav a[aria-current="page"] { border-bottom-color: var(--gold); color: var(--white); }
.nav .give {
  background: var(--gold);
  color: var(--ink);
  padding: 8px 18px;
  border-radius: 4px;
  border-bottom: 0;
  font-family: var(--display);
  font-weight: 700;
}
.nav .give:hover { background: var(--gold-soft); color: var(--ink); }

@media (max-width: 1080px) {
  .menu-toggle {
    display: inline-block;
    font: 700 0.95rem var(--display);
    color: var(--blue);
    background: var(--gold);
    border: 2px solid var(--gold);
    border-radius: 4px;
    padding: 8px 14px;
    cursor: pointer;
  }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 10px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.18); font-size: 1.02rem; }
  .nav a[aria-current="page"] { border-bottom-color: rgba(255,255,255,.18); box-shadow: inset 4px 0 0 var(--gold); padding-left: 12px; }
  .nav .give { margin-top: 12px; text-align: center; padding: 12px; }
}

/* ---------- The quad: a 2x2 grid of panes, the club's four corners ---------- */

.quad {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--pane-gap);
  background: var(--gold);
  padding: var(--pane-gap);
}
.pane {
  min-width: 0;
  background: var(--blue);
  color: var(--white);
  padding: clamp(24px, 4vw, 48px);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.pane a { color: var(--gold); }
.pane a:hover { color: var(--gold-soft); }
.pane p { color: #dfe2f3; }
.pane--gold { background: var(--gold); color: var(--ink); }
.pane--gold p { color: var(--ink); }
.pane--gold a { color: var(--blue-deep); }
.pane--deep { background: var(--blue-deep); }

.fact-big {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 0.95;
  margin: 0 0 0.2em;
  letter-spacing: -0.03em;
}
.fact-sub { font-size: var(--step-0); margin: 0; }

/* ---------- Progress ---------- */

.progress {
  margin: 14px 0 10px;
  height: 14px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 7px;
  overflow: hidden;
}
.progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gold);
  border-radius: 7px;
  transition: width 1.2s cubic-bezier(.2,.7,.2,1);
}
.progress-label { font-size: var(--step--1); margin: 0; color: #dfe2f3; }

/* ---------- Sections ---------- */

.section { padding-block: clamp(48px, 7vw, 96px); }
.section--ice { background: var(--ice); }
.section-head { max-width: 46rem; margin-bottom: 32px; }
.section-head p { color: var(--muted); font-size: var(--step-1); line-height: 1.5; }

.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.traditions {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 32px;
}
.traditions li { border-top: 3px solid var(--blue); padding-top: 14px; }
.traditions h3 { margin-bottom: 0.3em; }
.traditions p { margin: 0; color: var(--muted); font-size: 1rem; }

.timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 22px;
  border-left: 3px solid var(--gold);
}
.timeline li { position: relative; padding: 0 0 22px 8px; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -31px;
  top: 6px;
  width: 15px;
  height: 15px;
  background: var(--blue);
  border: 3px solid var(--gold);
}
.timeline strong {
  display: block;
  font-family: var(--display);
  font-size: var(--step-1);
  color: var(--blue);
}
.timeline p { margin: 0; color: var(--muted); }

.paths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.path {
  border: 2px solid var(--line);
  border-radius: 6px;
  padding: 24px;
  background: var(--white);
}
.path h3 { color: var(--blue); }
.path p { color: var(--muted); font-size: 1rem; }
.path a { font-weight: 700; }

.button {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  text-decoration: none;
  padding: 13px 22px;
  border-radius: 4px;
}
.button:hover { background: var(--gold-soft); color: var(--ink); }
.button--blue { background: var(--blue); color: var(--white); }
.button--blue:hover { background: var(--blue-deep); color: var(--white); }

/* ---------- Q125 band on the homepage ---------- */

.band {
  background: var(--blue-deep);
  color: var(--white);
}
.band .wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(48px, 7vw, 88px);
}
.band p { color: #dfe2f3; }
.band .fact-big { color: var(--gold); }

/* ---------- Campaign page ---------- */

.raised {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 18px;
  margin-top: 28px;
}
.raised .fact-big { color: var(--blue); margin: 0; }
.raised .of { font-family: var(--display); font-size: var(--step-2); font-weight: 600; }
.progress--lg { height: 22px; border-radius: 11px; margin-top: 18px; }
.progress--lg span { border-radius: 11px; }
.meta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  font-size: var(--step--1);
  color: var(--muted);
}

.projects .pane { min-height: 280px; justify-content: flex-start; }
.projects .when {
  font-family: var(--display);
  font-weight: 700;
  font-size: var(--step--1);
  color: var(--gold);
  margin: 0;
}
.projects .pane--gold .when { color: var(--blue-deep); }
.projects h3 { font-size: var(--step-2); margin-top: 32px; }
.projects p { margin: 0; }

.sessions { list-style: none; padding: 0; margin: 0 0 12px; }
.sessions li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}
.sessions li.tonight { color: var(--blue); }
.sessions li.tonight::after {
  content: " (tonight)";
  font-weight: 700;
  color: var(--ink);
  background: var(--gold);
  padding: 1px 6px;
  border-radius: 3px;
  margin-left: 6px;
}

details {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}
details:last-of-type { border-bottom: 1px solid var(--line); }
summary {
  cursor: pointer;
  font-family: var(--display);
  font-weight: 600;
  font-size: var(--step-0);
}
details p { margin: 10px 0 0; color: var(--muted); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: #c9cce0;
  font-size: 0.95rem;
}
.site-footer .wrap {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 28px;
  padding-block: 48px;
}
.site-footer a { color: var(--white); }
.site-footer h3 { color: var(--white); font-size: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer .fine { grid-column: 1 / -1; border-top: 1px solid #2c3157; padding-top: 18px; margin: 0; max-width: none; }

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .split,
  .band .wrap { grid-template-columns: 1fr; }
  .paths { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
  .dues { grid-template-columns: 1fr; }
  .head-split { grid-template-columns: 1fr; }
  .site-footer .wrap > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .quad { grid-template-columns: minmax(0, 1fr); }
  .pane { min-height: 0; }
  .traditions { grid-template-columns: 1fr; }
  .nav { gap: 2px 16px; }
  .nav a { font-size: 0.92rem; }
  .officers { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .progress span { transition: none; }
}

/* ---------- Crest pane on the homepage ---------- */

.pane--crest { justify-content: space-between; gap: 18px; }
.pane--crest img { width: min(200px, 60%); height: auto; }

/* ---------- Inner pages ---------- */

.page-head { background: linear-gradient(180deg, var(--ice), var(--white)); color: var(--ink); border-bottom: 1px solid var(--line); }
.page-head .wrap { padding-block: clamp(40px, 6vw, 80px); }
.page-head h1 { max-width: 20ch; }
.page-head p { color: var(--muted); }
.eyebrow {
  font-family: var(--display);
  font-weight: 700;
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue) !important;
  margin-bottom: 0.6em;
}
.page-lede { font-size: var(--step-1); line-height: 1.45; max-width: 46ch; }

.head-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.head-photo {
  width: 100%;
  height: auto;
  border: var(--pane-gap) solid var(--gold);
}

.card {
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 6px;
  padding: 24px;
}
.path--feature { border-color: var(--blue); }
address { font-style: normal; font-weight: 600; color: var(--ink); }

.steps { padding-left: 1.2em; margin: 0 0 1em; }
.steps li { margin-bottom: 0.6em; }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding-left: 26px; margin-bottom: 0.7em; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 12px;
  background: var(--gold);
  box-shadow: inset 0 0 0 3px var(--blue);
}
.note { color: var(--muted); font-size: 1rem; margin-top: 18px; }

.quad--light .pane { min-height: 0; justify-content: flex-start; }
.benefits ul { margin: 0; padding-left: 1.1em; }
.benefits li { margin-bottom: 0.3em; }
.pane--gold li { color: var(--ink); }
.pane li { color: #dfe2f3; }

.plans { margin: 0; }
.plans > div { border-top: 1px solid var(--line); padding: 12px 0; }
.plans dt { font-family: var(--display); font-weight: 700; color: var(--blue); }
.plans dd { margin: 2px 0 0; color: var(--muted); }

/* Wire details */
.bank dl { margin: 0; }
.bank dl > div {
  display: grid;
  grid-template-columns: 14rem 1fr;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.bank dl > div:first-child { border-top: 0; }
.bank dt { color: var(--muted); font-size: 0.95rem; }
.bank dd { margin: 0; font-weight: 600; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.03em; }

/* Forms */
.form { display: grid; gap: 14px; }
.form h3 { margin: 0; color: var(--blue); }
.form label { display: grid; gap: 4px; font-weight: 600; font-size: 0.95rem; }
.form input, .form textarea {
  font: inherit;
  padding: 10px 12px;
  border: 2px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
}
.form input:focus, .form textarea:focus { border-color: var(--blue); outline: none; }
.form button { border: 0; cursor: pointer; justify-self: start; font-size: 1rem; }
.hp { position: absolute; left: -9999px; }

/* Alumni dues */
.dues { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.dues-amt {
  font-family: var(--display);
  font-weight: 800;
  font-size: 3rem;
  line-height: 1;
  color: var(--blue);
  margin: 0 0 8px;
}
.dues-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.button--ghost { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 2px var(--blue); }
.button--ghost:hover { background: var(--ice); color: var(--blue-deep); }

/* Footer crest */
.footer-id { display: flex; gap: 16px; align-items: flex-start; }
.footer-id img { width: 64px; height: auto; flex: none; }

a { overflow-wrap: anywhere; }

@media (max-width: 640px) {
  .bank dl > div { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- Progress on light backgrounds ---------- */
.progress { background: var(--line); }
.progress-label { color: var(--muted); }
.pane .progress, .band .progress { background: rgba(255, 255, 255, 0.18); }
.pane .progress-label, .band .progress-label { color: #dfe2f3; }
.pane--gold .progress { background: rgba(21, 25, 53, 0.15); }
.pane--gold .progress span { background: var(--blue); }

/* ---------- Home ---------- */
.home-hero { background: linear-gradient(180deg, var(--ice), var(--white)); border-bottom: 1px solid var(--line); }
.home-hero .wrap { padding-block: clamp(36px, 6vw, 80px); }
.home-hero h1 { color: var(--blue); max-width: 14ch; }
.home-hero .page-lede { color: var(--muted); }
.page-head h1 { color: var(--blue); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-photo { margin: 0; }
.hero-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: var(--pane-gap) solid var(--gold);
  box-shadow: 14px 14px 0 var(--blue);
}
.hero-photo--plain img { aspect-ratio: auto; border: 0; box-shadow: none; }
.section--tight { padding-block: clamp(28px, 4vw, 48px); }
.doors .door { text-decoration: none; min-height: 250px; transition: transform .15s ease; }
.doors .door:hover { transform: translateY(-3px); }
.doors .door h2 { font-size: var(--step-2); margin: 10px 0 8px; }
.doors .door p { margin: 0; }
.doors .door .when { font-family: var(--display); font-weight: 700; font-size: var(--step--1); text-transform: uppercase; letter-spacing: .08em; color: var(--gold); }
.doors .pane--gold .when { color: var(--blue-deep); }
.doors .door:focus-visible { outline-offset: -6px; }
.doors .pane { justify-content: flex-start; }

/* ---------- Galleries and video ---------- */
.gallery { display: grid; gap: 14px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 4px; aspect-ratio: 3 / 2; }
.gallery figcaption { font-size: 0.92rem; color: var(--muted); margin-top: 6px; }
.gallery--3 { grid-template-columns: repeat(3, 1fr); }
.gallery--tour { grid-template-columns: repeat(3, 1fr); }
.gallery--tour .wide { grid-column: span 2; grid-row: span 2; }
.gallery--tour .wide img { aspect-ratio: auto; height: calc(100% - 28px); }
.gallery--formals { grid-template-columns: repeat(4, 1fr); }
.gallery--formals img { aspect-ratio: 1 / 1; }
.video { position: relative; width: 100%; aspect-ratio: 16 / 9; background: var(--ink); border: var(--pane-gap) solid var(--gold); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video--slides { aspect-ratio: 16 / 9.6; max-width: 960px; }
.photo-card { margin: 0; }
.photo-card img { width: 100%; height: auto; border: var(--pane-gap) solid var(--gold); }
.photo-card figcaption { font-size: 0.92rem; color: var(--muted); margin-top: 6px; }

/* ---------- History ---------- */
.story { max-width: 860px; }
.story::after { content: ""; display: block; clear: both; }
.story-fig { float: left; width: min(46%, 380px); margin: 6px 28px 18px 0; }
.story-fig--right { float: right; margin: 6px 0 18px 28px; }
.story-fig img { width: 100%; height: auto; border: 4px solid var(--white); box-shadow: 0 2px 10px rgba(21,25,53,.15); filter: sepia(.15); }
.story-fig figcaption { font-size: 0.88rem; color: var(--muted); margin-top: 6px; line-height: 1.4; }
.story p { max-width: none; }
.story .note { clear: both; padding-top: 12px; }

.alumni { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.alum { background: var(--white); border-top: 4px solid var(--gold); padding: 16px 18px; border-radius: 0 0 6px 6px; }
.alum h3 { font-size: 1.05rem; margin: 0; }
.alum h3 a { text-decoration: none; }
.alum h3 a:hover { text-decoration: underline; }
.alum-class { font-family: var(--display); font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 4px 0 8px; }
.alum ul { margin: 0; padding-left: 1.1em; color: var(--ink); font-size: 0.95rem; }
.alum li { margin-bottom: 3px; }
.firsts-title { margin-top: 40px; color: var(--blue); }

/* ---------- People ---------- */
.people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px 24px; }
.person { display: flex; gap: 14px; align-items: center; border-top: 3px solid var(--blue); padding-top: 14px; }
.person-mark { flex: none; width: 56px; height: 56px; background: var(--blue); color: var(--gold); font: 800 1.1rem var(--display); display: grid; place-items: center; box-shadow: 0 0 0 3px var(--gold); }
.person h3 { margin: 0; font-size: 1.05rem; }
.person-role { font-family: var(--display); font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 2px; }

/* ---------- Reunions ---------- */
.notice { background: var(--gold); }
.notice .wrap { padding-block: 16px; }
.notice p { margin: 0; max-width: none; color: var(--ink); }
.notice a { color: var(--blue-deep); }
.days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.day h3 { color: var(--blue); }
.day dl { margin: 0; }
.day dl > div { border-top: 1px solid var(--line); padding: 10px 0; }
.day dt { font-weight: 700; font-size: 0.92rem; color: var(--muted); }
.day dd { margin: 2px 0 0; }
.day dd span { display: block; font-size: 0.9rem; color: var(--muted); }

/* ---------- Campaign: participation grid ---------- */
.pgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; }
.pcell { display: flex; flex-direction: column; align-items: center; justify-content: center; aspect-ratio: 1 / 0.82; border-radius: 3px; font-family: var(--display); line-height: 1.05; }
.pcell .py { font-weight: 800; font-size: clamp(0.72rem, 1.6vw, 1.05rem); }
.pcell .pp { font-weight: 600; font-size: clamp(0.62rem, 1.3vw, 0.88rem); }
.p0 { background: #e4e6ef; color: #6b7090; }
.p1 { background: #c7cbe6; color: var(--ink); }
.p2 { background: #8b93cc; color: var(--white); }
.p3 { background: var(--blue); color: var(--white); }
.p4 { background: var(--gold); color: var(--ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.plegend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 16px 0 0; font-size: 0.92rem; color: var(--muted); }
.plegend li { display: flex; align-items: center; gap: 6px; }
.plegend .pcell { width: 18px; height: 14px; aspect-ratio: auto; display: inline-block; }
.thanks-band { text-align: center; padding-block: 40px; }
.thanks-band p { margin: 0 auto; font-family: var(--display); font-weight: 700; font-size: var(--step-1); color: var(--blue); max-width: 40ch; }
.form-note { margin: -6px 0 0; color: var(--muted); font-size: 0.95rem; }

@media (max-width: 860px) {
  .gallery--3, .gallery--tour { grid-template-columns: 1fr 1fr; }
  .gallery--formals { grid-template-columns: repeat(3, 1fr); }
  .days { grid-template-columns: 1fr; }
  .hero-photo img { box-shadow: 8px 8px 0 var(--blue); }
}
@media (max-width: 640px) {
  .gallery--3, .gallery--tour { grid-template-columns: 1fr; }
  .gallery--tour .wide { grid-column: auto; grid-row: auto; }
  .gallery--tour .wide img { aspect-ratio: 3 / 2; height: auto; }
  .gallery--formals { grid-template-columns: 1fr 1fr; }
  .story-fig, .story-fig--right { float: none; width: 100%; margin: 8px 0 18px; }
  .pgrid { grid-template-columns: repeat(6, 1fr); gap: 4px; }
  .brand { font-size: 1rem; }
  .mark { width: 44px; height: 44px; }
}
.pane--gold li { color: var(--ink); }

@media (max-width: 860px) {
  .head-split { grid-template-columns: 1fr; }
  .hero-photo { max-width: 560px; }
}
.hero-photo--plain img { box-shadow: none !important; border: 0 !important; }

/* ---------- Interior slideshow ---------- */
.slideshow { position: relative; border: var(--pane-gap) solid var(--gold); background: var(--ink); }
.slides {
  list-style: none; margin: 0; padding: 0;
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none;
}
.slides::-webkit-scrollbar { display: none; }
.slides:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.slide { flex: 0 0 100%; scroll-snap-align: center; position: relative; aspect-ratio: 3 / 2; margin: 0; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide-cap {
  position: absolute; left: 0; bottom: 0; margin: 0; max-width: none;
  padding: 10px 16px; background: rgba(27, 33, 82, 0.85); color: var(--white);
  font-family: var(--display); font-weight: 700; font-size: 0.95rem;
  border-top-right-radius: 4px;
}
.slide-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--gold); color: var(--ink); font-size: 2rem; line-height: 1; padding-bottom: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.slide-btn:hover { background: var(--gold-soft); }
.slide-prev { left: 12px; }
.slide-next { right: 12px; }
.slide-dots { position: absolute; right: 14px; bottom: 12px; display: flex; gap: 6px; }
.slide-dots button { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--white); background: transparent; padding: 0; cursor: pointer; }
.slide-dots button[aria-current="true"] { background: var(--gold); border-color: var(--gold); }
@media (max-width: 640px) {
  .slide-btn { width: 38px; height: 38px; font-size: 1.6rem; }
  .slide-dots { display: none; }
  .slide-cap { font-size: 0.85rem; padding: 8px 12px; }
}

/* ===== Appearance round 2 ===== */

/* Header: crest, name and nav on one line, nav right after the name */
.site-header .wrap { justify-content: flex-start; gap: 10px 36px; flex-wrap: nowrap; }
.brand { flex: none; }
.nav { flex: 1; flex-wrap: nowrap; gap: 4px 18px; }
.nav a { font-size: 0.92rem; }
.nav .give { margin-left: auto; }
@media (max-width: 1240px) {
  .nav { gap: 4px 13px; }
  .nav a { font-size: 0.86rem; }
  .site-header .wrap { gap: 10px 24px; }
}
@media (max-width: 1080px) {
  .site-header .wrap { flex-wrap: wrap; justify-content: space-between; }
  .nav { flex-wrap: wrap; flex: none; }
  .nav .give { margin-left: 0; }
}

/* Cards replace the full-color quad panes: white, readable, with a colored top rule */
.quad { background: none; padding: 0; gap: 20px; }
.pane,
.pane--gold,
.pane--deep {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-top: 5px solid var(--blue);
  border-radius: 0 0 6px 6px;
  padding: 24px 26px;
  min-height: 0;
  justify-content: flex-start;
  box-shadow: 0 1px 2px rgba(21, 25, 53, 0.05);
}
.pane--gold { border-top-color: var(--gold); }
.pane--deep { border-top-color: var(--blue-deep); }
.pane p, .pane--gold p, .pane li, .pane--gold li { color: var(--muted); }
.pane h2, .pane h3 { color: var(--blue); }
.pane a { color: var(--blue); }
.pane a:hover { color: var(--blue-deep); }
.section--ice .pane { box-shadow: none; }
.doors .door { color: var(--ink); }
.doors .door:hover { border-color: var(--blue); }
.doors .door .when,
.doors .pane--gold .when,
.projects .when,
.projects .pane--gold .when { color: var(--muted); }
.doors .door h2 { color: var(--blue); }
.pane .progress, .pane--gold .progress { background: var(--line); }
.pane .progress span, .pane--gold .progress span { background: var(--gold); }
.pane .progress-label { color: var(--muted); }
.projects .pane { min-height: 0; }
.projects h3 { margin-top: 14px; }
.benefits ul { padding-left: 1.1em; }

/* Videos: full width of the content column */
.video { max-width: 1000px; margin-inline: auto; }

/* History: the article and the timeline in one */
.chronicle { list-style: none; margin: 0; padding: 0; position: relative; }
.chronicle::before {
  content: ""; position: absolute; left: 118px; top: 8px; bottom: 8px;
  width: 3px; background: var(--gold);
}
.chronicle > li {
  display: grid; grid-template-columns: 100px 1fr; gap: 0 46px;
  padding-bottom: 44px; position: relative;
}
.chronicle > li::before {
  content: ""; position: absolute; left: 111px; top: 8px;
  width: 17px; height: 17px; background: var(--blue); border: 3px solid var(--gold); box-sizing: border-box;
}
.chron-year {
  margin: 0; text-align: right;
  font-family: var(--display); font-weight: 800; font-size: var(--step-1); line-height: 1.2; color: var(--blue);
}
.chron-body { max-width: 820px; }
.chron-body::after { content: ""; display: block; clear: both; }
.chron-body h3 { color: var(--blue); margin-top: 0; }
.chron-body p { max-width: none; }
.chron-fig { float: right; width: min(42%, 340px); margin: 4px 0 14px 26px; }
.chron-fig img { width: 100%; height: auto; border: 4px solid var(--white); box-shadow: 0 2px 10px rgba(21,25,53,.15); filter: sepia(.15); }
.chron-fig figcaption { font-size: 0.86rem; color: var(--muted); margin-top: 6px; line-height: 1.4; }
.chron-fig + p + .chron-fig, .chron-body p + .chron-fig { clear: right; }
@media (max-width: 760px) {
  .chronicle::before { left: 7px; }
  .chronicle > li { grid-template-columns: 1fr; padding-left: 34px; padding-bottom: 34px; }
  .chronicle > li::before { left: 0; top: 4px; }
  .chron-year { text-align: left; margin-bottom: 4px; }
  .chron-fig { float: none; width: 100%; margin: 6px 0 14px; }
}

/* Page intro text runs the full width of the page */
.page-head h1, .page-head p, .page-head .page-lede { max-width: none; }

/* Section intro text runs the full width of the page */
.section-head { max-width: none; }
.section-head p, .note { max-width: none; }

/* Page header that flows straight into the first section, with no divider */
.page-head--flow { border-bottom: 0; background: var(--ice); }
.page-head--flow .wrap { padding-bottom: 12px; }
.section--flow { padding-top: 24px; background: linear-gradient(180deg, var(--ice), var(--white) 220px); }

/* ---------- Reunions events ---------- */
.event { margin-bottom: 36px; }
.event--dinner, .event--photo {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start;
  padding-bottom: 36px; border-bottom: 1px solid var(--line);
}
.event h3 { color: var(--blue); font-size: var(--step-1); margin-bottom: 0.4em; }
.event-when { font-family: var(--display); font-weight: 700; font-size: 0.8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.event-times { list-style: none; padding: 0; margin: 0; }
.event-times li { padding: 8px 0; border-top: 1px solid var(--line); }
.event-times strong { display: inline-block; min-width: 8.5rem; color: var(--blue); }
.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.event-grid .event { margin: 0; }
.event-menu { font-size: 0.95rem; color: var(--muted); }
.event-menu span { display: block; font-family: var(--display); font-weight: 700; font-size: 0.78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 2px; }

/* The dinner menu, set like a printed menu card */
.menu-card {
  background: var(--white);
  border: 1px solid var(--line);
  outline: 2px solid var(--gold);
  outline-offset: -12px;
  padding: 40px 36px 34px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(21, 25, 53, 0.08);
}
.menu-crest { width: 56px; height: auto; margin: 0 auto 8px; }
.menu-kicker { font-family: var(--display); font-weight: 700; font-size: 0.75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 auto; }
.menu-title { font-size: var(--step-2) !important; color: var(--blue); margin: 4px 0 18px; }
.menu-course { padding: 16px 0; border-top: 1px solid var(--line); }
.menu-course p { margin-left: auto; margin-right: auto; }
.menu-label { font-family: var(--display); font-weight: 700; font-size: 0.75rem; letter-spacing: .14em; text-transform: uppercase; color: #b38f00; margin: 0 auto 8px; }
.menu-dish { font-family: var(--display); font-weight: 700; font-size: 1.12rem; color: var(--ink); margin: 0 auto 2px; }
.menu-desc { font-style: italic; color: var(--muted); font-size: 0.95rem; line-height: 1.45; margin: 0 auto; max-width: 34ch; }
.menu-or { font-family: var(--display); font-size: 0.8rem; color: var(--gold); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin: 10px auto; }
.menu-note { font-size: 0.85rem; color: var(--muted); margin: 10px auto 0; max-width: 34ch; }

@media (max-width: 860px) {
  .event--dinner, .event--photo, .event-grid { grid-template-columns: 1fr; }
  .menu-card { padding: 32px 22px 26px; }
}
.site-footer .fine { text-align: center; }
.dinner-photos { grid-template-columns: 1fr 1fr; margin-top: 26px; }
.dinner-photos figure:first-child { grid-column: 1 / -1; }
.cta-row--center{justify-content:center}
.path--wide{grid-column:span 2}
.paths--two{grid-template-columns:1fr 1fr}
.path.bank dl{margin-top:16px}
@media (max-width:860px){.path--wide{grid-column:auto}.paths--two{grid-template-columns:1fr}}
.campaign-video{margin:0;display:flex;justify-content:center}
.campaign-video video{width:100%;max-width:360px;height:auto;border-radius:8px;background:#000;box-shadow:0 10px 30px rgba(20,24,60,.18)}
.projects .cost{margin:12px 0 0;font-size:.95rem;color:var(--muted)}
.projects .cost strong{color:var(--blue);font-size:1.15rem;margin-left:4px}
.paths.dues{grid-template-columns:repeat(4,1fr)}
.dues-fee{font-family:var(--display);font-weight:800;font-size:1.8rem;color:var(--blue)!important;margin:4px 0 8px}
.dues-fee span{font-size:.9rem;font-weight:600;color:var(--muted)}
@media (max-width:1000px){.paths.dues{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.paths.dues{grid-template-columns:1fr}}
.path p.dues-fee{font-size:1.8rem;line-height:1.1}
.paths.dues .path{border-color:var(--blue)}
.slide--video{background:#000}
.slide--video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.slide--contain{background:var(--ink)}
.slide--contain img{object-fit:contain}
.door-raised{margin:16px 0 8px;color:var(--muted)}.door-raised strong{font-family:var(--display);font-size:1.6rem;color:var(--blue);margin-right:4px}
.cta-row--center{max-width:none;margin-inline:0}
.form-status{margin:12px 0 0;font-weight:600;color:var(--blue)}.form-status:empty{display:none}
