/**
 * America 250 Celebration — event landing
 * /events/america250/
 */

:root {
  --a25-navy-0: #050a12;
  --a25-navy-1: #0c1829;
  --a25-navy-2: #132238;
  --a25-cream: #f2efe6;
  --a25-cream-muted: rgba(242, 239, 230, 0.78);
  --a25-red: #d4243a;
  --a25-red-deep: #9e1828;
  --a25-blue-glow: #4a7ab8;
  --a25-gold-line: rgba(212, 175, 106, 0.45);
  --a25-font-display: "Cinzel", "Palatino Linotype", Palatino, serif;
  --a25-font-body: "Cormorant Infant", "Times New Roman", Times, serif;
  --a25-font-ui: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --a25-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

.a25-landing {
  --bs-body-bg: var(--a25-navy-0);
  --bs-body-color: var(--a25-cream);
  background-color: var(--a25-navy-0);
  color: var(--a25-cream);
}

.a25-landing .container,
.a25-landing .container-lg {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .a25-landing [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ——— Hero ——— */
.a25-hero {
  position: relative;
  min-height: min(100vh, 920px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 6rem 0 4rem;
  overflow: hidden;
}

@media (min-width: 992px) {
  .a25-hero {
    min-height: 100vh;
    justify-content: center;
    padding: 7rem 0 5rem;
  }
}

.a25-hero__bg {
  position: absolute;
  inset: 0;
  background-color: var(--a25-navy-1);
  background-image: url("/img/events/america250/hero-bg.jpg");
  background-size: cover;
  background-position: 55% 35%;
  transform: scale(1.02);
}

@media (min-width: 992px) {
  .a25-hero__bg {
    background-attachment: fixed;
  }
}

.a25-hero__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 85% 65% at 50% 20%, rgba(5, 10, 18, 0.15) 0%, rgba(5, 10, 18, 0.55) 55%, rgba(5, 10, 18, 0.88) 100%),
    linear-gradient(105deg, rgba(5, 10, 18, 0.92) 0%, rgba(5, 10, 18, 0.35) 42%, rgba(12, 24, 41, 0.55) 100%);
  pointer-events: none;
}

.a25-hero__grain {
  position: absolute;
  inset: -2px;
  opacity: 0.11;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.a25-hero__rim {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.55);
  pointer-events: none;
}

.a25-hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: min(1100px, 100%);
  margin-inline: auto;
}

.a25-hero__logo {
  width: min(94vw, 820px);
  height: auto;
  filter: drop-shadow(0 28px 60px rgba(0, 0, 0, 0.65)) drop-shadow(0 0 40px rgba(74, 122, 184, 0.18));
  margin-bottom: 1.25rem;
}

.a25-hero__tag {
  font-family: var(--a25-font-display);
  font-size: clamp(0.7rem, 1.5vw, 0.82rem);
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: rgba(242, 239, 230, 0.72);
  margin-bottom: 1.75rem;
}

.a25-hero__stars {
  font-family: var(--a25-font-ui);
  font-size: 0.55rem;
  letter-spacing: 0.65em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1.75rem;
  user-select: none;
}

.a25-hero__meta {
  list-style: none;
  padding: 0;
  margin: 0 auto 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1rem;
  max-width: 52rem;
}

.a25-hero__meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--a25-font-ui);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(242, 239, 230, 0.88);
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 16, 28, 0.45);
  backdrop-filter: blur(6px);
}

.a25-hero__meta li i {
  color: var(--a25-red);
  font-size: 1rem;
}

.a25-hero__time {
  color: #ff5a6e !important;
  font-weight: 700;
}

.a25-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1rem;
  margin-bottom: 0.5rem;
}

.a25-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: var(--a25-font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.9rem 1.35rem;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: transform 0.35s var(--a25-ease-out), box-shadow 0.35s var(--a25-ease-out), background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.a25-btn:focus-visible {
  outline: 2px solid var(--a25-cream);
  outline-offset: 3px;
}

.a25-btn--primary {
  color: #fff;
  background: linear-gradient(165deg, var(--a25-red) 0%, var(--a25-red-deep) 100%);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 40px rgba(180, 20, 40, 0.35);
}

.a25-btn--primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(180, 20, 40, 0.45);
}

.a25-btn--ghost {
  color: var(--a25-cream);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.28);
}

.a25-btn--ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.45);
}

/* ——— Intro band ——— */
.a25-band {
  position: relative;
  padding: 3.5rem 0;
  background: linear-gradient(180deg, var(--a25-navy-0) 0%, var(--a25-navy-1) 40%, var(--a25-navy-2) 100%);
}

.a25-band::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(720px, 88vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--a25-gold-line), transparent);
}

.a25-band__lead {
  font-family: var(--a25-font-body);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.55;
  text-align: center;
  max-width: 46rem;
  margin: 0 auto 2.5rem;
  color: var(--a25-cream-muted);
}

.a25-band__lead strong {
  color: var(--a25-cream);
  font-weight: 600;
}

.a25-cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

/* Mobile: one grouped “spec” block instead of four heavy cards */
@media (max-width: 767.98px) {
  .a25-cards {
    gap: 0;
    padding: 0.15rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 2px;
    background: rgba(8, 16, 28, 0.35);
    max-width: 26rem;
    margin-inline: auto;
  }

  .a25-card {
    padding: 1rem 0 1.05rem;
    border: none;
    border-radius: 0;
    background: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 0;
  }

  .a25-card:last-child {
    border-bottom: none;
    padding-bottom: 1rem;
  }

  .a25-card::after {
    display: none;
  }

  .a25-card__label {
    margin-bottom: 0.3rem;
  }
}

@media (min-width: 768px) {
  .a25-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (min-width: 1200px) {
  .a25-cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

.a25-card {
  position: relative;
}

@media (min-width: 768px) {
  .a25-card {
    padding: 1.35rem 1.25rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.06) 0%, rgba(8, 16, 28, 0.5) 100%);
    min-height: 100%;
  }

  .a25-card::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--a25-red), transparent);
    opacity: 0.85;
  }
}

.a25-card__label {
  font-family: var(--a25-font-display);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(242, 239, 230, 0.5);
  margin-bottom: 0.35rem;
}

.a25-card__value {
  font-family: var(--a25-font-ui);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  line-height: 1.35;
}

.a25-card--accent .a25-card__value {
  color: #ff7a8a;
}

/* ——— Narrative ——— */
.a25-story {
  position: relative;
  padding: 4rem 0 4.5rem;
  background: var(--a25-navy-0);
}

.a25-story::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 70% 30%, rgba(74, 122, 184, 0.08), transparent 55%);
  pointer-events: none;
}

.a25-section-kicker {
  font-family: var(--a25-font-display);
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(242, 239, 230, 0.45);
  margin-bottom: 0.5rem;
}

.a25-section-title {
  font-family: var(--a25-font-display);
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.a25-prose {
  font-family: var(--a25-font-body);
  font-size: clamp(1.12rem, 1.65vw, 1.28rem);
  line-height: 1.65;
  color: var(--a25-cream-muted);
}

.a25-prose p + p {
  margin-top: 1rem;
}

/* ——— Guest ——— */
.a25-guest {
  position: relative;
  padding: 3rem 0 0;
  background: linear-gradient(180deg, var(--a25-navy-1) 0%, #0a1422 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  overflow: visible;
}

/* Floor padding: combo sits on the section baseline; breathing room on small screens */
@media (max-width: 991px) {
  .a25-guest {
    padding-bottom: 1.25rem;
  }
}

.a25-guest__grid {
  display: grid;
  gap: 2rem;
  align-items: stretch;
}

@media (max-width: 991px) {
  .a25-guest__body {
    order: 1;
  }

  .a25-guest__visual {
    order: 2;
    margin-top: 0.5rem;
  }
}

@media (min-width: 992px) {
  .a25-guest__grid {
    grid-template-columns: minmax(300px, 1.15fr) minmax(0, 1fr);
    gap: 2rem 2.5rem;
    align-items: stretch;
  }
}

.a25-guest__visual {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 0;
}

@media (min-width: 992px) {
  .a25-guest__visual {
    justify-content: flex-start;
    padding-right: 0.5rem;
  }
}

/* Robert + book cutout: RGBA PNG */
.a25-guest__cutout {
  width: min(100%, 600px);
  height: auto;
  max-height: min(62vh, 620px);
  object-fit: contain;
  object-position: bottom center;
  display: block;
  filter: drop-shadow(0 22px 50px rgba(0, 0, 0, 0.45));
  transition: transform 0.45s var(--a25-ease-out), filter 0.35s ease;
}

@media (min-width: 992px) {
  .a25-guest__cutout {
    width: min(100%, 780px);
    max-height: min(92vh, 920px);
  }
}

@media (hover: hover) {
  .a25-guest__cutout:hover {
    transform: translateY(-4px);
    filter: drop-shadow(0 28px 55px rgba(0, 0, 0, 0.5));
  }
}

.a25-guest__body .a25-section-title {
  margin-bottom: 0.75rem;
}

.a25-guest__body {
  align-self: start;
}

.a25-guest__role {
  font-family: var(--a25-font-body);
  font-size: 1.2rem;
  font-style: italic;
  color: rgba(255, 122, 138, 0.95);
  margin-bottom: 1.25rem;
}

.a25-pullquote {
  font-family: var(--a25-font-body);
  font-size: 1.22rem;
  line-height: 1.55;
  border-left: 3px solid var(--a25-red);
  padding-left: 1.25rem;
  margin: 0;
  color: var(--a25-cream);
}

.a25-pullquote > p {
  margin: 0;
}

.a25-pullquote > p + p {
  margin-top: 0.85rem;
}

.a25-guest__body .a25-pullquote {
  font-size: clamp(1.02rem, 1.35vw, 1.14rem);
  line-height: 1.62;
}

/* ——— Faith callout ———
   Avoid a “floating card” (border + inset fill + shadow): it fights the full-bleed
   sections above and reads odd flush under the guest row with no top rhythm. */
.a25-callout {
  padding: 3.25rem 0 5rem;
  background: var(--a25-navy-0);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.a25-callout__box {
  position: relative;
  max-width: 42rem;
  margin-inline: auto;
  padding: 0 1.25rem;
  border: none;
  background: transparent;
  box-shadow: none;
}

.a25-callout__box::before {
  content: "";
  display: block;
  width: min(10rem, 42vw);
  height: 1px;
  margin: 0 auto 1.75rem;
  background: linear-gradient(90deg, transparent, var(--a25-gold-line), transparent);
}

@media (min-width: 768px) {
  .a25-callout__box {
    padding: 0 1.5rem;
  }
}

.a25-callout__box p {
  margin: 0;
  font-family: var(--a25-font-body);
  font-size: clamp(1.12rem, 1.65vw, 1.32rem);
  line-height: 1.65;
  color: var(--a25-cream-muted);
  text-align: center;
  font-style: italic;
}

/* ——— Closing strip ——— */
.a25-close {
  padding: 3rem 0 4rem;
  text-align: center;
  background: linear-gradient(180deg, #070d14 0%, #03060a 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.a25-close__stars {
  letter-spacing: 0.5em;
  font-size: 0.5rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1rem;
}

.a25-close__line {
  font-family: var(--a25-font-display);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(242, 239, 230, 0.55);
}
