/* 1884 Fund launch campaign — styles for assets/campaign-1884.js.
   Matches the 1884 Fund flyer: cream, navy, and gold; engraved caps
   headings; The 1884 Fund logo; the Round Rock Fire helmet photo.
   Everything is scoped under .c84 so React/Tailwind pages are unaffected. */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Cormorant+Garamond:wght@500;600;700&family=Lato:wght@400;700&display=swap');

[data-c84-hidden] { display: none !important; }

.c84 {
  --c84-cream: #f6f0e4;
  --c84-cream2: #efe6d4;
  --c84-navy: #0b1f45;
  --c84-navy2: #13295a;
  --c84-ink: #1d2a44;
  --c84-muted: #4a5568;
  --c84-gold: #b8903a;
  --c84-gold-lt: #d9b464;
  --c84-line: rgba(184, 144, 58, 0.55);
  --c84-display: 'Cinzel', 'Trajan Pro', Georgia, serif;
  --c84-serif: 'Cormorant Garamond', Georgia, serif;
  --c84-sans: 'Lato', system-ui, sans-serif;
  background: var(--c84-cream);
  color: var(--c84-ink);
  font-family: var(--c84-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.c84 *, .c84 *::before, .c84 *::after { box-sizing: border-box; font-variant-numeric: lining-nums; font-feature-settings: 'lnum' 1; }
.c84 h1, .c84 h2, .c84 h3 { text-wrap: balance; }
.c84 p { text-wrap: pretty; }
.c84-container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.c84-narrow { max-width: 780px; }
.c84-center { text-align: center; }

.c84-kicker { font-family: var(--c84-display); font-size: 13px; font-weight: 600; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--c84-navy); margin: 0 0 14px; }
.c84-h2 { font-family: var(--c84-display); font-size: clamp(28px, 3.8vw, 44px); line-height: 1.15; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--c84-navy); margin: 0; }
.c84-lead { font-family: var(--c84-serif); font-size: clamp(20px, 2vw, 24px); line-height: 1.5; color: var(--c84-ink); margin: 0; font-weight: 500; }
.c84-lead strong, .c84-body strong { color: var(--c84-navy); font-weight: 700; }
.c84-body { font-family: var(--c84-serif); font-size: 19px; color: var(--c84-ink); margin: 0; font-weight: 500; }

/* gold rule with star */
.c84-rule { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 18px auto 22px; max-width: 360px; }
.c84-rule i { flex: 1; height: 1px; background: var(--c84-gold); }
.c84-rule b { color: var(--c84-gold); font-size: 16px; line-height: 1; }

.c84-goldtxt { background: linear-gradient(180deg, #e7c77a 0%, #b8903a 55%, #8a6a24 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; }

/* hero */
.c84-hero { display: grid; grid-template-columns: minmax(280px, 0.8fr) 1.2fr; min-height: 640px;
  background: var(--c84-cream); border-bottom: 1px solid var(--c84-line); padding-top: 64px; }
@media (min-width: 1024px) { .c84-hero { padding-top: 80px; } }
.c84-hero-photo { background: url('/images/1884-helmet.jpg') center 40% / cover no-repeat; position: relative; }
.c84-hero-photo::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 55%, var(--c84-cream) 100%); }
.c84-hero-copy { padding: 56px 56px 64px 40px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.c84-logo-h { margin: 6px 0 0; line-height: 0; }
.c84-logo-h img { width: clamp(200px, 24vw, 280px); height: auto; }
.c84-headline { font-family: var(--c84-serif); font-size: clamp(30px, 3.4vw, 44px); line-height: 1.15; font-weight: 700;
  color: var(--c84-navy); max-width: 620px; margin: 0 0 28px; }
.c84-tag { font-family: var(--c84-display); font-size: clamp(17px, 1.8vw, 21px); font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--c84-navy); line-height: 1.55; margin: 0 0 26px; }
.c84-price { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; text-align: left; max-width: 620px; }
.c84-price-big { text-align: center; padding-right: 28px; border-right: 1px solid var(--c84-line); }
.c84-price-big span { display: block; font-family: var(--c84-serif); font-weight: 700; font-size: clamp(68px, 8vw, 104px); line-height: 0.95; }
.c84-price-big small { display: block; font-family: var(--c84-display); font-size: 15px; font-weight: 600; letter-spacing: 0.3em;
  color: var(--c84-navy); margin-top: 6px; }
.c84-price-side p { font-family: var(--c84-serif); font-size: 19px; line-height: 1.5; color: var(--c84-ink); margin: 0; font-weight: 500; }
@media (max-width: 900px) {
  .c84-hero { grid-template-columns: 1fr; min-height: 0; }
  .c84-hero-photo { height: 300px; background-position: center 78%; }
  .c84-hero-photo::after { background: linear-gradient(180deg, transparent 50%, var(--c84-cream) 100%); }
  .c84-hero-copy { padding: 8px 22px 56px; }
}
@media (max-width: 560px) {
  .c84-price { grid-template-columns: 1fr; gap: 16px; text-align: center; }
  .c84-price-big { border-right: 0; padding-right: 0; padding-bottom: 16px; border-bottom: 1px solid var(--c84-line); }
}

/* bands */
.c84-band { padding: 84px 0; background: var(--c84-cream); }
.c84-cream2 { background: var(--c84-cream2); border-top: 1px solid var(--c84-line); border-bottom: 1px solid var(--c84-line); }
@media (max-width: 720px) { .c84-band { padding: 60px 0; } }
.c84-head { max-width: 760px; margin: 0 auto 30px; text-align: center; }
.c84-head p:not(.c84-kicker) { font-family: var(--c84-serif); font-size: 20px; color: var(--c84-ink); margin: 0; font-weight: 500; }

/* navy band (Why 1884) */
.c84-navy { background: var(--c84-navy); color: #f3ead7; border-top: 3px solid var(--c84-gold); border-bottom: 3px solid var(--c84-gold); }
.c84-navy .c84-kicker { color: var(--c84-gold-lt); }
.c84-navy .c84-h2 { color: #fff; margin-bottom: 18px; }
.c84-navy .c84-lead { color: #e9e0cc; }
.c84-navy .c84-lead strong { color: #fff; }
.c84-why { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: center; }
.c84-why-logo { width: 100%; height: auto; padding-right: 48px; border-right: 1px solid rgba(217, 180, 100, 0.45); }
@media (max-width: 820px) {
  .c84-why { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .c84-why-logo { width: 190px; margin: 0 auto; padding: 0 0 24px; border-right: 0; border-bottom: 1px solid rgba(217,180,100,0.45); }
}

/* how it adds up */
.c84-statement { font-family: var(--c84-display); text-align: center; font-weight: 600; letter-spacing: 0.06em;
  font-size: clamp(22px, 3vw, 34px); line-height: 1.4; color: var(--c84-navy); text-transform: uppercase; margin: 0 auto 26px; max-width: 900px; }
.c84-statement span { color: var(--c84-gold); }
.c84-adds { max-width: 760px; margin: 0 auto; }

/* gold band (first 100) */
.c84-goldband { background: linear-gradient(100deg, #a9802d 0%, #e3c27a 35%, #c9a04c 65%, #9c7526 100%);
  padding: 56px 0; color: var(--c84-navy); }
.c84-gold-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .c84-gold-grid { grid-template-columns: 1fr; text-align: center; gap: 26px; } }
.c84-gold-h { font-family: var(--c84-display); font-size: clamp(30px, 4.4vw, 52px); font-weight: 700; letter-spacing: 0.03em;
  text-transform: uppercase; line-height: 1.05; margin: 0 0 14px; color: #1a1406; }
.c84-gold-p { font-family: var(--c84-serif); font-size: 20px; font-weight: 600; color: #1a1406; margin: 0; line-height: 1.45; }
.c84-gold-p strong { font-weight: 700; }
.c84-gold-side { display: flex; flex-direction: column; align-items: center; }
.c84-cd { display: flex; gap: 10px; }
.c84-cd div { background: var(--c84-navy); border: 1px solid var(--c84-gold-lt); padding: 12px 14px; min-width: 88px; text-align: center; }
.c84-cd span { display: block; font-family: var(--c84-serif); font-size: 38px; font-weight: 700; color: var(--c84-gold-lt); line-height: 1; }
.c84-cd small { font-family: var(--c84-display); font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: #e9e0cc; font-weight: 600; }
.c84-cd-note { font-family: var(--c84-display); font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: #1a1406; margin: 12px 0 0; text-align: center; }

/* steps — framed like the flyer's giving cards */
.c84-steps { list-style: none; padding: 0; margin: 12px auto 0; max-width: 940px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 760px) { .c84-steps { grid-template-columns: 1fr; max-width: 420px; } }
.c84-steps li { background: #fbf7ee; border: 1px solid var(--c84-gold); outline: 1px solid var(--c84-line); outline-offset: -7px;
  padding: 30px 22px 28px; text-align: center; }
.c84-step-n { display: block; font-family: var(--c84-serif); font-size: 44px; font-weight: 700; color: var(--c84-gold); line-height: 1; }
.c84-steps h3 { font-family: var(--c84-display); font-size: 13px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--c84-navy);
  margin: 10px 0 8px; font-weight: 600; }
.c84-steps p { margin: 0; font-family: var(--c84-serif); font-size: 22px; font-weight: 600; color: var(--c84-ink); }
.c84-steps .c84-step-navy { background: var(--c84-navy); outline-color: rgba(217,180,100,0.5); }
.c84-steps .c84-step-navy h3 { color: #e9e0cc; }
.c84-steps .c84-step-navy .c84-step-n { color: var(--c84-gold-lt); }
.c84-steps p.c84-step-amt { font-size: 40px; font-weight: 700; color: var(--c84-gold-lt); line-height: 1.1; }

/* buttons */
.c84-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 28px;
  font-family: var(--c84-display); font-weight: 600; font-size: 14px; letter-spacing: 0.2em; text-transform: uppercase;
  border: 1px solid transparent; transition: all .18s ease; text-decoration: none; white-space: nowrap; border-radius: 0; }
.c84-btn span { font-size: 1.4em; line-height: 0; }
.c84-btn-primary { background: var(--c84-navy); color: #fff !important; border-color: var(--c84-gold); box-shadow: inset 0 0 0 3px var(--c84-navy), inset 0 0 0 4px rgba(217,180,100,0.6); }
.c84-btn-primary:hover { background: var(--c84-navy2); transform: translateY(-1px); }
.c84-btn-ghost { background: transparent; color: var(--c84-navy) !important; border-color: var(--c84-navy); }
.c84-btn-ghost:hover { background: var(--c84-navy); color: #fff !important; }
.c84-btn-lg { padding: 17px 30px; }
.c84-btn-xl { padding: 20px 40px; font-size: 15px; }
@media (max-width: 520px) { .c84-btn, .c84-btn-lg, .c84-btn-xl { padding: 16px 20px; font-size: 13px; letter-spacing: 0.14em; } }
.c84-cta-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 32px; }
.c84-center-row { margin-top: 40px; }

/* homepage callout */
.c84-home { padding: 88px 24px; background: var(--c84-cream2); border-top: 1px solid var(--c84-line); border-bottom: 1px solid var(--c84-line); }
@media (max-width: 720px) { .c84-home { padding: 56px 16px; } }
.c84-home-card { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 0.8fr 1.2fr; background: var(--c84-cream);
  border: 1px solid var(--c84-gold); outline: 1px solid var(--c84-line); outline-offset: -9px; overflow: hidden; }
.c84-home-photo { background: url('/images/1884-helmet.jpg') center 40% / cover no-repeat; min-height: 420px; position: relative; }
.c84-home-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, var(--c84-cream) 100%); }
.c84-home-copy { padding: 48px 44px; text-align: center; }
.c84-home-logo { width: 190px; height: auto; display: block; margin: 0 auto; }
.c84-home .c84-tag { margin-bottom: 18px; }
.c84-howto { font-size: 13.5px; color: var(--c84-muted); margin: 16px 0 0; }
@media (max-width: 860px) {
  .c84-home-card { grid-template-columns: 1fr; }
  .c84-home-photo { min-height: 240px; background-position: center 78%; }
  .c84-home-photo::after { background: linear-gradient(180deg, transparent 55%, var(--c84-cream) 100%); }
  .c84-home-copy { padding: 8px 22px 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .c84 *, .c84 *::before, .c84 *::after { transition: none !important; animation: none !important; }
}
