@font-face {
  font-family: Bricolage;
  src: url("member-heading.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("member-body.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #0a2145;
  --muted: #495875;
  --red: #ba1d2b;
  --blue: #174792;
  --purple: #174792;
  --line: #dde5ee;
  --washed: #f2f6fb;
  --cobalt: #174792;
  --gold: #f5be32;
  --body: "DM Sans", system-ui, sans-serif;
  --title: Bricolage, "DM Sans", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: white;
  font: 400 1rem/1.55 var(--body);
}
[hidden] { display: none !important; }
a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled, select:disabled, input:disabled { cursor: not-allowed; opacity: .6; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; }
img { display: block; max-width: 100%; }
svg:not(.symbols) {
  width: 1.2em;
  height: 1.2em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.shell { width: min(calc(100% - 72px), 1200px); margin-inline: auto; }
.skip {
  position: absolute;
  z-index: 10;
  top: 8px;
  left: 12px;
  background: white;
  padding: .65rem 1rem;
  transform: translateY(-150%);
}
.skip:focus { transform: none; }
.university-bar { background: var(--ink); color: #f3f6ff; }
.university-inner { display: flex; justify-content: space-between; align-items: center; gap: .75rem; min-height: 36px; font-size: .75rem; }
.university-inner a { display: inline-flex; align-items: center; gap: .38rem; font-weight: 700; text-decoration: none; }
.university-inner a:hover { text-decoration: underline; }
.university-inner span { color: #e5e9f2; font-weight: 600; text-align: right; }
.topbar { background: white; border-bottom: 1px solid var(--line); position: relative; z-index: 2; }
.top-inner { display: flex; align-items: center; gap: 1.25rem; justify-content: space-between; min-height: 79px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; white-space: nowrap; font: 800 1.35rem/1 var(--title); letter-spacing: -.055em; }
.brand b { color: var(--red); font-weight: 800; }
.brand img { width: 48px; height: auto; transition: transform .25s ease; }
.brand:hover img { transform: rotate(-5deg); }
.public-nav, .top-actions { display: flex; align-items: center; }
.public-nav { gap: clamp(1rem, 3.25vw, 2.75rem); }
.public-nav a { text-decoration: none; color: var(--muted); font-weight: 700; font-size: .93rem; }
.public-nav a:hover { color: var(--red); }
.top-actions { gap: 1rem; }
.language { display: flex; padding: 3px; border-radius: 99px; border: 1px solid var(--line); background: var(--washed); }
.language button {
  min-width: 34px;
  min-height: 32px;
  padding: 0 .35rem;
  border-radius: 99px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  font-size: .74rem;
}
.language button[aria-pressed="true"] { background: white; color: var(--red); box-shadow: 0 1px 4px #10244919; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .62rem;
  min-height: 47px;
  border: 1px solid transparent;
  border-radius: 11px;
  padding: .65rem 1rem;
  text-decoration: none;
  font-weight: 700;
  font-size: .92rem;
  line-height: 1.25;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.button:hover:not(:disabled) { transform: translateY(-2px); }
.button:active:not(:disabled) { transform: translateY(1px); }
.button-dark { color: white; background: var(--ink); }
.button-dark:hover { background: #164481; }
.button-primary { color: white; background: var(--blue); box-shadow: 0 7px 16px #16448124; }
.button-primary:hover { background: #103671; box-shadow: 0 9px 19px #16448140; }
.button-white { background: white; border-color: var(--line); color: var(--ink); }
.button-white:hover { background: #f0f5fb; }
.button-subtle { color: var(--blue); background: #eaf1f9; }
.top-login { min-height: 42px; }

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(107deg, var(--ink) 0%, #11366b 46%, #184c96 100%);
  color: white;
  isolation: isolate;
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: clamp(20rem, 66vw, 74rem);
  aspect-ratio: 1;
  pointer-events: none;
}
.hero::before {
  inset: 8% auto auto -24%;
  border: 1px solid #a6c7fa2b;
  outline: 1px solid #a6c7fa20;
  outline-offset: 35px;
  transform: rotate(38deg);
  animation: drift 11s ease-in-out infinite alternate;
}
.hero::after {
  right: -30%;
  bottom: -97%;
  border: 72px solid #79a5f018;
  border-radius: 50%;
}
.hero-grid { display: grid; grid-template-columns: .89fr 1.11fr; align-items: stretch; gap: 0; min-height: 540px; }
.hero-copy { padding: clamp(3.55rem, 6.4vw, 6rem) clamp(1.5rem, 5vw, 4rem) 3.5rem 0; align-self: center; animation: rise .5s ease-out both; }
.hero-label, .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--gold);
  font-size: .73rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .12em;
  margin: 0 0 1.15rem;
}
.hero-label::before { content: ""; width: 23px; height: 3px; background: #f8565b; display: block; }
.eyebrow { color: var(--blue); }
.live-dot { display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--title); }
h1, h2 { font-weight: 800; letter-spacing: -.055em; }
h3 { font-weight: 750; letter-spacing: -.025em; }
.hero h1 { font-size: clamp(3rem, 6vw, 5.65rem); line-height: .91; }
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em { color: var(--gold); margin-top: .08em; font-weight: inherit; font-style: normal; }
.hero-lead { max-width: 34ch; color: #eef4ff; margin-block: 1.35rem 1.55rem; font-size: clamp(1rem, 1.65vw, 1.15rem); }
.hero-actions, .card-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.hero-actions .button { min-height: 51px; padding-inline: 1.04rem; }
.hero-signup { margin-top: .95rem; color: #d5e5ff; font-size: .92rem; }
.hero-signup a { color: #ffe285; font-weight: 700; text-underline-offset: .2em; }
.button-gold { background: var(--gold); color: var(--ink); }
.button-gold:hover { background: #ffcb46; }
.button-outline { border-color: #bbd0f0a8; color: white; background: #0a214550; }
.button-outline:hover { background: #5077b3; }
.hero-note { margin-top: .85rem; font-size: .85rem; color: #d5e5ff; }
.hero-image, .dining-figure { margin: 0; position: relative; isolation: isolate; overflow: hidden; }
.hero-image {
  background: #2e5995;
  border-left: 5px solid #f5be32;
  box-shadow: -11px 0 0 #d81e2b;
}
.hero-image img, .dining-figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.hero-image img { position: absolute; object-position: center; animation: campus-reveal 4.5s ease-out both; }
.hero-image:hover img, .dining-figure:hover img { transform: scale(1.035); }
.hero-image figcaption, .dining-figure figcaption {
  position: absolute;
  right: .7rem;
  bottom: .65rem;
  background: #0a2145dc;
  color: white;
  padding: .24rem .52rem;
  font-size: .68rem;
}
@keyframes rise { from { opacity: .5; transform: translateY(13px); } to { opacity: 1; transform: none; } }
@keyframes campus-reveal { from { opacity: .7; scale: 1.07; } to { opacity: 1; scale: 1; } }
@keyframes dining-reveal { from { scale: 1.06; } to { scale: 1; } }
@keyframes drift { from { transform: translateX(0) rotate(38deg); } to { transform: translateX(9%) rotate(44deg); } }
.section { padding-block: clamp(3.25rem, 6vw, 5.4rem); }
.section-heading { margin-bottom: 1.7rem; }
.section-heading h2 { font-size: clamp(2.2rem, 4.1vw, 3.5rem); line-height: 1.08; }
.section-heading p { color: var(--muted); margin-top: .55rem; }
.how { display: grid; grid-template-columns: .85fr 1fr; gap: clamp(2.2rem, 6vw, 6rem); align-items: center; }
.dining-figure { aspect-ratio: 1.26; background: #dfe9f8; border-bottom: 5px solid var(--gold); box-shadow: 0 8px 0 #e6edf6; }
.dining-figure img { animation: dining-reveal 4.5s ease-out both; }
.instructions .section-heading { margin-bottom: 1.1rem; }
.steps { display: grid; }
.step { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: .85rem; padding: .86rem 0; border-top: 1px solid var(--line); }
.step-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 8px; color: var(--blue); background: #e9f1ff; }
.step-icon svg { width: 23px; height: 23px; }
.step:nth-child(2) .step-icon { color: #9e2330; background: #faedf0; }
.step:nth-child(3) .step-icon { color: #705109; background: #fff2c6; }
.step h3 { font-size: 1.18rem; }
.step p { margin-top: .18rem; color: var(--muted); font-size: .94rem; }
.catalog-section { background: var(--washed); border-top: 1px solid var(--line); }
.catalog-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.location { padding: clamp(1.15rem, 2.4vw, 1.7rem); border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: 7px; background: white; transition: transform .22s ease, box-shadow .22s ease; }
.location:hover { transform: translateY(-4px); box-shadow: 0 12px 30px #12295016; }
.catalog-heading { display: flex; justify-content: space-between; align-items: end; gap: 1rem; }
.catalog-heading .catalog-summary { color: var(--blue); font-size: .87rem; font-weight: 700; }
.search-label, .field { display: grid; gap: .35rem; font-weight: 700; font-size: .87rem; }
.search-label input, .field input, .field select {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  border: 1px solid #c5d1e0;
  border-radius: 10px;
  background: white;
  color: var(--ink);
  padding: .55rem .75rem;
}
.location { display: flex; flex-direction: column; }
.location .city { color: var(--purple); font-weight: 700; font-size: .8rem; }
.location h3 { font-size: 1.35rem; line-height: 1.12; margin: .2rem 0 .9rem; }
.location-list { margin: 0; padding: 0; list-style: none; }
.location-item { padding-block: .68rem; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.location-item p { font-size: .84rem; color: var(--muted); margin-block: .2rem .35rem; }
.location-empty { color: var(--muted); font-size: .9rem; }
.source-link { color: var(--blue); font-weight: 700; font-size: .8rem; align-self: start; text-underline-offset: .18em; margin-top: auto; padding-top: .5rem; }
.status-pill { display: inline-block; border-radius: 99px; padding: .19rem .54rem; background: #edf3fb; color: #4a5e7b; font-size: .72rem; font-weight: 700; }
.status-pill.positive { background: #e8f7ee; color: #19603c; }
.status-pill.warning { background: #fff1dd; color: #805117; }
.status-pill.negative { background: #faedf0; color: #992642; }
.status-text { color: var(--muted); margin-block: .75rem; }
.account {
  min-height: 76vh;
  padding-block: clamp(1.4rem, 4.4vw, 3.5rem);
  background: linear-gradient(148deg, white 18%, #f0f5fc 100%);
}
.account-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-bottom: 1.5rem; }
.account-head .eyebrow { margin-bottom: .65rem; }
.account h1 { font-size: clamp(2.1rem, 4.4vw, 3.65rem); line-height: 1.05; overflow-wrap: anywhere; }
.account-email { margin-top: .4rem; color: var(--muted); overflow-wrap: anywhere; }
.ops-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.account-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .28rem;
  padding: .34rem;
  width: fit-content;
  background: white;
  border: 1px solid var(--line);
  border-radius: 13px;
  margin-bottom: 1.1rem;
}
.account-nav a { display: inline-flex; align-items: center; gap: .45rem; padding: .6rem .83rem; color: var(--muted); text-decoration: none; font-size: .9rem; font-weight: 700; border-radius: 9px; }
.account-nav a[aria-current] { color: #164481; background: #eaf2ff; }
.account-nav a:hover { background: #f0f5fc; }
.account-panel {
  max-width: 54rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: 21px;
  padding: clamp(1.1rem, 3.5vw, 2.3rem);
  box-shadow: 0 12px 30px #10244909;
}
.panel-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .6rem; margin-bottom: .25rem; }
.panel-heading h2 { font-size: clamp(1.65rem, 3.3vw, 2.45rem); line-height: 1.1; }
.fields { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: .8rem; margin-block: 1rem; }
.field > span { display: flex; align-items: center; gap: .4rem; }
.field svg { color: var(--purple); }
fieldset { min-width: 0; margin: 1.25rem 0 0; padding: 0; border: 0; }
fieldset legend { margin-bottom: .5rem; font-size: .93rem; font-weight: 700; }
.meal-options, .slot-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(140px, 100%), 1fr)); gap: .5rem; }
.choice {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .65rem;
  min-height: 57px;
  background: white;
  border: 1px solid #dce4ed;
  border-radius: 10px;
  cursor: pointer;
}
.choice:hover { background: #f2f6fb; }
.choice:has(:checked) { border-color: var(--purple); background: #eaf2ff; }
.choice:has(:disabled) { cursor: not-allowed; background: #f7f6f9; color: var(--muted); }
.choice input { margin: 0; accent-color: var(--purple); flex: none; }
.choice strong { font-size: .91rem; display: block; }
.choice small { color: var(--muted); font-size: .75rem; display: block; }
.choice.queue { grid-column: 1 / -1; }
#save-booking { margin-top: 1.25rem; }
.booking-schedule { margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.booking-schedule summary { cursor: pointer; width: fit-content; max-width: 100%; color: var(--purple); font-weight: 750; }
.booking-schedule > p { margin-top: .65rem; }
.schedule-days { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: .55rem; margin: .85rem 0 0; padding: 0; list-style: none; }
.schedule-day { padding: .7rem .85rem; border: 1px solid var(--line); border-radius: 10px; }
.schedule-day time { display: block; font-weight: 750; }
.schedule-status { color: var(--muted); }
.schedule-meals { list-style: none; padding: 0; margin: .4rem 0 0; font-size: .88rem; }

.message { max-width: 54rem; border-radius: 10px; margin: 0 0 .8rem; padding: .65rem .85rem; color: #1e613c; background: #eaf8ef; }
.message.error { color: #972343; background: #faedf0; }
.booking-list { display: grid; gap: .7rem; }
.booking-record {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .9rem;
  padding: .85rem;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.booking-record .step-icon { margin: 0; width: 40px; height: 40px; }
.booking-record h3 { font-size: 1.15rem; margin-bottom: .1rem; }
.booking-record p { font-size: .86rem; color: var(--muted); }
.booking-record .status-pill { margin-top: .35rem; }
.record-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.record-actions .button { min-height: 39px; padding: .45rem .65rem; }
.card-image {
  display: block;
  margin-block: 1rem;
  width: min(100%, 28rem);
  height: auto;
  aspect-ratio: 85.60 / 53.98;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--washed);
}
.card-hint { margin-top: .85rem; font-size: .86rem; color: var(--muted); }
dialog { max-width: min(calc(100% - 2rem), 29rem); padding: 1.35rem; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); }
dialog::backdrop { background: #0a214585; }
dialog h2 { font-size: 1.6rem; }
dialog p { color: var(--muted); margin-block: .65rem; }
dialog form { margin-top: .9rem; }
.dialog-actions { display: flex; gap: .5rem; flex-wrap: wrap; }

@media (max-width: 925px) {
  .public-nav { display: none; }
  .hero-grid { min-height: 460px; }
  .catalog-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .shell { width: min(calc(100% - 36px), 1200px); }
  .top-inner { gap: .6rem; min-height: 65px; }
  .top-actions { gap: .55rem; }
  .brand { gap: .42rem; font-size: 1.16rem; }
  .brand img { width: 38px; }
  .university-inner { font-size: .63rem; }
  .top-login { padding-inline: .62rem; }
  body[data-member="no"] .top-login { display: none; }
  .hero-grid { grid-template-columns: 1fr; padding-block: 2.25rem 2rem; min-height: 0; }
  .hero-copy { padding: 0 0 1.65rem; }
  .hero h1 { font-size: clamp(3rem, 11vw, 5.1rem); }
  .hero-lead { margin-block: 1rem 1.15rem; }
  .hero-image { aspect-ratio: 1.42; border-left-width: 4px; box-shadow: -6px 0 0 #d81e2b; }
  .how { grid-template-columns: 1fr; gap: 1.9rem; }
  .dining-figure { grid-row: 2; }
  .catalog-heading { align-items: stretch; flex-direction: column; }
  .booking-record { grid-template-columns: auto 1fr; }
  .record-actions { grid-column: 2; }
}
@media (max-width: 445px) {
  .catalog-list, .fields { grid-template-columns: 1fr; }
  .account-nav { width: 100%; justify-content: space-between; }
  .account-nav a { justify-content: center; gap: .27rem; padding: .57rem .37rem; font-size: .8rem; }
}
@media (display-mode: standalone) {
  #show-install { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  @page { margin: 12mm; }
  body { background: white; }
  body * { visibility: hidden; }
  #member-card {
    visibility: visible;
    position: absolute;
    top: 0;
    left: 0;
    width: 85.60mm;
    height: 53.98mm;
    margin: 0;
    border: 0;
    border-radius: 0;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
}
