/* ==========================================================================
   HOYT'S — boxing & strength since 1987
   Riso poster: paper, ink, one red. Anton display over Archivo. Every photo
   is printed in a two-color duotone; borders are thick and honest. The
   signature interactive is the weekly timetable with live today-highlighting.
   ========================================================================== */

:root {
  --paper: #F5F1E8;
  --paper-dim: #ECE6D8;
  --ink: #1A1511;
  --ink-soft: #57503F;
  --red: #C13A28;
  --red-deep: #9E2E1F;
  --border: 3px solid var(--ink);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Archivo', 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .mark, .price, .daypass {
  font-family: 'Anton', sans-serif; font-weight: 400;
  text-transform: uppercase; letter-spacing: .01em;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--red-deep); }
button { font: inherit; cursor: pointer; }

.red { color: var(--red); }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--paper); padding: 10px 18px; z-index: 99; }
.skip:focus { left: 12px; top: 12px; }

main { max-width: 1180px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }

/* ---------- Header ---------- */

.top {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 18px;
  padding: 12px clamp(16px, 4vw, 40px);
  background: var(--paper);
  border-bottom: var(--border);
}

.mark { font-size: 1.7rem; color: var(--ink); text-decoration: none; line-height: 1; }
.est {
  font-size: .7rem; font-weight: 700; letter-spacing: .12em; color: var(--paper);
  background: var(--ink); padding: 4px 8px;
}

.top-nav { display: flex; gap: 18px; margin-left: auto; }
.top-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .93rem; }
.top-nav a:hover { color: var(--red); }

.daypass {
  background: var(--red); color: var(--paper); text-decoration: none;
  font-size: 1rem; padding: 9px 16px 7px; line-height: 1;
  border: var(--border);
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .12s ease, box-shadow .12s ease;
}
.daypass:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }

/* ---------- Hero ---------- */

.hero { padding-top: clamp(30px, 5vw, 60px); }

.hero-type h1 {
  font-size: clamp(3.4rem, 11vw, 8.5rem);
  line-height: .95; letter-spacing: .005em;
  max-width: 11ch;
}
.hero-type h1 span { display: inline-block; }

.hero-sub {
  max-width: 52ch; color: var(--ink-soft); font-size: 1.06rem;
  margin: 22px 0 26px;
}

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 34px; }

.btn {
  display: inline-block; text-decoration: none; text-align: center;
  font-weight: 700; font-size: 1rem; color: var(--paper);
  background: var(--ink); padding: 13px 24px;
  border: var(--border); box-shadow: 4px 4px 0 var(--red);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--red); }
.btn-ghost { background: var(--paper); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }

.hero-photo { border: var(--border); box-shadow: 8px 8px 0 var(--red); }
.hero-photo img { width: 100%; aspect-ratio: 1920 / 1150; object-fit: cover; }
.hero-photo figcaption {
  border-top: var(--border); padding: 8px 14px;
  font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink-soft); background: var(--paper);
}

.hero-strip {
  list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border: var(--border); border-top: none;
  background: var(--ink); color: var(--paper);
}
.hero-strip li {
  padding: 12px 10px; text-align: center;
  font-weight: 700; font-size: .9rem; letter-spacing: .03em; text-transform: uppercase;
}
.hero-strip li + li { border-left: 2px solid rgba(245, 241, 232, .25); }

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

section h2 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); padding-top: clamp(50px, 8vw, 90px); margin-bottom: 6px; }
.section-note { color: var(--ink-soft); margin-bottom: 24px; max-width: 60ch; }

.reveal { opacity: 0; translate: 0 16px; }
.reveal.is-in { opacity: 1; translate: 0 0; transition: opacity .5s ease, translate .5s ease; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal.is-in { opacity: 1; translate: none; transition: none; }
}

/* ---------- Filters ---------- */

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }

.chip {
  border: 2px solid var(--ink); background: var(--paper); color: var(--ink);
  padding: 7px 16px 6px; font-weight: 700; font-size: .88rem;
  letter-spacing: .04em; text-transform: uppercase;
  transition: background .15s ease, color .15s ease;
}
.chip:hover { background: var(--paper-dim); }
.chip.is-on { background: var(--ink); color: var(--paper); }

/* ---------- Schedule grid ---------- */

.grid-wrap { border: var(--border); background: var(--ink); }

.sched {
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 2px; background: var(--ink);
}

.day-col { background: var(--paper); display: grid; align-content: start; }

.day-head {
  font-family: 'Anton', sans-serif; text-transform: uppercase; font-size: 1.05rem;
  padding: 10px 12px 8px; border-bottom: 2px solid var(--ink);
  display: flex; align-items: baseline; gap: 8px;
}
.day-head .today-tag {
  font-family: 'Archivo', sans-serif; font-size: .62rem; font-weight: 700;
  letter-spacing: .1em; background: var(--red); color: var(--paper);
  padding: 3px 6px 2px; margin-left: auto;
}
.day-col.is-today .day-head { background: var(--red); color: var(--paper); border-bottom-color: var(--ink); }
.day-col.is-today .day-head .today-tag { background: var(--paper); color: var(--red-deep); }

.slot {
  padding: 10px 12px; border-bottom: 1px solid var(--paper-dim);
  transition: opacity .2s ease;
}
.slot:last-child { border-bottom: none; }
.slot.is-dim { opacity: .22; }

.slot time { font-weight: 700; font-size: .8rem; letter-spacing: .03em; }
.slot .cname { font-weight: 600; font-size: .92rem; line-height: 1.25; margin: 1px 0 2px; }
.slot .cmeta { font-size: .76rem; color: var(--ink-soft); }
.slot .cnote { font-size: .74rem; color: var(--red-deep); font-weight: 600; }

.slot[data-type='boxing'] .cname::after { content: ' ●'; color: var(--red); font-size: .7em; vertical-align: 2px; }

.sched-fine { color: var(--ink-soft); font-size: .9rem; margin-top: 16px; max-width: 70ch; }

/* ---------- Pricing ---------- */

.price-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }

.price-card {
  border: var(--border); background: var(--paper); padding: 24px 24px 26px;
  box-shadow: 6px 6px 0 var(--paper-dim);
  display: grid; align-content: start; gap: 10px;
}
.price-card.is-main { background: var(--ink); color: var(--paper); box-shadow: 6px 6px 0 var(--red); }

.flag {
  font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  background: var(--red); color: var(--paper); justify-self: start; padding: 4px 8px 3px;
}
.price-card h3 { font-size: 1.3rem; }
.price { font-size: 3rem; line-height: 1; }
.price small { font-size: 1.1rem; letter-spacing: .02em; }
.price-card ul { list-style: none; display: grid; gap: 6px; font-size: .93rem; }
.price-card li::before { content: '— '; color: var(--red); font-weight: 700; }
.price-card.is-main li::before { color: var(--red); }

/* ---------- The floor (triptych) ---------- */

.floor { padding-top: clamp(50px, 8vw, 90px); }
.floor-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.floor-grid figure { border: var(--border); box-shadow: 6px 6px 0 var(--red); background: var(--paper); }
.floor-grid img { width: 100%; aspect-ratio: 900 / 640; object-fit: cover; }
.floor-grid figcaption {
  border-top: var(--border); padding: 7px 12px;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- Coaches ---------- */

.coach-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }

.coach {
  border: var(--border); background: var(--paper);
  box-shadow: 6px 6px 0 var(--paper-dim);
}
.coach img { width: 100%; aspect-ratio: 700 / 840; object-fit: cover; border-bottom: var(--border); }
.coach-body { padding: 16px 18px 20px; }
.coach-body h3 { font-size: 1.25rem; }
.coach-role {
  font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--red-deep); margin: 2px 0 8px;
}
.coach-body p:last-child { color: var(--ink-soft); font-size: .92rem; }

/* ---------- House ---------- */

.house-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }

.house-card { border: var(--border); padding: 20px 22px; background: var(--paper); }
.house-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.house-card p { color: var(--ink-soft); }
.house-card .small { font-size: .86rem; margin-top: 6px; }

.hours-list, .rules-list { list-style: none; display: grid; gap: 7px; }
.hours-list li { display: flex; justify-content: space-between; font-variant-numeric: tabular-nums; }
.hours-list span:first-child { font-weight: 600; }
.rules-list li::before { content: '★ '; color: var(--red); }
.rules-list li { color: var(--ink-soft); }

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

.foot {
  margin-top: clamp(50px, 8vw, 90px);
  border-top: var(--border);
  background: var(--ink); color: var(--paper);
  padding: 40px clamp(16px, 4vw, 40px) 48px;
  text-align: center; display: grid; gap: 10px;
}
.foot-mark { font-family: 'Anton', sans-serif; font-size: 1.6rem; }
.foot-mark span { font-family: 'Archivo', sans-serif; font-size: .7rem; font-weight: 700; letter-spacing: .12em; vertical-align: 4px; margin-left: 8px; color: var(--red); }
.foot-fine { font-size: .85rem; color: #B8AF9C; max-width: 66ch; margin: 0 auto; }
.foot-fine a { color: var(--paper); }

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

@media (max-width: 1020px) {
  .sched { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .day-col { min-height: 0; }
}

@media (max-width: 860px) {
  .price-cards, .coach-grid, .house-cols, .floor-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-strip li + li { border-left: none; }
  .hero-strip li:nth-child(even) { border-left: 2px solid rgba(245, 241, 232, .25); }
  .hero-strip li:nth-child(n+3) { border-top: 2px solid rgba(245, 241, 232, .25); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .top { flex-wrap: wrap; gap: 10px 14px; }
  .top-nav { display: none; }
  .daypass { margin-left: auto; font-size: .9rem; }
  .est { display: none; }

  .sched { grid-template-columns: minmax(0, 1fr); }
}
