/* ==========================================================================
   Tiffany Boccieri for Laguna Hills City Council — District 4
   Campaign one-pager stylesheet
   ========================================================================== */

:root {
  --magenta: #b8396e;
  --magenta-dark: #8f2c56;
  --magenta-darker: #6e2242;
  --pink-tint: #fbeef3;
  --ink: #241018;
  --ink-soft: #5a4750;
  --white: #ffffff;
  --max-width: 1120px;
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

h1, h2, h3, .display {
  font-family: "Anton", "Arial Narrow Bold", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.05;
  margin: 0;
}

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

a {
  color: inherit;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid rgba(184, 57, 110, 0.15);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 16px;
}

.brand {
  display: flex;
  flex-direction: column;
  font-family: "Anton", sans-serif;
  text-transform: uppercase;
  line-height: 1;
}

.brand .brand-name {
  font-size: 1.25rem;
  color: var(--ink);
}

.brand .brand-role {
  font-size: 0.62rem;
  color: var(--magenta);
  letter-spacing: 0.12em;
  margin-top: 3px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

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

.site-nav a:hover {
  color: var(--magenta);
}

.btn {
  display: inline-block;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 26px;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  border: 2px solid transparent;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--magenta);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(184, 57, 110, 0.35);
}

.btn-primary:hover {
  background: var(--magenta-dark);
}

.btn-outline {
  background: transparent;
  border-color: var(--magenta);
  color: var(--magenta);
}

.btn-outline:hover {
  background: var(--magenta);
  color: var(--white);
}

.btn-on-magenta {
  background: var(--white);
  color: var(--magenta-darker);
}

.btn-on-magenta:hover {
  background: var(--pink-tint);
}

.btn-ghost-on-magenta {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.btn-ghost-on-magenta:hover {
  background: rgba(255, 255, 255, 0.15);
}

.nav-cta {
  padding: 10px 22px;
  font-size: 0.9rem;
}

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

.hero {
  background: var(--magenta);
  color: var(--white);
  padding: 64px 0 72px;
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  background: rgba(255, 255, 255, 0.16);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  margin-bottom: 6px;
}

.hero .role-line {
  font-family: "Anton", sans-serif;
  text-transform: uppercase;
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  color: var(--pink-tint);
  letter-spacing: 0.06em;
  margin-bottom: 22px;
}

.hero p.tagline {
  font-size: 1.15rem;
  max-width: 46ch;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.94);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-photo {
  position: relative;
}

.hero-photo .photo-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
  border: 6px solid rgba(255, 255, 255, 0.9);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

/* ---------- Section shell ---------- */

section {
  padding: 76px 0;
}

.section-tint {
  background: var(--pink-tint);
}

.eyebrow {
  color: var(--magenta);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.section-heading {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  margin-bottom: 18px;
  color: var(--ink);
}

.section-lede {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 62ch;
  margin-bottom: 40px;
}

/* ---------- About ---------- */

.about .wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: center;
}

.about-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(36, 16, 24, 0.14);
}

.about-photo img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-body p {
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.about-body p:first-of-type {
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 500;
}

/* ---------- Issues ---------- */

.issues-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.issue-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: 0 12px 30px rgba(36, 16, 24, 0.08);
  border-top: 5px solid var(--magenta);
}

.issue-card .issue-number {
  font-family: "Anton", sans-serif;
  color: var(--magenta);
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
}

.issue-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  text-transform: none;
  letter-spacing: 0;
}

.issue-card p {
  color: var(--ink-soft);
  font-size: 0.96rem;
  margin: 0;
}

/* ---------- Get Involved ---------- */

.involved {
  background: var(--magenta-darker);
  color: var(--white);
}

.involved .section-heading {
  color: var(--white);
}

.involved .eyebrow {
  color: var(--pink-tint);
}

.involved .section-lede {
  color: rgba(255, 255, 255, 0.85);
}

.involved-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}

.involved-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.involved-card h3 {
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.involved-card p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.involved-card a.btn {
  font-size: 0.9rem;
  padding: 10px 20px;
}

.social-row {
  display: flex;
  gap: 14px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.social-row a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.social-row a:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 0 32px;
  font-size: 0.85rem;
}

.site-footer .footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.site-footer .footer-brand {
  font-family: "Anton", sans-serif;
  text-transform: uppercase;
  color: var(--white);
  font-size: 1.1rem;
}

.site-footer .disclosure {
  max-width: 60ch;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}

.placeholder-flag {
  color: #ffd7e6;
  font-weight: 600;
}

/* ---------- Responsive ---------- */

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

  .hero-photo {
    max-width: 320px;
  }

  .about .wrap {
    grid-template-columns: 1fr;
  }

  .about-photo {
    max-width: 320px;
  }

  .issues-grid,
  .involved-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    gap: 16px;
  }

  .site-nav a:not(.nav-cta) {
    display: none;
  }
}
