/* triskeliondewmsu.cloud: shared tokens and chrome.
   Palette comes from the seal and the shirt: shirt red, seal gold, black print shadow, oxblood for depth.
   Type: Alfa Slab One (the varsity slab on the shirt), Kaushan Script (its brush script, used sparingly), Barlow (reading). */
:root {
  --brand: #d0161e;
  --brand-deep: #a30f16;
  --oxblood: #4a080c;
  --on-brand: #ffffff;
  --gold: #ffcf4a;
  --print-shadow: #000000;
  --paper: #f5f3f1;
  --card: #ffffff;
  --ink: #1b1515;
  --muted: #6c6361;
  --line: #e5dfdc;
  --accent: #c0141b;
  --accent-soft: #fce8e7;
  --plus: #8a6100;
  --plus-soft: #fbefcc;
  --plus-bar: #e3aa1f;
  --ok: #1d7347;
  --ok-soft: #dff1e6;
  --bar: #bdb4b1;
  --footer: #1b1515;
  --display: "Alfa Slab One", "Rockwell Extra Bold", Rockwell, Georgia, serif;
  --script: "Kaushan Script", "Brush Script MT", cursive;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #141011;
    --card: #1e191a;
    --ink: #f2ecea;
    --muted: #a69c9a;
    --line: #362e2f;
    --accent: #ff6b6b;
    --accent-soft: #3d1a1b;
    --plus: #f0c24b;
    --plus-soft: #3b2f14;
    --plus-bar: #d9a521;
    --ok: #5fd08f;
    --ok-soft: #173326;
    --bar: #5e5554;
    --footer: #0c0909;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.5 var(--body); }
[hidden] { display: none !important; }
a { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
img { max-width: 100%; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 20;
  padding: 10px 14px; border-radius: 8px;
  font-weight: 600; color: var(--ink); background: var(--card);
}
.skip:focus { top: 12px; }

/* The red print field behind page headers: shirt red with a screen-print halftone that thickens toward the bottom */
.print {
  position: relative; overflow: hidden;
  color: var(--on-brand); background: var(--brand);
  padding-top: env(safe-area-inset-top, 0px);
}
.print::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgb(0 0 0 / .17) 1.1px, transparent 1.8px);
  background-size: 7px 7px;
  -webkit-mask-image: linear-gradient(180deg, rgb(0 0 0 / .15), #000 92%);
  mask-image: linear-gradient(180deg, rgb(0 0 0 / .15), #000 92%);
}
.print > * { position: relative; }
.print :focus-visible { outline-color: var(--on-brand); }

/* Site nav */
.site-nav {
  max-width: 1120px; margin: 0 auto; padding: 14px 16px 0;
  display: flex; align-items: center; gap: 12px 26px;
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; margin-right: auto; color: var(--on-brand); text-decoration: none; }
.brand img { width: 42px; height: 42px; flex: none; }
.brand .bt { font: 400 17px/1.05 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.brand .bt span { white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a:not(.nav-cta) { font-size: 15px; font-weight: 600; color: rgb(255 255 255 / .88); text-decoration: none; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.nav-links a:not(.nav-cta):hover, .nav-links a:not(.nav-cta)[aria-current="page"] { color: var(--on-brand); text-decoration-line: underline; }
.nav-cta {
  padding: 11px 14px; border-radius: 8px; white-space: nowrap;
  font: 400 14px/1 var(--display); letter-spacing: .02em; text-decoration: none;
  color: var(--brand); background: var(--on-brand);
  box-shadow: 0 3px 0 var(--print-shadow);
}
.nav-cta:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--print-shadow); }
.nav-cta .short { display: none; }
@media (max-width: 760px) {
  .nav-links .wide { display: none; }
}
@media (max-width: 560px) {
  .brand .bt { font-size: 14px; }
  .brand .bt span { display: block; }
}
@media (max-width: 440px) {
  .brand img { width: 36px; height: 36px; }
  .nav-links { gap: 14px; }
  .nav-cta .long { display: none; }
  .nav-cta .short { display: inline; }
}

/* Buttons used on red and on paper */
.btn-white, .btn-red {
  display: inline-block; padding: 15px 20px; border-radius: 10px; border: 0; cursor: pointer;
  font: 400 17px/1.1 var(--display); letter-spacing: .02em; text-decoration: none; text-align: center;
  box-shadow: 0 4px 0 var(--print-shadow);
}
.btn-white { color: var(--brand); background: var(--on-brand); }
.btn-red { color: var(--on-brand); background: var(--brand); box-shadow: 0 4px 0 var(--brand-deep); }
.btn-white:active, .btn-red:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--print-shadow); }

/* Event card: one per event, image beside details */
.event {
  display: grid; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
}
@media (min-width: 820px) { .event { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.event-img { display: block; background: var(--brand); }
.event-img img { display: block; width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; }
.event-body { display: grid; gap: 14px; align-content: start; padding: clamp(20px, 4vw, 40px); min-width: 0; }
.event-body p { margin: 0; }
.event-date { font-weight: 600; color: var(--accent); }
.event-body h3 { margin: 0; font: 400 clamp(30px, 4.6vw, 46px)/1 var(--display); text-wrap: balance; }
.event-body .desc { max-width: 52ch; font-size: 17px; color: var(--muted); }
.event-prices { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; }
.event-prices div { display: grid; }
.event-prices dt { font-size: 14px; color: var(--muted); }
.event-prices dd { margin: 0; font: 400 26px/1.1 var(--display); }
.event-prices .plus dd { color: var(--plus); }
.event-live { font-weight: 600; font-variant-numeric: tabular-nums; }
.event-live:empty { display: none; }
.event-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 4px; }
.event-actions a:not(.btn-red) { font-weight: 600; }

/* Footer */
.site-foot {
  color: rgb(255 255 255 / .78); background: var(--footer);
  padding-inline: 16px; padding-block: 52px calc(32px + env(safe-area-inset-bottom, 0px));
}
.site-foot .in { max-width: 1120px; margin: 0 auto; display: grid; gap: 30px; }
@media (min-width: 760px) { .site-foot .in { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; } }
.foot-id { display: flex; align-items: center; gap: 16px; }
.foot-id img { width: 76px; height: 76px; flex: none; }
.foot-id p { margin: 0; }
.foot-id .name { font: 400 18px/1.15 var(--display); text-transform: uppercase; color: var(--on-brand); }
.foot-id .where { margin-top: 4px; font-size: 15px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.foot-nav a { font-weight: 600; color: var(--on-brand); text-decoration: none; }
.foot-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.foot-motto { grid-column: 1 / -1; margin: 0; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .14); font: 400 14px/1.3 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.site-foot :focus-visible { outline-color: var(--on-brand); }

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
