/* Colleen Whitlow for Mayor — static rebuild of the original site-builder theme. */
:root {
  --red: #d32034;
  --red-dark: #a8192a;
  --navy: #1d2b4f;
  --ink: #212121;
  --muted: rgba(33, 33, 33, .75);
  --paper: #f9f9f9;
  --white: #fff;
  --line: #dcdcdc;
  --wrap: 926px;
  --head: "Montserrat", system-ui, sans-serif;
  --body: "Lato", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font: 16px/1.6 var(--body); color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 400; line-height: 1.25; margin: 0 0 .6em; }
h2 { font-size: clamp(1.6rem, 3vw, 2rem); color: var(--red); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.5rem); }
p { margin: 0 0 1em; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 100; background: var(--white); padding: .5rem 1rem; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.red { color: var(--red); }
.b { font-weight: 700; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.site-header .bar { display: flex; align-items: center; gap: 18px; padding: 8px 24px; max-width: 1366px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 18px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 140px; transition: width .2s; }
.brand span { font-family: var(--head); font-size: 1.2rem; }
.site-header.small .brand img { width: 62px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.nav a { display: block; padding: 8px 12px; text-decoration: none; color: var(--ink); font-family: var(--head); font-size: .95rem; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--red); border-bottom-color: var(--red); }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-btn span { display: block; width: 24px; height: 3px; background: var(--ink); margin: 4px 0; border-radius: 2px; }

@media (max-width: 1080px) {
  .brand span { display: none; }
}
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); box-shadow: 0 8px 12px rgba(0,0,0,.08); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; padding: 8px 0; }
  .nav a { padding: 12px 24px; border-bottom: 0; }
  .brand img { width: 96px; }
  .site-header .bar { padding: 8px 16px; }
}

/* ---------- Sections ---------- */
.sec { padding: 72px 0; }
.sec.paper { background: var(--paper); }
.sec.white { background: var(--white); }
.sec.photo { position: relative; background: center / cover no-repeat; }
.sec.photo::before { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,var(--veil, .5)); }
.sec.photo > * { position: relative; }
.sec.photo p { font-weight: 700; }
.sec.photo h2 { color: var(--red-dark); font-weight: 700; }

/* Home */
.hero { padding: 80px 0 72px; text-align: center; }
.hero .tag { color: var(--red); font: 700 clamp(1.1rem, 2.2vw, 1.75rem)/1.3 var(--head); margin-bottom: 1.4em; }
.hero .slogan { font: 700 clamp(1.3rem, 2.4vw, 1.9rem)/1.3 var(--head); margin-bottom: 1.4em; }
.hero h1 { color: var(--red); font-weight: 700; font-size: clamp(2rem, 4.5vw, 2.9rem); margin-bottom: 1em; }
.hero img { width: 100%; }
.about p { color: var(--red); font: 700 clamp(1.1rem, 2vw, 1.5rem)/1.45 var(--body); max-width: 780px; margin: 0 auto; }
.platform { background: linear-gradient(var(--red) 0 255px, var(--paper) 255px); padding: 56px 0 0; }
.platform > .wrap > h2 { color: var(--white); font-weight: 700; margin-bottom: 1.6em; }
.platform .panel { background: var(--white); box-shadow: 0 4px 18px rgba(0,0,0,.08); padding: 34px 40px 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.platform h3 { font-weight: 700; font-size: clamp(1.3rem, 2.3vw, 1.75rem); margin-bottom: .35em; }
.platform .plank { padding-bottom: 36px; }
.platform .plank p { font: 700 .95rem/2.2 var(--head); margin: 0; }
.closing h2 { font-weight: 700; line-height: 1.4; }

/* Accomplishments */
.intro-split { display: grid; grid-template-columns: 1fr 1.08fr; gap: 40px; align-items: center; }
.intro-split .rule { width: 32px; height: 3px; background: var(--red); margin: 0 auto 18px; }
.intro-split .lead { font-size: clamp(1.3rem, 2.4vw, 1.85rem); line-height: 1.25; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 40px; }
.tile img { width: 144px; height: 144px; border-radius: 50%; object-fit: cover; margin: 0 auto 36px; background: #f6f6f6; }
.tile:nth-child(-n+3) img { background: var(--red); }
.tile h3 { font-size: 1.5rem; }
.tile p { font-size: 1rem; line-height: 1.2; }
.summary p { font-size: clamp(1.2rem, 2.1vw, 1.5rem); line-height: 1.35; }

/* Endorsements */
.roster p { font-size: 1.3rem; line-height: 1.45; }
.roster .group { font-style: italic; margin: 1.6em 0 .9em; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: start; margin-top: 48px; }
.card { background: var(--white); box-shadow: 0 2px 8px rgba(0,0,0,.12); text-align: center; }
.card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.card .body { padding: 22px 16px 28px; }
.card blockquote { margin: 0 0 1.4em; font-size: 1rem; line-height: 1.2; color: var(--ink); }
.card blockquote p { margin-bottom: 1.2em; }
.card .who { font-size: 1rem; margin: 0 0 .2em; }
.card .role { font-size: .95rem; line-height: 1.25; margin: 0; }
.thanks p { font-size: 1.05rem; }
.thanks .names { font-size: 1rem; line-height: 1.9; }

/* Meet Colleen */
.bio h1 { color: var(--red); font-weight: 700; font-size: clamp(2.4rem, 6vw, 4.2rem); margin-bottom: .5em; }
.bio p { line-height: 1.75; }
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.list h2 { color: var(--ink); font-weight: 700; font-size: 1.35rem; }
.list ul { list-style: none; padding: 0; margin: 0 0 1em; }
.list li { padding-left: 1em; text-indent: -1em; margin-bottom: .45em; }
.list li::before { content: "•\00a0\00a0"; }
.list ul ul { margin: .3em 0 .2em 1em; }
.list ul ul li::before { content: "-\00a0\00a0"; }
.record h2 { font-weight: 700; }
.record h3 { font-weight: 700; font-size: 1.05rem; margin: 1.4em 0 .5em; }
.record ul { list-style: none; padding: 0; margin: 0; }
.record li { line-height: 1.9; }
.record li::before { content: "·\00a0"; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.gallery a { display: block; aspect-ratio: 1; overflow: hidden; background: var(--line); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.04); }

/* In Honor */
.honor-top h1 { color: var(--red); font-weight: 700; font-size: clamp(2rem, 4vw, 2.5rem); }
.honor-top p { font-size: 1.1rem; line-height: 1.3; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 28px; }
.trio img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.honor p { line-height: 1.75; }
.sec.photo p.plain { font-weight: 400; }
.blessing h2 { font-weight: 700; }

/* Get Involved */
.involve p { font-size: 1.1rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--paper); padding: 34px 0 0; font-size: .95rem; }
.site-footer nav ul { list-style: none; margin: 0; padding: 0 0 22px; display: flex; flex-wrap: wrap; gap: 6px 28px; border-bottom: 1px solid var(--line); }
.site-footer nav a { color: var(--muted); text-decoration: none; }
.site-footer nav a:hover { color: var(--red); }
.site-footer .paid { color: var(--muted); margin: 16px 0 26px; }
.site-footer .social { background: #dcdcdc; display: flex; justify-content: flex-end; align-items: center; }
.site-footer .social span { color: var(--muted); padding: 0 16px; }
.site-footer .social a { background: var(--red); width: 56px; height: 56px; display: grid; place-items: center; }
.site-footer .social svg { width: 20px; height: 20px; fill: var(--white); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.9); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 2.6rem; cursor: pointer; padding: 12px 18px; line-height: 1; }
.lightbox .x { top: 8px; right: 8px; }
.lightbox .prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lightbox .next { right: 4px; top: 50%; transform: translateY(-50%); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .sec { padding: 52px 0; }
  .tiles, .cards, .gallery { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .intro-split { grid-template-columns: 1fr; }
  .platform .panel { grid-template-columns: 1fr; padding: 28px 24px 8px; }
  .platform { background: linear-gradient(var(--red) 0 230px, var(--paper) 230px); }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .tiles, .cards, .cols2, .trio { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .roster p { font-size: 1.1rem; }
  .platform .plank p { line-height: 1.8; }
}
