:root {
  --ink: #111827;
  --muted: #5b6472;
  --paper: #f7f4ee;
  --white: #ffffff;
  --racing-green: #004225;
  --racing-green-2: #004225;
  --gold: #c6a15b;
  --gold-soft: #eadabd;
  --line: rgba(17, 24, 39, .12);
  --shadow: 0 24px 60px rgba(15, 59, 46, .18);
  --radius: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }
.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--ink);
  color: var(--white);
  padding: .65rem 1rem;
  z-index: 99;
}
.skip-link:focus { left: 12px; }
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.narrow { max-width: 820px; }
.section-pad { padding: 86px 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 244, 238, .88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.navbar {
  min-height: 82px;
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--racing-green);
  color: var(--gold);
  border: 2px solid var(--gold);
  font-family: Cinzel, Georgia, serif;
  font-weight: 700;
}
.brand-text { display: grid; line-height: 1.1; }
.brand-text strong { font-family: Cinzel, Georgia, serif; letter-spacing: .04em; }
.brand-text em { font-style: normal; color: var(--muted); font-size: .9rem; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 7px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-menu a {
  display: inline-block;
  padding: .75rem .9rem;
  text-decoration: none;
  font-weight: 650;
  color: #26323f;
  border-radius: 999px;
}
.nav-menu a:hover, .nav-menu a:focus { background: rgba(15, 59, 46, .08); }
.nav-menu .nav-cta { background: var(--racing-green); color: var(--white); }
.nav-toggle { display: none; background: transparent; border: 0; padding: .5rem; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 6px 0; }

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(7, 28, 22, .95), rgba(15, 59, 46, .78)),
    radial-gradient(circle at 78% 22%, rgba(198, 161, 91, .4), transparent 34%),
    linear-gradient(135deg, #163b31, #0b1815);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -5% -34% 45%;
  height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(234, 218, 189, .22);
  transform: rotate(-8deg);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  gap: 44px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 .85rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .78rem;
  font-weight: 800;
}
h1, h2, h3 { line-height: 1.12; margin: 0 0 1rem; }
h1, h2 { font-family: Cinzel, Georgia, serif; }
h1 { font-size: clamp(2.5rem, 6vw, 5.4rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.8rem, 3.2vw, 3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
.hero-lead { max-width: 760px; color: rgba(255,255,255,.82); font-size: clamp(1.08rem, 2vw, 1.35rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .85rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: #1f1607; box-shadow: 0 14px 30px rgba(198,161,91,.24); }
.btn-secondary { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.24); color: inherit; }
.section-heading-row .btn-secondary, .cta-panel .btn-secondary { color: var(--racing-green); border-color: var(--line); background: var(--white); }
.next-meetup-card, .feature-card, .manual-card, .specialist-card, .event-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.next-meetup-card {
  color: var(--ink);
  padding: 30px;
}
.card-label, .small-label {
  display: inline-flex;
  padding: .35rem .65rem;
  border-radius: 999px;
  background: rgba(198,161,91,.18);
  color: #7a561d;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 16px;
}
.time { color: var(--racing-green); font-weight: 800; }
.text-link { color: var(--racing-green); font-weight: 800; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.split-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 54px; align-items: start; }
.content-block { font-size: 1.08rem; color: var(--muted); }
.feature-band { background: #fffaf1; border-block: 1px solid var(--line); }
.card-grid { display: grid; gap: 22px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.feature-card, .manual-card, .event-card, .specialist-card { padding: 28px; }
.feature-card .icon { font-size: 2rem; display: inline-block; margin-bottom: 16px; }
.cta-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 38px;
  background: var(--racing-green);
  color: var(--white);
  border-radius: calc(var(--radius) + 8px);
  box-shadow: var(--shadow);
}
.cta-panel p { color: rgba(255,255,255,.78); max-width: 760px; }
.repair-section { background: var(--white); }
.section-heading-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 24px; }
.event-card time { color: var(--gold); font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.event-card p, .feature-card p, .manual-card p, .specialist-card p { color: var(--muted); }
.page-hero { background: linear-gradient(135deg, var(--racing-green), #081511); color: var(--white); }
.page-hero p:not(.eyebrow) { color: rgba(255,255,255,.78); font-size: 1.16rem; }
.event-list { display: grid; gap: 18px; }
.event-row {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.date-block {
  display: grid;
  place-items: center;
  min-height: 96px;
  border-radius: 18px;
  background: var(--racing-green);
  color: var(--white);
  text-align: center;
  line-height: 1;
}
.date-block span, .date-block em { font-style: normal; color: var(--gold-soft); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.date-block strong { font-size: 2rem; margin: .25rem 0; }
.manual-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.resource-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.resource-list a { color: var(--racing-green); font-weight: 700; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.highlight-card { background: #103c2f; color: var(--white); }
.highlight-card p { color: rgba(255,255,255,.78); }
.site-footer { background: #071511; color: var(--white); padding: 54px 0 22px; }
.footer-grid { display: flex; justify-content: space-between; gap: 36px; }
.footer-email { color: var(--gold-soft); font-weight: 800; }
.footer-links { display: grid; align-content: start; gap: 10px; }
.footer-links a { color: rgba(255,255,255,.78); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 36px; padding-top: 20px; color: rgba(255,255,255,.62); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    padding: 12px;
    border-radius: 18px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu a { border-radius: 12px; }
  .hero-grid, .split-section, .manual-grid, .card-grid.three, .card-grid.two { grid-template-columns: 1fr; }
  .cta-panel, .section-heading-row, .footer-grid { flex-direction: column; align-items: flex-start; }
  .event-row { grid-template-columns: 82px 1fr; }
  .event-row .text-link { grid-column: 2; }
}

@media (max-width: 560px) {
  .container, .navbar { width: min(100% - 28px, var(--max)); }
  .section-pad { padding: 60px 0; }
  .brand-text strong { font-size: .95rem; }
  .brand-mark { width: 46px; height: 46px; }
  .hero-actions, .btn { width: 100%; }
  .event-row { grid-template-columns: 1fr; }
  .event-row .text-link { grid-column: auto; }
  .date-block { width: 98px; }
}
