:root {
  color-scheme: light;
  --ink: #17232d;
  --heading: #14212c;
  --muted: #526170;
  --line: #dce3e8;
  --wash: #f3f6f7;
  --paper: #fff;
  --orange: #ff761f;
  --orange-hover: #ff9048;
  --orange-text: #a33c05;
  --orange-wash: #fff0e3;
  --dark: #14242d;
  --focus: #007a99;
  --outer: clamp(1.125rem, 5vw, 4.25rem);
  --content: 76rem;
  --radius: .5rem;
  font-family: system-ui, "Segoe UI", Arial, sans-serif;
  font-size: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-padding-top: 6.25rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: .12em; }
button, input, select, textarea { font: inherit; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
#main:focus { outline: none; }

h1, h2, h3 {
  margin: 0;
  color: var(--heading);
  font-weight: 760;
  line-height: 1.13;
  text-wrap: balance;
}
h1, h2 { letter-spacing: -.035em; }
p { margin: 0; }

.wrap {
  width: min(100% - 2 * var(--outer), var(--content));
  margin-inline: auto;
}
.section { padding-block: clamp(2.75rem, 5vw, 4.5rem); }
.section--wash { background: var(--wash); }
.heading-rule::before {
  display: block;
  width: 2.9rem;
  height: .25rem;
  margin-bottom: .95rem;
  background: var(--orange);
  content: "";
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: .75rem;
  left: .75rem;
  transform: translateY(-200%);
  padding: .625rem 1rem;
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
}
.skip-link:focus { transform: none; }

.button {
  display: inline-flex;
  min-height: 2.875rem;
  align-items: center;
  justify-content: center;
  padding: .55rem 1.12rem;
  border: 1px solid transparent;
  border-radius: .28rem;
  background: var(--orange);
  color: #111b23;
  font-size: .9375rem;
  font-weight: 730;
  line-height: 1.28;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.button:hover { background: var(--orange-hover); }
.button--outline {
  border-color: #aebbc4;
  background: var(--paper);
  color: var(--ink);
}
.button--outline:hover { border-color: var(--ink); background: var(--wash); }
.button--light {
  border-color: #fff9;
  background: #1220296b;
  color: #fff;
}
.button--light:hover { border-color: #fff; background: #122029; }
.button:disabled { opacity: .58; cursor: default; }

.link {
  width: fit-content;
  color: var(--orange-text);
  font-weight: 720;
  text-decoration-thickness: 1px;
}
.link:hover { color: var(--ink); }
.action-group { display: flex; flex-wrap: wrap; gap: .625rem; }

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-top: 4px solid var(--orange);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.header-inner {
  display: grid;
  min-height: 4.65rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1.125rem, 2.5vw, 2.5rem);
  width: min(100% - 2 * clamp(1.125rem, 3vw, 3.25rem), 84rem);
  margin-inline: auto;
}
.wordmark {
  display: inline-flex;
  width: fit-content;
  min-height: 2.75rem;
  flex-direction: column;
  justify-content: center;
  color: var(--heading);
  line-height: 1.05;
  text-decoration: none;
}
.wordmark span {
  margin-bottom: .22rem;
  color: var(--orange-text);
  font-size: .86rem;
  font-weight: 760;
  letter-spacing: .065em;
  text-transform: uppercase;
}
.wordmark strong {
  font-size: clamp(1.13rem, 1.65vw, 1.45rem);
  font-weight: 820;
  letter-spacing: -.045em;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(.8rem, 1.55vw, 1.75rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-link {
  display: flex;
  min-height: 2.75rem;
  align-items: center;
  border-bottom: 2px solid transparent;
  color: var(--ink);
  font-size: .9rem;
  font-weight: 680;
  text-decoration: none;
  white-space: nowrap;
}
.nav-link:hover,
.nav-link[aria-current] {
  border-bottom-color: var(--orange);
  color: var(--orange-text);
}
.desktop-actions { display: flex; gap: .5rem; }
.mobile-actions { display: none; }

.menu-toggle {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: .55rem;
  padding: .45rem .75rem;
  border: 1px solid var(--line);
  border-radius: .3rem;
  background: var(--paper);
  color: var(--ink);
  font-size: .9375rem;
  font-weight: 720;
  cursor: pointer;
}
.menu-glyph {
  position: relative;
  width: 15px;
  height: 12px;
  border-block: 2px solid currentColor;
}
.menu-glyph::after {
  position: absolute;
  top: 3px;
  left: 0;
  width: 100%;
  border-top: 2px solid currentColor;
  content: "";
}

.home-hero {
  position: relative;
  display: grid;
  min-height: clamp(27rem, 38vw, 35rem);
  align-items: center;
  isolation: isolate;
  background: var(--dark);
}
.hero-visual,
.hero-visual img,
.home-hero::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-visual { z-index: -2; }
.hero-visual img { object-fit: cover; object-position: 50% 57%; }
.home-hero::after {
  z-index: -1;
  background: linear-gradient(90deg, #0e1c24f5 0%, #14242dde 25%, #14242db5 48%, #14242d24 74%, transparent 100%);
  content: "";
}
.hero-inner { padding-block: 3rem 3.75rem; }
.home-hero h1 {
  max-width: 11.8em;
  color: #fff;
  font-size: clamp(2.9rem, 5.7vw, 5.4rem);
  font-weight: 820;
  letter-spacing: -.05em;
  line-height: 1.025;
}
.home-hero h1 span { display: block; }
.home-hero .heading-rule::before { width: 3.35rem; margin-bottom: 1.25rem; }
.home-hero .action-group { margin-top: clamp(1.35rem, 2.5vw, 2rem); }
.home-hero :focus-visible,
.site-footer :focus-visible { outline-color: #ffb581; }
.hero-caption {
  position: absolute;
  right: var(--outer);
  bottom: .9rem;
  margin: 0;
  padding: .25rem .56rem;
  border-radius: .2rem;
  background: #11212bd9;
  color: #fff;
  font-size: .8125rem;
  font-weight: 600;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(1.35rem, 3vw, 2rem);
}
.section-head h2, .split-panel h2 {
  font-size: clamp(1.8rem, 3.3vw, 3rem);
}
.section-head .link { flex: 0 0 auto; margin-bottom: .125rem; }

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.1rem clamp(1.15rem, 2.8vw, 2.2rem);
}
.story-card { min-width: 0; }
.story-card a {
  display: block;
  border-radius: var(--radius) var(--radius) 0 0;
  text-decoration: none;
}
.story-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  background: var(--wash);
  object-fit: cover;
  object-position: 50% 55%;
}
.story-image--civic { object-position: 50% 36%; }
.story-image--city { object-position: 50% 45%; }
.story-image--graig { object-position: 50% 39%; }
.story-card h2, .story-card h3 {
  margin-top: .55rem;
  font-size: clamp(1.22rem, 2.03vw, 1.6rem);
  line-height: 1.2;
  letter-spacing: -.025em;
}
.story-card a:hover h2, .story-card a:hover h3 {
  color: var(--orange-text);
  text-decoration: underline;
  text-underline-offset: .16em;
}
.story-card > p { margin-top: .65rem; color: var(--muted); }
.story-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .65rem;
  margin-top: .9rem;
  color: var(--muted);
  font-size: .85rem;
  font-weight: 600;
}
.category {
  display: inline-block;
  padding: .2rem .48rem;
  border-radius: .23rem;
  background: var(--orange-wash);
  color: #803000;
  font-size: .775rem;
  font-weight: 800;
  letter-spacing: .055em;
  line-height: 1.36;
  text-transform: uppercase;
}

.news-sources {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.news-source {
  display: block;
  padding: 1.15rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  text-decoration: none;
}
.news-source h3 { font-size: 1.25rem; }
.news-source p { margin-top: .4rem; color: var(--muted); }
.news-source:hover { border-color: var(--orange-text); }
.news-source:hover h3 { text-decoration: underline; }

.split-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}
.split-panel {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  flex-direction: column;
  padding: clamp(1.45rem, 3.6vw, 2.7rem);
  border-radius: var(--radius);
  background: var(--orange-wash);
}
.split-panel--dark { background: var(--dark); color: #f0f4f6; }
.split-panel--dark h2 { color: #fff; }
.split-panel p { max-width: 46ch; margin: .65rem 0 1.2rem; }
.split-panel .button { margin-top: auto; }

.page-heading {
  padding-block: clamp(2.35rem, 5vw, 4.1rem);
  background: var(--wash);
}
.page-heading h1 {
  max-width: 23ch;
  font-size: clamp(2.35rem, 5.1vw, 4.5rem);
}
.page-heading p {
  max-width: 66ch;
  margin-top: .8rem;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.7vw, 1.18rem);
}
.page-heading .link { display: inline-block; margin-bottom: 1.25rem; }

.option-grid, .people-grid, .package-grid {
  display: grid;
  gap: 1rem;
}
.option-grid, .people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.package-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.option-card, .person-card {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  flex-direction: column;
  padding: clamp(1.25rem, 2.6vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.option-card h2, .option-card h3, .person-card h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
}
.option-card > p, .person-card > p {
  margin: .6rem 0 1rem;
  color: var(--muted);
}
.option-card .button, .option-card .link { margin-top: auto; }
.option-card--free { border-color: #f8bd96; background: #fff8f2; }
.option-card .price {
  margin: 0 0 .65rem;
  color: var(--orange-text);
  font-size: .95rem;
  font-weight: 780;
}
.initials {
  display: grid;
  width: 4.45rem;
  height: 4.45rem;
  place-items: center;
  margin-bottom: 1.15rem;
  border-radius: 50%;
  background: var(--orange-wash);
  color: #803000;
  font-size: 1.38rem;
  font-weight: 780;
}
.person-card:nth-child(2) .initials { background: #e8eff1; color: var(--dark); }
.person-card .person-role { margin-bottom: 0; color: var(--orange-text); font-weight: 730; }
.person-card .person-bio { margin-bottom: 0; }
.info-panel {
  padding: clamp(1.25rem, 3.3vw, 2.25rem);
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--wash);
}
.info-panel h2 { font-size: clamp(1.32rem, 2.3vw, 1.8rem); }
.info-panel p { max-width: 60ch; margin: .55rem 0 .75rem; color: var(--muted); }
.stack { display: grid; gap: clamp(1.5rem, 4vw, 3rem); }

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 43rem) minmax(0, 21rem);
  align-items: start;
  gap: clamp(1.25rem, 4vw, 3.5rem);
}
.site-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.05rem, 3.25vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.form-notice {
  padding: .65rem .85rem;
  border-left: 3px solid var(--orange);
  background: var(--orange-wash);
  color: #642d12;
  font-size: .92rem;
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.site-form label { display: grid; min-width: 0; gap: .36rem; font-size: .95rem; font-weight: 690; }
.site-form label small { display: inline; color: var(--muted); font-size: .85rem; font-weight: 500; }
.site-form input, .site-form select, .site-form textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 2.875rem;
  padding: .55rem .68rem;
  border: 1px solid #9baab5;
  border-radius: .25rem;
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 450;
  line-height: 1.45;
}
.site-form select {
  appearance: none;
  padding-right: 2rem;
}
.select-wrap { position: relative; }
.select-wrap::after {
  position: absolute;
  top: calc(50% - .25rem);
  right: .9rem;
  width: .5rem;
  height: .5rem;
  transform: rotate(45deg);
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  pointer-events: none;
  content: "";
}
.site-form textarea { min-height: 7rem; resize: vertical; }
.form-small { color: var(--muted); font-size: .9rem; line-height: 1.48; }
.business-note { margin-top: 1rem; }
.form-status { color: #642d12; font-weight: 650; }
.form-status:empty { margin-top: -1rem; }
.form-actions { display: flex; align-items: center; }

.article {
  width: min(100% - 2 * var(--outer), 52rem);
  margin-inline: auto;
}
.article header { margin-bottom: 1.35rem; }
.article-back { margin-bottom: 1.25rem; }
.article h1 { margin-top: .65rem; font-size: clamp(2.05rem, 4.9vw, 4.1rem); }
.article .story-meta { margin-top: 0; }
.article figure { margin: 1.35rem 0; }
.article-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background: var(--wash);
  object-fit: cover;
}
.article figcaption { margin-top: .45rem; color: var(--muted); font-size: .875rem; }
.article p { max-width: 66ch; margin-top: 1rem; font-size: 1.125rem; }
.article .button { margin-top: 1.35rem; }

.site-footer {
  padding-block: 2.4rem 1.6rem;
  background: var(--dark);
  color: #e4edf0;
}
.site-footer .wordmark { color: #fff; }
.site-footer .wordmark span { color: #ffb581; }
.footer-main {
  display: grid;
  grid-template-columns: minmax(12rem, .65fr) minmax(0, 1fr);
  gap: 1.5rem 2.5rem;
  padding-bottom: 1.55rem;
  border-bottom: 1px solid #ffffff39;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1.25rem;
  margin: 0;
  padding: .22rem 0 0;
  list-style: none;
}
.footer-links a { font-size: .93rem; font-weight: 650; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-small {
  display: grid;
  gap: .45rem;
  padding-top: 1.15rem;
  color: #c5d3d9;
  font-size: .86rem;
}
.footer-small p { max-width: 85ch; }
.credits { margin: 0; padding-inline-start: 1.35rem; }
.credits li + li { margin-top: .65rem; }

@media (max-width: 70rem) {
  .header-inner {
    min-height: 4.3rem;
    grid-template-columns: 1fr auto;
    gap: 0 1rem;
  }
  .header-inner .menu-toggle { grid-column: 2; justify-self: end; }
  .site-nav {
    grid-column: 1 / -1;
    max-height: min(70vh, 27rem);
    overflow: auto;
    padding: .4rem .3rem 1rem;
    border-top: 1px solid var(--line);
  }
  .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: start;
    gap: 0 .8rem;
  }
  .nav-link { width: fit-content; white-space: normal; }
  .desktop-actions { display: none; }
  .mobile-actions { display: flex; gap: .55rem; margin-top: .75rem; }
}

@media (max-width: 50rem) {
  .story-grid, .package-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-layout { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 37rem) {
  .home-hero { min-height: 28.5rem; align-items: end; }
  .hero-inner { padding-block: 8rem 3.8rem; }
  .hero-visual img { object-position: 66% 58%; }
  .home-hero::after {
    background: linear-gradient(0deg, #101f27fa 0%, #14242de6 34%, #14242d9e 58%, #14242d19 100%);
  }
  .home-hero h1 {
    font-size: clamp(2.25rem, 8.6vw, 3.25rem);
    line-height: 1.06;
  }
  .hero-caption { right: var(--outer); bottom: .65rem; }
  .section-head { flex-direction: column; align-items: flex-start; gap: .65rem; }
  .section-head .link { margin-bottom: 0; }
  .story-grid, .news-sources, .split-panels, .option-grid, .people-grid, .package-grid,
  .form-grid, .footer-main { grid-template-columns: minmax(0, 1fr); }
  .story-grid { gap: 1.9rem; }
  .footer-main { gap: .9rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; }
}

/* Added: candidate photos, Graig page */
.person-photo { width: 7rem; height: 7rem; margin-bottom: 1.15rem; border-radius: 50%; object-fit: cover; }
.person-card .person-contact { margin-top: .9rem; font-size: .95rem; }
.pledge-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.pledge { padding: 1.25rem 1.35rem; border: 1px solid var(--line); border-top: 4px solid var(--orange); border-radius: var(--radius); background: var(--paper); }
.pledge h3 { font-size: 1.2rem; margin: 0; }
.pledge p { margin: .5rem 0 0; color: var(--muted); }
.issue-list { margin: 0; padding-left: 1.25rem; }
.issue-list li { margin: .55rem 0; }
.prose { max-width: 70ch; }
.prose p { margin: .8rem 0; font-size: 1.08rem; }
.prose h2 { margin-top: 2rem; }
.core-message { padding: clamp(1.25rem,3vw,2rem); border-radius: var(--radius); background: var(--dark); color: #fff; font-size: clamp(1.25rem,2.6vw,1.8rem); font-weight: 780; line-height: 1.25; }
.ask-list { margin: .5rem 0 0; padding-left: 1.25rem; }
.ask-list li { margin: .35rem 0; }
@media (max-width: 44rem) { .pledge-grid { grid-template-columns: minmax(0, 1fr); } }
