:root {
  --background: #fffdf8;
  --foreground: #171315;
  --card: #ffffff;
  --card-foreground: #171315;
  --popover: #ffffff;
  --popover-foreground: #171315;
  --primary: #f2771a;
  --primary-foreground: #0d090d;
  --secondary: #b81f25;
  --secondary-foreground: #ffffff;
  --muted: #f3ede6;
  --muted-foreground: #5f5555;
  --accent: #fde62f;
  --accent-foreground: #0d090d;
  --destructive: #b81f25;
  --destructive-foreground: #ffffff;
  --success: #3e712b;
  --success-foreground: #ffffff;
  --warning: #c49300;
  --warning-foreground: #0d090d;
  --border: #d5c8c3;
  --input: #d5c8c3;
  --ring: #b81f25;
  --chart-1: #d45e0d;
  --chart-2: #b89600;
  --chart-3: #b81f25;
  --chart-4: #365c9c;
  --chart-5: #52772b;
  --sidebar: #f5efe8;
  --sidebar-foreground: #171315;
  --sidebar-primary: #f2771a;
  --sidebar-primary-foreground: #0d090d;
  --sidebar-accent: #fde62f;
  --sidebar-accent-foreground: #0d090d;
  --sidebar-border: #d5c8c3;
  --sidebar-ring: #b81f25;
  --font-sans: 'Barlow', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  --tracking-normal: 0em;
  --radius: 0.63rem;
  --spacing: 0.25rem;
}

.dark {
  --background: #0d090d;
  --foreground: #f7f3eb;
  --card: #1c181a;
  --card-foreground: #f7f3eb;
  --popover: #211c1e;
  --popover-foreground: #f7f3eb;
  --primary: #f2771a;
  --primary-foreground: #0d090d;
  --secondary: #b81f25;
  --secondary-foreground: #ffffff;
  --muted: #292326;
  --muted-foreground: #c6bdb7;
  --accent: #fde62f;
  --accent-foreground: #0d090d;
  --destructive: #b81f25;
  --destructive-foreground: #ffffff;
  --success: #8dcb5b;
  --success-foreground: #0d090d;
  --warning: #fde62f;
  --warning-foreground: #0d090d;
  --border: #41383c;
  --input: #41383c;
  --ring: #fde62f;
  --chart-1: #f2771a;
  --chart-2: #fde62f;
  --chart-3: #b81f25;
  --chart-4: #4c77b8;
  --chart-5: #78a74b;
  --sidebar: #171316;
  --sidebar-foreground: #f7f3eb;
  --sidebar-primary: #f2771a;
  --sidebar-primary-foreground: #0d090d;
  --sidebar-accent: #b81f25;
  --sidebar-accent-foreground: #ffffff;
  --sidebar-border: #41383c;
  --sidebar-ring: #fde62f;
}

:root {--site--background:var(--background);--site--foreground:var(--foreground);--site--border:var(--border);--site--muted:var(--muted);--site--muted-foreground:var(--muted-foreground);}

[data-theme-region="header"] {--background: #171315;--foreground: #f7f3eb;--border: #332c30;--muted-foreground:var(--foreground);--muted:color-mix(in srgb,var(--foreground) 10%,var(--background));}

[data-theme-region="header"] [data-region-link] {color:#f7f3eb;}

.dark [data-theme-region="header"] {--background: #141214;--foreground: #f7f3eb;--border: #332c30;--muted-foreground:var(--foreground);--muted:color-mix(in srgb,var(--foreground) 10%,var(--background));}

.dark [data-theme-region="header"] [data-region-link] {color:#f7f3eb;}

[data-theme-region="footer"] {--background: #171315;--foreground: #f7f3eb;--border: #3b3335;--muted-foreground:var(--foreground);--muted:color-mix(in srgb,var(--foreground) 10%,var(--background));}

[data-theme-region="footer"] [data-region-link] {color:#fde62f;}

.dark [data-theme-region="footer"] {--background: #181416;--foreground: #f7f3eb;--border: #3b3335;--muted-foreground:var(--foreground);--muted:color-mix(in srgb,var(--foreground) 10%,var(--background));}

.dark [data-theme-region="footer"] [data-region-link] {color:#fde62f;}

/* Stoney Lonesome Motorcycle Club look, matching stoneylonesomemc.com: dark topographic hero, white content pages,
   blue links, orange/yellow/red logo accents. Customer-owned; page markup lives in index.html and en/<page>/index.html. */
.slmc-button {
  display: inline-flex; align-items: center; justify-content: center; margin: .5rem .5rem 0 0; padding: .7rem 1.25rem;
  border: 2px solid var(--primary); border-radius: var(--radius); background: var(--primary); color: var(--primary-foreground);
  font-weight: 700; letter-spacing: .02em; text-decoration: none; text-transform: uppercase; font-size: .85rem;
}
.slmc-button:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-foreground); }
.slmc-button--outline { background: transparent; color: #fff; border-color: #fff; }
.slmc-page-hero .slmc-button--outline, .slmc-page .slmc-button--outline { color: var(--foreground); border-color: var(--foreground); }
.slmc-page-hero .slmc-button--outline { color: #fff; border-color: #fff; }

.slmc-page-hero {
  background: #0d090d url('/images/club/hero-home.jpg') left center / cover no-repeat; color: #fff; position: relative;
  border-bottom: 4px solid var(--primary);
}
.slmc-page-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,9,13,.2), rgba(13,9,13,.85) 55%); }
.slmc-page-hero__inner { position: relative; max-width: 80rem; margin: 0 auto; padding: 3.5rem 1rem 3rem; text-align: right; }
@media (min-width: 640px) { .slmc-page-hero__inner { padding: 4.5rem 1.5rem 4rem; } }
.slmc-page-hero h1 { margin: 0; font-size: clamp(1.9rem, 4.5vw, 3.25rem); font-weight: 700; line-height: 1.1; color: #fff; text-transform: uppercase; letter-spacing: .01em; }
.slmc-page-hero__lead { margin: 1rem 0 0 auto; max-width: 42rem; font-size: 1.1rem; color: #f7f3eb; }
@media (max-width: 639px) { .slmc-page-hero__inner { text-align: left; } .slmc-page-hero__lead { margin-left: 0; } }

.slmc-page { padding: 2.5rem 1rem 4rem; }
.slmc-page__inner { max-width: 52rem; margin: 0 auto; }
.slmc-figure { display: block; width: 100%; max-width: 32rem; height: auto; margin: 0 auto 2rem; border-radius: var(--radius); }
.slmc-prose { font-size: 1.05rem; line-height: 1.7; color: var(--foreground); }
.slmc-prose h2 { margin: 2.25rem 0 .75rem; font-size: 1.75rem; font-weight: 700; line-height: 1.2; text-transform: uppercase; }
.slmc-prose h3 { margin: 1.75rem 0 .5rem; font-size: 1.35rem; font-weight: 700; line-height: 1.25; }
.slmc-prose h4 { margin: 1.25rem 0 .35rem; font-size: 1.1rem; font-weight: 700; }
.slmc-prose p, .slmc-prose ul, .slmc-prose ol { margin: 0 0 1rem; }
.slmc-prose ul { list-style: disc; padding-left: 1.5rem; }
.slmc-prose ol { list-style: decimal; padding-left: 1.5rem; }
.slmc-prose li { margin: .25rem 0; }
.slmc-prose a { color: #295ca7; text-decoration: underline; text-underline-offset: 3px; }
.dark .slmc-prose a { color: #8fb4ee; }
.slmc-prose a:hover { color: var(--secondary); }

.slmc-cards { display: grid; gap: 1rem; margin-top: 2rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .slmc-cards { grid-template-columns: 1fr 1fr; } }
.slmc-card { padding: 1.25rem; border: 1px solid var(--border); border-top: 4px solid var(--primary); border-radius: var(--radius); background: var(--card); }
.slmc-card h3 { margin: 0 0 .5rem; font-size: 1.2rem; font-weight: 700; }
.slmc-card__link { color: #295ca7; font-weight: 700; text-decoration: underline; }

.slmc-sponsor-grid { display: grid; gap: 1rem; margin-top: 2rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .slmc-sponsor-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .slmc-sponsor-grid { grid-template-columns: repeat(4, 1fr); } }
.slmc-sponsor { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; padding: 1rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); text-align: center; }
.slmc-sponsor__logo { width: 100%; max-height: 6rem; object-fit: contain; }
.slmc-sponsor__name { color: #295ca7; font-size: .9rem; font-weight: 600; text-decoration: none; }
.slmc-sponsor__name:hover { text-decoration: underline; }
.slmc-sponsor--small { min-height: 6rem; }
.slmc-sponsor-grid--compact { margin-bottom: 1.5rem; }

.slmc-home-hero { background: #0d090d; color: #fff; }
.slmc-home-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.slmc-home-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,9,13,.1), rgba(13,9,13,.8) 60%); }
.slmc-home-hero__content { position: relative; z-index: 1; width: 100%; max-width: 80rem; padding: 4rem 1rem; text-align: right; margin: 0 auto; }
@media (min-width: 640px) { .slmc-home-hero__content { padding: 4rem 1.5rem; } }
.slmc-home-hero__title { margin: 0 0 1rem auto; max-width: 36rem; font-size: clamp(2.25rem, 6vw, 4.5rem); font-weight: 700; line-height: 1.05; text-transform: uppercase; color: #fff; }
.slmc-home-hero__subtitle { margin: 0 0 1.5rem auto; max-width: 32rem; font-size: 1.15rem; color: #f7f3eb; }
.slmc-home-hero__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .25rem; }
@media (max-width: 639px) { .slmc-home-hero__content { text-align: left; } .slmc-home-hero__title, .slmc-home-hero__subtitle { margin-left: 0; } .slmc-home-hero__actions { justify-content: flex-start; } }

.slmc-band { padding: 3rem 1rem; }
.slmc-band--alt { background: var(--muted); }
.slmc-band__inner { max-width: 64rem; margin: 0 auto; }
.slmc-band__inner--split { display: grid; gap: 2rem; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 768px) { .slmc-band__inner--split { grid-template-columns: 14rem 1fr; } }
.slmc-band__img { width: 12rem; height: auto; margin: 0 auto; border-radius: var(--radius); }
.slmc-band__heading { margin: 0 0 1rem; font-size: 1.75rem; font-weight: 700; text-transform: uppercase; }
.slmc-band .slmc-prose h2:first-child { margin-top: 0; }

.slmc-footer-contact { display: flex; flex-direction: column; gap: .25rem; }
.slmc-footer-contact a { text-decoration: underline; text-underline-offset: 3px; }

/* Dark header/footer: readable cards and popovers, solid keyboard focus (the template ring is half transparent). */
[data-theme-region="header"], [data-theme-region="footer"] {
  --card: #1c181a; --card-foreground: #f7f3eb; --popover: #211c1e; --popover-foreground: #f7f3eb;
}
[data-theme-region="header"] :is(a, button, [role="button"]):focus-visible,
[data-theme-region="footer"] :is(a, button, [role="button"]):focus-visible { outline: 3px solid #fde62f; outline-offset: 2px; box-shadow: none; }
.slmc-band .slmc-button--outline { color: var(--foreground); border-color: var(--foreground); }

/* Menus opened from the header: body-level dropdowns/mobile sheet and the in-header theme menu. */
:is(.imported-menu-popup, .imported-sheet-panel) :is(a, button, summary, [role="button"]):focus-visible,
[role="menu"] [role^="menuitem"]:focus-visible { outline: 3px solid var(--popover-foreground); outline-offset: -3px; box-shadow: none; }
/* Solid header before scroll on the home hero (the shared 50% see-through header drops text below AA over the photo). */
html:has(main > section[class*="-mt-(--site-header-height)"][class*="min-h-svh"]:first-of-type):not([data-scrolled]) header[data-site-header][data-theme-region="header"] { background-color: var(--background); -webkit-backdrop-filter: none; backdrop-filter: none; }
.slmc-band .slmc-button--outline:hover, .slmc-page .slmc-button--outline:hover { color: var(--accent-foreground); border-color: var(--accent); }
/* Menu focus fill is the yellow accent: dark outline, not the light popover text. */
:is(.imported-menu-popup, .imported-sheet-panel) :is(a, button, summary, [role="button"]):focus-visible,
[role="menu"] [role^="menuitem"]:focus-visible { outline-color: var(--accent-foreground); }
:is(.imported-menu-popup, .imported-sheet-panel) button.imported-menu-close:focus-visible { outline-color: var(--popover-foreground); }
