/* LetsROK — Restore Our Kyle | letsrok.vote | blue + yellow */
:root {
  --navy: #002868;
  --navy-deep: #001a44;
  --yellow: #f5c518;
  --yellow-dark: #d4a017;
  --yellow-soft: #fff4c2;
  --yellow-ink: #7a5b00;
  --white: #ffffff;
  --off-white: #f7f8fb;
  --slate: #334155;
  --muted: #64748b;
  --border: #e2e8f0;
  --shadow: 0 12px 40px rgba(0, 40, 104, 0.12);
  --radius: 12px;
  --max: 1100px;
  --font: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --display: "Libre Franklin", "Segoe UI", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--slate);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--navy);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--yellow-dark);
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--navy);
  box-shadow: 0 1px 0 var(--yellow);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  text-decoration: none;
  color: inherit;
}

.brand:hover {
  color: inherit;
}

.brand-mark {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  color: var(--navy);
  line-height: 1.1;
}

.brand-mark span {
  color: var(--yellow-dark);
}

.brand-tag {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.25rem;
  flex-wrap: wrap;
}

.nav a {
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--navy);
}

.nav a:hover {
  color: var(--yellow-dark);
}

.nav .btn-nav {
  background: var(--navy);
  color: var(--white);
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  text-decoration: none;
}

.nav .btn-nav:hover {
  background: var(--yellow);
  color: var(--navy);
}

/* Hero */
.hero {
  position: relative;
  color: var(--white);
  min-height: clamp(420px, 62vh, 640px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--navy-deep);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(0, 26, 68, 0.92) 0%,
      rgba(0, 40, 104, 0.78) 42%,
      rgba(0, 40, 104, 0.35) 70%,
      rgba(245, 197, 24, 0.22) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 3.5rem 1.25rem 3.25rem;
}

.hero-kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 7vw, 4.25rem);
  font-weight: 800;
  line-height: 1.02;
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}

.hero h1 .accent {
  color: var(--yellow);
}

.hero-sub {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.8vw, 1.75rem);
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: #e8eefc;
}

.hero-candidate {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--yellow-soft);
}

.hero-blurb {
  max-width: 36rem;
  margin: 0 0 1.75rem;
  font-size: 1.1rem;
  color: #e2e8f0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--yellow);
  color: var(--navy);
  border-color: var(--yellow);
}

.btn-primary:hover {
  background: var(--yellow-dark);
  border-color: var(--yellow-dark);
  color: var(--navy);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.85);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

/* Sections */
.section {
  padding: 4rem 1.25rem;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  color: var(--navy);
  margin: 0 0 0.65rem;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.why {
  background: var(--off-white);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem 1.6rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--navy);
}

.card:nth-child(2) {
  border-top-color: var(--yellow);
}

.card:nth-child(3) {
  border-top-color: var(--navy);
}

.card-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
  background: #e8eefc;
  color: var(--navy);
}

.card:nth-child(2) .card-icon {
  background: var(--yellow-soft);
  color: var(--yellow-ink);
}

.card h3 {
  font-family: var(--display);
  font-size: 1.2rem;
  color: var(--navy);
  margin: 0 0 0.5rem;
}

.card p {
  margin: 0;
  color: var(--slate);
  font-size: 0.98rem;
}

/* Candidate */
.candidate {
  background: var(--white);
}

.candidate-box {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: stretch;
  background: linear-gradient(135deg, #f7f8fb 0%, #fff8dc 100%);
  border: 1px solid var(--border);
  border-left: 6px solid var(--yellow);
  border-radius: calc(var(--radius) + 4px);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.candidate-box h2 {
  font-family: var(--display);
  color: var(--navy);
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
}

.candidate-meta {
  margin: 0 0 1rem;
  font-weight: 700;
  color: var(--yellow-ink);
  letter-spacing: 0.02em;
}

.candidate-box p {
  margin: 0 0 1rem;
  color: var(--slate);
}

.election-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  margin-top: 0.25rem;
}

.election-pill span {
  color: var(--yellow);
}

/* Visual strip */
.strip {
  background: linear-gradient(90deg, var(--navy) 0%, #0a3a7a 55%, var(--yellow-dark) 100%);
  color: var(--white);
  padding: 2.75rem 1.25rem;
  text-align: center;
}

.strip-inner {
  max-width: 42rem;
  margin: 0 auto;
}

.strip h2 {
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  margin: 0 0 0.65rem;
  letter-spacing: -0.01em;
}

.strip p {
  margin: 0;
  font-size: 1.05rem;
  color: #e8eefc;
  line-height: 1.55;
}

/* Involve */
.involve {
  background: var(--white);
}

.involve-box {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.involve-box h2 {
  font-family: var(--display);
  color: var(--navy);
  margin: 0 0 0.75rem;
  font-size: 1.75rem;
}

.involve-box p {
  margin: 0 0 1.25rem;
  color: var(--slate);
}

.involve-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.75rem !important;
  margin-bottom: 0 !important;
}

.flag-bar {
  height: 8px;
  border-radius: 999px;
  background: repeating-linear-gradient(
    90deg,
    var(--navy) 0 28px,
    var(--white) 28px 40px,
    var(--yellow) 40px 68px,
    var(--white) 68px 80px
  );
  margin-bottom: 1.25rem;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: #cbd5e1;
  padding: 2rem 1.25rem;
  border-top: 4px solid var(--yellow);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.footer-brand {
  font-family: var(--display);
  font-weight: 800;
  color: var(--white);
  font-size: 1.1rem;
}

.footer-brand span {
  color: var(--yellow);
}

.footer-meta {
  font-size: 0.92rem;
  text-align: right;
}

.footer-meta a {
  color: #e2e8f0;
}

@media (max-width: 860px) {
  .cards {
    grid-template-columns: 1fr;
  }

  .involve-box,
  .candidate-box {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding-top: 4.5rem;
  }

  .hero-media img {
    object-position: 70% center;
  }

  .footer-meta {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    width: 100%;
  }
}
