/*
 * Lethbridge Motorcycle Club: site layout and components ("Big sky, hardpack").
 * Colours come from css/theme.css. The only recurring motif is the number plate (prices, years, track facts).
 * Customer layer: LiveLaps overwrites css/site.css and css/imported.css, never this file.
 */

/* ------------------------------------------------------------------ base */
:root {
  --lmc-hero-ink: #0b1240;
  --lmc-wrap: 1200px;
  --lmc-gutter: 20px;
  --lmc-gap: clamp(1rem, 2.4vw, 2rem);
  --lmc-section: clamp(3.5rem, 8vw, 7rem);
  --lmc-line: color-mix(in srgb, var(--foreground) 16%, transparent);
  --lmc-gate-hover: color-mix(in srgb, var(--gate) 82%, #000);
  --lmc-focus: 0 0 0 2px var(--background), 0 0 0 4px var(--foreground);
  --site-header-row-height: 4.25rem;
}
@media (min-width: 48rem) { :root { --lmc-gutter: 32px; --site-header-row-height: 4.75rem; } }
html { scroll-padding-top: 6rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-stretch: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
@media (min-width: 64rem) { body { font-size: 1.125rem; } }
*:focus-visible { outline: 2px solid var(--foreground); outline-offset: 3px; border-radius: 2px; }
.dark *:focus-visible { outline-color: var(--sky); }
img { max-width: 100%; height: auto; }
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .75rem 1rem; border-radius: .375rem;
  background: var(--navy); color: var(--chalk); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 1rem; outline-color: var(--sky); }
.sr-only-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[hidden] { display: none !important; }

.wrap { width: min(100% - 2 * var(--lmc-gutter), var(--lmc-wrap)); margin-inline: auto; }
.section { padding-block: var(--lmc-section); background: var(--background); color: var(--foreground); }
.section--pale { background: var(--surface-alt); }
.section--navy { background: var(--navy); color: var(--chalk); }
.dark .section--navy { background: #070b2b; }
.section--tight { padding-block: clamp(2.25rem, 5vw, 4rem); }
.section > .wrap > :first-child { margin-top: 0; }
.section > .wrap > :last-child { margin-bottom: 0; }

/* Type: Archivo's width axis is the display voice (wide, heavy, slanted, like the logo lettering). */
.display, h1, h2, h3, .h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  font-weight: 850;
  line-height: .98;
  letter-spacing: -.018em;
  text-wrap: balance;
  margin: 0 0 .5em;
  color: inherit;
}
h1 { font-size: clamp(2rem, 7.2vw, 5.25rem); font-weight: 900; overflow-wrap: break-word; }
h2 { font-size: clamp(2rem, 4.6vw, 3.5625rem); }
h3, .h3 { font-size: clamp(1.375rem, 2.4vw, 1.875rem); line-height: 1.04; }
h4, .h4 { font-family: var(--font-sans); font-style: normal; font-stretch: 100%; font-variation-settings: normal; letter-spacing: 0; text-wrap: wrap; font-weight: 750; font-size: 1.125rem; line-height: 1.25; margin: 0 0 .35em; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.1875rem, 2vw, 1.5rem); line-height: 1.42; max-width: 40ch; font-weight: 500; }
.lede--big { font-size: clamp(1.375rem, 2.8vw, 2rem); line-height: 1.3; max-width: 40ch; font-weight: 600; letter-spacing: -.005em; }
.muted { color: var(--muted-foreground); }
.section--navy .muted { color: color-mix(in srgb, var(--chalk) 72%, transparent); }
.copy { max-width: 68ch; }
.copy > :last-child { margin-bottom: 0; }
.copy ul { padding-left: 1.25em; list-style: disc; }
.copy li { margin-bottom: .45em; }
.small { font-size: .875rem; line-height: 1.45; }

a { color: inherit; text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .2em; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); transition: color .15s, text-decoration-color .15s; }
a:hover { color: var(--gate-ink); text-decoration-color: currentColor; }
.section--navy a:hover, .lmc-footer a:hover { color: var(--sand); }
/* Small text hover on sky-pale surfaces: the red token is 4.25:1 there, this is 6:1. Light mode only (dark mode has its own surfaces). */
html:not(.dark) :is(.section--pale, .page-head) { --gate-ink: #b71f1f; }
.email, a[href^="mailto:"] { overflow-wrap: anywhere; }

/* Buttons: red means an action. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.875rem; padding: .6rem 1.25rem;
  border: 2px solid var(--gate); border-radius: .5rem; background: var(--gate); color: #fff; font: 700 1rem/1.2 var(--font-sans);
  text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; text-align: center;
}
.btn:hover { background: var(--lmc-gate-hover); border-color: var(--lmc-gate-hover); color: #fff; }
.btn:focus-visible { outline: 2px solid var(--foreground); outline-offset: 3px; }
.btn--line { background: transparent; color: var(--foreground); border-color: var(--foreground); }
.btn--line:hover { background: var(--foreground); border-color: var(--foreground); color: var(--background); }
.section--navy .btn--line { color: var(--chalk); border-color: var(--chalk); }
.section--navy .btn--line:hover { background: var(--chalk); color: var(--navy); border-color: var(--chalk); }
.btn--lg { min-height: 3.25rem; padding-inline: 1.6rem; font-size: 1.0625rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* ------------------------------------------------------------------ header */
header[data-site-header] {
  background: var(--background) !important; color: var(--foreground) !important;
  border-bottom: 1px solid var(--lmc-line) !important; transition: background-color .25s, border-color .25s;
}
header[data-site-header] [data-header-container] { padding-inline: var(--lmc-gutter); max-width: 90rem; margin-inline: auto; }
header[data-site-header] :is([data-nav-item] > a, [data-probe-item] > span, [data-more-item] > button, [data-probe-more] > span) {
  background: transparent; color: inherit; height: 2.5rem; padding: .5rem .7rem; border-radius: .375rem;
  font: 650 .96875rem/1 var(--font-sans); font-stretch: 100%; letter-spacing: 0; text-transform: none;
}
header[data-site-header] [data-nav-item] > a:hover { background: color-mix(in srgb, var(--foreground) 8%, transparent); color: inherit; }
header[data-site-header] [data-nav-item] > a[data-active] { background: transparent; }
header[data-site-header] [data-nav-item] > a[data-active]::after { background: var(--gate); height: 3px; left: .7rem; right: .7rem; inset-inline: .7rem; bottom: .15rem; border-radius: 2px; }
header[data-site-header] [data-header-brand] img, header[data-site-header] [data-probe-brand] img { height: 3.75rem; width: auto; max-width: none; }
@media (max-width: 40rem) { header[data-site-header] [data-header-brand] img, header[data-site-header] [data-probe-brand] img { height: 2.875rem; } }
header[data-site-header] :is([data-header-actions] a, [data-probe-actions] > span) {
  background: var(--gate) !important; color: #fff !important; border: 2px solid var(--gate); height: 2.625rem; padding: 0 1.1rem;
  border-radius: .5rem; font: 700 .96875rem/1 var(--font-sans); font-stretch: 100%; display: inline-flex; align-items: center; text-decoration: none;
}
header[data-site-header] [data-header-actions] a:hover { background: var(--lmc-gate-hover) !important; border-color: var(--lmc-gate-hover); }
header[data-site-header] :is([data-header-menu], [data-header-utilities] button) { color: inherit; }
header[data-site-header] [data-header-menu] {
  height: 2.75rem; min-width: 2.75rem; padding: 0 1rem; border: 2px solid currentColor; border-radius: .5rem; background: transparent;
  font: 700 1rem/1 var(--font-sans); gap: .5rem; align-items: center;
}
header[data-site-header] [data-header-menu]:hover { background: var(--foreground); color: var(--background); }
/* The navigation row that would stack under the logo is replaced by the Menu button. */
header[data-site-header][data-layout="stacked"] [data-header-nav] { display: none; }
header[data-site-header][data-layout="stacked"] [data-header-menu] { display: inline-flex; grid-area: menu; }
header[data-site-header][data-layout="stacked"] [data-header-grid] {
  grid-template-columns: minmax(0, 1fr) auto auto auto; grid-template-areas: "brand actions utilities menu"; grid-template-rows: var(--site-header-row-height);
}
header[data-site-header][data-layout="stacked"] { --site-header-height: calc(var(--site-header-row-height) + var(--site-header-border-width)); }

/* Home: the header floats see-through over the photo until the page scrolls (data-scrolled, js/site.js).
   Keyed on the hero itself, not on a body class: the generated LiveLaps pages are built from this page and copy its <body>. */
body:has(main > .hero) header[data-site-header] { margin-bottom: calc(-1 * (var(--site-header-row-height) + 1px)); }
html:not([data-scrolled]) body:has(main > .hero) header[data-site-header] {
  background: transparent !important; border-bottom-color: transparent !important; color: var(--lmc-hero-ink) !important;
}
html:not([data-scrolled]) body:has(main > .hero) header[data-site-header] [data-header-menu]:hover { background: var(--lmc-hero-ink); color: #fff; }
html[data-scrolled] header[data-site-header] { background: color-mix(in srgb, var(--background) 96%, transparent) !important; }

/* Full-screen phone menu (js/imported.js builds the sheet and the drop-downs). */
.imported-sheet-backdrop { background: var(--navy) !important; z-index: 80; }
.dark .imported-sheet-backdrop { background: #070b2b !important; }
.imported-sheet-panel {
  inset: 0 !important; width: 100% !important; max-width: none !important; height: 100%; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
  background: transparent !important; color: var(--chalk) !important; padding: 4.75rem var(--lmc-gutter) 2rem !important; overflow-y: auto;
}
.imported-sheet-panel .imported-menu-link, .imported-sheet-panel summary {
  display: block; padding: .4rem 0; background: transparent; color: var(--chalk); border-radius: 0; text-decoration: none; list-style: none;
  font: italic 850 clamp(1.9rem, 8vw, 2.75rem)/1.08 var(--font-display); font-stretch: 125%; font-variation-settings: "wdth" 125; letter-spacing: -.015em;
}
.imported-sheet-panel .imported-menu-link:hover, .imported-sheet-panel .imported-menu-link:focus-visible, .imported-sheet-panel summary:hover { background: transparent; color: var(--sand); }
.imported-sheet-panel details > div { padding-left: 0; }
.imported-sheet-panel details > div .imported-menu-link { font-size: 1.375rem; font-style: normal; font-stretch: 100%; font-variation-settings: normal; font-weight: 650; padding-left: .75rem; }
.imported-menu-close {
  position: absolute; top: 1.25rem; right: var(--lmc-gutter); width: 2.75rem !important; height: 2.75rem !important; border: 2px solid var(--chalk) !important;
  border-radius: .5rem !important; background: transparent !important; color: var(--chalk) !important; font-size: 1.75rem; line-height: 1; display: grid; place-items: center;
}
.imported-menu-close:hover { background: var(--chalk) !important; color: var(--navy) !important; }
.imported-sheet-panel :is(a, button, summary):focus-visible { outline: 3px solid var(--sky) !important; outline-offset: 2px !important; }
.sheet-extra { padding: 1.5rem 0 0; color: var(--chalk); font-size: 1rem; }
.sheet-extra .btn { width: 100%; margin-top: .75rem; }
.sheet-extra .btn + .btn { margin-top: .6rem; }
.sheet-extra .btn--line { color: var(--chalk); border-color: var(--chalk); }
.sheet-extra .btn--line:hover { background: var(--chalk); color: var(--navy); }
.sheet-extra .hours { margin-top: 1rem; }
.sheet-extra p { margin: 0 0 .35em; }
.imported-menu-popup { border-radius: .75rem; background: var(--card); color: var(--card-foreground); border: 1px solid var(--lmc-line); box-shadow: 0 14px 40px -12px color-mix(in srgb, var(--navy) 45%, transparent); }
.imported-menu-link { font-weight: 650; text-decoration: none; }
.imported-menu-link:hover, .imported-menu-link:focus-visible { background: color-mix(in srgb, var(--sky) 22%, transparent); color: inherit; }

/* ------------------------------------------------------------------ hero (the one bold element) */
.hero {
  position: relative; isolation: isolate; display: grid; min-height: 100vh; min-height: 100svh; color: var(--lmc-hero-ink); overflow: clip; background: var(--sky);
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 88%; display: block; transform-origin: 53% 60%; animation: hero-settle .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero__inner {
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  padding: calc(var(--site-header-row-height) + clamp(1.5rem, 4vh, 3rem)) 0 clamp(1.5rem, 4vh, 3rem);
}
.hero__title { max-width: 14ch; font-size: clamp(2.5rem, 8.2vw, 7.25rem); line-height: .93; margin: 0 0 .3em; animation: hero-rise .8s .1s cubic-bezier(.2, .7, .2, 1) both; }
.hero__lede { max-width: 34ch; font-size: clamp(1.1875rem, 2.2vw, 1.625rem); line-height: 1.35; font-weight: 600; margin: 0; animation: hero-rise .8s .2s cubic-bezier(.2, .7, .2, 1) both; }
.hero__foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem 2rem; animation: hero-rise .8s .3s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes hero-settle { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes hero-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero__img, .hero__title, .hero__lede, .hero__foot { animation: none; } }

.open-status {
  display: inline-flex; align-items: center; gap: .65rem; margin: 0; padding: .55rem 1rem .55rem .85rem; max-width: 100%;
  background: color-mix(in srgb, var(--chalk) 94%, transparent); color: var(--navy); border-radius: .6rem; font-weight: 650; font-size: 1rem; line-height: 1.3;
}
.open-dot { flex: none; width: .7rem; height: .7rem; border-radius: 50%; background: var(--mud); box-shadow: 0 0 0 3px color-mix(in srgb, var(--mud) 25%, transparent); }
.open-status[data-state="open"] .open-dot { background: #2e8b57; box-shadow: 0 0 0 3px rgb(46 139 87 / .28); }
.open-status a { text-decoration-color: currentColor; }
.open-note {
  display: inline-block; margin: .55rem 0 0; padding: .35rem .7rem; max-width: 44ch; font-size: .875rem; line-height: 1.4; font-weight: 600;
  background: color-mix(in srgb, var(--chalk) 94%, transparent); color: var(--navy); border-radius: .5rem;
}
.open-note a { text-decoration-color: currentColor; }
.hero__status { max-width: 38rem; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero .btn--line { background: color-mix(in srgb, var(--chalk) 80%, transparent); color: var(--navy); border-color: var(--navy); }
.hero .btn--line:hover { background: var(--navy); color: var(--chalk); }
@media (max-width: 40rem) {
  .hero__foot { align-items: stretch; flex-direction: column-reverse; }
  .hero__buttons { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .hero__buttons .btn { min-height: 3rem; padding-inline: .5rem; font-size: .9375rem; }
}

/* ------------------------------------------------------------------ page head (inner pages) */
.page-head { padding-block: clamp(2.75rem, 7vw, 5.5rem) clamp(2rem, 5vw, 3.5rem); background: var(--surface-alt); color: var(--foreground); }
.page-head h1 { margin-bottom: .35em; max-width: 16ch; }
.page-head .lede { margin-bottom: 0; max-width: 62ch; }
.section :is(p, ul, ol, div, figure, address) + :is(h2, h3) { margin-top: 1.5em; }
/* Photo page head: a solid sky-pale panel with the title, and a club photo beside it (above it on phones). No text on the photo, no motion. */
.page-head--photo { display: grid; grid-template-columns: minmax(0, 1fr); padding: 0; }
.page-head__media { position: relative; order: -1; height: clamp(11rem, 28vh, 16rem); background: var(--navy); overflow: hidden; }
.page-head__media img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.page-head__text { padding: clamp(1.75rem, 5vw, 2.5rem) var(--lmc-gutter) clamp(2rem, 5vw, 2.75rem); }
.page-head--photo h1 { font-size: clamp(2rem, 8vw, 3.25rem); max-width: 16ch; }
@media (min-width: 60rem) {
  .page-head--photo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: clamp(20rem, 40vh, 28rem); }
  .page-head__media { order: 0; height: auto; min-height: 100%; }
  .page-head__text { display: flex; align-items: center; padding: 2.5rem clamp(1.5rem, 3.5vw, 3.5rem) 2.5rem max(var(--lmc-gutter), calc((100vw - var(--lmc-wrap)) / 2)); }
  .page-head--photo h1 { font-size: clamp(2.25rem, 3.9vw, 3.5rem); max-width: 14ch; }
}
.page-head__inner { max-width: 36rem; }
.page-head--photo .lede { max-width: 34ch; }
.print-id { margin: 1rem 0 0; font-weight: 700; }

/* ------------------------------------------------------------------ layout helpers */
.split { display: grid; gap: clamp(1.75rem, 4vw, 4rem); align-items: start; }
@media (min-width: 60rem) {
  .split { grid-template-columns: repeat(12, 1fr); }
  .split > :first-child { grid-column: 1 / span 6; }
  .split > :last-child { grid-column: 8 / span 5; }
  .split--wide-media > :first-child { grid-column: 1 / span 5; }
  .split--wide-media > :last-child { grid-column: 7 / span 6; }
  .split--even > :first-child { grid-column: 1 / span 6; }
  .split--even > :last-child { grid-column: 7 / span 6; }
  .split--reverse > :first-child { grid-column: 7 / span 6; grid-row: 1; }
  .split--reverse > :last-child { grid-column: 1 / span 6; grid-row: 1; }
}
.stack > * + * { margin-top: 1rem; }
.fig { margin: 0; }
.fig img { display: block; width: 100%; border-radius: .75rem; }
.fig figcaption { margin-top: .6rem; font-size: .9375rem; color: var(--muted-foreground); line-height: 1.4; }
.section--navy .fig figcaption { color: color-mix(in srgb, var(--chalk) 75%, transparent); }
.zoom { display: block; position: relative; text-decoration: none; cursor: zoom-in; border-radius: .75rem; }
.zoom:focus-visible { outline-offset: 4px; }
.zoom-hint { display: inline-block; margin-top: .55rem; font-size: .9375rem; font-weight: 650; text-decoration: underline; text-underline-offset: .2em; }

/* number plates */
.plates { display: flex; flex-wrap: wrap; gap: 1rem 1.25rem; margin: 1.5rem 0; padding: 0; list-style: none; }
.plate-item { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; min-width: 0; }
.plate-item .plate-label { max-width: 11rem; }
.plate {
  display: inline-block; margin: 0; padding: .1em .38em .02em; background: var(--sand); color: var(--navy); border: 2px solid var(--navy);
  border-radius: .55rem; font: 800 clamp(2.25rem, 5vw, 3.5rem)/1.05 var(--font-sans); font-stretch: 62%; font-variation-settings: "wdth" 62;
  font-variant-numeric: tabular-nums; letter-spacing: .005em; white-space: nowrap;
}
.plate-label { margin: 0; font-size: .9375rem; line-height: 1.3; font-weight: 600; }
.plate--sm { font-size: clamp(1.75rem, 3.6vw, 2.5rem); }
.plates--row { flex-wrap: nowrap; gap: .75rem clamp(.75rem, 2vw, 1.25rem); }
.plates--row .plate-item { flex: 0 1 auto; }
.plates--row .plate { font-size: clamp(1.5rem, 3.2vw, 2.5rem); }
.plates--row .plate-label { max-width: 9rem; font-size: .875rem; }
.plate-item--label-first { flex-direction: column; }
.plate-item--label-first .plate-label { max-width: 13rem; }
.map-extra { margin-top: 1.75rem; }
.map-extra h3 { margin-bottom: .5em; }
.map-extra .plain-list { margin: 0; }

/* ------------------------------------------------------------------ lists */
.facts { margin: 1.25rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--lmc-line); }
.facts li { padding: .7rem 0; border-bottom: 1px solid var(--lmc-line); }
.plain-list { margin: 1rem 0; padding-left: 1.25em; max-width: 62ch; list-style: disc; }
.plain-list li { margin-bottom: .5em; padding-left: .2em; }
.link-list { margin: 1rem 0; padding: 0; list-style: none; }
.link-list li { padding: .5rem 0; border-bottom: 1px solid var(--lmc-line); }
.hours { margin: .5rem 0 1rem; padding: 0; list-style: none; max-width: 22rem; }
.hours li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .1rem 1rem; padding: .35rem 0; border-bottom: 1px solid color-mix(in srgb, currentColor 18%, transparent); }
.hours li span:first-child { font-weight: 650; }
.hours li span:last-child { font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------ offers (home, day use, memberships) */
.offers { display: grid; gap: var(--lmc-gap); align-items: start; }
@media (min-width: 60rem) { .offers { grid-template-columns: 1fr 1fr; } }
.offer { padding: clamp(1.25rem, 3vw, 2.25rem); background: var(--card); color: var(--card-foreground); border: 2px solid var(--navy); border-radius: .9rem; }
.dark .offer { border-color: var(--border); }
.offer > :last-child { margin-bottom: 0; }
.offer__foot { clear: both; padding-top: .25rem; }
.flyer-thumb { float: right; width: min(10rem, 34%); margin: 0 0 1rem 1.25rem; }
.flyer-thumb img { width: 100%; border-radius: .5rem; }
.flyer-thumb .zoom-hint { font-size: .8125rem; line-height: 1.25; }
.offer::after { content: none; }
.offer h3 { margin-bottom: .45em; }

.notice { padding: 1rem 1.25rem; border-left: 6px solid var(--gate); background: var(--card); color: var(--card-foreground); border-radius: .25rem .6rem .6rem .25rem; font-weight: 650; font-size: 1.125rem; line-height: 1.4; margin: 0 0 1rem; }
.notice--sky { border-left-color: var(--sky); }
.notice p { margin: 0; }

.products { display: grid; gap: var(--lmc-gap); margin-top: 2rem; }
@media (min-width: 48rem) { .products { grid-template-columns: 1fr 1fr; } }
.product { display: flex; flex-direction: column; background: var(--card); border: 2px solid var(--navy); border-radius: .9rem; overflow: hidden; }
.dark .product { border-color: var(--border); }
.product img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.product__body { padding: 1.25rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.product__body p { margin: 0; }
.product__price { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin: .25rem 0; }
.product__price .plate-label { font-weight: 600; }
.product__body .btn { margin-top: auto; align-self: flex-start; }

/* ------------------------------------------------------------------ full-bleed band and gallery */
.band { margin: 0; line-height: 0; background: var(--navy); }
.band img { display: block; width: 100%; height: clamp(11rem, 26vw, 24rem); object-fit: cover; object-position: 50% 60%; }
.band--short img { height: clamp(5rem, 14vw, 11rem); object-position: 50% 50%; }

.gallery { display: grid; gap: .5rem; grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(7rem, 30vw, 13rem); margin: 2rem 0 0; padding: 0; list-style: none; }
.gallery li { display: contents; }
.gallery button { padding: 0; border: 0; background: var(--navy); border-radius: .5rem; overflow: hidden; cursor: zoom-in; position: relative; display: block; width: 100%; height: 100%; }
.gallery img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.gallery button:hover img { transform: scale(1.04); }
.gallery button:focus-visible { outline: 3px solid var(--foreground); outline-offset: 3px; z-index: 1; }
.gallery li:nth-child(1) button { grid-column: span 2; grid-row: span 2; }
@media (max-width: 47.99rem) { .gallery li:nth-child(16) button { grid-column: span 2; } }
@media (min-width: 48rem) {
  .gallery { grid-template-columns: repeat(12, 1fr); gap: .625rem; grid-auto-rows: clamp(8rem, 15vw, 14rem); }
  .gallery li:nth-child(n) button { grid-column: span 3; grid-row: span 1; }
  .gallery li:nth-child(1) button { grid-column: 1 / span 6; grid-row: span 2; }
  .gallery li:nth-child(2) button { grid-column: span 6; }
  .gallery li:nth-child(3) button, .gallery li:nth-child(4) button { grid-column: span 3; }
  .gallery li:nth-child(5) button, .gallery li:nth-child(6) button, .gallery li:nth-child(7) button { grid-column: span 4; }
  .gallery li:nth-child(8) button, .gallery li:nth-child(9) button, .gallery li:nth-child(10) button, .gallery li:nth-child(11) button { grid-column: span 3; }
  .gallery li:nth-child(12) button { grid-column: span 8; }
  .gallery li:nth-child(13) button { grid-column: span 4; }
  .gallery li:nth-child(14) button { grid-column: span 6; }
  .gallery li:nth-child(15) button, .gallery li:nth-child(16) button { grid-column: span 3; }
}

/* lightbox (js: scripts/lmc.js) */
.lightbox { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; width: 100vw; height: 100vh; height: 100dvh; color: #fff; }
.lightbox::backdrop { background: rgb(5 8 32 / .94); }
.lightbox__stage { position: absolute; inset: 0; display: grid; grid-template-rows: 1fr auto; padding: 3.5rem 1rem 1rem; gap: .75rem; touch-action: pan-y; }
.lightbox__figure { margin: 0; min-height: 0; display: flex; align-items: center; justify-content: center; }
.lightbox__img { max-width: 100%; max-height: calc(100vh - 8rem); max-height: calc(100dvh - 8rem); width: auto; height: auto; object-fit: contain; border-radius: .25rem; background: transparent; animation: lightbox-in .2s ease-out; }
@keyframes lightbox-in { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: .9375rem; line-height: 1.4; }
.lightbox__caption { margin: 0; max-width: 70ch; }
.lightbox__count { margin: 0; white-space: nowrap; font-variant-numeric: tabular-nums; opacity: .85; }
.lightbox button { position: absolute; width: 2.875rem; height: 2.875rem; border-radius: .5rem; border: 2px solid #fff; background: rgb(11 18 64 / .6); color: #fff; font: 700 1.5rem/1 var(--font-sans); cursor: pointer; display: grid; place-items: center; padding: 0; }
.lightbox button:hover { background: #fff; color: var(--navy); }
.lightbox button:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.lightbox__close { top: .75rem; right: .75rem; }
.lightbox__prev { left: .75rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: .75rem; top: 50%; transform: translateY(-50%); }
.lightbox--single .lightbox__prev, .lightbox--single .lightbox__next, .lightbox--single .lightbox__count { display: none; }
@media (prefers-reduced-motion: reduce) { .lightbox__img { animation: none; } .gallery img { transition: none; } }

/* ------------------------------------------------------------------ sponsors */
.sponsors { display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); margin: 2rem 0 0; padding: 0; list-style: none; }
@media (min-width: 40rem) { .sponsors { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 64rem) { .sponsors { grid-template-columns: repeat(4, 1fr); } }
.sponsor { position: relative; display: flex; align-items: center; justify-content: center; height: clamp(6.5rem, 14vw, 8.5rem); padding: .85rem 1rem; background: #fff; border: 1px solid var(--lmc-line); border-radius: .75rem; text-decoration: none; color: var(--navy); overflow: hidden; }
a.sponsor:hover { border-color: var(--navy); }
.sponsor img { display: block; width: auto; height: auto; max-width: min(100%, var(--sw, 80%)); max-height: var(--sh, 70%); object-fit: contain; }
.sponsor--dark { background: #232638; }
.sponsor--photo { padding: .35rem; }
.sponsor--photo img { max-width: 100%; max-height: 100%; width: auto; height: 100%; object-fit: contain; }
.sponsor--saber { background: #fff; }

/* ------------------------------------------------------------------ people */
.people { display: grid; gap: var(--lmc-gap) 1.25rem; grid-template-columns: repeat(2, 1fr); margin: 2rem 0 0; padding: 0; list-style: none; }
@media (min-width: 60rem) { .people { grid-template-columns: repeat(4, 1fr); } }
.person img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: .75rem; background: var(--surface-alt); }
.person h3 { font-size: clamp(1.1875rem, 2vw, 1.5rem); margin: .8rem 0 .15rem; }
.person p { margin: 0; line-height: 1.35; }
.person .role { font-weight: 650; }
.person .email { display: block; margin-top: .4rem; font-size: .8125rem; }
.board { display: grid; gap: 1.5rem 2.5rem; margin: 1.5rem 0 0; }
@media (min-width: 48rem) { .board { grid-template-columns: repeat(3, 1fr); } }
.board h4 { margin-bottom: .5rem; }
.board ul { margin: 0; padding: 0; list-style: none; }
.board li { padding: .3rem 0; border-bottom: 1px solid var(--lmc-line); }

.timeline { margin: 2rem 0 0; padding: 0; list-style: none; display: grid; gap: 1.1rem; }
.timeline li { display: grid; grid-template-columns: minmax(5.5rem, auto) 1fr; gap: 1rem; align-items: center; }
.timeline .plate { font-size: clamp(1.75rem, 3.4vw, 2.375rem); justify-self: start; }
.timeline p { margin: 0; max-width: 52ch; }

/* ------------------------------------------------------------------ rules */
.key-rules { display: grid; gap: 0; margin: 1.5rem 0 0; padding: 0; list-style: none; border-top: 3px solid var(--navy); }
.dark .key-rules { border-top-color: var(--chalk); }
.key-rules li { padding: clamp(.9rem, 2vw, 1.4rem) 0; border-bottom: 1px solid var(--lmc-line); font-size: clamp(1.3125rem, 2.8vw, 2rem); line-height: 1.22; font-weight: 700; max-width: 38ch; letter-spacing: -.005em; }
.rules-list { margin: 1.25rem 0 0; padding-left: 1.4em; max-width: 68ch; list-style: disc; }
.rules-list li { padding: .3rem 0 .3rem .2em; }
.rules-list li::marker { color: var(--mud); }
.policies { padding: clamp(1.25rem, 3vw, 2rem); background: var(--card); border: 2px solid var(--navy); border-radius: .9rem; }
.dark .policies { border-color: var(--border); }
.policies p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------ SABER, FAQ, links, contact */
.actions + nav { margin-top: 2.25rem; }
.toc { margin: 1.5rem 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.toc a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .35rem .95rem; border: 2px solid var(--foreground); border-radius: 2rem; text-decoration: none; font-weight: 650; font-size: .9375rem; }
.toc a:hover { background: var(--foreground); color: var(--background); }
.saber-section { padding-block: clamp(1.75rem, 4vw, 3rem); border-top: 1px solid var(--lmc-line); }
.saber-section:first-of-type { border-top: 0; }
.saber-section h2 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); }
.contacts { margin: 1rem 0 0; padding: 0; list-style: none; max-width: 40rem; }
.contacts li { display: flex; flex-wrap: wrap; gap: .1rem 1rem; padding: .6rem 0; border-bottom: 1px solid var(--lmc-line); }
.contacts .who { font-weight: 700; min-width: 9rem; }
.resources { margin: 1rem 0 0; padding: 0; list-style: none; display: grid; gap: .5rem; }
@media (min-width: 40rem) { .resources { grid-template-columns: 1fr 1fr; } }
.resources a { display: block; padding: .85rem 1rem; border: 2px solid var(--navy); border-radius: .6rem; background: var(--card); text-decoration: none; font-weight: 650; }
.dark .resources a { border-color: var(--border); }
.resources a:hover { background: var(--navy); color: var(--chalk); }
.saber-logo { display: block; width: clamp(7rem, 16vw, 11rem); height: auto; background: #fff; padding: .6rem; border-radius: .75rem; }
.social-links { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.social-links a { display: inline-flex; align-items: center; gap: .55rem; min-height: 2.75rem; text-decoration: none; font-weight: 650; }
.social-links svg { width: 1.5rem; height: 1.5rem; flex: none; }

.faq details { border-top: 1px solid var(--lmc-line); }
.faq details:last-child { border-bottom: 1px solid var(--lmc-line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 0; min-height: 3.5rem; font: italic 800 clamp(1.1875rem, 2.4vw, 1.625rem)/1.2 var(--font-display); font-stretch: 125%; font-variation-settings: "wdth" 125; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: .9rem; height: .9rem; border-right: 3px solid currentColor; border-bottom: 3px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq summary:hover { color: var(--gate-ink); }
.faq__answer { padding: 0 0 1.25rem; max-width: 66ch; animation: faq-open .22s ease-out; }
.faq__answer p:last-child { margin-bottom: 0; }
@keyframes faq-open { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .faq__answer { animation: none; } .faq summary::after { transition: none; } }

.partners { display: grid; gap: var(--lmc-gap); margin: 2rem 0 0; padding: 0; list-style: none; }
@media (min-width: 48rem) { .partners { grid-template-columns: repeat(3, 1fr); } }
.partner { display: flex; flex-direction: column; gap: .75rem; }
.partner__logo { display: grid; place-items: center; height: 9rem; background: #fff; border: 1px solid var(--lmc-line); border-radius: .75rem; padding: 1rem; }
.partner__logo--dark { background: #232638; }
.partner__logo img { max-width: 80%; max-height: 80%; width: auto; height: auto; }
.partner h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); margin: 0; }
.partner p { margin: 0; line-height: 1.4; }

.form { display: grid; gap: 1rem; max-width: 34rem; }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 650; font-size: .9375rem; }
.field input, .field textarea {
  width: 100%; min-height: 2.875rem; padding: .6rem .8rem; border: 2px solid var(--foreground); border-radius: .5rem; background: var(--input); color: var(--foreground); font: inherit; font-size: 1rem;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.form__status { margin: 0; font-weight: 650; }
.form__hint { margin: 0; font-size: .9375rem; color: var(--muted-foreground); }
.nowrap { white-space: nowrap; }
.help-title { font-size: clamp(1.5rem, 3.4vw, 2.5rem); text-wrap: balance; }
h3.help-title { margin-top: 1.75rem; }
.address { font-style: normal; margin: 0 0 1rem; }
.address p { margin: 0 0 .15em; }

/* ------------------------------------------------------------------ footer */
.lmc-footer { background: var(--navy); color: var(--chalk); padding-block: clamp(2.5rem, 6vw, 4.5rem) 0; font-size: 1rem; }
.dark .lmc-footer { background: #070b2b; }
.lmc-footer h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: .4em; }
.lmc-footer h3 { font: 750 1rem/1.3 var(--font-sans); font-style: normal; font-stretch: 100%; font-variation-settings: normal; letter-spacing: 0; margin: 0 0 .6rem; }
.lmc-footer p { margin: 0 0 .5em; }
.lmc-footer a { color: inherit; text-decoration-color: color-mix(in srgb, var(--chalk) 45%, transparent); }
.footer-top { display: grid; gap: 2rem; padding-bottom: clamp(2rem, 5vw, 3rem); border-bottom: 1px solid color-mix(in srgb, var(--chalk) 24%, transparent); }
@media (min-width: 60rem) { .footer-top { grid-template-columns: 7fr 5fr; gap: 4rem; } }
.footer-form { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; max-width: 32rem; }
.footer-form label { flex: 1 0 100%; font-weight: 650; font-size: .9375rem; }
.footer-form input { flex: 1 1 14rem; min-height: 2.875rem; padding: .6rem .8rem; border: 2px solid var(--chalk); border-radius: .5rem; background: var(--chalk); color: var(--navy); font: inherit; min-width: 0; }
.footer-form input:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.footer-form .form__hint { flex: 1 0 100%; color: color-mix(in srgb, var(--chalk) 72%, transparent); }
.footer-form .form__status { flex: 1 0 100%; }
.footer-social { margin: .75rem 0 0; padding: 0; list-style: none; display: grid; gap: .25rem; }
.footer-social a { display: inline-flex; align-items: center; gap: .65rem; min-height: 2.75rem; text-decoration: none; font-weight: 650; }
.footer-social a:hover { text-decoration: underline; }
.footer-social svg { width: 1.6rem; height: 1.6rem; flex: none; }
.footer-grid { display: grid; gap: 2rem 2.5rem; padding-block: clamp(2rem, 5vw, 3rem); grid-template-columns: 1fr; }
@media (min-width: 40rem) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; } }
.footer-brand a.logo { display: inline-flex; background: var(--chalk); border-radius: .9rem; padding: .5rem .8rem; margin-bottom: 1rem; }
.footer-brand img { display: block; height: 4rem; width: auto; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links a { display: inline-block; padding: .22rem 0; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.lmc-footer .hours { max-width: 18rem; }
.footer-bar { border-top: 1px solid color-mix(in srgb, var(--chalk) 24%, transparent); padding-block: 1.1rem 1.4rem; font-size: .9375rem; color: color-mix(in srgb, var(--chalk) 80%, transparent); }
.footer-bar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; }
.footer-bar p { margin: 0; }

/* ------------------------------------------------------------------ misc */
.callout-btns { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 0; }
.lmc-404 { min-height: 55vh; display: grid; align-items: center; }
.crest { float: right; margin: 0 0 .5rem 1.25rem; width: 148px; height: 140px; border-radius: .5rem; }
@media (max-width: 37.5rem) { .crest { float: none; display: block; margin: 0 0 1rem; } }
.print-only { display: none; }
[data-print] { display: none; }
.js [data-print] { display: inline-flex; }
.event-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--lmc-line); max-width: 52rem; }
.event-list li { padding: 1.4rem 0; border-bottom: 1px solid var(--lmc-line); }
.event-list a.h3 { display: inline-block; margin-bottom: .3em; text-decoration: none; }
.event-list a.h3:hover { text-decoration: underline; }
.event-list p { margin: 0; max-width: 56ch; }

@media print {
  header, footer, .skip-link, .no-print, .hero, .page-head .actions, .page-head__media, [data-slot="sheet-content"], #chatwoot_live_chat_widget, [data-chatwoot-launcher] { display: none !important; }
  body { background: #fff !important; color: #000 !important; font-size: 12.5pt; }
  .page-head--photo { display: block; min-height: 0; }
  .page-head__text { padding: 0 !important; display: block; }
  .section, .page-head, .section--pale { background: #fff !important; color: #000 !important; padding-block: 1rem !important; }
  a { color: #000; text-decoration: none; }
  .key-rules li { font-size: 16pt; break-inside: avoid; }
  .rules-list li, .policies { break-inside: avoid; }
  .policies { border: 1px solid #000; }
  .print-only { display: block; }
}
