/* Advertise page. Type, color, and chrome come from /events/assets/events.css. */

.adv-page .page-head .lede { max-width: 40rem; }
.adv-price {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.08rem;
  color: var(--green);
  margin-top: .9rem;
}

.adv-stats-wrap { margin-top: .5rem; }
.adv-stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.75rem 1.25rem;
  margin: 0 0 1rem;
  padding: 0;
  text-align: center;
  align-items: start;
}
.adv-stat-value {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--forest);
}
.adv-stat:nth-child(4n+2) .adv-stat-value { color: var(--green); }
.adv-stat:nth-child(4n+3) .adv-stat-value { color: #8A6D2B; } /* deep gold already used for small labels */
.adv-stat:nth-child(4n+4) .adv-stat-value { color: var(--green-light); }
.adv-stat.is-soon .adv-stat-value { color: var(--text-muted); font-size: 1.35rem; font-weight: 500; }
.adv-stat-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .07em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--text);
  margin-top: .5rem;
}
.adv-stat-note {
  font-family: var(--serif);
  font-style: italic;
  font-size: .84rem;
  line-height: 1.4;
  color: var(--text-muted);
  margin-top: .45rem;
}
.adv-footnote {
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: .95rem;
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 38rem;
  margin: .35rem auto 0;
}

.adv-section {
  margin-top: 3.25rem;
  padding-top: 2.6rem;
  border-top: 1px solid var(--rule);
}
.adv-section h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.85rem, 3.2vw, 2.45rem);
  line-height: 1.12;
  letter-spacing: -.015em;
  color: var(--forest);
  text-align: center;
  margin-bottom: 1rem;
}
.adv-section .lede {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 1.6rem;
  font-size: 1.12rem;
  line-height: 1.55;
  color: var(--text);
}
.adv-section .adv-copy {
  text-align: left;
  max-width: 40rem;
}

.adv-chart-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  text-align: left;
}
.adv-chart.wide,
.adv-chart-grid > .adv-chart:only-child { grid-column: 1 / -1; }
.adv-chart {
  background: var(--warm-white);
  border: 1px solid var(--rule-strong);
  padding: 1.35rem 1.35rem 1.15rem;
  min-width: 0;
}
.adv-chart figcaption {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.28rem;
  line-height: 1.25;
  color: var(--forest);
  text-align: center;
  margin-bottom: 1rem;
}
.adv-legend {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .45rem 1.15rem;
  margin: 0 0 .9rem;
  padding: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.adv-swatch {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: .4rem;
  border-radius: 2px;
  background: var(--forest);
  vertical-align: -1px;
}
.adv-swatch.s1 { background: #8A6D2B; }
.adv-swatch.s2 { background: var(--green); }
.adv-colhead {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr) 8.5rem;
  gap: .65rem 1.25rem;
  margin-bottom: .15rem;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.adv-colhead span:last-child { text-align: right; }
.adv-rows { list-style: none; margin: 0; padding: 0; }
.adv-row {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr);
  gap: .65rem 1.25rem;
  align-items: center;
  padding: .8rem 0;
}
.adv-chart.has-detail .adv-row { grid-template-columns: 11rem minmax(0, 1fr) 8.5rem; }
.adv-row + .adv-row { border-top: 1px solid var(--rule); }
.adv-name {
  font-family: var(--serif);
  font-size: 1.08rem;
  color: var(--forest);
}
.adv-lines { min-width: 0; display: flex; flex-direction: column; gap: .4rem; }
.adv-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .6rem;
  align-items: center;
}
.adv-line.has-key { grid-template-columns: 6.25rem minmax(0, 1fr) auto; }
.adv-key {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.adv-track {
  display: block;
  height: 16px;
  background: var(--cream-dark);
  border-radius: 2px;
  overflow: hidden;
}
.adv-fill {
  display: block;
  height: 100%;
  background: var(--forest);
  border-radius: 2px;
}
.adv-fill.s1 { background: #8A6D2B; }
.adv-fill.s2 { background: var(--green); }
.adv-num {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .02em;
  color: var(--forest);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  min-width: 4.25rem;
  text-align: right;
  justify-self: end;
}
.adv-money {
  font-family: var(--serif);
  font-size: 1.02rem;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
  justify-self: end;
}
.adv-money-k {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.adv-source, .adv-soon, .adv-handled {
  font-family: var(--serif);
  font-style: italic;
  color: var(--text-muted);
}
.adv-source {
  margin: .95rem 0 0;
  text-align: center;
  font-size: .9rem;
  line-height: 1.45;
}
.adv-soon { text-align: center; font-size: 1.05rem; }
.adv-chart.is-soon { display: flex; flex-direction: column; justify-content: center; min-height: 9rem; }

.adv-ways-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.45rem;
  color: var(--forest);
  text-align: center;
  margin: 1.75rem 0 1rem;
}
.adv-ways {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .9rem;
  align-items: stretch;
}
.adv-way {
  background: var(--warm-white);
  border: 1px solid var(--rule-strong);
  padding: 1.25rem 1.2rem 1.35rem;
}
.adv-way-num {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0;
  color: var(--gold);
  margin-bottom: .5rem;
}
.adv-way h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.32rem;
  line-height: 1.2;
  color: var(--forest);
  margin-bottom: .55rem;
}
.adv-way p { font-size: 1.02rem; line-height: 1.55; color: var(--text); }
.adv-way-note {
  margin-top: .85rem;
  font-family: var(--serif);
  font-style: italic;
  color: var(--green);
}
.adv-handled {
  max-width: 38rem;
  margin: 1.35rem auto 0;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.5;
}

.adv-brands { text-align: center; }
.adv-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  justify-content: center;
  align-items: center;
}
.adv-logos img { height: 42px; width: auto; max-width: 140px; object-fit: contain; }
.adv-logos a:focus-visible { outline: 2px solid var(--forest); outline-offset: 4px; }

.adv-close {
  text-align: center;
  margin-top: 3.25rem;
  padding-top: 2.6rem;
  border-top: 1px solid var(--rule);
}
.adv-email {
  margin: 1rem 0 0;
  font-family: var(--serif);
  font-size: 1.02rem;
  color: var(--text-muted);
}
.adv-email a { color: var(--forest); text-underline-offset: 3px; }
.adv-close .adv-place {
  font-family: var(--mono);
  font-style: normal;
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 1.75rem 0 0;
}

.adv-page a:focus-visible,
.adv-close a:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .adv-stats { grid-template-columns: 1fr 1fr; }
  .adv-chart-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .adv-ways { grid-template-columns: 1fr; }
  .adv-chart { padding: 1.1rem .95rem 1rem; }
}
@media (max-width: 640px) {
  .adv-colhead { display: none; }
  .adv-row,
  .adv-chart.has-detail .adv-row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "name money"
      "bars bars";
    align-items: end;
    gap: .4rem .75rem;
    padding: .85rem 0;
  }
  .adv-name { grid-area: name; }
  .adv-lines { grid-area: bars; }
  .adv-money {
    grid-area: money;
    justify-self: end;
    white-space: normal;
    text-align: right;
  }
  .adv-money-k {
    position: static;
    width: auto;
    height: auto;
    margin: 0 0 .12rem;
    overflow: visible;
    clip: auto;
    display: block;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-muted);
  }
  .adv-line.has-key { grid-template-columns: 5.5rem minmax(0, 1fr) auto; }
}
