/* April Montgomery page, Sandhills Citizens Alliance. Photo-led; navy and sand on warm off-white. */
:root {
  --navy: #18304B;
  --sand: #C9A25E;
  --paper: #FAF6EE;
  --paper-2: #F2EADB;
  --text: #1E3552;
  --rule: rgba(24, 48, 75, .18);
  --head: "Barlow Semi Condensed", Barlow, "Segoe UI", Arial, sans-serif;
  --body: Barlow, "Segoe UI", Arial, sans-serif;
  --quote: Lora, Georgia, serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 19px/1.6 var(--body); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2 { font-family: var(--head); color: var(--navy); margin: 0; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: 28px; padding-right: 28px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 12px 18px; z-index: 5; }
.skip:focus { left: 0; }
.label { font: 600 15px/1.2 var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--navy); margin: 0 0 20px; }
.label::after { content: ""; display: block; width: 56px; height: 3px; background: var(--sand); margin-top: 14px; }
sup { font: 600 12px/0 var(--body); }
sup a { text-decoration: none; padding: 0 2px; opacity: .75; }
sup a:hover, sup a:focus { opacity: 1; text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--sand); outline-offset: 3px; }

/* Top: the photo fills the screen and the name sits over its quiet left side. */
.hero { position: relative; display: flex; align-items: center; min-height: min(88vh, 820px); overflow: hidden; background: #D9CBBB; }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero picture img { object-fit: cover; object-position: 72% 22%; }
.hero::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(250, 246, 238, .96) 0%, rgba(250, 246, 238, .9) 30%, rgba(250, 246, 238, .5) 44%, rgba(250, 246, 238, 0) 58%); }
.hero-text { position: relative; z-index: 1; width: 100%; max-width: 1180px; margin: 0 auto; padding: 72px 28px; }
.hero-text > * { max-width: 600px; }
h1 { font-size: clamp(54px, 7vw, 104px); font-weight: 700; line-height: .98; letter-spacing: -.012em; }
h1 span { display: block; }
.line { font: 500 clamp(22px, 2.2vw, 30px)/1.25 var(--head); color: var(--navy); margin: 20px 0 32px; }
.go { margin: 0; }
.btn, .signup-form .stamp-btn { display: inline-block; background: var(--navy); color: #fff; text-decoration: none; font: 600 17px/1 var(--head);
  letter-spacing: .1em; text-transform: uppercase; padding: 17px 28px; border: 0; border-radius: 3px; cursor: pointer; }
.btn:hover, .btn:focus, .signup-form .stamp-btn:hover, .signup-form .stamp-btn:focus { background: #0F2236; }

/* A section: a large photo beside a few plain lines. The photo changes sides from one section to the next. */
.sec { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 60px; align-items: center; padding-top: 104px; padding-bottom: 104px; }
.sec.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.sec.flip .photo { order: 2; }
.sec + .sec { padding-top: 0; }
.photo { margin: 0; }
.photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; }
.sec h2 { font-size: clamp(34px, 4vw, 54px); font-weight: 700; line-height: 1.04; letter-spacing: -.01em; margin-bottom: 20px; }
.lead { font-size: 22px; line-height: 1.45; margin: 0 0 24px; }
.facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.facts li { padding: 17px 0; border-bottom: 1px solid var(--rule); }
.facts strong { color: var(--navy); font-weight: 600; }

/* The line that carries the page, and the closing voice. */
.pull { background: var(--paper-2); padding: 88px 28px; text-align: center; }
.pull::before { content: ""; display: block; width: 56px; height: 3px; background: var(--sand); margin: 0 auto 30px; }
.pull p { font: italic 500 clamp(27px, 3.5vw, 46px)/1.25 var(--quote); color: var(--navy); max-width: 900px; margin: 0 auto; }
.pull p span { display: block; }
.pull.voice blockquote { margin: 0; }
.pull.voice blockquote p { font-weight: 400; font-size: clamp(24px, 2.9vw, 38px); line-height: 1.35; max-width: 940px; }
.pull.voice figure { margin: 0; }
.pull.voice figcaption { margin-top: 28px; font-size: 17px; line-height: 1.4; }
.pull.voice figcaption b { display: block; font-weight: 600; color: var(--navy); font-size: 18px; }

/* Her neighbors. */
.voices { padding-top: 104px; padding-bottom: 104px; }
.voices-head { text-align: center; }
.voices h2 { font-size: clamp(34px, 4vw, 54px); font-weight: 700; line-height: 1.04; letter-spacing: -.01em; }
.voices h2::after { content: ""; display: block; width: 56px; height: 3px; background: var(--sand); margin: 22px auto 0; }
.voices .intro { font-size: 22px; line-height: 1.45; margin: 20px 0 0; }
.quote { margin: 0; }
.quote blockquote { margin: 0; }
.quote blockquote p { font: italic 400 21px/1.5 var(--quote); color: var(--navy); margin: 0; }
.quote figcaption { margin-top: 18px; font-size: 16px; line-height: 1.4; display: grid; gap: 3px; justify-items: start; }
.quote figcaption b { font-weight: 600; color: var(--navy); font-size: 17px; }
.party { font: 600 13px/1 var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--navy); border: 1.5px solid var(--navy); border-radius: 999px; padding: 6px 12px 5px; margin-top: 8px; }
.quote.first { max-width: 880px; margin: 52px auto 0; text-align: center; }
.quote.first blockquote p { font-size: clamp(25px, 3vw, 38px); line-height: 1.35; }
.quote.first figcaption { margin-top: 26px; justify-items: center; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 52px 64px; margin-top: 76px; }
.grid .quote { border-top: 3px solid var(--sand); padding-top: 28px; }

/* The ask. */
.vote { padding: 96px 28px 104px; text-align: center; }
.vote h2 { font-size: clamp(40px, 5.4vw, 76px); font-weight: 700; line-height: 1; letter-spacing: -.012em; }
.office { font: 600 17px/1.3 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--navy); margin: 18px 0 0; }
.office span { white-space: nowrap; }
.office span + span::before { content: "\00B7"; margin: 0 .55em 0 .2em; }
.when { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; margin: 44px auto 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.when div { padding: 26px 20px; }
.when div + div { border-left: 1px solid var(--rule); }
.when dt { font: 600 15px/1.2 var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--navy); }
.when dd { margin: 10px 0 0; font: 600 24px/1.25 var(--head); color: var(--navy); }
.when small { display: block; font: 400 16px/1.4 var(--body); color: var(--text); margin-top: 6px; }
.vote .go { margin-top: 36px; }
.sameday { max-width: 620px; margin: 26px auto 0; font-size: 18px; }
.close { font: italic 400 26px/1.3 var(--quote); color: var(--navy); margin: 44px 0 0; }

/* Sign-up. The form itself is the one on the Alliance's home page. */
.signup { background: var(--paper-2); padding: 88px 0 96px; }
.signup .inner { max-width: 640px; margin: 0 auto; padding: 0 28px; }
.signup h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 700; line-height: 1.1; margin-bottom: 28px; }
.signup-form label { display: block; margin: 0 0 16px; font: 600 14px/1.3 var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }
.signup-form .opt { text-transform: none; letter-spacing: 0; font-weight: 400; }
.signup-form input[type=text], .signup-form input[type=email], .signup-form input[type=tel] { display: block; width: 100%; margin-top: 6px; padding: 12px 14px;
  font: 400 18px/1.3 var(--body); color: var(--text); background: #fff; border: 1.5px solid var(--navy); border-radius: 3px; text-transform: none; letter-spacing: 0; }
.signup-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.signup-form .check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font: 400 16px/1.45 var(--body); text-transform: none; letter-spacing: 0; color: var(--text); }
.signup-form .check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); }
.signup-form .check.sms span { font-size: 14px; }
.signup-form .hp { position: absolute; left: -9999px; }
.form-error { margin: 0 0 14px; padding: 10px 14px; background: #fff; border: 1.5px solid #A3261D; color: #A3261D; font: 600 16px/1.4 var(--body); }
.signup-form .stamp-btn { margin-top: 8px; }

/* Foot. */
.foot { background: var(--navy); color: #E9EEF4; padding: 64px 0 56px; font-size: 16px; }
.foot .logo { width: 190px; height: auto; }
.check-facts { margin-top: 40px; }
.check-facts h2 { font: 600 15px/1.2 var(--head); letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.check-facts ol { margin: 14px 0 0; padding-left: 26px; columns: 2; column-gap: 56px; }
.check-facts li { margin: 0 0 6px; break-inside: avoid; }
.check-facts li:target { color: #fff; font-weight: 500; }
.disclaimer { margin-top: 40px; display: inline-block; border: 1.5px solid rgba(255, 255, 255, .7); padding: 14px 20px; color: #fff; }
.disclaimer p { margin: 0; }
.footlinks { margin: 26px 0 0; font-size: 15px; }

/* Narrower screens: the photo comes first and the name sits under it. */
@media (max-width: 980px) {
  .hero { display: block; min-height: 0; background: var(--paper); }
  .hero picture, .hero picture img { position: static; height: auto; }
  .hero picture { display: block; }
  .hero picture img { aspect-ratio: 3 / 2; object-position: 70% 20%; }
  .hero::after { display: none; }
  .hero-text { padding: 36px 28px 12px; }
  .hero-text > * { max-width: none; }
}
@media (max-width: 860px) {
  .sec, .sec.flip { grid-template-columns: 1fr; gap: 30px; padding-top: 60px; padding-bottom: 64px; }
  .sec.flip .photo { order: 0; }
  .pull { padding: 64px 24px; }
  .voices { padding-top: 68px; padding-bottom: 68px; }
  .grid { grid-template-columns: 1fr; gap: 40px; margin-top: 56px; }
  .vote { padding: 68px 24px 76px; }
  .signup { padding: 64px 0 72px; }
  .check-facts ol { columns: 1; }
}
@media (max-width: 700px) {
  body { font-size: 18px; }
  .wrap { padding-left: 20px; padding-right: 20px; }
  .hero picture img { aspect-ratio: 4 / 5; object-position: 50% 12%; }
  .hero-text { padding: 30px 20px 8px; }
  h1 { font-size: clamp(50px, 15vw, 84px); }
  .lead, .voices .intro { font-size: 20px; }
  .quote blockquote p { font-size: 20px; }
  .office span { display: block; }
  .office span + span::before { content: none; }
  .when { grid-template-columns: 1fr; }
  .when div + div { border-left: 0; border-top: 1px solid var(--rule); }
  .when dd { font-size: 22px; }
  .signup .inner { padding: 0 20px; }
  .signup-form .row { grid-template-columns: 1fr; }
  .disclaimer { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
