@font-face {
  font-family: "Press";
  src: url("../fonts/press-start-2p-v16-latin-regular.woff2") format("woff2");
  font-display: swap;
}

:root {
  --black: #151515;
  --panel: #202020;
  --cream: #f1efe8;
  --muted: #aaa7a0;
  --coral: #ff3d5a;
  --serif: "Forward Serif", "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --pixel: "Press", "Courier New", monospace;
}

html:has(body.editorial-page) {
  background: var(--black);
  scroll-behavior: smooth;
}

body.editorial-page {
  --tw-bg-opacity: 1;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    radial-gradient(ellipse at 50% 0, #282020 0, var(--black) 55%);
  background-size: 100% 5px, auto;
  background-color: var(--black) !important;
  color: var(--cream) !important;
  font-family: var(--serif) !important;
  overflow-x: hidden;
}

body.editorial-page .pattern-bg {
  background: transparent !important;
}

body.editorial-page :is(nav, footer, .site-footer) {
  background: #101010 !important;
  border-color: rgba(255, 61, 90, 0.35) !important;
}

body.editorial-page nav {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

body.editorial-page :is(h1, h2, h3, .committee-name, .ch-h, .year-num, .etitle, .page-header h1) {
  color: #fff !important;
  font-family: var(--pixel) !important;
  font-weight: 400 !important;
  letter-spacing: 0.025em !important;
  line-height: 1.6 !important;
  text-transform: uppercase;
  text-shadow: 3px 3px 0 rgba(255, 61, 90, 0.28);
}

body.editorial-page h1,
body.editorial-page .ch-h,
body.editorial-page .page-header h1 {
  font-size: clamp(16px, 2.4vw, 28px) !important;
}

body.editorial-page :is(h2, h3, .etitle) {
  font-size: clamp(12px, 1.5vw, 17px) !important;
}

body.editorial-page p,
body.editorial-page li,
body.editorial-page .ebody {
  color: rgba(241, 239, 232, 0.78) !important;
  line-height: 1.8;
}

body.editorial-page a {
  text-underline-offset: 4px;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

body.editorial-page a:hover {
  color: var(--coral) !important;
}

body.editorial-page :is(button, .auth-button, .filter-tab, .tab-btn, .nav-contact-btn) {
  border-radius: 0 !important;
  font-family: var(--pixel) !important;
  font-size: 9px !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.editorial-page :is(.nav-mobile, .nav-events-drop) {
  background: #101010 !important;
  border: 1px solid rgba(255, 61, 90, 0.35);
}

body.editorial-page :is(.page-header, .page-hero, .ch-top, .committee-header) {
  background:
    linear-gradient(90deg, rgba(255, 61, 90, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(255, 61, 90, 0.12) 1px, transparent 1px),
    linear-gradient(135deg, #272020, #141414 70%) !important;
  background-size: 36px 36px, 36px 36px, auto !important;
  border-bottom: 1px solid rgba(255, 61, 90, 0.45);
}

body.editorial-page .page-header {
  padding: 70px 20px 90px;
}

body.editorial-page .page-hero {
  min-height: 330px;
  padding: 38px 20px;
}

body.editorial-page .ch-top {
  padding: clamp(56px, 10vw, 120px) 24px !important;
  text-align: center;
}

body.editorial-page .ch-h {
  max-width: 1000px;
  margin: 0 auto 34px;
}

body.editorial-page :is(.intro-section, .gallery-body, .year-section, .committee-section) {
  color: var(--cream);
}

body.editorial-page :is(.intro-section, .gallery-body) {
  padding-top: clamp(40px, 7vw, 86px);
  padding-bottom: clamp(48px, 8vw, 100px);
}

body.editorial-page :is(.filter-bar, .tab-bar) {
  background: #101010 !important;
  border-color: rgba(255, 61, 90, 0.45) !important;
}

body.editorial-page :is(.filter-tab, .tab-btn) {
  color: var(--muted) !important;
  border-color: rgba(241, 239, 232, 0.15) !important;
}

body.editorial-page :is(.filter-tab:hover, .filter-tab.active, .tab-btn:hover, .tab-btn.active) {
  background: var(--coral) !important;
  color: var(--black) !important;
}

body.editorial-page :is(.event-card, .award-card, .mention-group, .auth-window, .contact-map, .contact-note, .cta-section) {
  background: var(--panel) !important;
  border-color: rgba(255, 61, 90, 0.4) !important;
  border-radius: 0 !important;
  box-shadow: 6px 6px 0 rgba(255, 61, 90, 0.13) !important;
}

body.editorial-page :is(.event-card, .award-card, .mention-group) {
  padding: clamp(18px, 3vw, 32px);
}

body.editorial-page .event-card {
  border-left: 5px solid var(--coral) !important;
}

body.editorial-page :is(.photo-slide, .photo-item, .award-icon, .auth-input) {
  border: 1px solid rgba(241, 239, 232, 0.24) !important;
  border-radius: 0 !important;
}

body.editorial-page .photo-slide {
  box-shadow: 6px 6px 0 rgba(255, 61, 90, 0.18) !important;
}

body.editorial-page :is(.year-band, .committee-header, .contact-section-head) {
  border-color: var(--coral) !important;
}

body.editorial-page :is(.year-num, .committee-name) {
  font-size: clamp(18px, 2.6vw, 30px) !important;
}

body.editorial-page :is(.etag, .tier-label-pill, .contact-kicker, .contact-row small, .cta-eyebrow) {
  background: var(--coral) !important;
  color: var(--black) !important;
  border-radius: 0 !important;
  font-family: var(--pixel) !important;
  font-size: 8px !important;
  letter-spacing: 0.03em !important;
  padding: 8px 10px !important;
}

body.editorial-page .contact-page {
  width: min(1260px, calc(100% - 40px));
}

body.editorial-page :is(section[style*="#F4EBD4"], section[style*="#FAF7F2"], .bg-white, [class*="bg-[#FAF7F2]"], [class*="bg-[#F4EBD4]"]) {
  background-color: var(--black) !important;
  color: var(--cream) !important;
  box-shadow: none !important;
}

body.editorial-page :is([class*="text-[#800020]"], [class*="text-[#DAA520]"], [style*="color:#800020"], [style*="color: #800020"], [style*="color:#DAA520"], [style*="color: #DAA520"]) {
  color: var(--coral) !important;
}

body.editorial-page :is([class*="bg-[#800020]"], [class*="bg-[#DAA520]"], [style*="background:#DAA520"], [style*="background: #DAA520"]) {
  background: var(--coral) !important;
  color: var(--black) !important;
}

body.editorial-page :is(input, textarea, select) {
  background: #111 !important;
  color: var(--cream) !important;
  border-color: rgba(241, 239, 232, 0.3) !important;
  border-radius: 0 !important;
}

body.editorial-page :is(input, textarea)::placeholder {
  color: rgba(241, 239, 232, 0.48) !important;
}

@media (max-width: 700px) {
  body.editorial-page .page-header {
    padding: 52px 16px 66px;
  }

  body.editorial-page .page-hero {
    min-height: 240px;
  }

  body.editorial-page :is(.intro-section, .gallery-body, .year-section, .committee-section) {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.editorial-page *,
  body.editorial-page *::before,
  body.editorial-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
