/*
Theme Name: Fluharty for State Senate
Theme URI: https://www.shawnfluharty.com/
Description: Kadence child theme for Shawn Fluharty's Northern Panhandle State Senate campaign.
Author: Fluharty for the Northern Panhandle
Template: kadence
Version: 1.3.0
Text Domain: fluharty-campaign
*/

:root {
  --fl-navy: #081b33;
  --fl-blue: #0d4f8b;
  --fl-blue-bright: #1479bd;
  --fl-gold: #f2b544;
  --fl-cream: #f5f1e8;
  --fl-white: #ffffff;
  --fl-ink: #172133;
  --fl-muted: #5e6875;
  --fl-border: rgba(8, 27, 51, 0.14);
  --fl-shadow: 0 18px 54px rgba(8, 27, 51, 0.14);
  --fl-radius: 18px;
  --fl-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.fluharty-campaign {
  margin: 0;
  color: var(--fl-ink);
  background: var(--fl-white);
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}

.fl-container { width: min(calc(100% - 40px), var(--fl-width)); margin: 0 auto; }
.fl-section { padding: 88px 0; }
.fl-section--cream { background: var(--fl-cream); }
.fl-section--navy { background: var(--fl-navy); color: var(--fl-white); }
.fl-eyebrow {
  margin: 0 0 12px;
  color: var(--fl-blue);
  font-size: .77rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.fl-section--navy .fl-eyebrow { color: var(--fl-gold); }
h1, h2, h3 { color: inherit; font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif; line-height: 1.02; }
.fl-title { margin: 0 0 24px; font-size: clamp(2.25rem, 5vw, 4.3rem); letter-spacing: -.035em; }
.fl-subtitle { max-width: 720px; margin: 0; color: var(--fl-muted); font-size: 1.15rem; }
.fl-section--navy .fl-subtitle { color: rgba(255,255,255,.78); }

.fl-header { position: sticky; z-index: 100; top: 0; background: rgba(8,27,51,.97); box-shadow: 0 4px 24px rgba(0,0,0,.12); }
.fl-header__inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.fl-brand { color: var(--fl-white); text-decoration: none; line-height: 1; }
.fl-brand__name { display: block; font-size: 1.52rem; font-weight: 950; letter-spacing: -.025em; text-transform: uppercase; }
.fl-brand__office { display: block; margin-top: 4px; color: var(--fl-gold); font-size: .67rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.fl-nav { display: flex; align-items: center; gap: 28px; }
.fl-nav ul { display: flex; align-items: center; gap: 24px; padding: 0; margin: 0; list-style: none; }
.fl-nav a { color: var(--fl-white); font-size: .9rem; font-weight: 800; text-decoration: none; }
.fl-nav a:hover, .fl-nav a:focus { color: var(--fl-gold); }
.fl-menu-toggle { display: none; border: 1px solid rgba(255,255,255,.3); border-radius: 8px; padding: 8px 12px; color: white; background: transparent; font-weight: 800; }

.fl-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; border: 2px solid transparent; border-radius: 999px; padding: 12px 24px; font-weight: 900; text-decoration: none; transition: transform .18s ease, background .18s ease; }
.fl-button:hover { transform: translateY(-2px); }
.fl-button--gold { color: var(--fl-navy); background: var(--fl-gold); }
.fl-button--blue { color: var(--fl-white); background: var(--fl-blue); }
.fl-button--outline { border-color: rgba(255,255,255,.75); color: var(--fl-white); }

.fl-hero { position: relative; overflow: hidden; color: var(--fl-white); background: linear-gradient(115deg, #07182c 0%, #0d4f8b 62%, #1177b8 100%); }
.fl-hero::after { position: absolute; inset: 0; content: ""; background: radial-gradient(circle at 84% 22%, rgba(242,181,68,.28), transparent 30%), linear-gradient(90deg, transparent 0 65%, rgba(255,255,255,.05) 65% 66%, transparent 66%); pointer-events: none; }
.fl-hero__inner { position: relative; z-index: 1; min-height: 680px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 62px; padding-top: 76px; padding-bottom: 76px; }
.fl-hero h1 { max-width: 760px; margin: 0 0 22px; font-size: clamp(3.25rem, 7.5vw, 6.5rem); letter-spacing: -.055em; text-transform: uppercase; }
.fl-hero h1 span { display: block; color: var(--fl-gold); }
.fl-hero__lead { max-width: 660px; margin: 0 0 32px; color: rgba(255,255,255,.87); font-size: clamp(1.05rem, 2vw, 1.28rem); }
.fl-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.fl-hero__visual { position: relative; min-height: 500px; overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: 28px; background: rgba(255,255,255,.08); box-shadow: var(--fl-shadow); }
.fl-hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 32%; }
.fl-hero__badge { position: absolute; right: 22px; bottom: 22px; left: 22px; border-radius: 14px; padding: 18px 20px; color: var(--fl-navy); background: rgba(255,255,255,.94); box-shadow: 0 12px 30px rgba(0,0,0,.2); }
.fl-hero__badge strong { display: block; font-size: 1.28rem; line-height: 1.1; text-transform: uppercase; }
.fl-hero__badge span { display: block; margin-top: 5px; color: var(--fl-blue); font-size: .72rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }

.fl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.fl-card { border: 1px solid var(--fl-border); border-radius: var(--fl-radius); padding: 30px; background: var(--fl-white); box-shadow: 0 12px 34px rgba(8,27,51,.07); }
.fl-card__number { display: block; margin-bottom: 12px; color: var(--fl-blue); font-size: 2.6rem; font-weight: 950; line-height: 1; }
.fl-card h3 { margin: 0 0 10px; font-size: 1.55rem; }
.fl-card p { margin: 0; color: var(--fl-muted); }
.fl-speech-card { position: relative; min-height: 360px; overflow: hidden; display: flex; align-items: flex-end; border-radius: var(--fl-radius); background: var(--fl-navy); box-shadow: var(--fl-shadow); }
.fl-speech-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .64; }
.fl-speech-card::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 20%, rgba(5,18,36,.94) 100%); }
.fl-speech-card__copy { position: relative; z-index: 1; padding: 28px; color: white; }
.fl-speech-card__copy span { color: var(--fl-gold); font-size: .72rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.fl-speech-card__copy h3 { margin: 7px 0 0; font-size: 1.7rem; }

.fl-split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
.fl-photo { overflow: hidden; border-radius: 22px; background: var(--fl-cream); box-shadow: var(--fl-shadow); }
.fl-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.fl-photo--tall img { aspect-ratio: 4 / 5; object-position: 54% center; }
.fl-copy p { font-size: 1.08rem; }
.fl-copy p:last-child { margin-bottom: 0; }
.fl-quote { border-left: 6px solid var(--fl-gold); padding: 22px 0 22px 28px; font-size: 1.32rem; font-weight: 800; }
.fl-video { overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: 22px; background: #000; box-shadow: 0 24px 70px rgba(0,0,0,.3); }
.fl-video video { display: block; width: 100%; height: auto; }
.fl-speech-copy { align-self: center; }
.fl-speech-copy h3 { margin: 0 0 16px; font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.03em; }
.fl-speech-copy p { color: var(--fl-muted); font-size: 1.08rem; }

.fl-contrast { position: relative; overflow: hidden; background: #101c2c; color: white; }
.fl-contrast::before { position: absolute; inset: 0; content: ""; opacity: .15; background-image: repeating-linear-gradient(135deg, transparent 0 20px, #fff 20px 21px); }
.fl-contrast .fl-container { position: relative; }
.fl-contrast h2 { max-width: 920px; }
.fl-contrast p { max-width: 820px; color: rgba(255,255,255,.82); font-size: 1.13rem; }

.fl-page-hero { padding: 92px 0 70px; color: white; background: linear-gradient(120deg, var(--fl-navy), var(--fl-blue)); }
.fl-page-hero h1 { max-width: 850px; margin: 0; font-size: clamp(3rem, 6vw, 5.2rem); letter-spacing: -.045em; text-transform: uppercase; }
.fl-prose { max-width: 850px; }
.fl-prose h2 { margin: 46px 0 14px; color: var(--fl-navy); font-size: 2rem; }
.fl-prose p, .fl-prose li { font-size: 1.08rem; }
.fl-priority { border-left: 5px solid var(--fl-gold); }
.fl-checklist { display: grid; gap: 14px; padding: 0; list-style: none; }
.fl-checklist li { position: relative; padding-left: 30px; }
.fl-checklist li::before { position: absolute; top: .05em; left: 0; content: "✓"; color: var(--fl-blue); font-weight: 950; }

.fl-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 840px; }
.fl-form label { display: grid; gap: 7px; font-weight: 800; }
.fl-form label:last-of-type { grid-column: 1 / -1; }
.fl-form input, .fl-form textarea { width: 100%; border: 1px solid var(--fl-border); border-radius: 10px; padding: 13px 14px; background: white; font: inherit; }
.fl-form textarea { min-height: 130px; resize: vertical; }
.fl-form__honeypot { position: absolute !important; left: -9999px !important; }
.fl-form .fl-button { width: fit-content; border: 0; cursor: pointer; }
.fl-notice { border-radius: 10px; padding: 14px 16px; background: #e8f5ec; color: #155b2d; font-weight: 700; }

.fl-cta { text-align: center; }
.fl-cta h2 { max-width: 900px; margin: 0 auto 18px; font-size: clamp(2.2rem, 5vw, 4.4rem); text-transform: uppercase; }
.fl-cta p { max-width: 680px; margin: 0 auto 28px; color: rgba(255,255,255,.78); font-size: 1.12rem; }

.fl-footer { padding: 46px 0 26px; color: rgba(255,255,255,.76); background: #051224; }
.fl-footer__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; }
.fl-footer__brand { color: white; font-size: 1.35rem; font-weight: 950; text-transform: uppercase; }
.fl-footer__links { display: flex; flex-wrap: wrap; gap: 20px; }
.fl-footer a { color: white; text-decoration: none; }
.fl-disclaimer { margin: 32px 0 0; border: 1px solid rgba(255,255,255,.45); padding: 10px 14px; color: white; font-size: .78rem; font-weight: 800; letter-spacing: .05em; text-align: center; text-transform: uppercase; }
.fl-copyright { margin: 20px 0 0; font-size: .77rem; text-align: center; }

@media (max-width: 900px) {
  .fl-menu-toggle { display: inline-block; }
  .fl-nav { display: none; position: absolute; top: 80px; right: 0; left: 0; align-items: stretch; flex-direction: column; padding: 24px 20px; background: var(--fl-navy); }
  .fl-nav.is-open { display: flex; }
  .fl-nav ul { align-items: stretch; flex-direction: column; gap: 14px; }
  .fl-nav .fl-button { width: 100%; }
  .fl-hero__inner, .fl-split { grid-template-columns: 1fr; }
  .fl-hero__inner { min-height: auto; }
  .fl-hero__visual { min-height: 310px; }
  .fl-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .fl-container { width: min(calc(100% - 28px), var(--fl-width)); }
  .fl-section { padding: 64px 0; }
  .fl-header__inner { min-height: 72px; }
  .fl-brand__name { font-size: 1.2rem; }
  .fl-hero__inner { padding-top: 58px; padding-bottom: 58px; gap: 38px; }
  .fl-hero h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .fl-form { grid-template-columns: 1fr; }
  .fl-form label:last-of-type { grid-column: auto; }
  .fl-footer__top { flex-direction: column; }
}

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