/* Self-hosted Fraunces and Nunito (SIL Open Font License), Latin subsets only.
   Hosted here so the fonts load without contacting Google, before or without cookie consent. */
/* fraunces latin-ext */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/fraunces-latin-ext-796716.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* fraunces latin */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/fraunces-latin-39ce20.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* fraunces latin-ext */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/fraunces-latin-ext-796716.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* fraunces latin */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/fraunces-latin-39ce20.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* fraunces latin-ext */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/fraunces-latin-ext-796716.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* fraunces latin */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/fraunces-latin-39ce20.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* nunito latin-ext */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/nunito-latin-ext-012b61.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* nunito latin */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/nunito-latin-798ec6.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* nunito latin-ext */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/nunito-latin-ext-012b61.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* nunito latin */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/nunito-latin-798ec6.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* nunito latin-ext */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/nunito-latin-ext-012b61.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* nunito latin */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/nunito-latin-798ec6.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --cream: #fbf6ec;
  --paper: #fffdf8;
  --sand: #f3ead8;
  --ink: #2b1d14;
  --ink-soft: #6b5645;
  --line: rgba(43, 29, 20, .14);
  --gold: #f7a800;  /* Milwaukee flag gold */
  --gold-soft: #ffbe33;
  --gold-deep: #8a5a0f;
  --forest: #1f3a2e;
  --forest-2: #2c4f3f;
  --forest-dark: #172a21;
  --navy: #0d2240;  /* Milwaukee flag colors: navy #0d2240, process blue #00a8e1, mustard #f7a800, white */
  --navy-dark: #081629;
  --flag-blue: #00a8e1;
  --flag-red: #d40000;
  --white: #ffffff;
  --radius: 16px;
  --max: 1160px;
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: var(--gold-deep); font-weight: 700; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .45em; color: var(--ink); font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.5rem, 5.2vw, 4rem); line-height: 1.05; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.small { font-size: .9rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--gold); padding: .5rem 1rem; z-index: 100; color: var(--ink); }
.skip-link:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.45rem;
  border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.btn:hover { transform: translateY(-1px); color: inherit; }
.btn-sm { padding: .55rem 1.1rem; font-size: .95rem; }
.btn-lg { padding: 1rem 2.2rem; font-size: 1.1rem; }
.btn-accent { background: var(--gold); color: var(--ink); }
.btn-accent:hover { background: var(--gold-soft); color: var(--ink); }
.btn-primary { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.btn-primary:hover { background: var(--forest-2); color: var(--cream); }
.btn-coral { background: var(--ink); color: var(--cream); }
.btn-coral:hover { background: #3d2a1e; color: var(--cream); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.hero .btn-ghost { color: var(--cream); border-color: rgba(251, 246, 236, .55); }
.hero .btn-ghost:hover { background: var(--cream); color: var(--navy); border-color: var(--cream); }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; color: inherit; font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--gold-soft); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 246, 236, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 78px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand:hover { color: var(--ink); }
.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a:not(.btn) { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 1rem; padding: .25rem 0; }
.site-nav a:not(.btn):hover { color: var(--gold-deep); }
.site-nav a.active:not(.btn) { color: var(--navy); box-shadow: inset 0 -2px 0 var(--flag-blue); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 12px; padding: .5rem .6rem; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero { background: var(--navy); color: var(--cream); padding: 6rem 0 6.5rem; }
.hero h1 { color: var(--cream); max-width: 15ch; }
.hero .lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); max-width: 32rem; margin-bottom: 2.2rem; color: rgba(251, 246, 236, .86); }
.hero .eyebrow { color: var(--gold-soft); }
.hero-grid { display: grid; grid-template-columns: 1.25fr .85fr; gap: 3.5rem; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.next-card {
  background: var(--cream); color: var(--ink);
  border-radius: 22px; padding: 2.2rem 2rem;
  border-top: 4px solid var(--gold);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .25);
}
.next-card h3, .next-card .next-title { font-size: 1.5rem; margin-bottom: .6rem; }
.next-card p { color: var(--ink-soft); margin-bottom: 1.4rem; }
.next-card .eyebrow { margin-bottom: .25rem; color: var(--gold-deep); }
.next-date { display: flex; align-items: baseline; gap: .6rem; font-family: var(--font-head); color: var(--forest); }
.next-date span { font-family: var(--font-body); font-size: .95rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
.next-date b { font-size: 3.6rem; font-weight: 600; line-height: 1; }

/* ---------- Page heads ---------- */
.page-head { background: var(--sand); border-bottom: 1px solid var(--line); padding: 4.5rem 0 3.5rem; }
.page-head h1 { font-size: clamp(2.3rem, 4.6vw, 3.4rem); }
.page-head .lead { font-size: 1.15rem; max-width: 40rem; color: var(--ink-soft); margin: 0; }
.page-head .paw-bg { display: none; }
.eyebrow { display: inline-block; font-family: var(--font-body); font-weight: 800; text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; color: var(--gold-deep); margin-bottom: .75rem; }

/* ---------- Sections ---------- */
.section { padding: 5.5rem 0; position: relative; }
.section-tint { background: var(--sand); border-block: 1px solid var(--line); }
.section-dark { background: var(--navy); color: var(--cream); }
.section-dark h2, .section-dark h3 { color: var(--cream); }
.section-dark p { color: rgba(251, 246, 236, .86); }
.section-dark a:not(.btn) { color: var(--gold-soft); }
.section-dark .btn-accent { color: var(--ink); }
.section-dark .split-note, .section-dark .split-note p, .section-dark .split-note li { color: var(--ink-soft); }
.section-dark .split-note h2, .section-dark .split-note h3, .section-dark .split-note h4 { color: var(--ink); }
.section-dark .split-note a { color: var(--gold-deep); }
.section-dark .split-note .btn-accent { color: var(--ink); }
.section-dark .eyebrow { color: var(--gold-soft); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: 2.75rem; }
.section-head p { max-width: 36rem; margin: 0; color: var(--ink-soft); }
.centered .section-head { justify-content: center; text-align: center; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.1rem 1.75rem;
  transition: border-color .2s ease, transform .2s ease;
}
a.card { text-decoration: none; color: inherit; }
a.card:hover, .card:hover { transform: translateY(-3px); border-color: rgba(43, 29, 20, .3); }
.card p { color: var(--ink-soft); margin-bottom: 0; }
.card-icon { font-family: var(--font-head); font-size: 1rem; font-weight: 600; color: var(--gold-deep); letter-spacing: .06em; margin-bottom: 1.1rem; display: block; }
.card-action { display: flex; flex-direction: column; align-items: flex-start; gap: .85rem; }
.card-action p { flex: 1; }
.card.featured { background: var(--navy); border-color: var(--navy); }
.card.featured h3, .card.featured p { color: var(--cream); }
.card.featured p { opacity: .88; }
.card.featured .card-icon { color: var(--gold-soft); }
.post-tag { display: block; font-weight: 800; font-size: .74rem; text-transform: uppercase; letter-spacing: .16em; color: var(--gold-deep); margin-bottom: .75rem; }
.post p.meta { color: var(--ink-soft); font-size: .9rem; margin: -.2rem 0 .6rem; }

/* ---------- Events ---------- */
.event-panel {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 2.75rem;
}
.event-panel h3 { font-size: 1.9rem; }
.event-panel p { color: var(--ink-soft); }
.event-list { display: grid; gap: 1rem; }
.event-item {
  display: grid; grid-template-columns: 96px 1fr auto; gap: 1.5rem; align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.5rem;
}
.date-tile { background: var(--forest); color: var(--cream); border-radius: 14px; text-align: center; padding: .7rem .4rem; font-family: var(--font-head); line-height: 1.05; }
.date-tile b { display: block; font-size: 2rem; font-weight: 600; }
.date-tile span { display: block; font-family: var(--font-body); font-size: .75rem; text-transform: uppercase; font-weight: 800; letter-spacing: .12em; color: var(--gold-soft); }
.event-item h3 { margin-bottom: .2rem; }
.event-item p { margin: 0; color: var(--ink-soft); }

/* ---------- Split (adopt) ---------- */
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: center; }
.check-list { list-style: none; padding: 0; margin: 1.25rem 0 2rem; }
.check-list li { padding: .4rem 0 .4rem 1.9rem; position: relative; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 1.02rem; width: 14px; height: 2px; background: var(--gold); }
.section-dark .check-list li::before { background: var(--gold-soft); }
.split-note { background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 22px; padding: 2.2rem; }
.split-note p:last-child { margin: 0; }
.split-note a { color: var(--gold-deep); }

/* ---------- Signup & forms ---------- */
.signup { display: flex; gap: .75rem; flex-wrap: wrap; justify-content: center; margin: 1.5rem 0 1rem; }
.signup input, .field {
  flex: 1 1 280px; max-width: 420px;
  padding: .9rem 1.2rem; font: inherit; font-size: 1rem;
  border-radius: 999px; border: 1px solid rgba(43, 29, 20, .3); background: var(--paper); color: var(--ink);
}
.field { display: block; width: 100%; max-width: none; border-radius: 12px; }
.signup input:focus, .field:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(247, 168, 0, .3); }
.form-msg { width: 100%; text-align: center; font-weight: 700; color: var(--forest); margin: .5rem 0 0; min-height: 1.4em; }
label.lbl { display: block; font-weight: 700; margin-bottom: .35rem; font-size: .95rem; }
.form-grid { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: rgba(251, 246, 236, .8); padding: 4.5rem 0 0; margin-top: 4rem; }
/* A page that ends on a full-width band runs straight into the footer, with no cream strip between. */
main:has(> .band:last-child) + .site-footer,
main:has(> .section-tint:last-child) + .site-footer { margin-top: 0; }
main > .section-tint:last-child { border-bottom: 0; }
.site-footer a { color: rgba(251, 246, 236, .9); text-decoration: none; font-weight: 600; }
.site-footer a:hover { color: var(--gold-soft); }
.site-footer h4, .site-footer .footer-title { color: var(--gold-soft); font-size: 1.1rem; margin-bottom: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 2.5rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .55rem; }
.brand-light { color: var(--cream); }
.brand-light:hover { color: var(--cream); }
.footer-subscribe { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .5rem; }
.footer-subscribe input { flex: 1 1 180px; padding: .7rem 1rem; border-radius: 999px; border: 1px solid rgba(251, 246, 236, .3); background: rgba(255, 255, 255, .06); color: var(--cream); font: inherit; min-width: 0; }
.footer-subscribe input::placeholder { color: rgba(251, 246, 236, .5); }
.footer-subscribe .btn { padding: .6rem 1.1rem; }
.socials { display: flex; gap: .55rem; flex-wrap: wrap; margin-top: 1rem; }
.socials a { border: 1px solid rgba(251, 246, 236, .35); border-radius: 999px; padding: .35rem .9rem; font-weight: 600; font-size: .95rem; }
.socials a:hover { border-color: var(--gold-soft); color: var(--gold-soft); }
.footer-base { border-top: 1px solid rgba(251, 246, 236, .14); margin-top: 3rem; padding: 1.4rem 0 1.8rem; font-size: .92rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-base p { margin: 0; }
.footer-base nav { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer-base .link-btn { color: rgba(251, 246, 236, .9); }

/* ---------- Band / merch ---------- */
.band { background: var(--sand); border-block: 1px solid var(--line); padding: 3.25rem 0; }
.band-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.band h2 { font-size: 1.9rem; margin-bottom: .2rem; }
.band p { margin: 0; color: var(--ink-soft); }
.price { font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; color: var(--gold-deep); }

/* ---------- Pages / routing ---------- */
.page { animation: fade .4s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.prose { text-align: left; max-width: 760px; margin: 2rem auto 0; }
.prose h2 { margin-top: 2.2rem; font-size: 1.65rem; }
.prose ul.check-list { margin: 1rem 0 1.5rem; }
.prose .btn { margin-top: .5rem; }
.article { max-width: 760px; margin: 0 auto; }
.article .prose { margin-top: 1rem; }
.note { color: var(--ink-soft); background: var(--sand); border: 1px dashed rgba(43, 29, 20, .3); padding: .8rem 1rem; border-radius: 12px; font-size: .95rem; }
.big-404 { font-family: var(--font-head); font-size: clamp(6rem, 16vw, 9rem); line-height: 1; margin: 0; color: var(--gold-deep); font-weight: 600; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%);
  background: var(--ink); color: var(--cream); border-radius: 12px;
  padding: .8rem 1.3rem; font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25); z-index: 90; max-width: min(92vw, 540px); text-align: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .next-card { max-width: 420px; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-wrap { position: static; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; width: 100%; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line); padding: .5rem 1.25rem 1.25rem;
    transform: translateY(-120%); opacity: 0; pointer-events: none; transition: transform .25s ease, opacity .25s ease; z-index: 49;
  }
  .site-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .site-nav a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .site-nav a.btn { border: 1.5px solid var(--ink); margin-top: .75rem; justify-content: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .grid-2, .grid-3, .grid-4, .footer-grid, .form-row { grid-template-columns: 1fr; }
  .event-panel { flex-direction: column; text-align: left; padding: 2rem; }
  .event-item { grid-template-columns: 1fr; }
  .date-tile { width: 96px; }
  .section { padding: 3.75rem 0; }
  .hero { padding: 3.5rem 0 4rem; }
  .split-note { padding: 1.6rem; }
  .footer-base { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---- Dog-friendly directory ---- */
[hidden] { display: none !important; }
.dir-notice { border-left: 4px solid var(--flag-blue); background: var(--paper); padding: 1rem 1.2rem; border-radius: 12px; margin-bottom: 1.5rem; }
.dir-tools { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; align-items: end; margin: 1.5rem 0 .4rem; }
.dir-tools label { display: grid; gap: .3rem; font-weight: 700; font-size: .95rem; }
.dir-tools select { font: inherit; padding: .55rem .75rem; border: 1px solid rgba(43, 29, 20, .3); border-radius: 10px; background: #fff; min-width: 14rem; color: var(--ink); }
.dir-tools .check { display: flex; align-items: center; gap: .5rem; font-weight: 700; }
.dir-tools .check input { width: auto; }
.dir-map-wrap { margin: 1.5rem 0 2rem; }
.dir-map { height: 420px; border-radius: 16px; border: 1px solid var(--line); overflow: hidden; }
.dir-map-placeholder { display: flex; flex-direction: column; gap: .7rem; align-items: flex-start; padding: 1.25rem; border: 1px dashed rgba(43, 29, 20, .3); border-radius: 16px; background: var(--paper); }
.place-list { display: grid; gap: 1rem; }
.place-card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 1.1rem 1.25rem; scroll-margin-top: 6rem; }
.place-card-head { display: flex; flex-wrap: wrap; gap: .5rem .75rem; align-items: center; justify-content: space-between; }
.place-card h3 { margin: 0; font-size: 1.2rem; }
.place-meta { color: var(--ink-soft); margin: .2rem 0 .5rem; font-weight: 700; }
.place-source, .place-links { margin: .5rem 0 0; }
.dir-tag { font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: .25rem .6rem; border-radius: 999px; background: var(--sand); color: var(--navy); }
.dir-tag-inside { background: #e3eefa; color: var(--navy); }
.dir-tag-patio { background: #fbf0d8; color: var(--gold-deep); }
.dir-tag-off_leash { background: #e4efe6; color: var(--forest); }
.dir-tag-unknown { background: #eee; color: #555; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#suggest-form { display: grid; gap: .9rem; grid-template-columns: 1fr 1fr; }
#suggest-form .full { grid-column: 1 / -1; }
#suggest-form label { display: grid; gap: .3rem; font-weight: 700; }
#suggest-form input, #suggest-form select, #suggest-form textarea { font: inherit; padding: .6rem .8rem; border: 1px solid rgba(43, 29, 20, .3); border-radius: 10px; background: #fff; color: var(--ink); }
#suggest-form .check { display: flex; align-items: center; gap: .5rem; font-weight: 700; }
#suggest-form .check input { width: auto; }
/* Photo placeholders. Each is a <figure class="photo-slot">. Replace it with an <img> when the real photo is ready. */
.photo-slot { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 220px; margin: 2rem 0; padding: 1.5rem; border: 2px dashed rgba(43, 29, 20, .35); border-radius: 16px; background: var(--paper); color: var(--ink); font-weight: 700; }
.photo-slot--wide { min-height: 0; aspect-ratio: 21 / 9; }
.photo-slot--logos { min-height: 160px; }
@media (max-width: 640px) { .photo-slot--wide { aspect-ratio: 16 / 9; } }
/* Pugs needing homes */
.pug-list { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.pug-list .pug-empty { grid-column: 1 / -1; }
.pug-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.pug-photo { position: relative; aspect-ratio: 4 / 3; background: var(--paper); overflow: hidden; }
.pug-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.pug-photo-empty { display: flex; align-items: center; justify-content: center; height: 100%; font-family: 'Fraunces', serif; font-size: 3rem; color: var(--gold-deep); }
.pug-badge { position: absolute; top: .75rem; left: .75rem; background: var(--forest); color: #fff; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: .3rem .65rem; border-radius: 999px; }
.pug-body { display: flex; flex-direction: column; gap: .4rem; padding: 1rem 1.15rem 1.25rem; flex: 1; }
.pug-body h3 { margin: 0; }
.pug-body p { margin: 0; }
.pug-body .btn { margin-top: auto; align-self: flex-start; }
.pug-facts { font-weight: 700; color: var(--ink-soft); font-size: .92rem; }
.pug-rescue { font-size: .9rem; color: var(--ink-soft); padding-bottom: .5rem; }
.pug-adopted-note { margin-top: auto !important; font-weight: 800; color: var(--forest); }
.pug-card.is-adopted .pug-photo img { filter: saturate(.75); }
.rescue-list { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.rescue-list li { display: flex; gap: .9rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.15rem; }
.rescue-logo { flex: 0 0 120px; height: 80px; border-radius: 12px; background: var(--paper); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.rescue-logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; background: #fff; }
.rescue-logo span { font-family: 'Fraunces', serif; font-size: 1.8rem; color: var(--gold-deep); }
.rescue-list h3 { font-size: 1.1rem; margin: 0 0 .25rem; }
.rescue-list p { margin: .25rem 0 0; }
.form-msg.is-error { color: #a4001d; }
.footer-subscribe .form-msg { width: 100%; text-align: left; color: var(--cream); font-size: .92rem; margin: .4rem 0 0; }
.footer-subscribe .form-msg.is-error { color: #ffc2cc; }
@media (max-width: 640px) {
  #suggest-form { grid-template-columns: 1fr; }
  .dir-tools select { min-width: 0; width: 100%; }
  .dir-map { height: 320px; }
}

/* Email updates popup */
.updates-dialog { border: 0; border-radius: 20px; padding: 2.25rem 2rem 1.5rem; width: min(480px, calc(100vw - 32px)); background: var(--cream); color: var(--ink); text-align: center; box-shadow: 0 24px 60px rgba(13, 34, 64, .35); }
.updates-dialog::backdrop { background: rgba(13, 34, 64, .6); }
.updates-dialog h2 { margin: .4rem 0 .5rem; }
.updates-dialog p { margin: 0; color: var(--ink-soft); }
.updates-dialog .signup { margin: 1.25rem 0 .25rem; }
.updates-dialog .form-msg { width: 100%; margin-top: .5rem; color: var(--forest); font-weight: 700; }
.updates-dialog .form-msg.is-error { color: #a4001d; }
.dialog-close { position: absolute; top: .6rem; right: .75rem; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; font-size: 1.8rem; line-height: 1; color: var(--ink); cursor: pointer; }
.dialog-close:hover { background: var(--sand); }

/* Contact page */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 2rem; box-shadow: 0 10px 30px rgba(13, 34, 64, .06); }
.contact-card h2 { font-size: 1.6rem; margin: 0 0 1.25rem; }
.contact-card textarea.field { resize: vertical; min-height: 150px; }
.contact-submit { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.contact-submit .form-msg { margin: 0; flex: 1; min-width: 12rem; }
.contact-aside { display: grid; gap: 1.5rem; padding-top: .5rem; }
.contact-aside > div { border-left: 3px solid var(--gold); padding-left: 1rem; }
.contact-aside h3 { font-size: 1.1rem; margin: 0 0 .3rem; }
.contact-aside p { margin: 0; color: var(--ink-soft); overflow-wrap: anywhere; }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } .contact-card { padding: 1.5rem; } }

/* Events gallery */
.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(3, 1fr); margin-top: 1.5rem; }
.gallery .photo-slot { margin: 0; min-height: 0; aspect-ratio: 1 / 1; }
.gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 16px; display: block; }
@media (max-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* Termageddon policies */
.policy #policy { min-height: 12rem; }
.policy #policy h1 { display: none; }
.policy table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.policy th, .policy td { border: 1px solid var(--line); padding: .5rem; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.policy .table-wrap, .policy div:has(> table) { overflow-x: auto; }
/* Dog-friendly hub: type label on each card */
.place-type { margin: 0 0 .35rem; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.place-type a { color: var(--gold-deep); text-decoration: none; }
.place-type a:hover { text-decoration: underline; }

/* Volunteer sign-up: intro beside the form, full width */
.volunteer-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 3rem; align-items: start; }
.volunteer-intro h2 { margin: .4rem 0 .75rem; }
.volunteer-intro p { color: var(--ink-soft); }
.choice-group { border: 0; padding: 0; margin: 0; }
.choice-group legend { padding: 0; font-weight: 700; font-size: .95rem; margin-bottom: .45rem; }
.choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .85rem; border: 1px solid rgba(43, 29, 20, .25); border-radius: 999px; background: #fff; font-weight: 700; font-size: .95rem; cursor: pointer; }
.choice input { width: 1.05rem; height: 1.05rem; accent-color: var(--navy); margin: 0; }
.choice:has(input:checked) { border-color: var(--navy); background: #e8eef7; }
.choice:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (max-width: 860px) { .volunteer-layout { grid-template-columns: 1fr; gap: 1.75rem; } }

/* Donate page banner (same graphic as the Givebutter page) */
.donate-banner { display: block; width: 100%; height: auto; margin: 0 auto 2rem; border-radius: 16px; }

/* ---- Notice bar (alerts, news, meetup reminders) ---- */
.notice-bar { font-size: .95rem; line-height: 1.4; }
.notice-inner { display: flex; align-items: center; gap: .4rem .9rem; flex-wrap: wrap; padding-top: .6rem; padding-bottom: .6rem; }
.notice-tag { font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; padding: .15rem .55rem; border-radius: 999px; }
.notice-text { flex: 1 1 16rem; font-weight: 600; }
.notice-link { font-weight: 800; text-decoration: underline; white-space: nowrap; }
.notice-close { background: none; border: 0; font-size: 1.4rem; line-height: 1; padding: .1rem .35rem; cursor: pointer; color: inherit; opacity: .8; border-radius: 6px; }
.notice-close:hover, .notice-close:focus-visible { opacity: 1; }
.notice-urgent { background: var(--flag-red); color: #fff; }
.notice-urgent .notice-tag { background: #fff; color: var(--flag-red); }
.notice-urgent .notice-link { color: #fff; }
.notice-news { background: var(--gold); color: var(--navy); }
.notice-news .notice-tag { background: var(--navy); color: var(--gold); }
.notice-news .notice-link { color: var(--navy); }
.notice-event { background: var(--navy); color: #fff; }
.notice-event .notice-tag { background: var(--flag-blue); color: var(--navy-dark); }
.notice-event .notice-link { color: var(--gold-soft); }
.notice-event-today { background: var(--gold); color: var(--navy); }
.notice-event-today .notice-tag { background: var(--flag-red); color: #fff; }
.notice-event-today .notice-link { color: var(--navy); }

/* ---- "How soon" badges on meetups: within a week, within 3 days, and day of ---- */
.soon-badge { display: inline-block; margin: 0 0 .6rem; padding: .2rem .7rem; border-radius: 999px; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.soon-week { background: rgba(0, 168, 225, .14); color: #00577a; }
.soon-soon { background: var(--gold); color: var(--navy); }
.soon-today { background: var(--flag-red); color: #fff; }
.next-card.is-soon { border-top-color: var(--gold); box-shadow: 0 0 0 3px var(--gold), 0 30px 60px rgba(0, 0, 0, .25); }
.next-card.is-today { border-top-color: var(--flag-red); box-shadow: 0 0 0 3px var(--flag-red), 0 30px 60px rgba(0, 0, 0, .25); }
.event-item.is-week { border-left: 4px solid var(--flag-blue); }
.event-item.is-soon { border-left: 4px solid var(--gold); }
.event-item.is-today { border-left: 4px solid var(--flag-red); background: #fff7e0; }
.next-card .soon-badge { margin-bottom: .5rem; }
.next-card .soon-badge + .eyebrow { margin-top: 0; }

/* ---- Home page "News & alerts" ---- */
.updates { padding-bottom: 0; }
.update-list { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 1.25rem; }
.update-card { background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--gold); border-radius: 14px; padding: 1.25rem 1.4rem; }
.update-card h3 { font-size: 1.2rem; margin: 0 0 .4rem; }
.update-card p { margin: 0 0 .5rem; color: var(--ink-soft); }
.update-card p:last-child { margin-bottom: 0; }
.update-urgent { border-left-color: var(--flag-red); background: #fff4f2; }
.update-tag { font-size: .75rem !important; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-deep) !important; margin-bottom: .3rem !important; }
.update-urgent .update-tag { color: var(--flag-red) !important; }
.update-link { font-weight: 800; }
.notice-close { margin-left: auto; }
.next-card .soon-badge { margin-right: .5rem; vertical-align: middle; }
.next-card .soon-badge.soon-today { color: #fff; }
.next-card .soon-badge.soon-soon { color: var(--navy); }
.next-card .soon-badge.soon-week { color: #00577a; }

/* ---- Partners & sponsors ---- */
.sponsor-group + .sponsor-group { margin-top: 3rem; }
.sponsor-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin-top: 1.25rem; }
.sponsor-card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 1.25rem; text-align: center; }
.sponsor-logo { height: 110px; display: grid; place-items: center; margin-bottom: .9rem; }
.sponsor-logo img { max-height: 110px; max-width: 100%; object-fit: contain; }
.sponsor-initial { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold); font-family: var(--font-head); font-size: 2.2rem; }
.sponsor-card h3 { font-size: 1.15rem; margin: 0 0 .25rem; }
.sponsor-card h3 a { color: inherit; }
.sponsor-level { font-size: .8rem !important; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--gold-deep); margin: 0 0 .4rem; }
.sponsor-card p { color: var(--ink-soft); margin: 0; font-size: .95rem; }

/* ---- Blog & care guide ---- */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.chip { display: inline-block; padding: .35rem .9rem; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-weight: 700; font-size: .9rem; text-decoration: none; }
.chip:hover { border-color: var(--navy); }
.chip.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.post-search { max-width: 22rem; margin-bottom: 1.5rem; }
.post-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.post-card-img img, .post-card-placeholder { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: linear-gradient(135deg, var(--navy), #1d3a63); }
.post-card-body { padding: 1rem 1.15rem 1.25rem; }
.post-card h3 { font-size: 1.2rem; margin: .2rem 0 .45rem; }
.post-card h3 a { color: inherit; text-decoration: none; }
.post-card h3 a:hover { text-decoration: underline; }
.post-card p { margin: 0 0 .5rem; color: var(--ink-soft); font-size: .96rem; }
.post-cat { font-size: .78rem !important; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-deep) !important; margin: 0 0 .3rem !important; }
.post-meta { font-size: .86rem !important; color: var(--ink-soft); }
.post-featured { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.75rem; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; margin-bottom: 2rem; }
.post-featured img, .post-featured .post-card-placeholder { width: 100%; height: 100%; min-height: 260px; object-fit: cover; display: block; }
.post-featured > div { padding: 1.5rem 1.5rem 1.5rem 0; }
.post-featured h2 a { color: inherit; text-decoration: none; }
@media (max-width: 760px) { .post-featured { grid-template-columns: 1fr; } .post-featured > div { padding: 0 1.25rem 1.25rem; } }
.post-page h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin: .2rem 0 .5rem; }
.post-back { margin-bottom: 1.25rem; }
.post-cover { width: 100%; border-radius: 16px; margin: 1.25rem 0 1.5rem; }
.post-body { font-size: 1.08rem; }
.post-body h2 { margin-top: 2rem; }
.post-body img { max-width: 100%; border-radius: 12px; }
.post-figure { margin: 1.5rem 0; }
.post-figure figcaption { font-size: .9rem; color: var(--ink-soft); margin-top: .4rem; }
.post-body blockquote { border-left: 4px solid var(--gold); margin: 1.25rem 0; padding: .25rem 0 .25rem 1rem; color: var(--ink-soft); font-style: italic; }
.post-guide { font-weight: 700; }
.affiliate-note { font-size: .88rem; background: #fff8e1; border: 1px solid #f0d78c; border-radius: 10px; padding: .7rem .9rem; color: var(--ink-soft); }
.product-list { display: grid; gap: 1rem; margin: 1.5rem 0; }
.product-card { display: flex; gap: 1rem; align-items: center; border: 1px solid var(--line); border-radius: 14px; padding: 1rem; background: #fff; }
.product-card img { width: 110px; height: 110px; object-fit: contain; flex: none; }
.product-card .product-name { font-weight: 800; margin: 0 0 .25rem; }
.product-card p { margin: 0 0 .6rem; font-size: .96rem; }
.post-signup { margin: 3rem 0 1rem; padding: 1.5rem; border-radius: 16px; background: var(--navy); color: #fff; }
.post-signup h2 { color: #fff; margin: 0 0 .3rem; font-size: 1.4rem; }
.post-signup p { color: rgba(255, 255, 255, .85); }
.post-related { margin: 2rem 0 3rem; }
.guide-list { list-style: none; padding: 0; display: grid; gap: .75rem; margin: 0 0 1.5rem; }
.guide-list a { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); color: inherit; text-decoration: none; }
.guide-list a:hover { border-color: var(--navy); }
.guide-num { flex: none; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--gold); color: var(--navy); font-weight: 800; display: grid; place-items: center; }
.guide-toc { columns: 2; margin-bottom: 2rem; }
.guide-chapter { break-before: page; padding-top: 1rem; }
.guide-chapter:first-of-type { break-before: auto; }
.guide-print-actions { margin: 1rem 0 2rem; display: flex; gap: 1rem; align-items: center; }
@media print {
  .site-header, .site-footer, .notice-bar, .no-print, .admin-return { display: none !important; }
  body { background: #fff; }
  .guide-print-page { padding: 0; }
  .guide-print-page a { color: inherit; text-decoration: none; }
  .guide-toc { columns: 1; }
}

/* ---- Admin shortcut (only for signed-in admins) ---- */
.admin-return { position: fixed; left: 16px; bottom: 16px; z-index: 900; display: flex; gap: .4rem; align-items: center; flex-wrap: wrap; background: var(--navy); color: #fff; padding: .4rem .5rem; border-radius: 999px; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); font-size: .88rem; font-weight: 700; max-width: calc(100vw - 32px); }
.admin-return a { color: #fff; text-decoration: none; padding: .3rem .7rem; border-radius: 999px; }
.admin-return a:hover, .admin-return a:focus-visible { background: rgba(255, 255, 255, .15); }
.admin-return a:first-child { background: var(--gold); color: var(--navy); }
.admin-return-tag { background: var(--flag-blue); color: var(--navy-dark); padding: .25rem .6rem; border-radius: 999px; font-size: .78rem; }

/* Home: "Join the pack" shortcuts */
.shortcut-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 1.5rem; }
.shortcut { display: flex; flex-direction: column; gap: .35rem; padding: 1.4rem 1.25rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
.shortcut:hover { border-color: var(--navy); transform: translateY(-2px); }
.shortcut strong { font-family: var(--font-head); font-size: 1.2rem; color: var(--navy); }
.shortcut span:last-child { color: var(--ink-soft); font-size: .95rem; }
.shortcut-icon { font-size: 1.6rem; line-height: 1; }
@media (max-width: 900px) { .shortcut-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .shortcut-grid { grid-template-columns: 1fr; } }

/* Birthdays */
.bday-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; margin-top: 1rem; }
.bday-card { display: flex; gap: .9rem; align-items: center; padding: .85rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.bday-card.is-today { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold-soft); }
.bday-photo { flex: 0 0 76px; width: 76px; height: 76px; border-radius: 50%; overflow: hidden; background: var(--sand); }
.bday-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bday-photo .pug-photo-empty { font-size: 2rem; }
.bday-body h3 { margin: 0; font-size: 1.15rem; }
.bday-body p { margin: 0; }
.bday-body .btn { margin-top: .45rem; }
.bday-when { font-weight: 800; color: var(--gold-deep); font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
.pug-dir-bdays { margin-bottom: 3rem; }

/* Pug directory */
.dir-pug-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; }
.dir-pug { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.dir-pug-photo { aspect-ratio: 1 / 1; background: var(--sand); overflow: hidden; }
.dir-pug-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dir-pug-body { padding: .9rem 1.1rem 1.15rem; display: flex; flex-direction: column; gap: .35rem; }
.dir-pug-body h3, .dir-pug-body p { margin: 0; }

/* Community gallery */
.gallery-grid { columns: 3 260px; column-gap: 1rem; }
.gallery-item { break-inside: avoid; margin: 0 0 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.gallery-item img { width: 100%; height: auto; display: block; }
.gallery-item figcaption { padding: .6rem .85rem; font-size: .92rem; }
.past-gallery { margin-top: 1.5rem; }

/* Submission forms */
.photo-preview { display: block; max-width: 220px; max-height: 220px; margin-top: .75rem; border-radius: 12px; object-fit: cover; }
.plain-fieldset { border: 0; padding: 0; margin: 0; }
.form-row-3 { grid-template-columns: 1.4fr 1fr 1fr; margin-bottom: .6rem; }
label.check { display: flex; align-items: flex-start; gap: .55rem; font-weight: 600; }
label.check input { width: auto; margin-top: .3rem; flex: none; }
.notice-box { padding: .9rem 1.1rem; border-radius: 12px; background: var(--sand); border-left: 4px solid var(--gold); margin-bottom: 1.5rem; }
@media (max-width: 640px) { .form-row-3 { grid-template-columns: 1fr 1fr; } }
legend.lbl { display: block; font-weight: 700; margin-bottom: .35rem; font-size: .95rem; padding: 0; }
@media (max-width: 560px) { .dir-pug-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; } .dir-pug-body { padding: .7rem .8rem .9rem; } .dir-pug-body p:not(.small) { display: none; } }

/* Pugs needing homes: badges, shortlist, traits, steps */
.pug-badges { position: absolute; top: .75rem; left: .75rem; display: flex; flex-wrap: wrap; gap: .35rem; max-width: calc(100% - 4rem); }
.pug-badges .pug-badge { position: static; }
.pug-badge-urgent { background: var(--flag-red) !important; }
.pug-badge-foster { background: var(--navy) !important; }
.pug-badge-pending { background: var(--gold-deep) !important; }
.pug-heart { position: absolute; top: .6rem; right: .6rem; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--ink-soft); font-size: 1.25rem; line-height: 1; cursor: pointer; box-shadow: 0 1px 4px rgba(0, 0, 0, .15); }
.pug-heart:hover { color: var(--flag-red); }
.pug-heart.is-on { color: var(--flag-red); }
.pug-traits { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; padding: 0; margin: .2rem 0 0; }
.pug-traits li { font-size: .78rem; font-weight: 700; padding: .15rem .55rem; border-radius: 999px; background: var(--sand); color: var(--ink); }
.pug-filters { margin-bottom: 1.25rem; }
.chip-shortlist { margin-left: auto; }
.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(4, 1fr); margin-top: 1.5rem; }
.steps li { counter-increment: step; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; position: relative; }
.steps li::before { content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--gold); color: var(--navy); font-weight: 800; margin-bottom: .6rem; }
.steps li strong { display: block; font-family: var(--font-head); font-size: 1.1rem; color: var(--navy); margin-bottom: .25rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .chip-shortlist { margin-left: 0; } }
.choice-row { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }

/* Events: types, featured banner, detail pages, past archive, search */
.event-type { margin: 0 0 .15rem; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--gold-deep); }
.event-item h3 a { color: inherit; text-decoration: none; }
.event-item h3 a:hover { text-decoration: underline; }
.event-item.is-featured { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold-soft); }
.featured-event { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 0; align-items: stretch; margin: 2rem 0; border-radius: var(--radius); overflow: hidden; background: var(--navy); color: #fff; text-decoration: none; }
.featured-event img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; display: block; }
.featured-event > div { padding: 1.75rem 2rem; display: flex; flex-direction: column; gap: .4rem; justify-content: center; }
.featured-event h2 { color: #fff; margin: 0; }
.featured-event .eyebrow { color: var(--gold-soft); margin: 0; }
.featured-event p { margin: 0; color: rgba(255, 255, 255, .85); }
.featured-event .btn { align-self: flex-start; margin-top: .5rem; }
.featured-event:not(:has(img)) { grid-template-columns: 1fr; }
@media (max-width: 700px) { .featured-event { grid-template-columns: 1fr; } }
.event-tools { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; margin-bottom: 1.5rem; }
.event-tools .event-search { max-width: 320px; }
.event-tools .chips { margin: 0; }
.event-page h1 { margin: .25rem 0 1rem; }
.crumbs { font-size: .92rem; margin-bottom: 1rem; }
.event-facts { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .4rem; }
.event-facts strong { display: inline-block; min-width: 4.5rem; color: var(--navy); }
.event-cover { margin: 1.5rem 0; }
.event-cover img { width: 100%; border-radius: var(--radius); display: block; }
.past-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; margin-bottom: 2.5rem; }
.past-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); text-decoration: none; }
.past-card:hover { border-color: var(--navy); }
.past-photo { aspect-ratio: 4 / 3; background: var(--sand); overflow: hidden; }
.past-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.past-body { padding: .85rem 1rem 1rem; }
.past-body h3 { margin: 0; font-size: 1.1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Blog email sign-up */
.blog-signup { background: var(--navy); color: var(--cream); }
.blog-signup h2 { color: #fff; }
.blog-signup .eyebrow { color: var(--gold-soft); }
.blog-signup p { color: rgba(251, 246, 236, .85); }
.blog-signup .signup input[type="email"] { min-width: 260px; }
.blog-signup .form-msg { width: 100%; color: var(--cream); }
.blog-signup .form-msg.is-error { color: #ffc2cc; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem; margin: 1rem 0 3rem; }
.team-card { text-align: center; }
.team-photo { width: 160px; height: 160px; margin: 0 auto .9rem; border-radius: 50%; overflow: hidden; background: var(--sand); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-photo .pug-photo-empty { font-size: 3rem; }
.team-card h3 { margin: 0; }
.team-card p { margin: .3rem 0 0; }
.team-role { font-weight: 800; color: var(--gold-deep); font-size: .92rem; }

/* Impact numbers */
.impact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.impact-stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.2rem; text-align: center; display: flex; flex-direction: column; gap: .25rem; }
.impact-stat b { font-family: var(--font-head); font-size: 2.4rem; line-height: 1.1; color: var(--navy); }
.impact-stat span { font-weight: 700; }
.impact-stat small { color: var(--ink-soft); }

/* Sponsorship tiers */
.tier-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; margin-top: 1.5rem; }
.tier-card { background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; }
.tier-card h3 { margin: 0; }
.tier-card .btn { margin-top: auto; align-self: flex-start; }
.tier-card .check-list { margin: .75rem 0 1.25rem; }
.tier-amount { font-family: var(--font-head); font-size: 2rem; color: var(--navy); margin: .25rem 0 0; }
.tier-gold { border-top-color: #d4a017; }
.tier-silver { border-top-color: #a8a9ad; }
.tier-bronze { border-top-color: #b07a45; }
.tier-heading { margin: 2rem 0 .5rem; color: var(--gold-deep); text-transform: uppercase; letter-spacing: .06em; font-size: 1rem; }

/* Supplies drive */
.supply-group { margin-bottom: 2rem; }
.supply-list { list-style: none; padding: 0; margin: .5rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .6rem; }
.supply-list li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .75rem 1rem; display: flex; flex-direction: column; gap: .2rem; }
.supply-list li.is-high { border-color: var(--gold); }
.supply-name { font-weight: 700; }
.supply-tag { display: inline-block; align-self: flex-start; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; background: var(--gold); color: var(--navy); padding: .1rem .5rem; border-radius: 999px; }

/* Donate */
.give-more { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; text-align: left; }
@media (max-width: 760px) { .give-more { grid-template-columns: 1fr; } }
.givebutter-slot.is-live { margin: 1.5rem 0; min-height: 200px; text-align: left; display: flex; justify-content: center; }

/* Dog-friendly extras */
.place-amenities { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; padding: 0; margin: .25rem 0 .5rem; }
.place-amenities li { font-size: .78rem; font-weight: 700; padding: .15rem .55rem; border-radius: 999px; background: var(--sand); }
.dir-search input { min-width: 200px; }

/* Build-a-Pug */
.bap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
.bap-stage { aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; box-shadow: 0 6px 24px rgba(13, 34, 64, .15); background: var(--sand); }
.bap-stage svg { width: 100%; height: 100%; display: block; }
.bap-controls { display: grid; gap: 1rem; }
.bap-row .lbl { display: block; font-weight: 700; margin-bottom: .35rem; }
.bap-row .chips { margin: 0; }
@media (max-width: 800px) { .bap { grid-template-columns: 1fr; } .bap-stage { position: sticky; top: 0; z-index: 2; max-width: 420px; margin: 0 auto; width: 100%; } }

/* Brand kit */
.brand-logos { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 1rem 0 1.5rem; }
.brand-logo { margin: 0; padding: 1.5rem; border-radius: var(--radius); border: 1px solid var(--line); text-align: center; }
.brand-logo.on-dark { background: var(--navy); }
.brand-logo.on-dark figcaption a { color: var(--gold-soft); }
.brand-logo img { display: block; margin: 0 auto .75rem; }
.swatches { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1rem; margin-top: 1rem; }
.swatch { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem; display: flex; flex-direction: column; gap: .2rem; }
.swatch span { display: block; height: 80px; border-radius: 10px; border: 1px solid var(--line); margin-bottom: .4rem; }
.swatch small { color: var(--ink-soft); }
.swatch .btn { margin-top: .4rem; align-self: flex-start; }
.font-sample { font-size: 2.4rem; margin: 0 0 .5rem; color: var(--navy); }

/* No events scheduled: email sign-up */
.no-events { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; text-align: center; }
.no-events h2 { margin-top: 0; }
.no-events .signup { justify-content: center; margin: 1rem auto; max-width: 520px; }
.next-card .signup { display: flex; flex-wrap: wrap; gap: .5rem; }
.next-card .signup input[type="email"] { flex: 1 1 180px; min-width: 0; }
.next-card .signup .form-msg { width: 100%; margin: 0; }
.no-events .form-msg:empty, .next-card .form-msg:empty { display: none; }

/* Resources */
.resource-group { margin-bottom: 2.5rem; scroll-margin-top: 6rem; }
.resource-group h3 { margin: 1.25rem 0 .4rem; font-size: 1.05rem; color: var(--gold-deep); text-transform: uppercase; letter-spacing: .05em; }
.resource-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.resource-list li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .75rem 1rem; display: flex; flex-direction: column; gap: .15rem; }
.resource-list li a:first-child { font-weight: 700; }
.resource-list li span { color: var(--ink-soft); font-size: .95rem; }

/* FAQ */
.faq-list { display: grid; gap: .6rem; margin-bottom: 2.5rem; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 1.1rem; }
.faq summary { cursor: pointer; font-weight: 700; padding: 1rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.3rem; line-height: 1; color: var(--gold-deep); }
.faq[open] summary::after { content: '–'; }
.faq div { padding-bottom: 1rem; }
.faq div p { margin: 0 0 .6rem; }

/* Rainbow Bridge */
.page-head-soft { background: linear-gradient(180deg, #eef3fb 0%, var(--cream) 100%); }
.memorial-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.5rem; }
.memorial { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; text-align: center; }
.memorial-photo { width: 150px; height: 150px; margin: 0 auto .9rem; border-radius: 50%; overflow: hidden; background: var(--sand); }
.memorial-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.memorial h3 { margin: 0; }
.memorial-years { color: var(--ink-soft); font-weight: 700; margin: .2rem 0 .5rem; }
.memorial p { margin: .3rem 0 0; }

/* Givebutter progress */
.gb-progress { width: 100%; max-width: 560px; margin: 0 auto 1.25rem; text-align: center; }
.gb-progress p { margin: 0 0 .5rem; }
.gb-bar { height: 14px; border-radius: 999px; background: var(--sand); overflow: hidden; }
.gb-bar span { display: block; height: 100%; background: var(--gold); border-radius: 999px; }
.givebutter-slot.is-live { flex-direction: column; align-items: center; }
.page-head .lead + p { margin-top: 1.25rem; }

/* Home photo */
.home-photo { margin: 2.5rem 0 0; }
.home-photo img { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(13, 34, 64, .15); }
.home-photo figcaption { margin-top: .6rem; font-size: .92rem; color: var(--ink-soft); text-align: center; }

/* Brand kit lock */
.brand-lock { max-width: 460px; }
.brand-lock-row { display: flex; gap: .5rem; }
.brand-lock-row .field { flex: 1; }

/* Merch */
.merch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1.25rem; text-align: left; }
.merch-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
.merch-card:hover { border-color: var(--navy); transform: translateY(-2px); }
.merch-photo { aspect-ratio: 1 / 1; background: #f4f1ea; overflow: hidden; }
.merch-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.merch-body { padding: .8rem 1rem 1rem; }
.merch-body h3 { margin: 0; font-size: 1rem; line-height: 1.3; }
.merch-price { margin: .3rem 0 0; font-weight: 800; color: var(--navy); }

/* Sponsors: first sponsor prompt */
.first-sponsor { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.25rem; }
.first-sponsor h2 { margin-top: .25rem; }
.first-sponsor-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.first-sponsor-slots span { display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 2; border: 2px dashed rgba(13, 34, 64, .25); border-radius: 14px; color: var(--ink-soft); font-weight: 700; }
@media (max-width: 800px) { .first-sponsor { grid-template-columns: 1fr; padding: 1.5rem; } }

/* Supplies: give money */
.supply-give { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; align-items: center; justify-content: space-between; background: var(--navy); color: var(--cream); border-radius: var(--radius); padding: 1.75rem 2rem; margin-bottom: 2.5rem; }
.supply-give h2 { color: #fff; margin: 0 0 .35rem; }
.supply-give p { margin: 0; color: rgba(251, 246, 236, .85); max-width: 42rem; }

/* Past meetups photos */
.meetup-photos { display: block; columns: 3 260px; column-gap: 1rem; }
.meetup-photos figure { margin: 0 0 1rem; break-inside: avoid; }
.meetup-photos img { aspect-ratio: auto; height: auto; }

/* Merch button in the main menu */
.site-nav .nav-merch, .site-nav .nav-merch.active, .site-nav .nav-merch[aria-current="page"] { display: inline-flex; align-items: center; gap: .4rem; background: var(--navy); color: #fff; border: 1.5px solid var(--navy); }
.site-nav .nav-merch:hover { background: #1b3a66; border-color: #1b3a66; color: #fff; }
@media (max-width: 760px) { .site-nav a.nav-merch { border-color: var(--navy); } }
.nav-icon { flex: none; }
.team-list { margin-top: 2.5rem; }

main:has(> .blog-signup:last-child) + .site-footer, main:has(> .post-page + .blog-signup:last-child) + .site-footer { margin-top: 0; }

/* Newsletter archive */
.page-head .signup { margin-top: 1.5rem; max-width: 520px; }
.archive-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .5rem; }
.archive-list a { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1.1rem; color: var(--ink); text-decoration: none; }
.archive-list a:hover { border-color: var(--navy); }
.issue-title { margin-top: .25rem; }

/* Blog tags */
.post-tags { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 2rem 0 0; }
.post-tags > span { font-weight: 800; font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-soft); }
.post-tagbar { margin: .75rem 0 0; color: var(--ink-soft); }
