/* ============================================================
   VARIABLES & RESET
   ============================================================ */
:root {
  --yellow:       #F5C518;
  --yellow-dark:  #C9A000;
  --yellow-light: #FFF8DC;
  --dark:         #1A1A1A;
  --dark-2:       #242424;
  --dark-3:       #2E2E2E;
  --grey:         #6B6B6B;
  --light:        #F6F6F6;
  --white:        #FFFFFF;
  --text:         #1A1A1A;
  --text-muted:   #555;
  --radius:       4px;
  --nav-height:   64px;
  --max-w:        1100px;
  --font-head:    'Oswald', sans-serif;
  --font-body:    'Open Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.75;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }


/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; }
h1 { font-size: clamp(3.2rem, 9vw, 6.5rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 600; }
h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 0.6rem; }


/* ============================================================
   UTILITIES
   ============================================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.75rem;
}

.section { padding: 5.5rem 0; }
.section-light { background: var(--white); }
.section-dark  { background: var(--dark); color: var(--white); }

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 { margin-top: 0.5rem; }

.libertarian-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  text-align: left;
}
.libertarian-header .header-text {
  display: flex;
  flex-direction: column;
}
.fcc-thumb {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
  border: 2px solid #444;
}

.section-label {
  display: inline-block;
  background: var(--yellow);
  color: var(--dark);
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.2rem 0.7rem;
  border-radius: 2px;
}

.section-intro {
  text-align: center;
  font-size: 1.05rem;
  color: #aaa;
  max-width: 680px;
  margin: 0 auto 2.5rem;
}


/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 0.75rem 1.85rem;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-primary {
  background: var(--yellow);
  color: var(--dark);
}
.btn-primary:hover { background: var(--yellow-dark); }

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

.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.82rem; }


/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}
[data-delay="100"] { transition-delay: 0.10s; }
[data-delay="150"] { transition-delay: 0.15s; }
[data-delay="200"] { transition-delay: 0.20s; }


/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-height);
  background: rgba(26, 26, 26, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--yellow);
  transition: box-shadow 0.3s;
}
#navbar.scrolled { box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4); }

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.75rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-name {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: 0.02em;
}
.logo-sub {
  font-size: 0.6rem;
  color: #888;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.nav-link {
  color: #ccc;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover,
.nav-link.active {
  color: var(--yellow);
  background: rgba(245, 197, 24, 0.1);
}
.nav-cta {
  background: var(--yellow);
  color: var(--dark);
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.38rem 1rem;
  border-radius: var(--radius);
  margin-left: 0.6rem;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--yellow-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--yellow);
  border-radius: 2px;
  transition: all 0.3s;
}


/* ============================================================
   HERO
   ============================================================ */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--dark) url('images/Banner1.jpg') center center / cover no-repeat;
  text-align: center;
  padding: calc(var(--nav-height) + 3rem) 1.75rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero-bg-accent {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.hero-eyebrow {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 0.85rem;
  opacity: 0;
  animation: fadeUp 0.7s 0.2s ease forwards;
}

.hero-name {
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 0.2rem;
  opacity: 0;
  animation: fadeUp 0.75s 0.38s ease forwards;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 3.5vw, 2rem);
  font-weight: 400;
  color: var(--yellow);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.7s 0.54s ease forwards;
}

.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: #aaa;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.7s 0.68s ease forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.7s 0.82s ease forwards;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: #444;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 0.7s 1.1s ease forwards;
}

.scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--yellow), transparent);
  animation: scrollPulse 2s 1.2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.25; transform: scaleY(0.7); }
  50%       { opacity: 1;    transform: scaleY(1);   }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0);    }
}


/* ============================================================
   MEET SECTION
   ============================================================ */
.meet-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 3rem;
}

.meet-photo {
  position: sticky;
  top: calc(var(--nav-height) + 1.5rem);
}

.photo-placeholder {
  aspect-ratio: 3 / 4;
  max-height: 480px;
  background: var(--light);
  border: 2px dashed #ccc;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #bbb;
  gap: 0.75rem;
}
.photo-placeholder p { font-size: 0.85rem; }

.meet-bio p {
  font-size: 1.02rem;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
}
.bio-list,
.views-list {
  margin: 0.5rem 0 1.1rem 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.bio-list li,
.views-list li {
  padding-left: 1.25rem;
  position: relative;
  color: var(--text-muted);
  font-size: 1rem;
}
.bio-list li::before,
.views-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  background: var(--yellow);
  border-radius: 50%;
}

.bio-lead {
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--text) !important;
  border-left: 3px solid var(--yellow);
  padding-left: 1rem;
  margin-bottom: 1.5rem !important;
}

.bio-faith {
  font-style: italic;
  font-weight: 600;
  color: var(--text) !important;
  border-left: 3px solid var(--yellow);
  padding-left: 1rem;
  margin-top: 1.5rem;
}

.meet-photo-real {
  border-radius: var(--radius);
  overflow: hidden;
}
.meet-photo-real img {
  width: 100%;
  height: auto;
  display: block;
}

.beretta-photo {
  margin: 0 auto 3rem;
  max-width: 640px;
  border-radius: var(--radius);
  overflow: hidden;
}
.beretta-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.views-block {
  background: var(--light);
  border-left: 4px solid var(--yellow);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 2.25rem 2.75rem;
}
.views-block h3 { font-size: 1.4rem; margin-bottom: 1rem; }
.views-block p  { color: var(--text-muted); }


/* ============================================================
   LEARN LIBERTARIAN SECTION
   ============================================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.card {
  background: var(--dark-3);
  border: 1px solid #333;
  border-top: 3px solid var(--yellow);
  border-radius: var(--radius);
  padding: 2rem 2.25rem;
}
.card h3 {
  color: var(--yellow);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}
.card p { color: #ccc; }
.card a {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.card a:hover { color: var(--yellow-dark); }

blockquote {
  border-left: 3px solid var(--yellow);
  padding: 0.75rem 1.1rem;
  margin: 0.5rem 0 1.25rem;
  font-style: italic;
  color: #eee;
  background: rgba(245, 197, 24, 0.05);
  border-radius: 0 var(--radius) var(--radius) 0;
}
blockquote cite {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.82rem;
  font-style: normal;
  color: var(--yellow);
}
blockquote cite a {
  color: var(--yellow);
  text-decoration: none;
}

.rickroll {
  font-style: italic;
  color: var(--yellow) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

.contact-nudge {
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  background: rgba(245, 197, 24, 0.07);
  border-radius: var(--radius);
  font-size: 0.92rem;
  color: #bbb !important;
}
.contact-nudge a {
  color: var(--yellow) !important;
  font-weight: 600;
}

.card-photo {
  margin-top: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
}
.card-photo img {
  width: 100%;
  height: auto;
  display: block;
}


/* ============================================================
   HOW TO VOTE SECTION
   ============================================================ */
.vote-timeline {
  max-width: 760px;
  margin: 0 auto 2.5rem;
}

.timeline-item {
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
}

.timeline-connector {
  width: 2px;
  height: 2.5rem;
  background: linear-gradient(to bottom, var(--yellow), #ddd);
  margin: 0.25rem 0 0.25rem calc(24px - 1px); /* align with center of marker */
}

.timeline-marker {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--yellow);
  color: var(--dark);
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-content { padding-top: 0.4rem; }
.timeline-content h3 { font-size: 1.3rem; margin-bottom: 0.65rem; }
.timeline-content p { color: var(--text-muted); }
.timeline-content strong { color: var(--text); }

.vote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.vote-note {
  max-width: 680px;
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  background: var(--yellow-light);
  border-left: 4px solid var(--yellow);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: #444;
}
.vote-note p { margin: 0; }


/* ============================================================
   LEARN THE OFFICE SECTION
   ============================================================ */
.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.office-card {
  background: var(--dark-3);
  border: 1px solid #333;
  border-top: 4px solid var(--yellow);
  border-radius: var(--radius);
  padding: 2rem;
}
.office-icon {
  color: var(--yellow);
  margin-bottom: 1.1rem;
}
.office-card h3 {
  color: var(--yellow);
  margin-bottom: 0.75rem;
}
.office-card p       { color: #bbb; font-size: 0.95rem; }
.office-card strong  { color: #e8e8e8; }

.office-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.office-list li {
  padding-left: 1.25rem;
  position: relative;
  color: #bbb;
  font-size: 0.95rem;
}
.office-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  background: var(--yellow);
  border-radius: 50%;
}


/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: #111;
  border-top: 2px solid var(--yellow);
  padding: 2.75rem 0;
  text-align: center;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}
.footer-name {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--yellow);
}
.footer-sub {
  font-size: 0.7rem;
  color: #555;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer-email {
  color: var(--yellow);
  font-size: 0.95rem;
  transition: color 0.2s;
}
.footer-email:hover { color: var(--yellow-dark); }
.footer-disc {
  font-size: 0.68rem;
  color: #444;
  margin: 0;
}


/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 900px) {
  .two-col,
  .three-col { grid-template-columns: 1fr; }

  .meet-grid { grid-template-columns: 1fr; }
  .meet-photo { position: static; }
  .photo-placeholder { aspect-ratio: 4/3; max-width: 420px; margin: 0 auto; }

  .views-block { padding: 1.75rem 1.75rem; }

  .libertarian-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .libertarian-header .header-text { align-items: center; }
}


/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--dark-2);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.4rem;
    border-bottom: 2px solid var(--yellow);
  }
  .nav-links.open { display: flex; }
  .nav-link { padding: 0.6rem 0.75rem; }
  .nav-cta  { margin: 0.25rem 0 0; text-align: center; padding: 0.6rem 1rem; }
  .nav-toggle { display: flex; }

  .hero-actions { flex-direction: column; align-items: center; }
  .btn { text-align: center; }

  .timeline-item { flex-direction: column; gap: 0.5rem; }
  .timeline-connector { margin-left: 23px; height: 1.5rem; }
  .vote-actions { flex-direction: column; }

  .section { padding: 4rem 0; }
  .card { padding: 1.5rem; }
  .office-card { padding: 1.5rem; }
  .views-block { padding: 1.5rem; }
}
