/* Steve Schmitt for Ward 1 — steveschmitt.ca
   Campaign design system v3: flyer palette only (navy / bright blue / sky on
   white), condensed poster typography, editorial layout. */

:root {
  --navy: #14235c;
  --navy-mid: #1b2f74;
  --navy-deep: #0d1840;
  --blue: #2563eb;
  --blue-bright: #3b82f6;
  --sky: #93c5fd;
  --ink: #1f2937;
  --ink-soft: #4b5563;
  --paper: #ffffff;
  --paper-alt: #f2f6fc;
  --rule: #bfd3f2;
  --hair: #d3dcee;
  --max: 1120px;
  --font: "Barlow", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Barlow Condensed", "Arial Narrow", "Barlow", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.06rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); }
a:hover { color: var(--navy); }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.4rem;
}

.narrow { max-width: 780px; }

section[id] { scroll-margin-top: 4.5rem; }

/* ---------- Header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy-deep);
  color: #fff;
  border-bottom: 3px solid var(--blue);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.6rem;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  color: #fff;
  text-decoration: none;
  padding: 0.35rem 0;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1;
}
.brand-last { color: var(--blue-bright); }
.brand-sub {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  white-space: nowrap;
  line-height: 1;
  color: var(--sky);
}
.brand:hover { color: #fff; }
.brand:hover .brand-sub { color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 8px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: #fff;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: wrap;
}
.site-nav a {
  color: #cdd9f7;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: #fff; border-bottom-color: var(--blue-bright); }

.nav-cta {
  background: var(--blue);
  color: #fff !important;
  font-weight: 700 !important;
  padding: 0.42rem 1rem !important;
  border-radius: 999px;
  border-bottom: 0 !important;
}
.nav-cta:hover { background: var(--blue-bright); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy-deep);
    padding: 0.5rem 1.4rem 1.1rem;
    border-bottom: 3px solid var(--blue);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 0.7rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-cta { margin-top: 0.8rem; text-align: center; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  color: #fff;
  background:
    radial-gradient(60rem 30rem at 115% -10%, rgba(59, 130, 246, 0.4), transparent 60%),
    radial-gradient(45rem 26rem at -15% 110%, rgba(37, 99, 235, 0.3), transparent 60%),
    linear-gradient(155deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-mid) 100%);
  overflow: hidden;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 3rem;
  align-items: center;
  padding-top: 4.25rem;
  padding-bottom: 6.5rem;
}

.hero-kicker {
  color: var(--sky);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  margin: 0 0 1rem;
  line-height: 1.45;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(3.6rem, 9vw, 6rem);
  line-height: 0.92;
  letter-spacing: 0.01em;
  color: #fff;
}
.hero h1 span {
  display: block;
  color: var(--blue-bright);
}

.hero-office {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #dbe6ff;
  margin: 1rem 0 0.35rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(147, 197, 253, 0.45);
  display: inline-block;
}

.hero-creds {
  font-size: 0.92rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--sky);
  margin: 0 0 1.1rem;
}

.hero-lede { color: #c6d4f7; margin: 0 0 1.75rem; max-width: 34rem; }

.hero-ctas { display: flex; gap: 0.8rem; flex-wrap: wrap; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 1.75rem 0 0;
  padding: 0.5rem 1.1rem;
  border: 1.5px solid rgba(147, 197, 253, 0.55);
  border-radius: 999px;
  color: var(--sky);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  background: rgba(13, 24, 64, 0.45);
}
.hero-badge svg { width: 1.25rem; height: 1.25rem; flex: none; }

.hero-photo { justify-self: center; }
.photo-ring {
  border-radius: 50%;
  padding: 9px;
  background: var(--blue-bright);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.4);
}
.photo-ring img {
  border-radius: 50%;
  width: min(23rem, 68vw);
  aspect-ratio: 1;
  object-fit: cover;
  object-position: top;
  border: 5px solid var(--navy-deep);
}
.hero-photo.img-missing .photo-ring img { display: none; }
.hero-photo.img-missing .photo-ring::after {
  content: "Photo of Steve coming soon";
  display: grid;
  place-items: center;
  width: min(23rem, 68vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--navy-deep);
  color: #9cb4ea;
  font-weight: 600;
  text-align: center;
  padding: 1rem;
}

.wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  line-height: 0;
}
.wave svg { width: 100%; height: clamp(34px, 6vw, 90px); display: block; }
.wave-flip { top: -1px; bottom: auto; }

@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; padding-top: 2.5rem; padding-bottom: 5rem; }
  .hero-photo { order: -1; }
  .photo-ring img, .hero-photo.img-missing .photo-ring::after { width: min(15rem, 62vw); }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 0.75rem 1.7rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--navy); color: #fff; }

.btn-light { background: #fff; color: var(--navy-deep); }
.btn-light:hover { background: var(--sky); color: var(--navy-deep); }

.btn-ghost { border-color: rgba(255,255,255,0.8); color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* ---------- Sections ---------- */

.section { padding: 4rem 0; }
.section-alt { background: var(--paper-alt); }

.kicker {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--blue);
  margin: 0 0 0.25rem;
}
.kicker-light { color: var(--sky); }

.section h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  color: var(--navy);
  font-size: clamp(2rem, 5vw, 2.9rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin: 0 0 1.25rem;
}
/* flowing "Grand River" underline, after the County of Brant swoosh */
.section h2::after {
  content: "";
  display: block;
  width: 6rem;
  height: 0.8rem;
  margin-top: 0.55rem;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 120 14"><path d="M2 9C20 2 38 12 58 7 78 2 96 12 118 6" fill="none" stroke="%232563eb" stroke-width="3" stroke-linecap="round"/><path d="M6 12.5C24 6 42 15 62 10 82 5 100 13.5 118 9.5" fill="none" stroke="%2393c5fd" stroke-width="2.5" stroke-linecap="round"/></svg>') no-repeat left center / contain;
}

.accent-line {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blue);
  font-weight: 800;
  font-size: 1.4rem;
}

/* ---------- Meet Steve ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 3rem;
  align-items: start;
  margin-top: 0.5rem;
}
.about-text { max-width: 46rem; }
.about-photo {
  margin: 0.75rem 0 0;
  justify-self: stretch;
}
.about-photo img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.about-photo.img-missing img { display: none; }
.about-photo.img-missing::before {
  content: "Photo coming soon";
  display: grid;
  place-items: center;
  aspect-ratio: 4/5;
  border: 1px solid var(--hair);
  color: var(--ink-soft);
  background: var(--paper-alt);
  font-weight: 600;
}
.about-photo figcaption {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--hair);
}
@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-photo { max-width: 24rem; }
}

/* ---------- Community photo band ---------- */

.photo-band {
  background: var(--navy-deep);
}
.photo-band figure { margin: 0; }
.photo-band-media {
  position: relative;
  overflow: hidden;
}
.photo-band figcaption {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1.5;
  color: #91a6dd;
}
.photo-band picture { display: block; }
.photo-band img {
  width: 100%;
  height: clamp(300px, 44vw, 460px);
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
@media (max-width: 700px) {
  .photo-band img { height: clamp(380px, 100vw, 460px); object-position: center 30%; }
}
.photo-band-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(to top, rgba(13, 24, 64, 0.82) 0%, rgba(13, 24, 64, 0.25) 45%, transparent 70%);
}
.photo-band-overlay p {
  margin: 0 auto;
  width: 100%;
  max-width: var(--max);
  padding: 0 1.4rem 2.25rem;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(1.7rem, 4.5vw, 2.8rem);
  line-height: 1.08;
  color: #fff;
}

/* ---------- Experience ---------- */

.experience-list {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
}
.experience-list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 2.3rem;
  font-weight: 600;
  font-size: 1.08rem;
}
.experience-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 1.4rem;
  height: 1.4rem;
  background-color: var(--blue);
  border-radius: 50%;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="none" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" d="M6 12.5l4 4 8-9"/></svg>') center / 100% no-repeat;
          mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="none" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" d="M6 12.5l4 4 8-9"/></svg>') center / 100% no-repeat;
}

/* ---------- Priorities (editorial) ---------- */

/* newspaper grid: hairline gutters between columns and rows, no decorative bars */
.priority-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 2rem;
}
.priority { margin: 0; padding: 2.25rem 3rem; }
.priority:nth-child(odd) { padding-left: 0; }
.priority:nth-child(even) { border-left: 1px solid var(--hair); padding-right: 0; }
.priority:nth-child(-n+2) { padding-top: 0.25rem; }
.priority:nth-child(n+3) { border-top: 1px solid var(--hair); }
.priority h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--navy);
  font-size: 1.8rem;
  line-height: 1.08;
  margin: 0 0 0.65rem;
}
.priority p { margin: 0; color: var(--ink-soft); }

@media (max-width: 720px) {
  .priority-list { grid-template-columns: 1fr; }
  .priority { padding: 1.75rem 0; }
  .priority:nth-child(even) { border-left: 0; }
  .priority:nth-child(n+2) { border-top: 1px solid var(--hair); }
}

.commitment-band {
  margin-top: 4rem;
  background: var(--navy);
  color: #fff;
  padding: 3.25rem 0;
}
.commitment-band blockquote {
  margin: 0;
  position: relative;
  padding: 2.25rem 0 0;
}
.commitment-band blockquote::before {
  content: "\201C";
  position: absolute;
  top: -1.15rem;
  left: -0.35rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 7rem;
  line-height: 1;
  color: var(--blue-bright);
  opacity: 0.55;
}
.commitment-band blockquote p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 1.35;
  color: #e7eeff;
}
.commitment-band blockquote footer {
  margin-top: 1rem;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sky);
}

/* Priorities section: no bottom padding so the band sits flush */
#priorities { padding-bottom: 0; }

/* ---------- Endorsements (activated later) ---------- */

.quotes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
  gap: 2rem;
  margin-top: 1.75rem;
}
.quote-card {
  margin: 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--hair);
}
.quote-card p { margin: 0 0 0.8rem; font-style: italic; font-size: 1.05rem; }
.quote-card footer { font-weight: 700; color: var(--navy); }
.quote-card footer span { font-weight: 400; color: var(--ink-soft); }

/* ---------- News ---------- */

.news-item {
  margin-top: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--hair);
}
.news-item:last-child { border-bottom: 0; padding-bottom: 0; }
.news-item time {
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--blue);
}
.news-item h3 {
  margin: 0.3rem 0 0.5rem;
  color: var(--navy);
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.news-item p { margin: 0; }

/* ---------- Gallery ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.6rem;
  margin-top: 2rem;
}
.community-intro { max-width: 46rem; color: var(--ink-soft); }

.street-art {
  color: #a9c7ee;
  max-width: 920px;
  margin: 3.25rem auto 0;
}
.street-art svg { width: 100%; height: auto; display: block; }

.gallery figure { margin: 0; }
.gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center 28%; /* favour faces when cropping tall photos */
}
.gallery figure.img-missing img { display: none; }
.gallery figure.img-missing::before {
  content: "Photo coming soon";
  display: grid;
  place-items: center;
  aspect-ratio: 4/3;
  border: 1px solid var(--hair);
  color: var(--ink-soft);
  background: var(--paper-alt);
  font-weight: 600;
}
.gallery figcaption {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--hair);
  line-height: 1.45;
}

/* ---------- Lightbox ---------- */

.gallery figure:not(.img-missing) { cursor: zoom-in; }
.gallery figure:not(.img-missing) img { transition: opacity 0.15s ease; }
.gallery figure:not(.img-missing):hover img { opacity: 0.88; }
.gallery figure:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 5vw, 3.5rem);
  background: rgba(9, 16, 44, 0.95);
}
.lightbox[hidden] { display: none; }

.lb-figure {
  margin: 0;
  max-width: min(1100px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.lb-figure img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
}
.lb-figure figcaption {
  color: #dbe6ff;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-align: center;
  max-width: 44rem;
}

.lb-btn {
  position: absolute;
  background: rgba(13, 24, 64, 0.7);
  color: #fff;
  border: 1px solid rgba(147, 197, 253, 0.4);
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font);
  line-height: 1;
  display: grid;
  place-items: center;
}
.lb-btn:hover { background: var(--blue); border-color: var(--blue); }
.lb-btn:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.lb-close {
  top: clamp(0.75rem, 3vw, 1.75rem);
  right: clamp(0.75rem, 3vw, 1.75rem);
  width: 2.9rem; height: 2.9rem;
  font-size: 1.9rem;
  padding-bottom: 0.18em;
}
.lb-prev, .lb-next {
  top: 50%;
  transform: translateY(-50%);
  width: 3.1rem; height: 3.1rem;
  font-size: 2.4rem;
  padding-bottom: 0.14em;
}
.lb-prev { left: clamp(0.5rem, 2.5vw, 1.75rem); }
.lb-next { right: clamp(0.5rem, 2.5vw, 1.75rem); }

@media (max-width: 600px) {
  .lb-prev, .lb-next { top: auto; bottom: 1rem; transform: none; }
  .lb-figure img { max-height: 62vh; }
}

/* ---------- How to vote ---------- */

.section-navy {
  position: relative;
  color: #dbe6ff;
  background:
    radial-gradient(50rem 24rem at 110% 100%, rgba(59, 130, 246, 0.3), transparent 60%),
    linear-gradient(150deg, var(--navy-deep), var(--navy) 70%);
  padding-top: 6.5rem;
  padding-bottom: 4.5rem;
}
.section-navy h2 { color: #fff; }
.section-navy h2::after {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 120 14"><path d="M2 9C20 2 38 12 58 7 78 2 96 12 118 6" fill="none" stroke="%23ffffff" stroke-width="3" stroke-linecap="round"/><path d="M6 12.5C24 6 42 15 62 10 82 5 100 13.5 118 9.5" fill="none" stroke="%2393c5fd" stroke-width="2.5" stroke-linecap="round"/></svg>');
}
.section-navy a { color: var(--sky); }
.section-navy a:hover { color: #fff; }

.vote-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.vote-date { font-size: 1.3rem; }
.vote-date strong { color: #fff; }
.vote-steps { padding-left: 1.3rem; margin: 1rem 0 0; }
.vote-steps li { margin-bottom: 0.9rem; }
.vote-steps strong { color: #fff; }

.vote-art { justify-self: center; color: var(--sky); }
.vote-art svg { width: min(15rem, 55vw); height: auto; }
@media (max-width: 820px) {
  .vote-inner { grid-template-columns: 1fr; }
  .vote-art { order: -1; }
  .vote-art svg { width: 9rem; }
}

/* ---------- FAQ ---------- */

#faq details { border-bottom: 1px solid var(--hair); }
#faq details:first-of-type { border-top: 1px solid var(--hair); margin-top: 1.5rem; }
#faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  padding: 0.95rem 3rem 0.95rem 0;
  list-style: none;
  position: relative;
}
#faq summary::-webkit-details-marker { display: none; }
#faq summary::after {
  content: "+";
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
}
#faq details[open] summary::after { content: "\2212"; }
#faq summary:hover { color: var(--blue); }
#faq details p { padding: 0 0 1rem; margin: 0; }

/* ---------- Contact form ---------- */

.contact-form { margin-top: 1.6rem; max-width: 580px; }
.form-row { margin-bottom: 1.05rem; }
.form-row label {
  display: block;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.3rem;
}
.form-row .optional {
  font-weight: 400;
  color: var(--ink-soft);
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  font-size: 1rem;
  font-family: var(--font);
  border: 1.5px solid var(--rule);
  border-radius: 9px;
  background: var(--paper);
  color: var(--ink);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
  border-color: var(--blue);
}
/* spam trap: off-screen for people, still submitted by bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status { font-weight: 600; margin-top: 0.8rem; min-height: 1.2em; }
.form-status.ok { color: #15803d; }
.form-status.err { color: #b91c1c; }

.contact-links { margin-top: 2rem; }
.contact-links p { margin: 0.25rem 0; }

/* ---------- Hills + footer ---------- */

.hills { line-height: 0; background: var(--paper-alt); }
.hills svg { width: 100%; height: clamp(60px, 9vw, 130px); display: block; }

.site-footer {
  background: var(--navy-deep);
  color: #c6d4f7;
  text-align: center;
  padding: 2.75rem 0;
}
.site-footer a { color: var(--sky); }
.site-footer a:hover { color: #fff; }
.footer-name { font-weight: 700; color: #fff; margin: 0 0 0.3rem; font-size: 1.05rem; }
.footer-accent {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-bright);
  font-weight: 800;
  font-size: 1.25rem;
  margin: 0 0 1.1rem;
}
.footer-places {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--sky);
  margin: -0.5rem 0 1.1rem;
}
.footer-contact { margin: 0 0 1.4rem; }
.footer-legal {
  font-size: 0.85rem;
  margin: 0;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  color: #8fa3d9;
}

/* ---------- Misc ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .gallery figure { transition: none; }
}
