:root {
  --navy: #1b2a5c;
  --navy-deep: #121c40;
  --red: #c1272d;
  --red-dark: #9c1d22;
  --paper: #ffffff;
  --band: #f6f4ef;
  --ink: #23262f;
  --muted: #565b69;
  --line: #d9d6cd;
  --slab: Rockwell, "Rockwell Nova", "Roboto Slab", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff;
  padding: .75rem 1rem; z-index: 100;
}
.skip:focus { left: 0; color: #fff; }

.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }

/* Flag stripe: the one recurring graphic device */
.stripe {
  height: 14px;
  background: repeating-linear-gradient(to bottom,
    var(--red) 0 2px, #fff 2px 4px);
  border-block: 0;
}
.stripe.thick { height: 18px; background: repeating-linear-gradient(to bottom, var(--red) 0 3px, #fff 3px 6px); }

/* Header */
.site-header { background: var(--band); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: .6rem; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { width: 150px; height: 150px; mix-blend-mode: multiply; }
.nav { display: flex; flex-wrap: wrap; gap: .25rem 1.2rem; align-items: center; }
.nav a {
  font-weight: 600; text-decoration: none; color: var(--navy);
  padding: .5rem 0; border-bottom: 3px solid transparent;
}
.nav a:hover { border-bottom-color: var(--red); color: var(--navy); }
.nav a[aria-current="page"] { border-bottom-color: var(--navy); }
.nav .cta { background: var(--red); color: #fff; padding: .6rem 1.1rem; border-radius: 3px; border-bottom: 0; }
.nav .cta:hover { background: var(--red-dark); color: #fff; }

/* Type */
h1, h2, h3 { font-family: var(--slab); color: var(--navy); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1.1em; max-width: 68ch; }
.lead { font-size: 1.25rem; line-height: 1.55; color: var(--ink); }
.red { color: var(--red); }

/* Buttons */
.btn {
  display: inline-block; font: inherit; font-weight: 700; cursor: pointer;
  padding: .85rem 1.5rem; border-radius: 3px; text-decoration: none;
  border: 2px solid var(--navy); background: var(--navy); color: #fff;
}
.btn:hover { background: var(--navy-deep); color: #fff; }
.btn.red { background: var(--red); border-color: var(--red); }
.btn.red:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn.ghost { background: transparent; color: var(--navy); }
.btn.ghost:hover { background: var(--navy); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

/* Hero */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.hero h1 span { display: block; }
.hero h1 .second { color: var(--red); }
.hero figure { margin: 0; }
.hero figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--line); }
.hero figcaption { font-size: .9rem; color: var(--muted); margin-top: .6rem; }

/* Bands */
.band { background: var(--band); }
section.block { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.mission .wrap { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.mission p { font-size: 1.2rem; line-height: 1.7; }

/* Focus areas: ruled columns, not cards */
.focus { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 1.5rem; }
.focus > div { padding: 1.4rem 1.5rem 1.6rem 0; margin-right: 1.5rem; border-top: 5px solid var(--navy); }
.focus > div:nth-child(even) { border-top-color: var(--red); }
.focus > div:last-child { margin-right: 0; }
.focus h3 { margin-top: .2rem; }
.focus p { font-size: 1rem; color: var(--muted); margin-bottom: .6em; }

/* Team */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem 3rem; margin-top: 1.5rem; }
.person { display: grid; grid-template-columns: 190px 1fr; gap: 1.4rem; align-items: start; }
.person img { width: 190px; height: 190px; object-fit: cover; border: 1px solid var(--line); }
.person h3 { margin-bottom: .35em; }
.person p { font-size: 1rem; }
details.more summary {
  cursor: pointer; font-weight: 700; color: var(--navy); list-style: none; width: fit-content;
  border-bottom: 2px solid var(--red); padding-bottom: 1px;
}
details.more summary::-webkit-details-marker { display: none; }
details.more[open] summary { margin-top: .8rem; }
details.more .full { margin-top: .9rem; }
.person .bio-short { margin-bottom: .7rem; }
details.more[open] ~ .bio-short, .person:has(details[open]) .bio-short { display: none; }

/* Sponsors */
.sponsors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 3rem; margin-top: 1.5rem; }
.sponsor { display: grid; grid-template-columns: 150px 1fr; gap: 1.3rem; align-items: start; }
.sponsor img { width: 150px; height: 150px; object-fit: cover; border: 1px solid var(--line); }
.sponsor p { font-size: 1rem; }

/* Sponsorship tiers: a rate table, since that is what it is */
.tiers { display: grid; gap: 0; margin-top: 1.5rem; border-top: 3px solid var(--navy); }
.tier { display: grid; grid-template-columns: 220px 1fr; gap: 1.5rem 2.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.tier .name { font-family: var(--slab); font-weight: 800; font-size: 1.5rem; color: var(--navy); line-height: 1.1; }
.tier .price { display: block; font-size: 2rem; color: var(--red); margin-top: .25rem; }
.tier ul { margin: 0; padding-left: 1.2rem; }
.tier li { margin-bottom: .35rem; max-width: 70ch; }
.tier li.renewal { color: var(--muted); }

/* Forms */
.form { display: grid; gap: 1.1rem; max-width: 640px; }
.form.two { max-width: 900px; grid-template-columns: 1fr 1fr; }
.form.two .full { grid-column: 1 / -1; }
label { display: block; font-weight: 600; margin-bottom: .3rem; }
input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%; font: inherit; padding: .75rem .85rem; border: 2px solid #8b8f9c; border-radius: 3px; background: #fff; color: var(--ink);
}
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--navy); outline: 3px solid rgba(27,42,92,.25); outline-offset: 0; }
.hp { position: absolute; left: -5000px; height: 0; overflow: hidden; }
.form-note { font-size: .95rem; color: var(--muted); }
.status { padding: .9rem 1rem; border-left: 5px solid var(--navy); background: var(--band); font-weight: 600; display: none; }
.status.show { display: block; }
.status.error { border-left-color: var(--red); }

.notice { border: 2px solid var(--navy); border-left-width: 10px; padding: 1.2rem 1.4rem; background: #fff; max-width: 760px; margin-block: 1.5rem; }
.notice h3 { margin-bottom: .4em; }
.notice p:last-child, .notice ul:last-child { margin-bottom: 0; }

.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.checklist { padding-left: 1.2rem; }
.checklist li { margin-bottom: .45rem; }

.signup .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 4rem; align-items: center; }
.signup form { display: grid; grid-template-columns: 1fr auto; gap: .7rem; align-items: end; }
.signup .status { grid-column: 1 / -1; }

/* Prose pages */
.prose { max-width: 78ch; }
.prose h2 { font-size: 1.5rem; margin-top: 2rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }
.page-head { padding-block: clamp(2rem, 4vw, 3.2rem) 1rem; }
.page-head h1 { font-size: clamp(2rem, 3.8vw, 3.1rem); margin-bottom: .3em; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #e8eaf2; padding-block: 2.5rem 2rem; margin-top: 0; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #ffd9db; }
.site-footer .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 2rem 3rem; }
.site-footer h2 { font-size: 1.1rem; color: #fff; margin-bottom: .6em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .4rem; }
.site-footer p { font-size: .98rem; }
.copyright { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.2); padding-top: 1.2rem; font-size: .9rem; color: #c3c7d6; }

/* Responsive */
@media (max-width: 1000px) {
  .hero .wrap, .mission .wrap, .split, .signup .wrap { grid-template-columns: 1fr; }
  .focus { grid-template-columns: 1fr 1fr; }
  .focus > div { margin-right: 1rem; }
  .focus > div:nth-child(2n) { margin-right: 0; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .site-header .wrap { flex-direction: column; align-items: flex-start; gap: .4rem; }
  .brand img { width: 110px; height: 110px; }
  .team, .sponsors { grid-template-columns: 1fr; }
  .person { grid-template-columns: 120px 1fr; }
  .person img { width: 120px; height: 120px; }
  .sponsor { grid-template-columns: 110px 1fr; }
  .sponsor img { width: 110px; height: 110px; }
  .tier { grid-template-columns: 1fr; gap: .8rem; }
  .form.two { grid-template-columns: 1fr; }
  .focus { grid-template-columns: 1fr; }
  .focus > div { margin-right: 0; }
  .signup form { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .person, .sponsor { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .site-header .nav, .site-footer, .signup, .btn-row { display: none; } }
.site-footer .copyright { max-width: none; }

/* Event banner on home page */
.event-banner { background: var(--navy); color: #fff; }
.event-banner .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 2rem; padding-block: 1.1rem; }
.event-banner p { margin: 0; font-size: 1.15rem; max-width: none; }
.event-banner .btn.red:hover { background: #fff; color: var(--red-dark); border-color: #fff; }

/* Vetstock page */
.facts { margin: 1.4rem 0 1.4rem; padding: 0; display: grid; gap: .9rem; max-width: 560px; }
.facts > div { display: grid; grid-template-columns: 90px 1fr; gap: 1rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 800; color: var(--red); font-family: var(--slab); }
.facts dd { margin: 0; font-weight: 600; }
.event-feature { display: grid; grid-template-columns: 300px 1fr; gap: 2rem 3rem; align-items: start; margin-top: 1.2rem; }
.event-feature img { width: 100%; height: auto; border: 1px solid var(--line); }
@media (max-width: 760px) { .event-feature { grid-template-columns: 1fr; } .event-feature img { max-width: 360px; } .facts > div { grid-template-columns: 70px 1fr; } }
.hero.vet figure img { aspect-ratio: auto; object-fit: contain; }
