:root {
  color-scheme: dark;
  --background: #0d0e0f;
  --surface: #17181a;
  --text: #f6f2e9;
  --muted: #b6b0a5;
  --gold: #e9c783;
  --line: #34312b;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background: var(--background);
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
p { line-height: 1.55; }
h1, h2, h3, p { margin: 0; }
.wrap { width: min(100% - 36px, 920px); margin-inline: auto; }
.header { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.brand { display: grid; gap: 3px; font-weight: 900; font-size: 19px; letter-spacing: -.05em; line-height: 1; }
.brand small { font-size: 9px; letter-spacing: .23em; }
.location { color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-align: right; }
.eyebrow { color: var(--gold); font-size: 11px; letter-spacing: .16em; font-weight: 750; text-transform: uppercase; }
.section { margin-top: 26px; }
.section-title { font-size: 19px; letter-spacing: -.025em; margin-bottom: 10px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.tiles { display: grid; gap: 9px; }
.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.tile { min-width: 0; min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 12px 15px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font-weight: 700; }
.tile:hover, .session:hover, .coach:hover { border-color: var(--gold); }
.primary { background: #e9c783; color: #171109; border-color: transparent; }
.arrow { font-size: 1.22em; font-weight: 400; flex: none; }
.tile span:first-child { overflow-wrap: anywhere; }
.footer { padding: 30px 0 26px; margin-top: 33px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.back { display: inline-flex; align-items: center; min-height: 44px; color: var(--gold); font-size: 14px; }
.page-title { margin: 12px 0 8px; font-size: clamp(34px, 8vw, 70px); letter-spacing: -.065em; line-height: 1.02; }
.intro { margin-bottom: 23px; color: var(--muted); }
.control { min-width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.control:disabled { opacity: .38; cursor: default; }
.calendar { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); margin-top: 9px; gap: 5px; }
.day { min-width: 0; min-height: 64px; display: grid; align-content: center; justify-items: center; gap: 3px; padding: 5px 0; background: var(--surface); border: 1px solid var(--line); border-radius: 9px; }
.day small { color: var(--muted); font-weight: 600; font-size: 11px; }
.day strong { font-size: 20px; }
.day[aria-pressed="true"], .filter[aria-pressed="true"] { background: var(--gold); color: #171109; border-color: transparent; }
.day[aria-pressed="true"] small { color: inherit; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 23px; }
.filter { min-height: 44px; border-radius: 999px; padding: 0 13px; border: 1px solid var(--line); background: var(--background); font-size: 13px; }
.sessions { display: grid; gap: 8px; }
.session { width: 100%; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: clamp(9px,3vw,21px); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; text-align: left; padding: 14px; }
.session-time { color: var(--gold); font-weight: 800; font-variant-numeric: tabular-nums; align-self: start; }
.session-name { display: block; line-height: 1.2; margin-bottom: 5px; }
.session small { color: var(--muted); }
.empty { border: 1px dashed var(--line); border-radius: 10px; padding: 22px; color: var(--muted); }
.coaches { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.coach { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; text-align: left; padding: 0; }
.coach img { display: block; width: 100%; aspect-ratio: 1.25; object-fit: cover; background: #26221d; }
.coach-copy { display: grid; gap: 4px; padding: 12px; }
.coach-copy strong { line-height: 1.2; }
.coach-copy small { color: var(--gold); }
dialog { color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 15px; padding: 21px; width: min(520px, calc(100% - 32px)); max-height: 88dvh; }
dialog::backdrop { background: #000b; }
dialog h2 { margin: 6px 0 10px; font-size: 27px; line-height: 1.08; letter-spacing: -.04em; }
dialog p { color: var(--muted); margin-bottom: 15px; }
dialog .tile { margin-top: 8px; width: 100%; text-align: left; }
.dialog-top { display: flex; justify-content: end; }
.dialog-photo { width: 100%; max-height: 260px; object-fit: cover; border-radius: 9px; margin: 0 0 12px; }
@media (max-width: 540px) {
  .header { min-height: 66px; }
  .section { margin-top: 20px; }
  .tile { padding-inline: 10px; }
}
@media (max-width: 390px) {
}
.brand img { display: block; width: 146px; height: auto; }
#month::first-letter, #selected-date::first-letter { text-transform: uppercase; }
.coach img, .dialog-photo { object-position: center 38%; }

@font-face {
  font-family: Oswald;
  src: url("oswald-cyrillic.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Oswald;
  src: url("oswald-latin.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
.links-page {
  --line: #494031;
  --gold: #c3aa7f;
  background: radial-gradient(ellipse at 50% 28%, #17140f55, transparent 65%),
    repeating-linear-gradient(117deg, #bca07809 0 1px, transparent 1px 55px), #0b0b0a;
  min-height: 100vh;
  min-height: 100svh;
}
.link-column { width: min(100% - 32px, 420px); margin-inline: auto; }
.link-brand { text-align: center; padding-bottom: 42px; }
.brand-rule {
  display: flex;
  justify-content: space-between;
  padding: 17px 0 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 35px;
  color: #c3aa7f;
  font: 700 10px/1 Oswald, sans-serif;
  letter-spacing: .19em;
}
.emblem {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  margin: 0 auto 27px;
  display: grid;
  place-items: center;
  border: 1px solid #6c583d;
  background: linear-gradient(125deg, #947954, #c6ad87);
  box-shadow: inset 0 0 0 1px #0c0b09;
}
.emblem img { width: 53px; height: 55px; object-fit: contain; filter: brightness(0) invert(1); }
.link-brand h1 img { width: min(250px, 80%); height: auto; display: block; margin: auto; }
.link-stack { display: grid; gap: 13px; }
.link-row {
  display: grid;
  grid-template-columns: 61px minmax(0,1fr) auto;
  align-items: center;
  min-height: 71px;
  border: 1px solid var(--line);
  background: linear-gradient(150deg,#bca0780d,#09090910);
}
.link-row:hover, .link-grid a:hover { border-color: var(--gold); background-color: #bca07813; }
.link-row.featured { border-color: #aa9269; min-height: 83px; }
.link-icon {
  position: relative;
  align-self: stretch;
  display: grid;
  place-items: center;
  color: var(--gold);
  border-right: 1px solid var(--line);
  font: 25px/1 Arial, sans-serif;
}
.featured .link-icon { background: #a58f67; border-color: #a58f67; color: #13100d; }
.calendar-icon::before { content: ""; width: 15px; height: 13px; border: 1.5px solid currentColor; border-radius: 2px; box-shadow: inset 0 3px 0 #13100d; }
.calendar-icon::after { content: "✓"; position: absolute; margin-top: 4px; font-size: 11px; }
.link-copy { padding: 12px 15px; display: grid; gap: 5px; }
.link-copy strong { font: 700 17px/1.24 Oswald, "Arial Narrow", sans-serif; text-transform: uppercase; letter-spacing: .025em; }
.link-copy small { font-size: 12px; color: var(--muted); }
.link-cta { margin-right: 14px; padding: 11px 14px; background: #ab936b; color: #13100d; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.link-arrow { display: grid; place-items: center; margin-right: 15px; width: 29px; height: 29px; border: 1px solid var(--line); border-radius: 50%; color: var(--gold); }
.link-section { margin-top: 25px; }
.link-divider { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; color: var(--gold); text-transform: uppercase; letter-spacing: .18em; font: 700 10px/1 Oswald, sans-serif; }
.link-divider::before, .link-divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.route-address { margin: 0 0 10px; text-align: center; font-size: 12px; color: var(--muted); }
.link-grid { display: grid; gap: 8px; }
.link-grid a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  min-height: 49px;
  padding: 9px 4px;
  border: 1px solid var(--line);
  font: 700 12px/1.2 Oswald, "Arial Narrow", sans-serif;
  text-align: center;
  text-transform: uppercase;
}
.link-grid a span[aria-hidden] { color: var(--gold); }
.link-grid.two a { flex-direction: column; min-height: 61px; }
.social-glyph { height: 16px; font: 15px/1 Arial, sans-serif; }
.instagram-icon { display: grid; place-items: center; width: 16px; border: 1px solid currentColor; border-radius: 4px; }
.instagram-icon::before { content: ""; width: 5px; height: 5px; border: 1px solid currentColor; border-radius: 50%; }
.link-footer { padding: 24px 0; text-align: center; color: #a9a091; text-transform: uppercase; font: 700 10px/1 Oswald, sans-serif; letter-spacing: .16em; }
.calendar { margin-top: 0; }
.calendar .day { min-height: 51px; font-weight: 750; }
.source { margin-top: 18px; color: var(--muted); font-size: 12px; }
.source a { color: var(--gold); text-decoration: underline; }
@media (max-width: 480px) {
  .brand-rule { margin-bottom: 24px; }
  .emblem { width: 75px; height: 75px; margin-bottom: 19px; }
  .emblem img { width: 45px; height: 46px; }
  .link-brand { padding-bottom: 29px; }
  .link-brand h1 img { width: min(205px, 72%); }
  .link-stack { gap: 9px; }
  .link-row { min-height: 65px; grid-template-columns: 48px minmax(0,1fr) auto; }
  .link-row.featured { min-height: 70px; }
  .link-copy { padding-inline: 12px; }
  .link-cta { margin-right: 9px; padding: 9px; letter-spacing: .07em; }
}
@media (max-width: 345px) {
  .link-copy strong { font-size: 15px; }
  .link-cta { font-size: 9px; }
  .link-grid a { font-size: 11px; }
}
