@import url("./phoenix.css");

/* Phoenix's regional layer uses the chapter's own Sonoran Desert photography. */
body {
  --paper: #f7f2e9;
  --paper-warm: #eee5d7;
  --ink: #29271f;
  --ink-soft: #5d5a4d;
  --primary: #394c3d;
  --primary-rgb: 57, 76, 61;
  --primary-dark: #241d18;
  --primary-dark-rgb: 36, 29, 24;
  --primary-soft: #655441;
  --primary-soft-rgb: 101, 84, 65;
  --phoenix-sand: #f1e7d7;
  --phoenix-night: #241d18;
  --phoenix-copper: #edb47d;
  --arizona-clay: #944c32;
  --arizona-sage: #394c3d;
  --arizona-map: url("../img/arizona-map.svg");
  --arizona-field: url("../img/sonoran-field.webp");
}

.hero {
  background: linear-gradient(100deg, #241d18f5 10%, #241d18ce 70%, #241d18db),
    url("../img/desert.jpg") center 54% / cover;
}
.hero::before {
  opacity: .26;
  background: var(--arizona-map) 6% 58% / auto 82% no-repeat;
}
.hero .hero-content { position: relative; }
.hero h1 { font-size: clamp(2.8rem, 4.6vw, 4.65rem); line-height: .97; }
.hero .hero-media { border-color: #edb47d80; border-radius: 3px; }
.hero .lead { color: #f4e4d1; }
.hero .eyebrow { font-size: .78rem; }
.phoenix-portrait-caption { padding-block: .85rem .45rem; font-size: .83rem; }
.phoenix-portrait-caption span { font-size: .75rem; }

.site-header, .site-header.solid, .site-header.is-stuck {
  background: #241d18f7;
  border-bottom-color: #c08b574d;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: var(--phoenix-header-offset, 5rem) 0 0;
  z-index: -1;
  background: var(--arizona-map) 4% 48% / auto 96% no-repeat;
  opacity: .21;
  pointer-events: none;
}
.page-hero:has(.page-hero-media)::before {
  background: linear-gradient(100deg, #241d18 5%, #241d18f2 27%, #241d18d9 42%, #241d1866 68%, #241d1824);
}
.page-hero:has(.page-hero-media) { background-color: #241d18; }
.page-hero .page-hero-topo { opacity: .09; }
.page-hero .eyebrow { color: #edb47d; }
.page-hero .lead { color: #f6e8d8; }

.phoenix-region-strip {
  background: #394c3d;
  color: #f7f2e9;
  border-bottom: 1px solid #edb47d66;
}
.phoenix-region-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: 1.3rem;
}
.phoenix-region-strip p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  font-stretch: 85%;
}
.phoenix-region-strip ul {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1.6rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.phoenix-region-strip li { margin: 0; color: #e6e9dc; font-size: .875rem; }
.phoenix-region-strip li + li { border-inline-start: 1px solid #bac5ac66; padding-inline-start: 1.6rem; }

.stats-wrap { background: var(--paper); }
.hero-stats-inner { border-top: 2px solid #b87850; border-radius: 3px; }
.stat-value { color: #394c3d; }
.section-paper { background-color: var(--paper); }
.section-warm { background-color: var(--paper-warm); }
.section-paper:has(.split-media) {
  background: linear-gradient(#f7f2e9f2, #f7f2e9f5),
    var(--arizona-field) right 63% / cover;
}
.split-media { border-radius: 3px; box-shadow: 10px 10px 0 #e2d3bd; }
.split-media .badge-float { background: #394c3d; color: #fff3e2; }
.split-media .badge-float b { color: #edb47d; }
.ticker { background: #944c32; border-block-color: #c48a5d; }
.ticker-item::after { background: #f1c79e; }
.section-warm:has(.grid-4) {
  background: linear-gradient(#eee5d7f2, #eee5d7f7),
    var(--arizona-field) center 68% / cover;
}
.section-warm .card {
  border-top: 2px solid #af7651;
  border-radius: 3px;
  background: #fffdf8f5;
}
.card-icon { color: #394c3d; background: #e8ecdf; }

.section-dark.topo-bg { background: #241d18; }
.section-dark.topo-bg::before {
  background: linear-gradient(100deg, #241d18f0 22%, #241d18dd 72%, #241d18d1),
    var(--arizona-field) center 64% / cover;
}
.section-dark .eyebrow { color: #edb47d; }
.chapter-impact-story { background: #30251e; border-color: #c4976c66; border-radius: 3px; }
.chapter-impact .impact-grid { background: #1c211cc9; border-color: #c4976c55; }
.chapter-impact .impact-value .prefix,
.chapter-impact .impact-value .suffix { color: #edb47d; }

.phoenix-photo-story {
  background: #f6efe3;
  border-top-color: #b783554d;
}
.phoenix-story-head h2, .phoenix-camp h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 74%;
  letter-spacing: -.02em;
  line-height: 1.04;
}
.phoenix-photo-sequence img { border-radius: 2px; }
.phoenix-photo-sequence figcaption { font-size: .875rem; padding-top: .9rem; }
.chapter-gallery {
  background: linear-gradient(#f1e7d7f2, #f1e7d7f7),
    var(--arizona-field) center 65% / cover;
  border-block: 1px solid #a67b4f33;
}
.chapter-social {
  background: linear-gradient(105deg, #241d18f5, #241d18d9),
    url("../img/desert.jpg") center 52% / cover;
}
.chapter-social-card { border-color: #c4976c66; border-radius: 3px; background: #2e251f; }

.page-hero.phoenix-banquet-hero::before {
  background: linear-gradient(98deg, #241d18 0%, #241d18ed 30%, #241d1891 72%, #241d18b8);
}
.phoenix-banquet-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 74%;
  line-height: .97;
  letter-spacing: -.025em;
}
.phoenix-banquet-date { background: #2e251f; color: #fff4e3; border-color: #edb47d99; }
.phoenix-banquet-date > p, .phoenix-banquet-date .phoenix-banquet-month, .phoenix-banquet-date > span:last-child { color: #f3d1aa; }
.phoenix-banquet-date > p, .phoenix-banquet-date > span:last-child { font-size: .8rem; line-height: 1.5; letter-spacing: .12em; }
.phoenix-banquet-date::before { opacity: .12; }
.phoenix-banquet-date-rule { color: #edb47d; }
.phoenix-banquet-date time strong, .phoenix-banquet-year { font-family: var(--font-display); font-weight: 700; }
.chapter-raffle-hero::before {
  background: linear-gradient(105deg, #241d18f0 15%, #241d18c9 68%, #241d18db),
    url("../img/desert.jpg") center 54% / cover;
}
.chapter-raffle-hero::after { opacity: .12; }
.chapter-raffle-hero-photo { background: #30251e; border-radius: 3px; }
.chapter-raffle-section {
  background: linear-gradient(#f1e7d7f5, #f1e7d7fa),
    var(--arizona-field) center 65% / cover;
}
.chapter-raffle-card { border-radius: 3px; }
.tier { border-top: 2px solid #b87850; border-radius: 3px; }
.tier.is-featured { background: #394c3d; border-color: #394c3d; }
.tier.is-featured .tier-blurb, .tier.is-featured .tier-features { color: #e5eadc; }

.cta-band {
  position: relative;
  isolation: isolate;
  background: #394c3d;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #283d2ef2, #283d2ed9),
    var(--arizona-field) center 63% / cover;
  pointer-events: none;
}
.cta-band .eyebrow { color: #f0c499; }
.site-footer {
  background: var(--arizona-map) 96% 40% / auto 120% no-repeat, #211c18;
  border-top: 1px solid #c4976c55;
}
.footer-grid { background: #211c18df; }
.footer-brand span { color: #edb47d; }
.footer-col h4 { color: #edb47d; }

@media (max-width: 960px) {
  .phoenix-region-strip .container { align-items: flex-start; flex-direction: column; gap: .7rem; }
  .phoenix-region-strip ul { gap: .5rem 1rem; }
  .phoenix-region-strip li + li { padding-inline-start: 1rem; }
}
@media (max-width: 720px) {
  .hero::before { opacity: .16; background-size: auto 50%; background-position: 95% 20%; }
  .page-hero::after { background-size: auto 65%; background-position: 2% 3%; opacity: .17; }
  .page-hero:has(.page-hero-media)::before { background: none; }
  .page-hero.phoenix-banquet-hero::before { background: linear-gradient(#241d18 20%, #241d18c9 62%, #241d1840); }
  .phoenix-region-strip li { font-size: .8125rem; }
  .phoenix-region-strip li + li { padding: 0; border: 0; }
  .phoenix-region-strip ul { column-gap: 1.1rem; }
  .split-media { box-shadow: 6px 6px 0 #e2d3bd; }
  .site-footer { background-size: auto 60%; background-position: 96% 90%; }
}

/* Keep small labels legible on Phoenix's dark confirmation and error heroes. */
.mini-hero .eyebrow, .mini-mark { color: #edb47d; }
.mini-mark { border-color: #edb47d99; }

@media (max-width: 720px) {
  .page-hero:not(.phoenix-banquet-hero) .page-hero-media {
    aspect-ratio: 3 / 2;
    mask-image: linear-gradient(to bottom, transparent, #000 14%);
  }
}

/* Event artwork carries its own title and date, without overlapping badges. */
.event-artwork { background: #111417; }
.event-artwork .event-flag, .event-artwork .date-chip { display: none; }
.event-feature-media.event-artwork { display: grid; place-items: center; min-height: 0; }
.event-feature-media.event-artwork img { display: block; width: 100%; height: auto; }
