/* RCSA site styles: "Campanile Grid"
   Warm paper, hairline grid, pixel-mosaic skies, mono labels. */

:root {
  --paper: #f7f5f0;
  --paper-2: #efece4;
  --ink: #0e1a26;
  --ink-2: #4a5663;
  --line: #dcd7cc;
  --berkeley: #003262;
  --navy: #0b2239;
  --founders: #3b7ea1;
  --sky: #84a4c0;        /* the cover art's sky */
  --sandstone: #e2cdbb;  /* the tower's granite */
  --gold: #fdb515;
  --sans: "Inter", system-ui, sans-serif;
  --display: "Inter Tight", "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --gutter: clamp(20px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -0.035em; margin: 0; }
.muted { color: var(--ink-2); opacity: 0.75; }

/* ---------- Labels, ticks, pixel arrow ---------- */
.section-label, .eyebrow, .coord, .cell-meta, .stat-label, .role {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.section-label { margin: 0 0 20px; color: var(--ink-2); }
.section-label.on-dark { color: rgba(255,255,255,0.6); }

.tick { position: absolute; width: 7px; height: 7px; background: var(--ink); z-index: 3; }
.tick.tl { top: -4px; left: -4px; }
.tick.tr { top: -4px; right: -4px; }
.tick.bl { bottom: -4px; left: -4px; }
.tick.br { bottom: -4px; right: -4px; }

/* 3x5 pixel chevron, echoing the pixel fields */
.px-arrow {
  display: inline-block;
  width: 9px; height: 15px;
  margin-left: 10px;
  vertical-align: -2px;
  background:
    linear-gradient(currentColor 0 0) 0 0 / 3px 3px,
    linear-gradient(currentColor 0 0) 3px 3px / 3px 3px,
    linear-gradient(currentColor 0 0) 6px 6px / 3px 3px,
    linear-gradient(currentColor 0 0) 3px 9px / 3px 3px,
    linear-gradient(currentColor 0 0) 0 12px / 3px 3px;
  background-repeat: no-repeat;
  transition: transform 0.25s ease;
}
a:hover .px-arrow { transform: translateX(4px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center;
  height: 48px; padding: 0 22px;
  font: 500 15px/1 var(--sans);
  text-decoration: none;
  border: 1px solid var(--ink);
  border-radius: 0;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--berkeley); border-color: var(--berkeley); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-gold { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn-gold:hover { background: #fff; border-color: #fff; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: stretch;
  height: 56px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  padding: 0 20px;
  border-right: 1px solid var(--line);
  font: 600 16px var(--display); letter-spacing: 0.02em;
  text-decoration: none;
}
.nav-links { display: flex; }
.nav-links a {
  display: flex; align-items: center;
  padding: 0 18px;
  border-right: 1px solid var(--line);
  font-size: 15px; text-decoration: none; color: var(--ink);
  transition: background 0.15s ease;
}
.nav-links a:hover { background: var(--paper-2); }
.nav-links a[aria-current="page"] { background: var(--paper-2); box-shadow: inset 0 -3px 0 var(--gold); }
.nav-dropdown { position: relative; display: flex; }
.nav-dropdown-toggle {
  display: flex; align-items: center; gap: 8px;
  padding: 0 18px;
  background: transparent; border: 0; border-right: 1px solid var(--line);
  font: 15px var(--sans); color: var(--ink); cursor: pointer;
}
.nav-dropdown-toggle:hover, .nav-dropdown.open .nav-dropdown-toggle { background: var(--paper-2); }
.caret { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 0.2s ease; }
.nav-dropdown.open .caret { transform: translateY(2px) rotate(-135deg); }
.nav-dropdown-menu {
  display: none;
  position: absolute; top: 100%; left: -1px; min-width: 200px;
  background: var(--paper);
  border: 1px solid var(--ink);
}
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block; padding: 14px 18px;
  border-top: 1px solid var(--line);
  font-size: 15px; text-decoration: none;
}
.nav-dropdown-menu a:first-child { border-top: 0; }
.nav-dropdown-menu a:hover { background: var(--paper-2); }
.nav-cta {
  margin-left: auto;
  display: flex; align-items: center;
  padding: 0 22px;
  background: var(--ink); color: var(--paper);
  font-size: 15px; font-weight: 500; text-decoration: none;
}
.nav-cta:hover { background: var(--berkeley); }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  min-height: calc(100vh - 56px);
  border-bottom: 1px solid var(--line);
}
.hero-copy {
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(40px, 7vh, 88px) var(--gutter) 48px;
  border-right: 1px solid var(--line);
}
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--ink-2); }
.eyebrow .dot { width: 8px; height: 8px; background: var(--gold); }
.hero h1 {
  font-size: clamp(44px, 6.4vw, 96px);
  line-height: 0.98;
  margin: 48px 0;
  max-width: 11ch;
}
.lede { font-size: 20px; line-height: 1.45; max-width: 30ch; margin: 0 0 28px; color: var(--ink); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-social { display: flex; gap: 22px; margin-top: 36px; }
.hero-social a {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px;
}
.hero-social a:hover { color: var(--ink); border-color: var(--ink); }

.hero-art {
  position: relative;
  margin: 28px;
  border: 1px solid var(--ink);
  background: var(--paper);
}
.hero-art-clip { position: absolute; inset: 0; overflow: hidden; }
.hero-sky { position: absolute; inset: 0; width: 100%; height: 100%; }
.campanile {
  position: absolute;
  bottom: 0; left: 50%;
  height: 92%;
  width: auto;
  transform: translateX(-50%);
  z-index: 2;
  filter: drop-shadow(0 12px 28px rgba(11,34,57,0.22));
}
.coord {
  position: absolute; z-index: 3;
  padding: 4px 6px;
  background: var(--paper);
  color: var(--ink);
  font-size: 11px;
}
.coord-a { top: 18px; left: 18px; }
.coord-b { top: 18px; right: 18px; }
.coord-c { bottom: 18px; left: 18px; background: var(--ink); color: var(--paper); }

/* ---------- About ---------- */
.about {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: var(--gutter);
  padding: clamp(72px, 12vh, 140px) var(--gutter);
}
.statement {
  font-family: var(--display);
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 32px;
  max-width: 34ch;
}
.statement a { text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.about-note { max-width: 52ch; color: var(--ink-2); margin: 0; }

/* ---------- Pixel edges: a band's colour dissolving into paper ---------- */
.pixel-edge { display: block; width: 100%; height: 140px; margin-bottom: -1px; }  /* overlaps the band below by a pixel so no seam can show */
.pixel-edge.skyline-edge { height: 266px; margin-top: clamp(40px, 8vh, 96px); }

/* ---------- Stats ---------- */
.stats { position: relative; background: var(--navy); color: #fff; }
.stats-grid {
  position: relative;
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.stat { padding: 48px var(--gutter) 72px; border-right: 1px solid rgba(255,255,255,0.14); }
.stat:last-child { border-right: 0; }
.stat-num {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(44px, 5vw, 76px); letter-spacing: -0.04em; line-height: 1;
  margin: 0 0 16px;
}
.stat-label { color: rgba(255,255,255,0.6); margin: 0; }

/* ---------- Section heads ---------- */
.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr 1.2fr;
  gap: var(--gutter);
  align-items: end;
  padding: clamp(72px, 12vh, 140px) var(--gutter) 48px;
}
.section-head .section-label { align-self: start; margin: 0; }
.section-head h2 { font-size: clamp(36px, 4.4vw, 64px); line-height: 1.02; }
.section-aside { margin: 0; color: var(--ink-2); font-size: 15px; }

/* ---------- Committees ---------- */
.grid-8 {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.cell {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start;
  min-height: 300px;
  padding: 24px;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  font: inherit; color: inherit;
  cursor: pointer;
  transition: background 0.2s ease;
}
.cell:nth-child(4n) { border-right: 0; }
.cell:hover { background: #fff; }
.cell:hover .cell-more { color: var(--berkeley); }
.cell::after {                /* gold pixel that appears on hover */
  content: ""; position: absolute; top: 0; right: 0;
  width: 12px; height: 12px; background: var(--gold);
  transform: scale(0); transform-origin: top right; transition: transform 0.2s ease;
}
.cell:hover::after { transform: scale(1); }
.cell-meta { display: flex; justify-content: space-between; width: 100%; color: var(--ink-2); }
.cell-icon { width: 40px; height: 40px; margin: 44px 0 20px; object-fit: contain; }
.cell-title { font: 500 24px/1.1 var(--display); letter-spacing: -0.02em; margin-bottom: 10px; }
.cell-desc { font-size: 14px; color: var(--ink-2); margin-bottom: 20px; }
.cell-more { margin-top: auto; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; }

dialog {
  width: min(640px, calc(100vw - 32px));
  padding: 40px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
}
dialog::backdrop { background: rgba(11,34,57,0.55); backdrop-filter: blur(3px); }
dialog h3 { font-size: 36px; margin-bottom: 20px; }
dialog p:not(.section-label) { color: var(--ink-2); margin: 0 0 28px; }

/* ---------- Coffee chats ---------- */
.chats {
  display: grid; grid-template-columns: 1.1fr 1fr;
  background: var(--berkeley); color: #fff;
}
.chats-edge { margin-top: clamp(72px, 12vh, 140px); }
.chats-copy { padding: clamp(56px, 9vh, 104px) var(--gutter); }
.chats-copy h2 { font-size: clamp(36px, 4.4vw, 64px); line-height: 1.02; margin-bottom: 40px; }
.chats-copy .muted { color: var(--sky); opacity: 1; }
.chats-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.chats-grid img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  mix-blend-mode: luminosity;
  transition: filter 0.3s ease, mix-blend-mode 0.3s ease;
}
.chats-grid img:hover { filter: none; mix-blend-mode: normal; }

/* ---------- Events ---------- */
.frame {
  position: relative;
  margin: 0 var(--gutter);
  border: 1px solid var(--ink);
  background: #fff;
}
.frame iframe { display: block; width: 100%; height: 640px; border: 0; }
.frame .calendar-agenda { display: none; }

/* ---------- Exec ---------- */
.exec-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.person { margin: 0; border-right: 1px solid var(--line); }
.person:last-child { border-right: 0; }
.person img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  filter: grayscale(1);
  transition: filter 0.3s ease;
}
.person:hover img { filter: none; }
.person figcaption { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px 24px; }
.person .role { color: var(--founders); font-size: 11px; }
.person .name { font: 500 20px/1.2 var(--display); letter-spacing: -0.02em; }
.person .major { font-size: 13px; color: var(--ink-2); }

/* ---------- Footer ---------- */
.footer {
  position: relative;
  background: var(--navy); color: #fff;
  padding-top: 72px;
  overflow: hidden;
}
.footer-inner { position: relative; padding: 0 var(--gutter); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); padding-bottom: 48px; }
.footer-cols a { display: block; color: rgba(255,255,255,0.85); text-decoration: none; margin-bottom: 8px; font-size: 15px; }
.footer-cols a:hover { color: var(--gold); }
.footer-legal {
  display: flex; gap: 32px; align-items: center; justify-content: space-between;
  padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.14);
  font-size: 12px; color: rgba(255,255,255,0.5);
}
.wordmark {
  margin: 0 0 -0.2em;
  padding: 0 var(--gutter);
  font: 600 clamp(120px, 30vw, 460px)/0.8 var(--display);
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.18);
  user-select: none;
}

/* ---------- Coffee chats extras ---------- */
.chats-note { color: rgba(255,255,255,0.72); max-width: 42ch; margin: -16px 0 32px; }

/* ---------- Footer CTA ---------- */
.footer-cta {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap;
  padding-bottom: 56px; margin-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.footer-cta h2 { font-size: clamp(36px, 4.4vw, 64px); line-height: 1.02; }
.footer-cta .muted { color: var(--sky); opacity: 1; }

/* ---------- Mobile nav ---------- */
.nav-toggle {
  display: none;
  width: 56px; border: 0; border-left: 1px solid var(--line);
  background: transparent; cursor: pointer; position: relative;
}
.nav-toggle span { position: absolute; left: 18px; width: 20px; height: 2px; background: var(--ink); transition: transform 0.2s ease; }
.nav-toggle span:first-child { top: 23px; }
.nav-toggle span:last-child { top: 31px; }
.nav.open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Coffee chats page ---------- */
.page-head { position: relative; padding: clamp(56px, 10vh, 112px) var(--gutter) 0; }
.page-head h1 { font-size: clamp(48px, 7vw, 112px); line-height: 0.95; margin: 24px 0 28px; }
.page-head .lede { max-width: 40ch; }
.page-head-edge { width: calc(100% + 2 * var(--gutter)); margin: 56px calc(-1 * var(--gutter)) -1px; }

.filters { display: flex; flex-wrap: wrap; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.filter {
  height: 52px; padding: 0 22px;
  font: 500 12px var(--mono); letter-spacing: 0.08em; text-transform: uppercase;
  background: transparent; color: var(--ink-2);
  border: 0; border-right: 1px solid var(--line); cursor: pointer;
}
.filter:hover { background: var(--paper-2); color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.filter .count { opacity: 0.55; margin-left: 6px; }

.member-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.member {
  display: flex; flex-direction: column;
  margin: 0;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.member:nth-child(4n) { border-right: 0; }
.member[hidden] { display: none; }
.member-photo { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--paper-2); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter 0.3s ease, transform 0.5s ease; }
.member:hover .member-photo img { filter: none; transform: scale(1.03); }
.member-initials {
  display: grid; place-items: center; width: 100%; height: 100%;
  font: 500 64px var(--display); letter-spacing: -0.04em; color: #fff;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.12) 2px, transparent 2px) 0 0 / 14px 14px,
    linear-gradient(rgba(255,255,255,0.12) 2px, transparent 2px) 0 0 / 14px 14px,
    var(--founders);
}
.member-tag {
  position: absolute; top: 14px; left: 14px;
  padding: 4px 6px; background: var(--paper);
  font: 500 11px var(--mono); letter-spacing: 0.08em; text-transform: uppercase;
}
.member-body { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px 20px; flex: 1; }
.member-body .role { color: var(--founders); font-size: 11px; }
.member-body .name { font: 500 22px/1.15 var(--display); letter-spacing: -0.02em; }
.member-body .major { font-size: 14px; color: var(--ink-2); }
.member-book {
  display: flex; align-items: stretch; justify-content: space-between;
  border-top: 1px solid var(--line);
  text-decoration: none; font-size: 15px; font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}
.member-book > span:first-child { padding: 16px 20px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.member-book .book-ico { display: grid; place-items: center; width: 52px; border-left: 1px solid var(--line); flex: none; }
.member-book .px-arrow { margin: 0; }
.member-book:hover { background: var(--ink); color: var(--paper); }
.member-book:hover .book-ico { border-color: rgba(255,255,255,0.2); }
.member-book.is-email > span:first-child { font-family: var(--mono); font-size: 13px; }

.chat-steps { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--navy); color: #fff; }
.chat-step { padding: 32px var(--gutter) 48px 24px; border-right: 1px solid rgba(255,255,255,0.14); }
.chat-step:first-child { padding-left: var(--gutter); }
.chat-step:last-child { border-right: 0; }
.chat-step .num { font-family: var(--mono); font-size: 12px; color: var(--gold); letter-spacing: 0.08em; }
.chat-step h3 { font-size: 22px; letter-spacing: -0.02em; margin: 10px 0 6px; }
.chat-step p { margin: 0; color: rgba(255,255,255,0.68); font-size: 15px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-links a:nth-child(5) { display: none; }  /* Exec Board: still in the footer */
  .grid-8 { grid-template-columns: repeat(2, 1fr); }
  .cell:nth-child(4n) { border-right: 1px solid var(--line); }
  .cell:nth-child(2n) { border-right: 0; }
  .member-grid { grid-template-columns: repeat(3, 1fr); }
  .member:nth-child(4n) { border-right: 1px solid var(--line); }
  .member:nth-child(3n) { border-right: 0; }
  .section-head { grid-template-columns: 1fr; gap: 16px; }
}

/* Nav collapses into a menu */
@media (max-width: 960px) {
  .nav-links {
    display: none;
    position: absolute; top: 56px; left: 0; right: 0;
    flex-direction: column;
    max-height: calc(100vh - 56px); overflow-y: auto;
    background: var(--paper);
    border-bottom: 1px solid var(--ink);
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a, .nav-links a:nth-child(5) { display: flex; height: 56px; border-right: 0; border-top: 1px solid var(--line); padding: 0 var(--gutter); font-size: 18px; }
  .nav-links a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--gold); }
  .nav-toggle { display: block; }
  .nav-dropdown { display: block; }
  .nav-dropdown-toggle { display: none; }
  .nav-dropdown-menu { display: block; position: static; border: 0; min-width: 0; }
  .nav-dropdown-menu a { height: 56px; display: flex; align-items: center; padding: 0 var(--gutter); font-size: 18px; border-top: 1px solid var(--line); }
  .nav-dropdown-menu a:first-child { border-top: 1px solid var(--line); }
  .nav-cta { margin-left: auto; }
}

@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { border-right: 0; padding-bottom: 40px; }
  .hero h1 { margin: 32px 0; }
  .hero-art { height: min(72vh, 620px); margin: 0 var(--gutter) 32px; }
  .about { grid-template-columns: 1fr; gap: 0; }
  .chats { grid-template-columns: 1fr; }
  .member-grid { grid-template-columns: repeat(2, 1fr); }
  .member:nth-child(3n) { border-right: 1px solid var(--line); }
  .member:nth-child(2n) { border-right: 0; }
  .chat-steps { grid-template-columns: 1fr; }
  .chat-step { border-right: 0; border-top: 1px solid rgba(255,255,255,0.14); padding: 24px var(--gutter) 28px; }
  .chat-step:first-child { border-top: 0; }
  .frame { margin: 0 var(--gutter); }
  .frame .calendar-month { display: none; }
  .frame .calendar-agenda { display: block; height: 520px; }
  /* Exec board becomes a swipeable row */
  .exec-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .exec-grid::-webkit-scrollbar { display: none; }
  .person { flex: 0 0 44%; scroll-snap-align: start; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-legal { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 560px) {
  .nav-cta { padding: 0 16px; font-size: 14px; }
  .nav-brand { padding: 0 14px; }
  .nav-brand span { display: none; }
  .hero-art { height: 520px; }
  .lede { font-size: 18px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-top: 1px solid rgba(255,255,255,0.14); padding: 28px var(--gutter) 32px; }
  .stat:first-child { border-top: 0; }
  .grid-8 { grid-template-columns: 1fr; }
  .cell { min-height: 0; border-right: 0 !important; padding: 20px var(--gutter); }
  .cell-icon { margin: 20px 0 14px; }
  .chats-grid { grid-template-columns: repeat(3, 1fr); }
  .person { flex-basis: 76%; }
  .footer { padding-top: 56px; }
  .pixel-edge.skyline-edge { height: 210px; }
  .footer-cols { grid-template-columns: 1fr; gap: 24px; }
  .footer-cta .btn { width: 100%; justify-content: space-between; }
  dialog { padding: 28px 24px; }
  dialog h3 { font-size: 28px; }
  /* Coffee chats page */
  .page-head-edge { margin-top: 40px; }
  .pixel-edge { height: 98px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; white-space: nowrap; }
  .member-grid { grid-template-columns: 1fr; }
  .member { display: grid; grid-template-columns: 128px 1fr; border-right: 0 !important; }
  .member-photo { aspect-ratio: auto; min-height: 128px; }
  .member-tag { top: 8px; left: 8px; font-size: 10px; padding: 3px 5px; }
  .member-initials { font-size: 40px; }
  .member-body { padding: 14px 16px; justify-content: center; }
  .member-body .name { font-size: 20px; }
  .member-body .major { font-size: 13px; }
  .member-book { grid-column: 1 / -1; }
}
