/* La Casa Boxing Club: shared stylesheet for every page.
   Layout concept: a gym poster. One loud wordmark, ring ropes as the divider, plain facts under it.
   Page-specific rules are grouped at the end under .location. */
:root {
  --bg: #EEF0EE;
  --fg: #15191F;
  --muted: #4D5560;
  --line: #C4CAC5;
  --panel: #E2E6E2;
  --accent: #B3261E;
  --on-accent: #FFFFFF; --logo-bg: transparent;
  --display: "Big Shoulders Display", Impact, "Arial Narrow", sans-serif;
  --body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #101317; --fg: #ECEEEA; --muted: #A3AAB2; --line: #2B3239; --panel: #181C22;
    --accent: #E5584C; --on-accent: #14181D; --logo-bg: #ECEEEA; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #101317; --fg: #ECEEEA; --muted: #A3AAB2; --line: #2B3239; --panel: #181C22;
  --accent: #E5584C; --on-accent: #14181D; --logo-bg: #ECEEEA; color-scheme: dark;
}

* { box-sizing: border-box; }
:root { color-scheme: light; padding-block: env(safe-area-inset-top, 0px) env(safe-area-inset-bottom, 0px); }
img { max-width: 100%; }
[hidden] { display: none !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.55;
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.wrap {
  max-width: 1120px;
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.eyebrow {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

/* nav */
header .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; padding-block: 18px; }
.mark { font-family: var(--display); font-weight: 800; font-size: 1.4rem; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
nav a { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; color: var(--muted); }
nav a:hover, nav a[aria-current="page"] { color: var(--accent); }

/* hero */
.hero { padding-block: 40px 56px; }
.hero h1 {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(3.6rem, 17vw, 10.5rem);
  line-height: 0.86;
  letter-spacing: -0.005em;
  margin: 18px 0 0;
  text-wrap: balance;
}
.hero h1 span { display: block; color: var(--accent); }
.hero h1 span.mid { color: var(--fg); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 32px 48px; align-items: center; }
.hero-grid > div { min-width: 0; }
.logo { background: var(--logo-bg); padding: 12px; width: 100%; max-width: 340px; justify-self: center; }
.logo img { display: block; width: 100%; height: auto; }
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .logo { max-width: 260px; justify-self: start; }
}
.price { font-family: var(--display); font-weight: 900; font-size: clamp(4rem, 14vw, 6.5rem); line-height: 0.9; margin: 0; }
.price small { font-family: var(--mono); font-weight: 500; font-size: 0.9rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-left: 10px; }
.hours { font-family: var(--display); font-weight: 800; font-size: 2rem; line-height: 1.05; text-transform: uppercase; margin: 8px 0 0; }
.credit a { text-decoration: none; border-bottom: 1px solid var(--line); }
.credit a:hover { color: var(--accent); border-color: var(--accent); }
.hero .lede { font-size: 1.3rem; max-width: 34em; margin: 28px 0 0; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 20px;
  border: 2px solid var(--fg);
}
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn:hover { background: var(--fg); border-color: var(--fg); color: var(--bg); }

/* ring ropes */
.ropes { display: grid; gap: 7px; }
.ropes i { display: block; height: 4px; background: var(--accent); }
.ropes i:nth-child(2) { background: var(--fg); }

/* sections */
section { padding-block: 64px; }
h2 {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2.2rem, 7vw, 3.6rem);
  line-height: 0.95;
  margin: 10px 0 0;
  text-wrap: balance;
}
.three { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 36px; margin-top: 40px; }
.three > div { min-width: 0; border-top: 4px solid var(--fg); padding-top: 16px; }
.three > div:nth-child(odd) { border-top-color: var(--accent); }
h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.9rem; line-height: 1; margin: 8px 0 10px; }
.three p, .coach p { margin: 0; color: var(--muted); max-width: 32em; }

.coaches { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 36px; margin-top: 40px; }
.coach { min-width: 0; border-top: 4px solid var(--fg); padding-top: 16px; }
.coach:nth-child(odd) { border-top-color: var(--accent); }
.coach h3 { font-size: 2.4rem; margin-bottom: 6px; }
.coach .eyebrow { color: var(--accent); }

.dues { background: var(--panel); }
.dues .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px 56px; align-items: center; padding-block: 56px; }
.dues p { margin: 14px 0 0; max-width: 34em; }
.dues > .wrap > div { min-width: 0; }

.visit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 36px; margin-top: 36px; }
.visit-grid > div { min-width: 0; border-top: 4px solid var(--fg); padding-top: 16px; }
.visit-grid > div:nth-child(odd) { border-top-color: var(--accent); }
.visit-grid p { margin: 8px 0 0; }
address { font-style: normal; font-size: 1.25rem; font-weight: 600; margin-top: 8px; }

footer { border-top: 1px solid var(--line); }
footer .wrap { padding-block: 28px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: var(--muted); font-size: 0.95rem; }
footer p { margin: 0; }

/* Location and hours page */
.location h1, .about h1, .donate h1, .membership h1 {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(3rem, 12vw, 7rem);
  line-height: 0.9;
  margin: 18px 0 0;
  text-wrap: balance;
}
.intro { padding-block: 40px 56px; }
.lede { font-size: 1.3rem; max-width: 34em; margin: 24px 0 0; }

.notice { background: var(--panel); }
.notice .wrap { padding-block: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px 48px; align-items: center; }
.notice .wrap > div { min-width: 0; }
.notice h2 { font-size: clamp(1.9rem, 5vw, 2.8rem); }
.notice p { margin: 0; max-width: 34em; }

.location .hours { font-size: clamp(2rem, 6vw, 3rem); margin: 14px 0 0; }
.hours-note { margin: 12px 0 0; color: var(--muted); }

.sites { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 48px 40px; margin-top: 40px; }
.site { min-width: 0; border-top: 4px solid var(--fg); padding-top: 16px; }
.site.next { border-top-color: var(--accent); }
.site .eyebrow.tag { color: var(--accent); }
.site h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 2.2rem; line-height: 1; margin: 8px 0 12px; }
.location address { font-size: 1.3rem; margin-top: 0; }
.dates { margin: 10px 0 0; color: var(--muted); }
.map { margin-top: 20px; position: relative; aspect-ratio: 4 / 3; max-width: 100%; background: var(--panel); border: 1px solid var(--line); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.site .btn { margin-top: 16px; }
.sites.moved .site.next { order: -1; }

/* About us page */
.about section.alt { background: var(--panel); }
.prose { margin-top: 28px; max-width: 38em; display: grid; gap: 18px; }
.prose p { margin: 0; }
.prose a { color: var(--accent); }

.profiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 48px 40px; margin-top: 40px; }
.profile { min-width: 0; border-top: 4px solid var(--fg); padding-top: 20px; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; align-items: start; }
.profile:nth-child(odd) { border-top-color: var(--accent); }
.profile img { width: 200px; height: 200px; object-fit: cover; object-position: center 25%; display: block; }
.profile h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 2.2rem; line-height: 1; margin: 8px 0 12px; }
.profile p { margin: 0; color: var(--muted); }
.profile .eyebrow.tag { color: var(--accent); }
@media (max-width: 560px) {
  .profile { grid-template-columns: minmax(0, 1fr); }
  .profile img { width: 160px; height: 160px; }
}

.assistants { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; margin-top: 36px; }
.assistant { min-width: 0; border-top: 4px solid var(--fg); padding-top: 16px; }
.assistant:nth-child(odd) { border-top-color: var(--accent); }
.assistant h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 2rem; line-height: 1; margin: 0 0 8px; }
.about main > .wrap:last-child { margin-block: 56px; }
.contact { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 8px; }
.contact li { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 12px; align-items: baseline; }
.contact a { color: var(--fg); overflow-wrap: anywhere; text-underline-offset: 3px; }
.contact a:hover { color: var(--accent); }

/* Donate and membership pages */
.donate section.alt, .membership section.alt { background: var(--panel); }
.donate main > .wrap:last-child, .membership main > .wrap:last-child { margin-block: 56px; }
.note { margin: 14px 0 0; color: var(--muted); font-size: 0.95rem; }
.eyebrow.gap { margin-top: 32px; }
.amounts { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.amounts li { font-family: var(--display); font-weight: 800; font-size: 1.6rem; line-height: 1; text-transform: uppercase; padding: 10px 18px; background: var(--bg); border: 1px solid var(--line); }
.legal { margin: 28px 0 0; max-width: 40em; padding-top: 16px; border-top: 1px solid var(--line); font-size: 0.95rem; color: var(--muted); }
.three .actions { margin-top: 18px; }
