/* The public campaign site (home page about the candidate). Same palette as the app (eds.css). */
.site { background: var(--canvas); }
.site-wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10,19,34,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line-soft); }
.site-header-row { display: flex; align-items: center; gap: 18px; padding: 12px 20px; }
.site-brand { font-family: var(--display); font-size: 20px; font-weight: 700; color: var(--ink); line-height: 1.1; }
.site-brand span { color: var(--green); }
.site-brand small { display: block; font-family: var(--body); font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-dim); margin-top: 3px; }
.site-brand:hover { text-decoration: none; }
.small-brand { font-size: 18px; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: flex-end; }
.site-nav a:not(.btn) { color: var(--ink-muted); font-size: 14px; font-weight: 500; }
.site-nav a:not(.btn):hover { color: var(--ink); text-decoration: none; }
/* (phone menu: see "Site menu" below) */

.hero { padding: 56px 0 40px; background: radial-gradient(ellipse at top right, rgba(35,196,138,.14), transparent 60%), var(--canvas-deep); border-bottom: 1px solid var(--line-soft); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: 48px; line-height: 1.05; margin: 8px 0 12px; letter-spacing: -.02em; }
.hero .office { font-size: 18px; color: var(--green); font-weight: 600; }
.hero .tagline { font-family: var(--display); font-style: italic; font-size: 22px; color: var(--ink); margin: 18px 0 26px; max-width: 34ch; }
.hero-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-wa { background: #25D366; border-color: #25D366; color: #052e16; }
.btn-wa:hover { background: #34e077; }
@media (max-width: 820px) {
  .hero { padding: 28px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-grid .hero-photo-col { order: -1; }
  .hero h1 { font-size: 34px; }
  .hero-photo { aspect-ratio: 1 / 1; }
}

.section { padding: 56px 0; border-bottom: 1px solid var(--line-soft); }
.section:nth-of-type(even) { background: var(--canvas-deep); }
.section h2 { font-size: 32px; margin: 6px 0 22px; letter-spacing: -.01em; }
.prose p { color: var(--ink); font-size: 17px; line-height: 1.7; margin: 0 0 16px; max-width: 70ch; }
.prose h3 { font-size: 20px; margin: 26px 0 10px; color: var(--green); font-family: var(--body); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; gap: 10px; } .section { padding: 36px 0; } .section h2 { font-size: 26px; } }

.video-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 26px 26px; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.timeline .when { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sand); }
.timeline .what { font-size: 18px; font-weight: 600; margin: 4px 0; }
.timeline .detail { color: var(--ink-muted); line-height: 1.6; max-width: 70ch; }
.timeline img { margin-top: 10px; max-width: 320px; width: 100%; border-radius: 12px; border: 1px solid var(--line); }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.card .theme { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--green); }
.card h3 { font-family: var(--body); font-size: 18px; margin: 8px 0; }
.card p { color: var(--ink-muted); margin: 0; line-height: 1.6; }
.card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; margin-bottom: 12px; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); cursor: zoom-in; }
.gallery figcaption { font-size: 13px; color: var(--ink-muted); margin-top: 6px; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.9); display: none; align-items: center; justify-content: center; padding: 20px; flex-direction: column; gap: 12px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: 10px; }
.lightbox .cap { color: #fff; font-size: 15px; text-align: center; }

.news { display: grid; gap: 16px; }
.news article { display: grid; grid-template-columns: 180px 1fr; gap: 18px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.news article.no-photo { grid-template-columns: 1fr; }
.news img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.news .date { font-size: 12px; color: var(--sand); font-weight: 600; }
.news h3 { font-family: var(--body); font-size: 18px; margin: 4px 0 8px; }
.news p { color: var(--ink-muted); margin: 0 0 8px; line-height: 1.6; }
@media (max-width: 620px) { .news article { grid-template-columns: 1fr; } }

.cta-band { padding: 48px 0; background: linear-gradient(135deg, rgba(35,196,138,.18), rgba(74,135,245,.12)); border-bottom: 1px solid var(--line-soft); text-align: center; }
.cta-band h2 { font-size: 30px; margin: 0 0 10px; }
.cta-band p { color: var(--ink-muted); margin: 0 auto 20px; max-width: 56ch; }
.cta-band .hero-actions { justify-content: center; }

.site-footer { padding: 30px 0 40px; background: var(--canvas-deep); }
.site-footer-row { display: flex; gap: 20px; justify-content: space-between; flex-wrap: wrap; align-items: flex-start; }
.site-footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.site .flash { max-width: 1120px; margin: 16px auto; }
.site-page { padding-top: 36px; padding-bottom: 56px; }

/* The 2027 poster section - the poster's own red / green on white. */
.poster-section { background: #f7f5ef !important; color: #111; }
.poster-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.poster-link img { width: 100%; border-radius: 18px; box-shadow: 0 24px 50px rgba(0,0,0,.25); display: block; }
.poster-kicker { display: inline-block; background: #c0392b; color: #fff; font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding: 5px 10px; border-radius: 4px; }
.poster-title { font-family: "Oswald", "Inter", sans-serif; font-weight: 800; text-transform: uppercase; font-size: 46px !important; line-height: 1 !important; margin: 14px 0 12px !important; color: #111; }
.poster-title .red { color: #c0392b; display: block; }
.poster-title .green { color: #0b7a3e; display: block; font-size: .72em; }
.poster-title .year { color: #111; display: block; }
.poster-name { font-size: 22px; font-weight: 800; color: #8e2a1f; margin: 0 0 4px; }
.poster-section .muted { color: #555; }
.poster-banner { margin-top: 18px; background: #0b7a3e; color: #d9fbe8; font-size: 22px; font-weight: 700; padding: 14px 18px; border-radius: 12px; }
.poster-section .btn:not(.btn-wa) { background: #fff; color: #111; border-color: #ccc; }
@media (max-width: 820px) { .poster-grid { grid-template-columns: 1fr; gap: 22px; } .poster-title { font-size: 36px !important; } }

/* The square campaign poster as the top image - shown whole, never cropped. */
.hero-photo.hero-poster { aspect-ratio: 1 / 1; object-fit: contain; background: #0c6b3a; }

/* Campaign posters to download and share. */
.poster-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.poster-card { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.poster-card img { width: 100%; display: block; background: #fff; }
.poster-card figcaption { padding: 14px 16px 16px; }
.poster-card-title { font-weight: 700; font-size: 16px; }
@media (max-width: 900px) { .poster-cards { grid-template-columns: 1fr; max-width: 520px; } }

/* Captain page: numbered steps and paid deliverables. */
.step, .deliverable { display: flex; gap: 12px; align-items: flex-start; line-height: 1.55; }
.step-no { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #06281C; font-weight: 800; display: grid; place-items: center; font-size: 14px; }
.deliverable .dot { margin-top: 7px; }

/* ---------- Site menu: a row on computers, a drop-down on phones ---------- */
.site-earn, .site-menu-btn, .menu-phone-only { display: none; }
.site-header-row { position: relative; }
@media (max-width: 820px) {
  .site-header-row { gap: 10px; padding: 10px 16px; }
  .site-brand { font-size: 17px; }
  .site-brand small { font-size: 9px; letter-spacing: .14em; }
  .site-earn { display: inline-flex; margin-left: auto; white-space: nowrap; }
  .site-menu-btn {
    display: grid; place-items: center; width: 42px; height: 42px; flex: none; font-size: 20px;
    background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-sm); color: var(--ink); cursor: pointer;
  }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--canvas-deep); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(0,0,0,.4);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a, .site-nav a:not(.btn) { display: block; padding: 15px 20px; font-size: 16px; color: var(--ink); border-top: 1px solid var(--line-soft); }
  .site-nav a.btn { margin: 12px 16px 16px; text-align: center; justify-content: center; }
  .menu-phone-only { display: block; }
}
@media (max-width: 380px) { .site-brand small { display: none; } }

/* The paid Captain band at the top of the home page. */
.earn-band { background: linear-gradient(90deg, #0b7a3e 0%, #0e9a4e 100%); color: #fff; border-bottom: 3px solid #c8102e; }
.earn-row { display: flex; align-items: center; gap: 24px; padding-top: 18px; padding-bottom: 18px; }
.earn-kicker { font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #d9fbe8; }
.earn-title { font-family: var(--display); font-size: 26px; font-weight: 700; line-height: 1.15; margin: 4px 0 6px; }
.earn-sub { font-size: 14.5px; color: #e9fff3; max-width: 70ch; }
.btn-earn { margin-left: auto; flex: none; background: #fff; color: #0b5e30; border-color: #fff; font-weight: 800; padding: 14px 22px; font-size: 16px; }
.btn-earn:hover { background: #f0fff6; }
@media (max-width: 820px) {
  .earn-row { flex-direction: column; align-items: stretch; gap: 12px; padding-top: 16px; padding-bottom: 18px; }
  .earn-title { font-size: 22px; }
  .btn-earn { margin-left: 0; justify-content: center; }
}

/* Videos page: one video per row, big enough to watch on a phone. */
.video-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.video-card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.video-card .video-frame { border: 0; border-radius: 0; }
.video-body { padding: 16px 18px 18px; }
.video-source { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sand); }
.video-title { font-family: var(--body); font-size: 18px !important; line-height: 1.35; margin: 6px 0 12px !important; }
@media (max-width: 820px) { .video-list { grid-template-columns: 1fr; gap: 16px; } }
