:root {
  --orange: #f57519;
  --amber: #ffa72f;
  --cream: #efefed;
  --cyan: #06a8d8;
  --blue: #087ebd;
  --ink: #092f46;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: "DM Sans", sans-serif; }
button, a { font: inherit; }
a { color: inherit; }
button { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 99; left: 1rem; top: -5rem; background: white; padding: .8rem 1rem; border-radius: .5rem; }
.skip-link:focus { top: 1rem; }

.site-header { height: 84px; padding: 0 clamp(1.2rem, 5vw, 5.5rem); display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,.88); backdrop-filter: blur(18px); position: absolute; z-index: 20; width: 100%; }
.wordmark { display: inline-flex; align-items: center; gap: .7rem; font: 800 1.08rem "Manrope", sans-serif; text-decoration: none; letter-spacing: -.03em; }
.wordmark-mark { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 3px; background: var(--orange); color: white; }
section { position: relative; overflow: hidden; padding: clamp(4.5rem, 10vw, 8rem) clamp(1.2rem, 6vw, 6.5rem); }
.hero { min-height: 790px; padding-top: 150px; display: grid; place-items: center; background: linear-gradient(135deg, var(--cyan), var(--blue)); }
.glass { border: 1px solid rgba(255,255,255,.36); box-shadow: 0 30px 80px rgba(2,45,74,.22); backdrop-filter: blur(28px); }
.hero-card { position: relative; z-index: 2; width: min(1160px, 100%); min-height: 560px; padding: clamp(1.5rem, 5vw, 4.5rem); display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 4rem; border-radius: 8px; background: rgba(8,31,44,.25); color: white; }
h1, h2, h3 { font-family: "Manrope", sans-serif; letter-spacing: -.055em; margin-top: 0; }
h1 { max-width: 700px; margin-bottom: 1.6rem; font-size: clamp(3.4rem, 7.4vw, 7rem); line-height: .94; }
h1 span { color: #ffe3be; }
.hero-copy > p { max-width: 570px; font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.65; color: rgba(255,255,255,.88); }
.hero-actions { display: flex; align-items: center; gap: 1.5rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .8rem 1.35rem; border: 0; border-radius: 3px; font-weight: 800; text-decoration: none; cursor: pointer; }
.button-light { background: white; color: var(--blue); }
.button-orange { background: var(--orange); color: white; }
.button-blue { background: var(--blue); color: white; }
.portrait { position: relative; min-height: 410px; height: 100%; overflow: hidden; border-radius: 5px; background: var(--amber); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.portrait img { display: block; width: 100%; height: 100%; min-height: 410px; object-fit: cover; object-position: center top; }

.orange-section { background: linear-gradient(135deg, var(--orange), #ed6815); }
.light-card { width: min(1160px, 100%); margin: auto; background: rgba(9,47,70,.78); color: white; border-radius: 7px; }
.split-card { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 7rem); padding: clamp(2rem, 5vw, 4.5rem); }
.split-card h2, .section-heading h2, .cta-card h2 { font-size: clamp(2.2rem, 4.3vw, 4.4rem); line-height: 1.05; }
.split-card p { margin-top: 0; font-size: 1.05rem; line-height: 1.75; color: rgba(255,255,255,.82); }

.cream-section { background: var(--cream); }
.section-heading { width: min(1160px, 100%); margin: 0 auto 3rem; display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.section-heading h2 { margin-bottom: 0; }
.section-heading p { max-width: 420px; margin: 0; line-height: 1.7; color: #526a78; }
.priority-grid { width: min(1160px, 100%); margin: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.priority-card { min-height: 310px; padding: 2rem; display: flex; flex-direction: column; border-radius: 5px; background: rgba(255,255,255,.72); }
.priority-card .number { margin-bottom: auto; color: var(--orange); font-weight: 800; }
.priority-card h3 { margin-bottom: .6rem; font-size: 1.7rem; }
.priority-card p { margin: 0; line-height: 1.65; color: #526a78; }
.feature-card { background: var(--amber); border-color: rgba(255,255,255,.6); transform: translateY(-1rem); }
.feature-card p { color: #503410; }
.feature-card .number { color: var(--ink); }

.blue-section { background: var(--blue); }
.cta-card { width: min(980px, 100%); margin: auto; padding: clamp(2.4rem, 6vw, 5rem); text-align: center; border-radius: 7px; background: rgba(5,24,35,.22); color: white; }
.cta-card h2 { max-width: 750px; margin: 0 auto 1rem; }
.cta-card p { max-width: 560px; margin: 0 auto 2rem; color: rgba(255,255,255,.84); }
.cta-card .vote-list { width: min(680px, 100%); margin: 2.5rem auto; text-align: left; }

footer { padding: 2.5rem clamp(1.2rem, 6vw, 6.5rem); display: flex; align-items: center; gap: 2rem; background: white; }
footer p { margin: 0 auto; color: #657985; font-size: .85rem; }
.vote-list { margin: 1.5rem 0; }
.vote-list article { display: grid; grid-template-columns: 42px 1fr; gap: 1rem; padding: 1.15rem 0; border-top: 1px solid rgba(255,255,255,.2); }
.vote-list article > span { color: var(--orange); font-weight: 800; }
.vote-list h3 { margin: 0 0 .25rem; font-size: 1.08rem; letter-spacing: -.02em; }
.vote-list p { margin: 0; color: rgba(255,255,255,.7); font-size: .92rem; line-height: 1.5; }

@media (max-width: 800px) {
  .hero { min-height: auto; padding-top: 120px; }
  .hero-card { grid-template-columns: 1fr; gap: 2rem; }
  .portrait { min-height: 360px; }
  .split-card { grid-template-columns: 1fr; }
  .section-heading { display: block; }
  .section-heading h2 { margin-bottom: 1rem; }
  .priority-grid { grid-template-columns: 1fr; }
  .feature-card { transform: none; }
  footer { flex-wrap: wrap; }
  footer p { order: 3; width: 100%; }
}

@media (max-width: 520px) {
  .site-header { height: 72px; }
  section { padding-left: 1rem; padding-right: 1rem; }
  .hero { padding-top: 98px; }
  .hero-card { padding: 1rem; border-radius: 6px; }
  h1 { font-size: 3.15rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .portrait { min-height: 310px; }
  .light-card, .cta-card { border-radius: 6px; }
  footer { align-items: flex-start; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Accommodate the supplied photos and full biography within the original layout. */
.about-photos { display: grid; gap: 1.5rem; }
.about-photos img { display: block; width: 100%; height: auto; border-radius: 5px; }
.campaign-mark { display: block; width: min(320px, 100%); height: auto; margin: 2rem auto; border-radius: 5px; }
.wordmark-mark { flex-shrink: 0; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
@media (max-width: 800px) {
  .about-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 380px) {
  h1 { font-size: 2.7rem; }
  .split-card, .cta-card { padding: 1.5rem; }
}

/* Voting dates expand in place, preserving the original info card. */
.vote-details { border-top: 1px solid rgba(255,255,255,.2); }
.vote-details:last-child { border-bottom: 1px solid rgba(255,255,255,.2); }
.vote-details summary { display: grid; grid-template-columns: 76px minmax(0, 1fr) 18px; align-items: center; gap: 1rem; padding: 1.2rem .5rem; list-style: none; cursor: pointer; border-radius: 3px; }
.vote-details summary::-webkit-details-marker { display: none; }
.vote-details summary:hover, .vote-details[open] > summary { background: rgba(255,255,255,.07); }
.vote-details summary:focus-visible { outline: 2px solid white; outline-offset: -2px; }
.vote-date { color: var(--amber); font-weight: 800; white-space: nowrap; }
.vote-title { display: block; font-family: "Manrope", sans-serif; font-size: 1.08rem; font-weight: 800; letter-spacing: -.02em; }
.vote-hint { display: block; margin-top: .3rem; font-size: .85rem; color: rgba(255,255,255,.8); }
.vote-arrow { width: 10px; height: 10px; border-right: 2px solid var(--amber); border-bottom: 2px solid var(--amber); transform: rotate(45deg); transition: transform .18s ease; justify-self: center; }
.vote-details[open] .vote-arrow { transform: rotate(225deg); }
.vote-panel { padding: 1.3rem .5rem 1.6rem; }
.vote-panel h3 { margin-bottom: .5rem; }
.vote-panel > p { margin: 0 0 1.1rem; max-width: none; color: rgba(255,255,255,.9); }
.voting-locations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin: 0; padding: 0; list-style: none; }
.voting-locations li { padding: 1rem; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 4px; font-size: .92rem; line-height: 1.5; }
.voting-locations strong { display: block; font-weight: 700; }
.voting-locations span { display: block; margin-top: .3rem; color: rgba(255,255,255,.85); }
.voting-locations .location-hours { color: #ffe3be; font-weight: 700; }
.cta-card .voting-source { font-size: .85rem; line-height: 1.6; }
.voting-source a { text-underline-offset: .2em; }
@media (max-width: 600px) {
  .vote-details summary { grid-template-columns: 58px minmax(0, 1fr) 14px; gap: .6rem; padding: 1.1rem .25rem; }
  .vote-date { font-size: .9rem; }
  .vote-title { font-size: 1rem; }
  .vote-panel { padding-left: 0; padding-right: 0; }
  .voting-locations { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .vote-arrow { transition: none; }
}
