/* ═══════════════════════════════════════════
   QUINN ARCHIBEQUE FOR SHERIFF
   style.css
═══════════════════════════════════════════ */

:root {
  --navy:       #0d1b2e;
  --navy-mid:   #152844;
  --navy-light: #1e3a5f;
  --gold:       #c9a227;
  --gold-light: #e8c547;
  --gold-pale:  #f5e6a3;
  --white:      #ffffff;
  --off-white:  #f4f1ea;
  --text-muted: rgba(255,255,255,0.55);
  --text-body:  #2c3e50;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-serif:   'Source Serif 4', Georgia, serif;
  --font-cond:    'Barlow Condensed', sans-serif;

  --max-w: 1200px;
  --nav-h: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-serif);
  background: var(--off-white);
  color: var(--text-body);
  overflow-x: hidden;
}

/* ── Typography helpers ── */
.section-eyebrow {
  font-family: var(--font-cond);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-eyebrow.center { text-align: center; }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 32px;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-title.center { text-align: center; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 36px;
  border-radius: 2px;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,162,39,0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.4);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.btn-full { width: 100%; text-align: center; }

/* ══════════════════════════
   NAV
══════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.nav.scrolled {
  background: rgba(13, 27, 46, 0.97);
  box-shadow: 0 2px 24px rgba(0,0,0,0.35);
  backdrop-filter: blur(8px);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-logo-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  letter-spacing: 0.02em;
}
.nav-logo-title {
  font-family: var(--font-cond);
  font-weight: 400;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-cond);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255,255,255,0.8);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-links .nav-cta {
  color: var(--navy);
  background: var(--gold);
  padding: 8px 20px;
  border-radius: 2px;
}
.nav-links .nav-cta:hover {
  background: var(--gold-light);
  color: var(--navy);
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.25s;
}
.nav-mobile {
  display: none;
  background: var(--navy);
  padding: 20px 40px 28px;
}
.nav-mobile ul { list-style: none; }
.nav-mobile ul li { border-bottom: 1px solid rgba(255,255,255,0.08); }
.nav-mobile ul li a {
  display: block;
  font-family: var(--font-cond);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  padding: 14px 0;
  transition: color 0.2s;
}
.nav-mobile ul li a:hover { color: var(--gold); }
.nav-mobile.open { display: block; }

/* ══════════════════════════
   HERO
══════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy);
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.45;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 900px;
}
.hero-eyebrow {
  font-family: var(--font-cond);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.hero-name {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 0.92;
  margin-bottom: 28px;
}
.hero-name-first {
  display: block;
  font-size: clamp(4rem, 12vw, 9rem);
  color: var(--white);
  letter-spacing: -0.01em;
}
.hero-name-last {
  display: block;
  font-size: clamp(2.2rem, 7vw, 5.5rem);
  color: var(--gold);
  letter-spacing: 0.04em;
  font-style: italic;
}
.hero-rule {
  width: 80px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 28px;
}
.hero-slogan {
  font-family: var(--font-cond);
  font-weight: 300;
  font-size: clamp(0.85rem, 2vw, 1.05rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 48px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hero-scroll-hint span {
  font-family: var(--font-cond);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.35), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.15); }
}

/* ══════════════════════════
   REVEAL ANIMATIONS
══════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }
.delay-5 { transition-delay: 0.8s; }

/* ══════════════════════════
   ABOUT
══════════════════════════ */
.about {
  background: var(--white);
  padding: 120px 40px;
}
.about-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: center;
}
.about-photo-col { position: relative; }
.about-photo-frame {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--navy);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}
.about-photo-frame::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(201,162,39,0.3);
  border-radius: 2px;
  z-index: 1;
  pointer-events: none;
}
.about-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 24px;
  background: linear-gradient(160deg, var(--navy-light) 0%, var(--navy) 100%);
}
.about-photo-placeholder span {
  font-family: var(--font-cond);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
}
/* REPLACE .about-photo-placeholder with an <img> tag when you have the photo */
.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 8px 32px rgba(201,162,39,0.4);
}
.about-badge-star {
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 2px;
}
.about-badge-text {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1.3;
}
.about-lead {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.6;
  margin-bottom: 20px;
}
.about-body {
  font-size: 1rem;
  line-height: 1.8;
  color: #4a5568;
  margin-bottom: 48px;
}
.about-stats {
  display: flex;
  gap: 40px;
  border-top: 1px solid rgba(13,27,46,0.1);
  padding-top: 32px;
}
.stat-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.4rem;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-num span {
  font-size: 1.4rem;
  color: var(--gold);
}
.stat-label {
  font-family: var(--font-cond);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #8a9bb0;
}

/* ══════════════════════════
   VALUES
══════════════════════════ */
.values {
  background: var(--off-white);
  padding: 120px 40px;
}
.values-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 16px;
}
.value-card {
  background: var(--white);
  border-radius: 3px;
  padding: 48px 36px;
  position: relative;
  border-top: 3px solid transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(13,27,46,0.1);
}
.value-card--featured {
  background: var(--navy);
  border-top-color: var(--gold);
}
.value-card--featured .value-num,
.value-card--featured .value-title,
.value-card--featured .value-body { color: var(--white); }
.value-card--featured .value-num { color: var(--gold); }
.value-card--featured .value-icon { color: var(--gold); }
.value-num {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  margin-bottom: 16px;
}
.value-icon {
  font-size: 1.8rem;
  margin-bottom: 20px;
  display: block;
  color: var(--navy);
}
.value-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.2;
}
.value-body {
  font-size: 0.92rem;
  line-height: 1.8;
  color: #5a6a7a;
}
.value-card--featured .value-body { color: rgba(255,255,255,0.7); }

/* ══════════════════════════
   EXPERIENCE / TIMELINE
══════════════════════════ */
.experience {
  background: var(--white);
  padding: 120px 40px;
}
.experience-inner {
  max-width: 760px;
  margin: 0 auto;
}
.timeline {
  position: relative;
  padding-left: 40px;
  margin-top: 16px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold), rgba(201,162,39,0.1));
}
.timeline-item {
  position: relative;
  margin-bottom: 56px;
}
.timeline-marker {
  position: absolute;
  left: -40px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--gold);
}
.timeline-year {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.timeline-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 12px;
}
.timeline-body {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #5a6a7a;
}

/* ══════════════════════════
   QUOTE BREAK
══════════════════════════ */
.quote-break {
  background: var(--navy);
  padding: 100px 40px;
  position: relative;
  overflow: hidden;
}
.quote-break::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,39,0.08) 0%, transparent 70%);
}
.quote-break-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.quote-mark {
  font-family: var(--font-display);
  font-size: 8rem;
  color: var(--gold);
  opacity: 0.25;
  line-height: 0.5;
  margin-bottom: 24px;
  display: block;
}
blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 3vw, 2rem);
  color: var(--white);
  line-height: 1.6;
  font-weight: 400;
  margin-bottom: 28px;
}
cite {
  font-family: var(--font-cond);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  font-style: normal;
}

/* ══════════════════════════
   CONTACT
══════════════════════════ */
.contact {
  background: var(--off-white);
  padding: 120px 40px;
}
.contact-inner {
  max-width: 640px;
  margin: 0 auto;
}
.contact-sub {
  text-align: center;
  font-size: 1rem;
  color: #5a6a7a;
  line-height: 1.7;
  margin-bottom: 48px;
  margin-top: -16px;
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-family: var(--font-cond);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy);
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--navy);
  background: var(--white);
  border: 1px solid rgba(13,27,46,0.15);
  border-radius: 2px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.12);
}
.form-group textarea { resize: vertical; }
.form-success {
  display: none;
  text-align: center;
  font-family: var(--font-cond);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  padding: 12px;
  border: 1px solid rgba(201,162,39,0.3);
  border-radius: 2px;
  background: rgba(201,162,39,0.06);
}
.form-success.show { display: block; }

/* ══════════════════════════
   FOOTER
══════════════════════════ */
.footer {
  background: var(--navy);
  padding: 48px 40px;
  border-top: 1px solid rgba(201,162,39,0.2);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.footer-logo { display: flex; flex-direction: column; gap: 4px; }
.footer-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
}
.footer-title {
  font-family: var(--font-cond);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer-slogan {
  font-family: var(--font-cond);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.footer-legal {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.2);
  margin-top: 8px;
}

/* ══════════════════════════
   RESPONSIVE
══════════════════════════ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-photo-col { max-width: 340px; margin: 0 auto; }
  .about-photo-frame { aspect-ratio: 4/5; }

  .values-grid { grid-template-columns: 1fr; max-width: 480px; margin: 16px auto 0; }

  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .about, .values, .experience, .quote-break, .contact { padding: 80px 24px; }
  .about-stats { flex-direction: column; gap: 24px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .nav-inner { padding: 0 24px; }
  .nav-mobile { padding: 20px 24px 28px; }
}

.about-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 2px;
  border: 1px solid rgba(200, 168, 75, 0.2);
}