@font-face {
  font-family: "Bodoni Moda";
  src: url("assets/fonts/bodoni-moda.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("assets/fonts/barlow-semi-condensed-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("assets/fonts/barlow-semi-condensed-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("assets/fonts/barlow-semi-condensed-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #eae9e5;
  --white: #fcfbf7;
  --sand: #decfb2;
  --slate: #7b8d8d;
  --ink: #171918;
  --muted: #444641;
  --line: #928c7e;
  --line-strong: #4b4d49;
  --accent: #ff7d35;
  --accent-ink: #8f3711;
  --display: "Bodoni 72 Book", "Bodoni 72", "Bodoni Moda", Didot, Georgia, serif;
  --gutter: clamp(1.125rem, 4.5vw, 4rem);
  --width: 75rem;
  font-family: Bahnschrift, "Barlow Semi Condensed", "Arial Narrow", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible, summary:focus-visible, [role="tabpanel"]:focus-visible {
  outline: 3px solid var(--accent-ink);
  outline-offset: 4px;
}
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; }
p { font-size: 1.0625rem; line-height: 1.6; }
.shell { width: min(calc(100% - var(--gutter) * 2), var(--width)); margin-inline: auto; }
.skip-link { position: fixed; top: .75rem; left: 1rem; z-index: 10; padding: .75rem; background: var(--white); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.site-header { background: var(--white); border-bottom: 1px solid var(--line-strong); }
.nav-inner { min-height: 5rem; display: flex; align-items: center; justify-content: space-between; gap: clamp(1rem, 2.1vw, 2rem); }
.brand { display: inline-block; flex: none; }
.brand img { width: 7rem; height: auto; filter: brightness(0); }
nav { display: flex; align-items: center; gap: clamp(.8rem, 2vw, 2.6rem); }
nav a, .header-social { font-size: .95rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
nav a:hover, .header-social:hover { text-decoration: underline; }
.header-social { border: 1px solid var(--line-strong); padding: .6rem .85rem; }
.hero-copy { padding-block: clamp(1.6rem, 4.8vw, 3.5rem); background: var(--sand); }
.hero-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: end; gap: clamp(1.35rem, 5vw, 4.5rem); }
.eyebrow { display: flex; align-items: center; gap: .65rem; font-size: .875rem; line-height: 1.35; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.cue { display: inline-block; width: 1.55rem; height: .625rem; position: relative; flex: none; border-bottom: 2px solid currentColor; }
.cue::before, .cue::after { content: ""; position: absolute; width: .95rem; height: 2px; background: currentColor; right: 0; bottom: 2px; }
.cue::after { width: .4rem; bottom: 6px; }
.hero h1 { margin: .15em 0 .14em -.045em; font-size: clamp(3.15rem, 6.5vw, 6rem); font-weight: 400; line-height: .95; letter-spacing: -.058em; }
.hero-lead { font-family: var(--display); font-weight: 500; font-size: clamp(1.4rem, 2.55vw, 2.1rem); line-height: 1.16; letter-spacing: -.028em; }
.hero-summary { max-width: 32rem; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.125rem); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.15rem; padding: .68rem 1.18rem; border: 1px solid var(--ink); font-size: 1rem; font-weight: 700; line-height: 1.3; text-align: center; text-decoration: none; transition: background-color .2s, color .2s; }
.primary { margin-top: 1.65rem; background: var(--ink); color: var(--white); }
.primary:hover { background: var(--accent); color: var(--ink); }
.hero-photo { background: var(--slate); border-bottom: 1px solid var(--line-strong); }
.hero-photo img { width: 100%; height: auto; }
.hero-photo figcaption { display: flex; justify-content: space-between; gap: 1rem; padding-block: .65rem; font-size: .875rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.hero-photo figcaption span { font-weight: 400; }
.election { background: var(--white); border-block: 1px solid var(--line-strong); }
.election-inner, .election-date { display: flex; align-items: center; gap: .9rem; }
.election-inner { justify-content: space-between; padding-block: 1.15rem; }
.election-date { font-weight: 700; font-size: clamp(1rem, 2vw, 1.3rem); }
.calendar { width: 1.15rem; height: 1.05rem; border: 1.5px solid currentColor; position: relative; border-radius: 2px; flex: none; }
.calendar::before { content: ""; position: absolute; top: .25rem; left: 0; right: 0; border-top: 1px solid currentColor; }
.election p { font-size: 1rem; color: var(--muted); }
.election p span { padding-inline: .25rem; }
.election a { font-size: .95rem; font-weight: 600; }
.contact a:focus-visible { outline-color: var(--ink); }
.section { padding-block: clamp(3.2rem, 7vw, 6rem); }
.section-intro { margin-bottom: clamp(1.75rem, 4vw, 2.8rem); }
.section-intro h2, .contact h2 { margin-top: .55rem; font-size: clamp(2.4rem, 5.2vw, 4.65rem); line-height: 1.04; letter-spacing: -.045em; font-weight: 400; }
.section-intro p:not(.eyebrow) { color: var(--muted); max-width: 35rem; }
.split { display: grid; grid-template-columns: 1fr .68fr; gap: 1.75rem; align-items: end; }
.team-controls { display: flex; flex-wrap: wrap; gap: .5rem; border-bottom: 1px solid var(--line); padding-bottom: .8rem; }
.team-controls a { display: inline-block; padding: .67rem .85rem; border: 1px solid var(--line-strong); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1rem; line-height: 1.35; }
.team-controls a:hover { background: var(--sand); }
.team-controls [aria-selected="true"] { color: var(--white); background: var(--ink); border-color: var(--ink); }
.team-panels { padding-top: 1.35rem; }
.team-panel h3 { font-size: 1.23rem; margin-bottom: .85rem; }
.team-panel-meta { margin-bottom: .9rem; color: var(--muted); }
.team-panel + .team-panel:not([hidden]) { margin-top: 1.25rem; }
.member-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.member { background: var(--white); border: 1px solid var(--line); }
.member-head { display: grid; grid-template-columns: clamp(4.75rem, 11vw, 6rem) minmax(0, 1fr); background: var(--sand); border-bottom: 1px solid var(--line); }
.member-image { width: 100%; aspect-ratio: 1; align-self: center; background: var(--paper); object-fit: cover; object-position: center 28%; }
img.member-image, .member-image-crop img { filter: grayscale(100%); }
.member-image-crop { position: relative; overflow: hidden; }
.member-image-crop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.75); }
.initials { display: grid; place-items: center; font-size: clamp(1.25rem, 3vw, 1.85rem); font-weight: 600; letter-spacing: .06em; }
.member-title { align-self: center; padding: .65rem clamp(.75rem, 2vw, 1.15rem); }
.member-title h4 { font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.13; }
.member-title p { color: var(--muted); font-size: .95rem; margin-top: .25rem; }
.member-copy { padding: .95rem clamp(.75rem, 2vw, 1.15rem) 1.1rem; }
.member-copy p { font-size: 1rem; }
.member-proposal { margin-top: .7rem; padding-top: .65rem; border-top: 1px solid var(--line); }
.member-proposal strong { display: block; color: var(--accent-ink); font-size: .875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.featured-portraits .member-head { grid-template-columns: minmax(0, 1fr); }
.featured-portraits img.member-image { aspect-ratio: 4 / 3; object-position: center 25%; }
img.member-image.portrait-cepparo { object-position: center 10.5%; }
.featured-portraits .member-title { padding-block: 1rem; }
.featured-portraits .member-title h4 { font-size: clamp(1.45rem, 2.3vw, 1.95rem); }
.achievements { background: var(--sand); border-block: 1px solid var(--line-strong); }
.achievements-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line-strong); }
.achievement { padding: clamp(1.05rem, 2.6vw, 1.8rem); }
.achievement + .achievement { border-left: 1px solid var(--line-strong); }
.achievement h3, .social-panel h3 { font-size: clamp(1.2rem, 2.1vw, 1.45rem); line-height: 1.16; letter-spacing: -.016em; margin: .8rem 0 .55rem; }
.achievement p { color: var(--muted); }
.line-icon { display: block; position: relative; width: 1.8rem; height: 1.8rem; color: var(--accent-ink); }
.line-icon::before, .line-icon::after { content: ""; position: absolute; border: 1.5px solid currentColor; }
.info::before { inset: .2rem .3rem; }
.info::after { inset: .52rem .55rem .55rem; border-inline: none; }
.regulation::before { inset: .27rem .3rem .2rem .3rem; transform: rotate(-11deg); }
.regulation::after { width: .68rem; height: .32rem; top: .56rem; left: .55rem; border-right: 0; border-top: 0; transform: rotate(-45deg); }
.platform::before { inset: .23rem .04rem .38rem; }
.platform::after { inset: .53rem .05rem .94rem; border-inline: none; border-bottom: none; }
.sport::before { width: 1.07rem; height: 1.07rem; top: .28rem; left: .3rem; border-radius: 50%; }
.sport::after { width: .52rem; height: .52rem; top: .56rem; left: .58rem; border-radius: 50%; }
.photo-gallery { --gallery-gap: clamp(.6rem, 1.3vw, 1rem); background: var(--white); border-bottom: 1px solid var(--line); }
.gallery-heading { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: .85rem 1.5rem; }
.gallery-heading h2 { margin-top: 0; }
.gallery-window { max-width: 100rem; margin-inline: auto; overflow-x: auto; }
.gallery-window:focus-visible, .gallery-toggle:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: -3px; }
.gallery-track { display: flex; width: max-content; }
.gallery-photos { display: flex; flex: none; gap: var(--gallery-gap); list-style: none; margin: 0; padding: 0 var(--gallery-gap) 0 0; }
.gallery-photos img { width: auto; max-width: none; height: clamp(13rem, 26vw, 22.5rem); }
.gallery-photos[aria-hidden="true"], .gallery-toggle { display: none; }
.gallery-toggle { color: var(--ink); background: var(--paper); font: inherit; font-weight: 700; cursor: pointer; }
.gallery-toggle:hover { background: var(--sand); }

@media (prefers-reduced-motion: no-preference) {
  .photo-gallery.is-animated .gallery-window { overflow: hidden; }
  .photo-gallery.is-animated .gallery-photos[aria-hidden="true"] { display: flex; }
  .photo-gallery.is-animated .gallery-toggle { display: inline-flex; }
  .photo-gallery.is-animated .gallery-track { animation: gallery-scroll 113s linear infinite; }
  .photo-gallery.is-paused .gallery-track { animation-play-state: paused; }
}

@keyframes gallery-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.proposals { display: grid; grid-template-columns: minmax(16rem, .85fr) 1.15fr; gap: clamp(1.25rem, 4vw, 4rem); align-items: start; }
.proposals .section-intro { margin: 0; }
.proposals .section-intro p:not(.eyebrow) { margin-top: 1rem; }
.proposal-list { border-top: 1px solid var(--line-strong); }
details { border-bottom: 1px solid var(--line-strong); }
summary { position: relative; padding: 1.15rem 2.5rem 1.15rem 0; font-size: clamp(1.1rem, 2vw, 1.3rem); font-weight: 600; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent-ink); position: absolute; right: .3rem; top: 50%; transform: translateY(-50%); font-weight: 600; font-size: 1.6rem; }
details[open] summary::after { content: "−"; }
.proposal-list summary { padding-inline-start: .75rem; transition: background-color .2s; }
.proposal-list summary:is(:hover, :focus-visible) { background-color: var(--accent); }
.proposal-list summary:is(:hover, :focus-visible)::after { color: var(--ink); }
.proposal-content { padding: 0 1.4rem 1.1rem 0; color: var(--muted); }
.proposal-content ul { margin: .4rem 0 .85rem; padding-left: 1.15rem; font-size: 1.0625rem; line-height: 1.6; }
.proposal-content li + li { margin-top: .45rem; }
.proposal-content p + p { margin-top: .85rem; }
.voting-guide { background: var(--white); border-top: 1px solid var(--line-strong); }
.voting-intro { align-items: center; }
.voting-date { padding: 1.15rem clamp(1.1rem, 2.6vw, 1.8rem); background: var(--sand); border: 1px solid var(--line); }
.voting-date h3 { font-family: inherit; font-size: .875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.voting-date time { font-family: var(--display); color: var(--ink); font-size: clamp(1.2rem, 2.4vw, 1.85rem); line-height: 1.2; }
.voting-date p { margin-top: .3rem; }
.voting-grid, .voting-methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.voting-card { padding: clamp(1.05rem, 2.5vw, 1.75rem); background: var(--paper); border: 1px solid var(--line); }
.voting-card h3 { font-size: clamp(1.45rem, 2.5vw, 1.9rem); margin-bottom: .85rem; }
.voting-offices { margin: 0; padding-left: 1.15rem; }
.voting-offices li { font-size: 1.0625rem; line-height: 1.45; }
.voting-offices li + li { margin-top: .55rem; }
.voting-locations { list-style: none; margin: 0; padding: 0; }
.voting-locations li { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .2rem 1rem; border-top: 1px solid var(--line); padding-block: .65rem; }
.voting-locations li:last-child { padding-bottom: 0; }
.voting-locations a { font-weight: 600; }
.voting-process { grid-column: 1 / -1; }
.voting-methods { gap: 1.2rem clamp(1.2rem, 4vw, 3rem); }
.voting-methods h4 { font-family: inherit; font-size: 1.125rem; font-weight: 700; margin-bottom: .35rem; }
.voting-methods a { overflow-wrap: anywhere; }
.contact { background: var(--slate); border-block: 1px solid var(--line-strong); }
.contact-inner { display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: clamp(1.8rem, 7vw, 6.75rem); }
.contact p:not(.eyebrow) { margin-top: 1rem; max-width: 34rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.35rem; }
.light { background: var(--sand); color: var(--ink); }
.light:hover { background: var(--accent); }
.social-panel { padding: clamp(1.15rem, 3vw, 2rem); background: var(--paper); border: 1px solid var(--line-strong); }
.social-panel h3 { margin-top: .6rem; }
.social-panel p:not(.eyebrow) { margin-top: .35rem; margin-bottom: .75rem; }
.social-panel a { font-weight: 700; }
.instagram-icon { display: block; width: 1.65rem; height: 1.65rem; border: 1.5px solid currentColor; border-radius: .42rem; position: relative; }
.instagram-icon::before { content: ""; position: absolute; inset: .35rem; border: 1.5px solid currentColor; border-radius: 50%; }
.instagram-icon::after { content: ""; position: absolute; width: 3px; height: 3px; top: .21rem; right: .2rem; border-radius: 50%; background: currentColor; }
.site-footer { background: var(--white); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; min-height: 6rem; padding-block: 1rem; }
.footer-inner p { color: var(--muted); font-size: .88rem; }

@media (max-width: 850px) {
  .achievements-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .achievement:nth-child(3) { border-left: none; }
  .achievement:nth-child(n + 3) { border-top: 1px solid var(--line-strong); }
}

@media (max-width: 650px) {
  .nav-inner { display: grid; grid-template-columns: 1fr auto; gap: .65rem 1rem; padding-block: .65rem; }
  .brand img { width: 5.8rem; }
  nav { grid-column: 1 / -1; grid-row: 2; gap: .95rem; flex-wrap: wrap; }
  nav a, .header-social { font-size: .875rem; }
  .hero-inner, .split, .proposals, .voting-grid, .voting-methods, .contact-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.9rem, 10.5vw, 5rem); }
  .election-inner { flex-direction: column; align-items: flex-start; gap: .4rem; }
  .split { gap: 1rem; }
  .member-grid { grid-template-columns: 1fr; }
  .desktop-break { display: none; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: .65rem; }
}

@media (max-width: 380px) {
  .achievements-grid { grid-template-columns: 1fr; }
  .achievement:nth-child(n + 2) { border-left: 0; border-top: 1px solid var(--line-strong); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
