/* ═══════════════════════════════════════════════════════════
   FIDEOGRAPH — homepage.css
   Styles for front-page.php only.
═══════════════════════════════════════════════════════════ */

/* ── HERO ── */
.fg-hero {
  background: var(--brand-ink);
  color: var(--fg-parchment);
  padding: 72px 24px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.fg-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(201,168,76,.13) 0%, transparent 70%),
    repeating-linear-gradient(90deg, transparent, transparent 80px, rgba(201,168,76,.025) 80px, rgba(201,168,76,.025) 81px),
    repeating-linear-gradient(0deg,  transparent, transparent 80px, rgba(201,168,76,.025) 80px, rgba(201,168,76,.025) 81px);
  pointer-events: none;
}

.fg-hero__inner {
  position: relative;
}

.fg-hero__series {
  font-family: var(--font-serif);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brand-gold);
  margin-bottom: 20px;
}

.fg-hero__series::before,
.fg-hero__series::after {
  content: '—';
  margin: 0 10px;
  opacity: .45;
}

.fg-hero__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 14px;
}

.fg-hero__title em {
  font-style: italic;
  color: var(--brand-gold);
}

.fg-hero__sub {
  font-family: var(--font-display);
  font-size: clamp(14px, 2.2vw, 20px);
  font-weight: 400;
  font-style: italic;
  color: rgba(250, 246, 237, .62);
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.5;
}

/* Hero mark wrapper */
.fg-hero__mark {
  margin: 0 auto 48px;
  display: flex;
  justify-content: center;
}

/* Hero search */
.fg-hero__search-wrap {
  max-width: 680px;
  margin: 0 auto 14px;
  position: relative;
}

.fg-hero__search-form {
  position: relative;
}

.fg-hero__search-input {
  width: 100%;
  padding: 17px 56px 17px 22px;
  font-family: var(--font-garamond);
  font-size: 18px;
  font-style: italic;
  color: var(--fg-ink);
  background: var(--fg-parchment);
  border: none;
  border-bottom: 2px solid var(--brand-gold);
  outline: none;
  border-radius: 4px 4px 0 0;
}

.fg-hero__search-input::placeholder {
  color: rgba(28, 24, 16, .38);
}

.fg-hero__search-btn {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--brand-gold);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  padding: 0;
}

/* Quick-search tags */
.fg-hero__tags {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.fg-hero__tag {
  font-size: 11px;
  letter-spacing: .06em;
  color: rgba(250, 246, 237, .45);
  padding: 4px 14px;
  border-radius: 99px;
  border: 1px solid rgba(250, 246, 237, .15);
  cursor: pointer;
  transition: all .15s;
  text-decoration: none;
  background: transparent;
}

.fg-hero__tag:hover {
  color: var(--brand-gold);
  border-color: rgba(201, 168, 76, .4);
}

/* ── STATS STRIP ── */
.fg-stats-strip {
  background: var(--brand-ink);
  border-top: 1px solid rgba(201, 168, 76, .2);
  border-bottom: 1px solid rgba(201, 168, 76, .2);
  padding: 28px 24px;
}

.fg-stats-strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.fg-stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(201, 168, 76, .15);
  width: 100%;
}

.fg-stat {
  background: var(--brand-ink);
  text-align: center;
  padding: 22px 16px;
}

.fg-stat__number {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--brand-gold);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}

.fg-stat__label {
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(250, 246, 237, .4);
}

/* ── FEATURED CLAIM CARD ── */
.fg-claim-featured {
  background: var(--fg-cream);
  border: 1px solid var(--fg-border-2);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 24px;
}

.fg-claim-featured__head {
  background: var(--fg-ink);
  padding: 22px 28px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.fg-claim-featured__q {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  flex: 1;
}

.fg-claim-featured__badge {
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand-gold);
  border: 1px solid rgba(201, 168, 76, .4);
  padding: 4px 12px;
  border-radius: 99px;
  flex-shrink: 0;
  margin-top: 4px;
}

.fg-claim-featured__body {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
}

.fg-claim-featured__verdict-col {
  padding: 24px 28px;
  border-right: 1px solid var(--fg-border);
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: space-between;
}

.fg-claim-featured__meta {
  font-size: 13px;
  color: var(--fg-ink-3);
  line-height: 1.6;
}

.fg-claim-featured__timeline-col {
  padding: 24px 28px;
}

.fg-ev-label {
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fg-gold);
  margin-bottom: 16px;
}

/* ── PILLARS ── */
.fg-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.fg-pillar {
  background: var(--fg-cream);
  border: 1px solid var(--fg-border);
  border-radius: 10px;
  padding: 24px 22px;
  border-top: 3px solid var(--fg-gold);
}

.fg-pillar__icon {
  margin-bottom: 14px;
}

.fg-pillar__title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--fg-ink);
  margin-bottom: 8px;
}

.fg-pillar__body {
  font-size: 14px;
  color: var(--fg-ink-3);
  line-height: 1.7;
}

/* ── METHODOLOGY ── */
.fg-method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.fg-method-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--fg-cream);
  border: 1px solid var(--fg-border);
  border-radius: 8px;
  padding: 12px 14px;
}

.fg-method-chip__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.fg-method-chip__label {
  font-size: 12px;
  color: var(--fg-ink-2);
  line-height: 1.4;
}

.fg-method-chip__label strong {
  display: block;
  font-size: 12px;
  color: var(--fg-ink);
  margin-bottom: 1px;
}

/* ── CLAIMS GRID ── */
.fg-claims-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.fg-claims-grid--3col {
  grid-template-columns: repeat(3, 1fr);
}

.fg-section__cta {
  margin-top: 28px;
  text-align: center;
}

/* ── PAGE WRAP ── */
.fg-page-wrap {
  padding: 0 24px;
}

/* ── RESPONSIVE ── */
@media (max-width: 700px) {
  .fg-stat-strip               { grid-template-columns: repeat(2, 1fr); }
  .fg-pillars                  { grid-template-columns: 1fr; }
  .fg-method-grid              { grid-template-columns: 1fr; }
  .fg-claims-grid--3col        { grid-template-columns: 1fr; }
  .fg-claim-featured__body     { grid-template-columns: 1fr; }
  .fg-claim-featured__verdict-col { border-right: none; border-bottom: 1px solid var(--fg-border); }
}
