:root {
  --ag-strip-h: 68px;
  --header-h: 88px;
}

body.has-amayah-schedule { padding-top: var(--ag-strip-h); }

/* Compact next-game strip. It owns the top edge until the first scroll, then
   yields that space to the site navigation. */
.ag-schedule {
  position: fixed;
  inset: 0 0 auto;
  z-index: 110;
  height: var(--ag-strip-h);
  overflow: hidden;
  background: var(--navy, #191933);
  color: #fff;
  border-bottom: 2px solid var(--sun, #ffb627);
  transition: transform 0.28s ease;
}
body.has-amayah-schedule .header {
  top: var(--ag-strip-h);
  bottom: auto;
  transition: top 0.28s ease, background-color 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
body.ag-schedule-scrolled .ag-schedule { transform: translateY(-100%); }
body.ag-schedule-scrolled .header { top: 0; }

.ag-schedule__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  grid-template-areas: "eyebrow matchup countdown watch";
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2rem);
  height: 100%;
  max-width: 1440px;
}
.ag-schedule__topline,
.ag-schedule__games,
.ag-schedule__game { display: contents; }
.ag-schedule__game[hidden] { display: none; }

.ag-schedule__eyebrow {
  grid-area: eyebrow;
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 0.48rem 0.75rem;
  border: 1px solid rgba(255, 182, 39, 0.35);
  border-radius: 999px;
  background: rgba(255, 182, 39, 0.1);
  color: var(--sun, #ffb627);
  font-family: var(--font-body, "Inter", system-ui, sans-serif);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.ag-schedule__pulse {
  width: 0.4rem;
  height: 0.4rem;
  margin-right: 0.38rem;
  border-radius: 50%;
  background: var(--sun, #ffb627);
  box-shadow: 0 0 0 0 rgba(255, 182, 39, 0.5);
  animation: ag-schedule-pulse 2.2s ease-out infinite;
}
.ag-schedule__matchup {
  grid-area: matchup;
  display: flex;
  align-items: center;
  min-width: 0;
}
.ag-schedule__date {
  flex: none;
  min-width: 3.6rem;
  padding-right: 0.8rem;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--sun, #ffb627);
  font-family: var(--font-display, "Inter", system-ui, sans-serif);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}
.ag-schedule__opponent-wrap { min-width: 0; padding-left: 0.8rem; }
.ag-schedule__opponent {
  overflow: hidden;
  font-family: var(--font-display, "Inter", system-ui, sans-serif);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}
.ag-schedule__opponent span {
  color: var(--sun, #ffb627);
  font-size: 0.68em;
  letter-spacing: 0.08em;
}
.ag-schedule__location { display: none; }
.ag-schedule__countdown {
  grid-area: countdown;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  color: #fff;
  white-space: nowrap;
}
.ag-schedule__calendar {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.45rem;
  padding-top: 0.28rem;
  overflow: visible;
  border: 1px solid rgba(255, 182, 39, 0.85);
  border-radius: 0.3rem;
  background: #fff8ed;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.28);
  color: var(--navy, #191933);
}
.ag-schedule__calendar::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 0.4rem;
  border-radius: 0.25rem 0.25rem 0 0;
  background: var(--sun, #ffb627);
}
.ag-schedule__calendar::after {
  content: "";
  position: absolute;
  top: -0.17rem;
  left: 0.38rem;
  width: 0.18rem;
  height: 0.38rem;
  border-radius: 999px;
  background: #fff8ed;
  box-shadow: 1.05rem 0 0 #fff8ed;
}
.ag-schedule__calendar strong {
  position: relative;
  z-index: 1;
  font-family: var(--font-display, "Inter", system-ui, sans-serif);
  font-size: 1.13rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}
.ag-schedule__calendar strong.is-word { font-size: 0.52rem; }
.ag-schedule__countdown-label {
  font-family: var(--font-display, "Inter", system-ui, sans-serif);
  font-size: 0.57rem;
  font-weight: 750;
  letter-spacing: 0.045em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.ag-schedule__countdown.is-live .ag-schedule__calendar {
  width: auto;
  min-width: 7.4rem;
  padding-inline: 0.45rem;
}
.ag-schedule__countdown.is-live strong { font-size: 0.61rem; letter-spacing: 0.02em; }
.ag-schedule__countdown.is-live .ag-schedule__countdown-label { display: none; }
.ag-schedule__coverage { display: none; }
.ag-schedule__watch {
  grid-area: watch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-height: 2.4rem;
  padding: 0.5rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.035em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.ag-schedule__watch:hover,
.ag-schedule__watch:focus-visible {
  border-color: var(--sun, #ffb627);
  background: var(--sun, #ffb627);
  color: var(--navy, #191933);
}

@media (min-width: 861px) {
  .ag-schedule__matchup { justify-self: center; }
}

/* Keep the complete desktop navigation legible on small laptops instead of
   letting flexbox crush the Sunshine Garcia logo into the remaining gap. */
@media (min-width: 861px) and (max-width: 980px) {
  .header .brand { flex: none; }
  .header .brand__logo { height: 54px; }
  .header .nav { gap: 0.65rem; }
  .header .header__cta .btn--outline { display: none; }
}

/* Generated, breakpoint-specific hero artwork. The old wordmark and cutout are
   removed visually; the updated H1 stays available to search engines and AT. */
.home .hero {
  margin-top: var(--header-h);
  background: var(--bg, #fff8ef);
}
.home .hero::before { display: none; }
.home .hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 19%;
  background: linear-gradient(to top, rgba(255, 248, 239, 0.72), transparent);
  pointer-events: none;
}
.home .hero__art {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  overflow: hidden;
}
.home .hero__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.home .hero__inner {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: 1680 / 943;
  min-height: 0;
  padding: 0;
}
.home .hero__content { position: static; max-width: none; padding: 0; }
.home .hero__eyebrow,
.home .hero__proof,
.home .hero__micro,
.home .hero__figure { display: none; }
.home .wordmark {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.home .hero__cta {
  position: absolute;
  left: clamp(1.5rem, 8vw, 7.5rem);
  bottom: clamp(1.7rem, 4vh, 3rem);
  z-index: 3;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.7rem;
  margin: 0;
}
.home .hero__cta .btn { box-shadow: 0 10px 28px rgba(25, 25, 51, 0.14); }

@keyframes ag-schedule-pulse {
  70%, 100% { box-shadow: 0 0 0 0.5rem rgba(255, 182, 39, 0); }
}

@keyframes ag-cta-attention {
  0%, 18% { opacity: 0.72; transform: scale(1); }
  72%, 100% { opacity: 0; transform: scale(1.13, 1.24); }
}

@media (max-width: 860px) {
  :root { --ag-strip-h: 54px; --header-h: 66px; }

  body.has-amayah-schedule .mobile-nav {
    inset-block-start: calc(var(--ag-strip-h) + var(--header-h));
    transition: inset-block-start 0.28s ease, opacity 0.3s ease, transform 0.3s var(--ease);
  }
  body.ag-schedule-scrolled .mobile-nav { inset-block-start: var(--header-h); }

  .ag-schedule__inner {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-rows: 1fr;
    grid-template-areas: "matchup countdown watch";
    gap: 0.5rem;
    padding-block: 0;
  }
  .ag-schedule__topline { display: none; }
  .ag-schedule__countdown { justify-self: center; gap: 0.08rem; }
  .ag-schedule__calendar { width: 2.1rem; height: 2rem; }
  .ag-schedule__calendar strong { font-size: 0.85rem; }
  .ag-schedule__countdown-label { font-size: 0.45rem; letter-spacing: 0.025em; }
  .ag-schedule__watch {
    justify-self: end;
    min-height: 1.75rem;
    padding-inline: 0.52rem;
    font-size: 0.5rem;
  }
  .ag-schedule__matchup { align-self: center; width: 100%; }
  .ag-schedule__date { min-width: 2.55rem; padding-right: 0.42rem; font-size: 0.67rem; }
  .ag-schedule__opponent-wrap { padding-left: 0.42rem; }
  .ag-schedule__opponent { font-size: 0.64rem; }

  .home .hero__inner {
    width: 100%;
    height: clamp(620px, calc(100svh - var(--ag-strip-h) - var(--header-h)), 760px);
    aspect-ratio: auto;
  }
  .home .hero__art img { object-position: center top; }
  .home .hero__cta {
    left: var(--gutter, 1.25rem);
    right: var(--gutter, 1.25rem);
    bottom: 1rem;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 0.6rem;
  }
  .home .hero__cta .btn {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }
  .home .hero__cta .btn--lg {
    --_pad-y: 0.78em;
    --_pad-x: 1.2em;
    font-size: 0.76rem;
    white-space: nowrap;
  }
}

/* Phones use the portrait campaign artwork. Wider mobile devices and portrait
   tablets use the landscape composition at its native ratio, so the name,
   player and ball remain visible without a tall center crop. */
@media (min-width: 521px) and (max-width: 860px) {
  .home .hero__inner {
    height: auto;
    aspect-ratio: 1680 / 943;
  }
  .home .hero__art img { object-position: center; }
}

/* Mobile browser toolbars can sit over the visual viewport even when they do
   not contribute a safe-area inset. Keep both hero actions comfortably above
   that control shelf on phones. */
@media (max-width: 520px) {
  .home .hero__cta {
    bottom: clamp(3.5rem, 8svh, 4.5rem);
  }
}

@media (min-width: 400px) and (max-width: 860px) {
  .ag-schedule__inner { gap: 0.7rem; }
  .ag-schedule__date { min-width: 2.75rem; padding-right: 0.48rem; font-size: 0.72rem; }
  .ag-schedule__opponent-wrap { padding-left: 0.48rem; }
  .ag-schedule__opponent { font-size: 0.68rem; }
  .ag-schedule__calendar { width: 2.2rem; height: 2.06rem; }
  .ag-schedule__calendar strong { font-size: 0.9rem; }
  .ag-schedule__countdown-label { font-size: 0.47rem; }
  .ag-schedule__watch { padding-inline: 0.62rem; font-size: 0.52rem; }
}

@media (max-width: 380px) {
  .ag-schedule__inner { gap: 0.28rem; }
  .ag-schedule__watch { padding-inline: 0.4rem; font-size: 0.45rem; }
  .ag-schedule__date { min-width: 2.4rem; padding-right: 0.34rem; font-size: 0.61rem; }
  .ag-schedule__opponent-wrap { padding-left: 0.38rem; }
  .ag-schedule__opponent { font-size: 0.58rem; }
  .ag-schedule__calendar { width: 1.7rem; height: 1.82rem; }
  .ag-schedule__calendar strong { font-size: 0.78rem; }
  .ag-schedule__countdown-label { font-size: 0.38rem; }
}

@media (prefers-reduced-motion: reduce) {
  .ag-schedule,
  body.has-amayah-schedule .header,
  body.has-amayah-schedule .mobile-nav { transition: none; }
  .ag-schedule__pulse { animation: none; }
}

/* ============================================================
   AMAYAH "SUNSHINE" GARCIA — CAMPAIGN SYSTEM
   Extends the hero's cream paper, Husky purple, vintage gold,
   condensed type and hard-edged athletic graphics site-wide.
   ============================================================ */

:root {
  --ag-cream: #fff8ed;
  --ag-paper: #f5ead7;
  --ag-purple: #321863;
  --ag-purple-deep: #1c123a;
  --ag-gold: #b49a61;
  --ag-gold-bright: #ffb627;
  --ag-ink: #19152a;
  --ag-rule: rgba(50, 24, 99, 0.2);
  --ag-hard-shadow: 8px 8px 0 rgba(50, 24, 99, 0.14);
}

body {
  color: var(--ag-ink);
  background-color: var(--ag-cream);
  background-image:
    radial-gradient(circle at 18% 12%, rgba(180, 154, 97, 0.09) 0 1px, transparent 1.4px),
    radial-gradient(circle at 76% 42%, rgba(50, 24, 99, 0.045) 0 1px, transparent 1.3px);
  background-size: 23px 23px, 31px 31px;
}

body:not(.home) .header,
.header.is-solid {
  background: rgba(255, 248, 237, 0.96);
  border-bottom: 2px solid var(--ag-purple);
  box-shadow: 0 3px 0 var(--ag-gold);
  backdrop-filter: blur(10px);
}

.nav__link {
  font-family: var(--font-display, "Inter", sans-serif);
  font-weight: 700;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}
.nav__link::after { height: 3px; background: var(--ag-gold-bright); }

.section,
.page-head {
  position: relative;
  isolation: isolate;
}
.section--alt,
.page-head {
  overflow: hidden;
  background-color: var(--ag-paper);
  background-image:
    linear-gradient(135deg, transparent 0 86%, rgba(50, 24, 99, 0.055) 86% 88%, transparent 88%),
    radial-gradient(circle at 15% 20%, rgba(180, 154, 97, 0.11) 0 1px, transparent 1.5px);
  background-size: 100% 100%, 25px 25px;
}
.section--alt::before,
.page-head::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: -1;
  width: 7px;
  background: linear-gradient(var(--ag-purple) 0 72%, var(--ag-gold-bright) 72% 100%);
}

.section-head { max-width: 49rem; }
.section-head__title,
.hero__title {
  color: var(--ag-purple);
  font-weight: 700;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}
.section-head__title::first-line,
.hero__title::first-line { text-wrap: balance; }
.section-head__lede,
.hero__lead { color: rgba(25, 21, 42, 0.74); }

.eyebrow {
  gap: 0.48rem;
  width: max-content;
  padding: 0.38rem 0.62rem;
  border: 1px solid rgba(50, 24, 99, 0.28);
  background: rgba(255, 248, 237, 0.82);
  color: var(--ag-purple);
  font-family: var(--font-display, "Inter", sans-serif);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1;
}
.eyebrow__sun { color: var(--ag-gold-bright); }
.arc-underline::after { border-color: var(--ag-gold-bright); }

.btn {
  border-radius: 2px;
  font-family: var(--font-display, "Inter", sans-serif);
  font-weight: 800;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}
.btn--gold {
  border-color: var(--ag-gold-bright);
  background: var(--ag-gold-bright);
  color: var(--ag-purple-deep);
  box-shadow: 5px 5px 0 var(--ag-purple);
}
.btn--gold:hover,
.btn--gold:focus-visible {
  background: #ffc24a;
  color: var(--ag-purple-deep);
  box-shadow: 2px 2px 0 var(--ag-purple);
  transform: translate(3px, 3px);
}
.hero__cta .btn--gold,
.header__cta .btn--gold {
  border-color: #27D623;
  background: #27D623;
  color: var(--ag-purple-deep);
}
.home .hero__cta .btn--gold {
  position: relative;
  isolation: isolate;
}
.home .hero__cta .btn--gold::after {
  content: "";
  position: absolute;
  inset: -2px;
  border: 2px solid #27D623;
  border-radius: inherit;
  pointer-events: none;
  animation: ag-cta-attention 2.25s ease-out infinite;
}
.hero__cta .btn--gold:hover,
.hero__cta .btn--gold:focus-visible,
.header__cta .btn--gold:hover,
.header__cta .btn--gold:focus-visible {
  border-color: #48ea47;
  background: #48ea47;
  color: var(--ag-purple-deep);
}
.btn--outline {
  border: 2px solid var(--ag-purple);
  color: var(--ag-purple);
  background: rgba(255, 248, 237, 0.84);
}
.btn--outline:hover,
.btn--outline:focus-visible { background: var(--ag-purple); color: #fff; }

.cards { gap: clamp(1.15rem, 2.5vw, 2rem); }
.card,
.press,
.bio,
.cat {
  border: 1px solid rgba(50, 24, 99, 0.28);
  border-radius: 2px;
  background: rgba(255, 252, 246, 0.95);
  box-shadow: var(--ag-hard-shadow);
}
.card { overflow: visible; }
.card::before,
.press::before,
.bio::before,
.cat::before {
  content: "";
  display: block;
  height: 5px;
  background: linear-gradient(90deg, var(--ag-purple) 0 76%, var(--ag-gold-bright) 76% 100%);
}
.card:hover,
.press:hover {
  border-color: var(--ag-purple);
  box-shadow: 4px 4px 0 rgba(50, 24, 99, 0.22);
  transform: translate(4px, 4px);
}
.card__media { border-bottom: 1px solid rgba(50, 24, 99, 0.22); }
.card__title,
.press__headline,
.cat__name { color: var(--ag-purple); font-weight: 700; }
.card__tag,
.post-meta__tag {
  border-radius: 0;
  font-family: var(--font-display, "Inter", sans-serif);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.card__tag--purple { background: var(--ag-purple); }

.video,
.story__figure,
.tl-figure,
.prose img {
  border: 2px solid var(--ag-purple);
  border-radius: 2px;
  box-shadow: 9px 9px 0 var(--ag-gold);
}
.video { clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 0 100%); }
.video__label {
  border-radius: 0;
  background: var(--ag-gold-bright);
  color: var(--ag-purple-deep);
  font-family: var(--font-display, "Inter", sans-serif);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.uw-feature {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  padding: clamp(1.1rem, 3vw, 2rem);
  border: 2px solid var(--ag-purple);
  background:
    linear-gradient(135deg, transparent 0 74%, rgba(50, 24, 99, 0.055) 74% 76%, transparent 76%),
    rgba(255, 248, 237, 0.94);
  box-shadow: 9px 9px 0 var(--ag-gold);
}
.uw-feature::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--ag-gold-bright) 0 30%, var(--ag-purple) 30% 100%);
}
.uw-feature__copy { min-width: 0; }
.uw-feature__title {
  margin-top: 1rem;
  color: var(--ag-purple);
  font-family: var(--font-display, "Inter", sans-serif);
  font-size: var(--step-3);
  font-weight: 750;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  text-wrap: balance;
}
.uw-feature__title em {
  color: var(--ag-gold-bright);
  font-family: "Fraunces", serif;
  font-weight: 600;
  text-transform: none;
}
.uw-feature__lede {
  max-width: 34rem;
  margin: 1rem 0 1.15rem;
  color: rgba(25, 21, 42, 0.74);
  font-size: var(--step-0);
  line-height: 1.65;
}
.uw-feature__media {
  position: relative;
  width: 100%;
  max-width: 540px;
  aspect-ratio: 4 / 5;
  justify-self: end;
  min-width: 0;
  overflow: hidden;
  border: 2px solid var(--ag-purple);
  background: #fff;
  box-shadow: 6px 6px 0 var(--ag-gold-bright);
}
.uw-feature__frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}
.story__figure::before { border-color: var(--ag-gold-bright); }
.gallery {
  gap: 5px;
  padding: 5px;
  border: 2px solid var(--ag-purple);
  background: var(--ag-purple);
  box-shadow: 9px 9px 0 var(--ag-gold);
}
.gallery__item { border-radius: 0; }

.follow,
.nil,
.footer {
  position: relative;
  overflow: hidden;
  color: var(--ag-cream);
  background-color: var(--ag-purple-deep);
  background-image:
    linear-gradient(150deg, transparent 0 67%, rgba(180, 154, 97, 0.15) 67% 68%, transparent 68%),
    radial-gradient(circle at 82% 18%, rgba(255, 182, 39, 0.1), transparent 28%);
}
.follow::before,
.nil::before,
.footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--ag-gold-bright) 0 24%, var(--ag-purple) 24% 100%);
}
.follow .section-head__title,
.nil__title,
.footer__brand-name,
.footer__col-title { color: var(--ag-cream); }
.follow .eyebrow,
.nil .eyebrow { color: var(--ag-gold-bright); background: rgba(28, 18, 58, 0.55); border-color: rgba(255, 182, 39, 0.45); }
.social,
.footer__list a,
.footer__tag,
.footer__bottom { color: rgba(255, 248, 237, 0.74); }
.social { border-color: rgba(255, 248, 237, 0.18); }
.footer { border-top: 0; }

/* Campaign continuity: every section now inherits the hero's paper, diagonal
   motion and split purple/gold framing instead of falling back to flat bands. */
.home .hero {
  border-bottom: 3px solid var(--ag-purple);
  box-shadow: 0 4px 0 var(--ag-gold-bright);
}

#brx-content,
.brxe-code > main {
  background-color: var(--ag-cream);
}

.home main > .section:not(.follow):not(.nil):not(.signup),
body:not(.home) main .section:not(.follow):not(.nil):not(.signup) {
  background-color: var(--ag-cream);
  background-image:
    linear-gradient(145deg, transparent 0 88%, rgba(50, 24, 99, 0.045) 88% 89.5%, transparent 89.5%),
    radial-gradient(circle at 14% 18%, rgba(180, 154, 97, 0.1) 0 1px, transparent 1.45px);
  background-size: 100% 100%, 25px 25px;
}

.home main > #story {
  background-image:
    radial-gradient(circle at 82% 48%, rgba(255, 182, 39, 0.12), transparent 27%),
    linear-gradient(32deg, transparent 0 82%, rgba(50, 24, 99, 0.045) 82% 83.5%, transparent 83.5%),
    radial-gradient(circle at 15% 18%, rgba(180, 154, 97, 0.09) 0 1px, transparent 1.45px);
  background-size: 100% 100%, 100% 100%, 25px 25px;
}

.home main > #journal {
  background-image:
    linear-gradient(150deg, rgba(50, 24, 99, 0.04) 0 15%, transparent 15% 86%, rgba(180, 154, 97, 0.07) 86%),
    radial-gradient(circle at 78% 22%, rgba(50, 24, 99, 0.055) 0 1px, transparent 1.4px);
  background-size: 100% 100%, 29px 29px;
}

.home main > .section::after,
body:not(.home) main .section::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 5;
  height: 3px;
  background: linear-gradient(90deg, var(--ag-gold-bright) 0 24%, var(--ag-purple) 24% 100%);
  pointer-events: none;
}
.home main > .section:nth-of-type(even)::after,
body:not(.home) main .section:nth-of-type(even)::after {
  background: linear-gradient(90deg, var(--ag-purple) 0 76%, var(--ag-gold-bright) 76% 100%);
}

.page-head::after {
  content: "";
  position: absolute;
  right: clamp(-7rem, -4vw, -2rem);
  bottom: -58%;
  z-index: -1;
  width: clamp(15rem, 38vw, 35rem);
  aspect-ratio: 1;
  border: clamp(16px, 2.2vw, 32px) solid rgba(50, 24, 99, 0.08);
  outline: 4px solid rgba(180, 154, 97, 0.2);
  transform: rotate(34deg);
}

.signup {
  overflow: hidden;
  color: var(--ag-cream);
  background-color: var(--ag-purple-deep);
  background-image:
    linear-gradient(148deg, transparent 0 66%, rgba(180, 154, 97, 0.18) 66% 67.5%, transparent 67.5%),
    radial-gradient(circle at 82% 12%, rgba(255, 182, 39, 0.13), transparent 28%);
}
.signup::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--ag-gold-bright) 0 24%, var(--ag-purple) 24% 100%);
}
.signup__inner { position: relative; z-index: 1; }
.signup .eyebrow {
  color: var(--ag-gold-bright);
  border-color: rgba(255, 182, 39, 0.48);
  background: rgba(28, 18, 58, 0.62);
}
.signup__title {
  margin-top: 0.8rem;
  color: var(--ag-cream);
  font-family: var(--font-display, "Inter", sans-serif);
  font-size: var(--step-3);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}
.signup__lede {
  max-width: 49ch;
  margin-top: 0.8rem;
  color: rgba(255, 248, 237, 0.76);
}
.signup__form {
  max-width: 38rem;
  margin-top: 1.25rem;
  padding: clamp(0.85rem, 2vw, 1.35rem);
  border: 1px solid rgba(255, 182, 39, 0.46);
  background: rgba(255, 248, 237, 0.075);
  box-shadow: 7px 7px 0 rgba(180, 154, 97, 0.22);
}
.signup__fine {
  margin-top: 0.9rem;
  color: rgba(255, 248, 237, 0.58);
  font-size: var(--step--1);
}
.signup .ff-amayah .fluentform .ff-el-input--label label { color: var(--ag-cream); }
.signup .ff-amayah .fluentform .ff-btn-submit:not(.ff_btn_no_style) {
  border-color: #27D623;
  background: #27D623;
  color: var(--ag-purple-deep);
  box-shadow: 4px 4px 0 var(--ag-gold);
}

.social {
  position: relative;
  min-height: 6.5rem;
  padding: 1rem;
  border: 1px solid rgba(255, 248, 237, 0.16);
  background: rgba(255, 248, 237, 0.035);
}
.social::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--ag-gold-bright) 0 30%, rgba(255, 248, 237, 0.14) 30% 100%);
}
.social:first-child { border-left: 1px solid rgba(255, 248, 237, 0.16); }

.footer__social {
  border-color: rgba(255, 182, 39, 0.55);
  background: rgba(255, 248, 237, 0.035);
}
.footer__list a:hover { color: var(--ag-gold-bright); }

.prose { position: relative; }
.prose h2,
.prose h3 { color: var(--ag-purple); font-weight: 700; text-transform: uppercase; }
.prose h2 {
  padding-bottom: 0.35rem;
  border-bottom: 3px solid var(--ag-gold-bright);
}
.prose blockquote {
  border-left: 7px solid var(--ag-purple);
  background: var(--ag-paper);
  box-shadow: 6px 6px 0 rgba(180, 154, 97, 0.45);
}
.prose a,
.link { text-decoration-color: var(--ag-gold-bright); }
.form .field__control,
.ff-amayah .fluentform .ff-el-form-control {
  border-radius: 2px;
  border-color: rgba(50, 24, 99, 0.34);
  background: rgba(255, 252, 246, 0.95);
}

@media (max-width: 860px) {
  .header,
  body:not(.home) .header,
  .header.is-solid {
    background: rgba(255, 248, 237, 0.97);
    border-bottom: 1px solid var(--ag-purple);
    box-shadow: 0 2px 0 var(--ag-gold);
  }
  .section--alt::before,
  .page-head::before { width: 4px; }
  .section-head__title,
  .hero__title { letter-spacing: -0.025em; }
  .eyebrow { font-size: 0.61rem; padding: 0.34rem 0.5rem; }
  .card,
  .press,
  .bio,
  .cat { box-shadow: 4px 4px 0 rgba(50, 24, 99, 0.15); }
  .video,
  .story__figure,
  .tl-figure,
  .prose img,
  .gallery { box-shadow: 5px 5px 0 var(--ag-gold); }
  .home .hero__cta .btn--gold { box-shadow: 4px 4px 0 var(--ag-purple); }

  .uw-feature {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.35rem;
    margin-top: 2.25rem;
    padding: 1rem;
    box-shadow: 5px 5px 0 var(--ag-gold);
  }
  .uw-feature__title { margin-top: 0.85rem; }
  .uw-feature__lede { margin-block: 0.8rem 1rem; }
  .uw-feature__media {
    max-width: none;
    justify-self: stretch;
    box-shadow: 4px 4px 0 var(--ag-gold-bright);
  }

  .home main > .section[id],
  body:not(.home) main .section[id] {
    scroll-margin-top: calc(var(--header-h) + 0.75rem);
  }

  /* The desktop gallery is an intentionally cropped mosaic. On phones every
     source is a 4:5 portrait, so give each image its native frame instead of
     forcing people through short landscape cells. */
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
    grid-template-areas: none;
    gap: 5px;
  }
  .gallery__item,
  .g1,
  .g2,
  .g3,
  .g4,
  .g5 {
    grid-area: auto;
    aspect-ratio: 4 / 5;
    min-width: 0;
  }
  .gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transform: none;
  }
  .gallery__item:hover img { transform: none; }
  .gallery__cap {
    padding: 1.5rem 0.65rem 0.55rem;
    font-size: 0.56rem;
    letter-spacing: 0.09em;
    opacity: 1;
    transform: none;
  }
  .gallery .g1 {
    grid-column: 1 / -1;
    aspect-ratio: 4 / 5;
  }
}

@media (prefers-reduced-motion: reduce) {
  .card:hover,
  .press:hover,
  .btn--gold:hover,
  .btn--gold:focus-visible { transform: none; }
  .home .hero__cta .btn--gold::after { animation: none; }
}
