:root {
  --site-design-width: 960px;
  --deep-red: #720019;
  --red: #b31942;
  --red-bright: #dc3552;
  --navy: #0a3161;
  --blue: #164f8f;
  --blue-soft: #477aa9;
  --white: #fbfcfe;
  --cream: #e8eef5;
  --gold: #d6ad54;
  --gold-light: #ffe09a;
  --gold-dark: #8e6420;
  --ink: #080b12;
  --panel: rgba(8, 24, 51, .84);
  --line: rgba(230, 239, 249, .34);
  --shadow: 0 22px 65px rgba(0,0,0,.42);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  width: 960px;
  min-width: 960px;
  max-width: 960px;
  margin: 0 auto;
  color: var(--white);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.65;
  background:
    linear-gradient(90deg,
      #071f42 0%,
      #0a3161 8%,
      rgba(248,250,253,.95) 16%,
      rgba(179,25,66,.94) 28%,
      #8f0b2c 40%,
      #720019 50%,
      #8f0b2c 60%,
      rgba(179,25,66,.94) 72%,
      rgba(248,250,253,.95) 84%,
      #0a3161 92%,
      #071f42 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: .28;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.12), transparent 25%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 1px, transparent 1px 12px);
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.20) 38%, rgba(0,0,0,.38));
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.skip-link {
  position: fixed;
  left: 14px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  background: #fff;
  color: #000;
}
.skip-link:focus { top: 14px; }

.hero-header {
  width: 100%;
  background: #080b12;
  border-bottom: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 18px 45px rgba(0,0,0,.36);
}
.hero-header-image {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  object-position: center;
}

.main-menu {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0 28.8px;
  border-top: 1px solid rgba(255,255,255,.10);
  border-bottom: 1px solid rgba(255,224,151,.35);
  background: linear-gradient(180deg, rgba(16,15,23,.98), rgba(45,7,16,.97));
  box-shadow: 0 12px 35px rgba(0,0,0,.32);
  backdrop-filter: blur(14px);
}
.menu-links {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 14.88px, 25px);
  flex-wrap: wrap;
}
.menu-links a {
  position: relative;
  padding: 21px 2px 18px;
  color: #f4f0e8;
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
  transition: color .2s ease, transform .2s ease;
}
.menu-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 13px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold));
  transition: right .25s ease;
}
.menu-links a:hover { color: var(--gold-light); transform: translateY(-1px); }
.menu-links a:hover::after { right: 0; }
.menu-links .coin-x-link {
  margin: 10px 0;
  padding: 9px 14px;
  border: 1px solid #e0b75e;
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(141,95,26,.44), rgba(255,225,151,.13), rgba(103,68,14,.42));
  box-shadow: inset 0 0 20px rgba(255,225,151,.08);
}
.menu-links .coin-x-link::after { display: none; }
.menu-toggle { display: none; }

section { position: relative; }
.section-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-light);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .20em;
  text-transform: uppercase;
}
h1, h2 {
  margin: 0;
  font-family: Cinzel, Georgia, serif;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.founder-strip {
  padding: 36px 38.4px 54px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(43,6,15,.84), rgba(66,8,20,.60)),
    radial-gradient(circle at 50% 0%, rgba(255,218,136,.13), transparent 38%);
  border-bottom: 1px solid rgba(255,224,151,.30);
}
.founder-strip h1 {
  font-size: clamp(2rem, 38.4px, 3.8rem);
  text-shadow: 0 4px 18px rgba(0,0,0,.55);
}
.founder-intro {
  margin: 6px auto 24px;
  color: #e9e0d7;
  font-size: .95rem;
}
.founder-portraits {
  width: min(var(--site-design-width), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(7, 96px);
  justify-content: center;
  gap: clamp(18px, 19.2px, 30px);
  align-items: start;
}
.founder-link {
  min-width: 0;
  display: block;
  text-align: center;
  transition: transform .22s ease, filter .22s ease;
}
.founder-link img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid transparent;
  background:
    linear-gradient(#240811,#240811) padding-box,
    linear-gradient(145deg, #8d631e, #ffe3a4 34%, #b57b21 66%, #fff0bf) border-box;
  box-shadow: 0 6px 16px rgba(0,0,0,.40), 0 0 0 1px rgba(255,255,255,.08);
}
.founder-link .founder-name {
  display: block;
  margin-top: 8px;
  color: var(--gold-light);
  font-family: Cinzel, Georgia, serif;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .025em;
}
.founder-link .founder-handle {
  display: block;
  margin-top: 2px;
  color: #f7f3ec;
  font-size: .62rem;
  font-weight: 700;
  white-space: nowrap;
}
.founder-link:hover { transform: translateY(-4px); filter: brightness(1.08); }
.founder-link:hover .founder-handle { color: #fff; }

.mission-section {
  padding: 92px 48px;
  overflow: hidden;
}
.mission-watermark {
  position: absolute;
  inset: 0;
  opacity: .12;
  background-image:
    linear-gradient(180deg, rgba(89,8,23,.62), rgba(25,4,10,.82)),
    url('assets/images/LOGO-2.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  filter: saturate(.85) contrast(1.12);
}
.mission-frame {
  position: relative;
  width: min(var(--site-design-width), 100%);
  margin: 0 auto;
  padding: clamp(34px, 57.6px, 74px);
  border: 1px solid var(--line);
  border-radius: 3px;
  background:
    linear-gradient(145deg, rgba(42,5,15,.94), rgba(72,11,25,.90) 48%, rgba(29,7,17,.95));
  box-shadow: var(--shadow), inset 0 0 70px rgba(255,255,255,.025);
}
.mission-frame::before,
.mission-frame::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.mission-frame::before {
  inset: 10px;
  border: 1px solid rgba(255,224,151,.16);
}
.mission-frame::after {
  inset: -1px;
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, transparent, #9d6d22, #ffe6a6, #a46b18, transparent) 1;
}
.mission-title-wrap { text-align: center; margin-bottom: 34px; }
.mission-title-wrap h2 {
  font-size: clamp(2.8rem, 67.2px, 6.2rem);
  line-height: 1;
  color: #fff;
  text-shadow: 0 7px 22px rgba(0,0,0,.45);
}
.gold-rule {
  width: min(390px, 75%);
  height: 2px;
  margin: 20px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold-dark), var(--gold-light), var(--gold-dark), transparent);
  box-shadow: 0 0 14px rgba(255,219,133,.26);
}
.mission-copy {
  width: min(870px, 100%);
  margin: 0 auto;
  color: #f2eae3;
  font-size: clamp(1rem, 13.92px, 1.14rem);
  text-align: center;
}
.mission-copy p { margin: 0 0 22px; }
.mission-copy .mission-lead {
  color: #fff;
  font-size: clamp(1.15rem, 18.24px, 1.42rem);
  font-weight: 600;
}
.mission-copy strong { color: var(--gold-light); }
.mission-signoff {
  margin-top: 38px;
  padding-top: 27px;
  border-top: 1px solid rgba(255,225,154,.27);
}
.mission-signoff strong,
.mission-signoff span { display: block; }
.mission-signoff strong {
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(1.25rem, 23.04px, 2rem);
  letter-spacing: .055em;
}
.mission-signoff span {
  margin-top: 8px;
  color: #fff;
  font-size: clamp(1rem, 16.32px, 1.25rem);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.anthem-section {
  padding: 85px 48px 100px;
  border-top: 1px solid rgba(255,224,151,.22);
  background:
    radial-gradient(circle at 50% 0%, rgba(9,44,87,.55), transparent 42%),
    linear-gradient(180deg, rgba(10,23,47,.86), rgba(56,6,18,.84));
}
.anthem-heading {
  width: min(900px, 100%);
  margin: 0 auto 28px;
  text-align: center;
}
.anthem-heading h2 {
  font-size: clamp(2.2rem, 50.88px, 4.6rem);
  line-height: 1.05;
}
.anthem-heading p { margin: 10px 0 0; color: #ded9d1; }
.video-shell {
  width: min(var(--site-design-width), 100%);
  margin: 0 auto;
  padding: 7px;
  border: 1px solid #c7973d;
  border-radius: 4px;
  background: linear-gradient(145deg, #8c621c, #ffe0a0 19%, #a36c18 45%, #ffe8b3 68%, #805617);
  box-shadow: var(--shadow);
}
.video-shell video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #05070b;
  object-fit: contain;
}
.video-caption {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 14px 6px;
  color: #2d1d07;
  font-size: .78rem;
}
.video-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #7e0c1e;
  box-shadow: 0 0 0 4px rgba(126,12,30,.14);
}

.contact-teaser {
  padding: 58px 57.6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid rgba(255,224,151,.25);
  border-bottom: 1px solid rgba(255,224,151,.25);
  background: linear-gradient(90deg, rgba(66,6,20,.94), rgba(96,12,30,.92), rgba(17,43,74,.92));
}
.contact-teaser h2 { font-size: clamp(1.8rem, 38.4px, 3.5rem); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.gold-button,
.outline-button {
  min-height: 48px;
  padding: 13px 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
  transition: transform .2s ease, filter .2s ease;
}
.gold-button {
  color: #211307;
  border: 1px solid #ffe3a5;
  background: linear-gradient(135deg, #875d19, #ffe2a0 28%, #b77e24 58%, #ffe9b9 84%, #825619);
}
.outline-button { border: 1px solid rgba(255,255,255,.6); background: rgba(255,255,255,.05); }
.gold-button:hover, .outline-button:hover { transform: translateY(-2px); filter: brightness(1.08); }

footer {
  padding: 27px 48px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #080b12;
  color: #aaaeb7;
  font-size: .78rem;
  text-align: center;
}
footer img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
footer p { margin: 0; }

/* Responsive founder flow: each wrapped row centers itself automatically. */
.founder-portraits {
  width: min(960px, 100%);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  column-gap: clamp(18px, 23.04px, 30px);
  row-gap: 24px;
}
.founder-link { flex: 0 0 96px; }

/* Contact email is intentionally rendered as a raster image rather than source text. */
.email-graphic-wrap {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px 6px 12px;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 3px;
  background: rgba(255,255,255,.045);
}
.email-label {
  color: var(--gold-light);
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
  white-space: nowrap;
}
.email-graphic { width: min(330px, 499.2px); height: auto; }

/* In-page Artwork view. Header and menu remain mounted while this content is shown. */
.page-view[hidden] { display: none !important; }
.artwork-section {
  min-height: 70vh;
  padding: 56px clamp(16px, 38.4px, 58px) 88px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,220,145,.11), transparent 28%),
    linear-gradient(180deg, rgba(61,8,20,.86), rgba(24,7,16,.94) 40%, rgba(7,24,50,.90));
}
.artwork-heading {
  width: min(900px,100%);
  margin: 0 auto 30px;
  text-align: center;
}
.artwork-heading h1 {
  font-size: clamp(2.6rem, 57.6px, 5.3rem);
  line-height: 1;
  text-shadow: 0 7px 22px rgba(0,0,0,.5);
}
.artwork-heading p { margin: 12px auto 0; color: #e9e0d7; }
.artwork-logo-row {
  width: min(var(--site-design-width),100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: clamp(12px,19.2px,24px);
  align-items: stretch;
}
.artwork-logo-card {
  min-height: 180px;
  padding: 5px;
  border: 1px solid rgba(255,224,151,.62);
  border-radius: 8px;
  background: linear-gradient(145deg,#8c621c,#ffe0a0 18%,#a36c18 48%,#ffe8b3 72%,#805617);
  box-shadow: 0 15px 34px rgba(0,0,0,.35);
  overflow: hidden;
}
.artwork-logo-card img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  max-height: 330px;
  object-fit: contain;
  background: #06080d;
  border-radius: 4px;
}
.artwork-logo-card.coin-mark img { object-fit: cover; }
.artwork-rule {
  width: min(var(--site-design-width),100%);
  height: 2px;
  margin: 42px auto 30px;
  background: linear-gradient(90deg,transparent,var(--gold-dark),var(--gold-light),var(--gold-dark),transparent);
}
.artwork-grid {
  width: min(var(--site-design-width),100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(210px,1fr));
  gap: clamp(12px,14.4px,20px);
}
.artwork-card {
  position: relative;
  aspect-ratio: 1 / 1;
  padding: 4px;
  border: 1px solid rgba(255,224,151,.44);
  border-radius: 6px;
  overflow: hidden;
  cursor: zoom-in;
  background: linear-gradient(145deg,rgba(255,220,140,.56),rgba(109,74,18,.75));
  box-shadow: 0 12px 28px rgba(0,0,0,.30);
  transition: transform .2s ease, filter .2s ease, border-color .2s ease;
}
.artwork-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #080a10;
  border-radius: 3px;
}
.artwork-card:hover { transform: translateY(-3px); filter: brightness(1.06); border-color: var(--gold-light); }
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(2,4,9,.94);
  backdrop-filter: blur(8px);
}
.gallery-lightbox.open { display: flex; }
.gallery-lightbox-image {
  max-width: 902.4px;
  max-height: 90vh;
  object-fit: contain;
  border: 2px solid #d7ad57;
  box-shadow: 0 24px 80px rgba(0,0,0,.66);
}
.gallery-lightbox-close {
  position: fixed;
  top: 16px;
  right: 20px;
  width: 48px;
  height: 48px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: #170a0f;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
body.lightbox-open { overflow: hidden; }

/* =========================================================
   v6.0 unified content-panel system
   Shared tiled panel background + compact 4/3 mobile founders
   ========================================================= */
:root {
  --panel-tile: url('assets/images/panel-tile.jpg');
  --panel-bg:
    linear-gradient(145deg, rgba(27,6,15,.91), rgba(70,9,25,.82) 52%, rgba(9,24,47,.91)),
    var(--panel-tile);
  --panel-border: rgba(255,224,151,.40);
  --panel-inner-border: rgba(255,224,151,.13);
}

/* Let the patriotic body texture act only as the outer backdrop. */
#home-view,
#artwork-view,
.leaderboard-main {
  padding: clamp(22px, 28.8px, 42px) clamp(12px, 28.8px, 36px) clamp(52px, 57.6px, 86px);
}

/* Shared visual language for all primary content panels. */
.founder-strip,
.mission-frame,
.anthem-section,
.contact-teaser,
.artwork-section,
.leaderboard-hero-inner,
.leaderboard-panel {
  background-image: var(--panel-bg) !important;
  background-size: auto, 420px 420px !important;
  background-repeat: no-repeat, repeat !important;
  background-position: center, center top !important;
  border: 1px solid var(--panel-border) !important;
  box-shadow:
    0 24px 70px rgba(0,0,0,.44),
    inset 0 0 70px rgba(255,255,255,.022),
    inset 0 0 0 8px rgba(255,224,151,.018) !important;
}

.founder-strip,
.anthem-section,
.contact-teaser,
.artwork-section {
  width: min(var(--site-design-width), 100%);
  margin-left: auto;
  margin-right: auto;
  border-radius: 5px;
}

.founder-strip {
  padding: clamp(28px, 38.4px, 46px) clamp(14px, 28.8px, 36px) clamp(34px, 38.4px, 50px);
}

/* Founder layout: compact, centered and deterministic at every width. */
.founder-portraits {
  width: min(var(--site-design-width), 100%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  column-gap: clamp(14px, 19.2px, 26px);
  row-gap: 20px;
}
.founder-link { flex: 0 0 88px; min-width: 0; }
.founder-link img { width: 88px; height: 88px; margin: 0 auto; }

/* Mission has its own panel; remove the large full-section logo wash. */
.mission-section {
  padding: clamp(34px, 48px, 70px) 0;
  overflow: visible;
}
.mission-watermark { display: none; }
.mission-frame { border-radius: 5px; }

.anthem-section {
  margin-top: 0;
  padding: clamp(46px, 57.6px, 76px) clamp(16px, 38.4px, 52px) clamp(52px, 67.2px, 86px);
}

.contact-teaser {
  margin-top: clamp(34px, 48px, 62px);
  padding: clamp(34px, 48px, 54px) clamp(18px, 38.4px, 54px);
}

/* Artwork is one premium panel; logo row stays first. */
#artwork-view { min-height: 70vh; }
.artwork-section {
  min-height: 0;
  padding: clamp(36px, 48px, 58px) clamp(12px, 28.8px, 38px) clamp(48px, 57.6px, 74px);
}
.artwork-heading {
  padding: 22px clamp(12px, 28.8px, 28px) 24px;
  border: 1px solid var(--panel-inner-border);
  background: rgba(5,8,16,.36);
  box-shadow: inset 0 0 32px rgba(255,255,255,.015);
}
.artwork-logo-row { margin-top: 28px; }
.artwork-grid { padding: 4px; }

/* Keep leaderboard page outer backdrop visible and apply same tile to its panels. */
.leaderboard-main { padding-top: clamp(22px, 28.8px, 42px); }
.leaderboard-hero {
  min-height: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
}
.leaderboard-watermark { display: none; }
.leaderboard-hero-inner {
  width: min(var(--site-design-width), 100%);
  border-radius: 5px;
}
.leaderboard-content { padding: clamp(34px, 48px, 58px) 0 0; }
.leaderboard-panel { border-radius: 5px; }


/* v6.4 mobile founder handle collision fix */


/* =========================================================
   v6.8 mobile founder-label correction
   Keep the 4 + 3 layout while preventing X handles from
   colliding with neighboring founder cards.
   ========================================================= */


/* =========================================================
   v7.0 comprehensive responsive polish
   ========================================================= */

/* Unified two-line footer */
.simple-footer {
  width: 100%;
  margin: 0;
  padding: 22px 16px 24px;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  text-align: center !important;
  border-top: 1px solid rgba(255,224,151,.24);
  background: #050911;
  color: #b8bdc6;
}
.simple-footer p { margin: 0 !important; text-align: center !important; }
.simple-footer .footer-motto { color: #eee8dd; font-size: .88rem; font-weight: 600; }
.simple-footer .footer-copy { color: #aeb4be; font-size: .79rem; }

/* Keep all primary panels on one shared rhythm. */
#home-view, #artwork-view {
  --site-panel-width: var(--site-design-width);
}
.founder-strip,
.anthem-section,
.contact-teaser,
.artwork-section {
  width: min(var(--site-panel-width), 100%) !important;
}
.mission-section { width: 100%; }
.mission-frame { width: min(var(--site-panel-width), 100%) !important; margin-inline: auto !important; }


/* =========================================================
   v7.2 contact + footer consistency (desktop and mobile)
   ========================================================= */
.email-graphic-wrap {
  width: min(520px, 100%) !important;
  min-height: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.email-graphic {
  display: block !important;
  width: min(480px, 100%) !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 auto !important;
}
.contact-actions {
  align-items: center !important;
}
.simple-footer {
  min-height: 0 !important;
  gap: 5px !important;
}
.simple-footer .footer-icon,
.leaderboard-footer .footer-icon {
  display: block !important;
  width: 54px !important;
  height: 54px !important;
  object-fit: contain !important;
  border-radius: 50% !important;
  margin: 0 auto 5px !important;
}


/* =========================================================
   v7.3 authoritative footer layout
   Icon centered above exactly two centered text lines
   on desktop and mobile.
   ========================================================= */
.simple-footer {
  box-sizing: border-box !important;
  width: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 22px 16px 24px !important;
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  text-align: center !important;
  border-top: 1px solid rgba(255,224,151,.24) !important;
  background: #050911 !important;
}
.simple-footer .footer-icon {
  display: block !important;
  flex: 0 0 auto !important;
  width: 54px !important;
  height: 54px !important;
  margin: 0 auto 5px !important;
  object-fit: contain !important;
  border-radius: 50% !important;
}
.simple-footer .footer-motto,
.simple-footer .footer-copy {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
  white-space: normal !important;
}
.simple-footer .footer-motto {
  color: #eee8dd !important;
  font-size: .88rem !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
}
.simple-footer .footer-copy {
  color: #aeb4be !important;
  font-size: .79rem !important;
  line-height: 1.4 !important;
}


/* =========================================================
   v7.4 definitive phone founder-handle containment
   Later rules must not restore nowrap/visible overflow.
   ========================================================= */


/* v7.5 dynamic artwork gallery */
.artwork-gallery-status {
  grid-column: 1 / -1;
  width: 100%;
  padding: 28px 18px;
  text-align: center;
  color: #e9dfcf;
  font-size: .9rem;
  border: 1px solid rgba(255,224,151,.20);
  background: rgba(4,8,15,.35);
}


/* =========================================================
   v7.7 founder portrait baseline lock
   Every founder portrait is pinned to the top of its card.
   Removes legacy per-card translations at all viewport widths.
   ========================================================= */
.founder-portraits {
  align-items: start !important;
}

.founder-link,
.founder-link:nth-child(n),
.founder-link:nth-child(n+5) {
  position: relative !important;
  top: 0 !important;
  margin-top: 0 !important;
  transform: none !important;
  align-self: start !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  vertical-align: top !important;
}

.founder-link img,
.founder-link:nth-child(n) img {
  display: block !important;
  flex: 0 0 auto !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  transform: none !important;
  vertical-align: top !important;
}

.founder-link .founder-name {
  flex: 0 0 auto !important;
}

.founder-link .founder-handle {
  flex: 0 0 auto !important;
}

/* Hover should brighten, not move an individual founder out of alignment. */
.founder-link:hover,
.founder-link:nth-child(n+5):hover {
  transform: none !important;
  filter: brightness(1.08);
}

/* Founder cards share consistent row baselines. */

/* Landscape phones / small tablets / compact desktop widths. */


/* =========================================================
   v7.8 contact panel refinement
   Wide desktop, narrow desktop/tablet, and phone are treated
   as distinct layouts. Email graphic is never styled as a field.
   ========================================================= */
.contact-teaser {
  box-sizing: border-box !important;
}

.contact-actions {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 1 520px !important;
  gap: 14px !important;
}

.contact-actions .gold-button {
  width: auto !important;
  min-width: 210px !important;
  max-width: 100% !important;
}

.email-graphic-wrap {
  width: auto !important;
  max-width: 100% !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.email-graphic {
  display: block !important;
  width: min(440px, 100%) !important;
  max-width: 100% !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 auto !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Narrow desktop / tablet window */

/* Phone */

/* =========================================================
   v7.9 patriotic palette refinement
   Stronger American red, white and navy while preserving the
   existing dark chrome character and medal colors.
   ========================================================= */
:root {
  --panel-bg:
    linear-gradient(135deg, rgba(5,25,54,.95), rgba(47,8,25,.91) 50%, rgba(112,0,29,.89)),
    var(--panel-tile);
  --panel-border: rgba(225,236,248,.40);
  --panel-inner-border: rgba(225,236,248,.15);
}

.main-menu {
  border-bottom-color: rgba(224,235,248,.42);
  background: linear-gradient(135deg, rgba(5,25,54,.98), rgba(8,11,18,.98) 52%, rgba(95,0,27,.97));
}
.menu-toggle { color: #f7f9fc; }
.menu-links a { color: #f4f7fb; }
.menu-links a::after,
.gold-rule,
.artwork-rule {
  background: linear-gradient(90deg, transparent 0%, #b31942 18%, #f8fafc 50%, #185a9d 82%, transparent 100%);
  box-shadow: 0 0 15px rgba(222,235,249,.22);
}
.menu-links a:hover,
.leaderboard-page .menu-links a.active { color: #cfe4fb; }
.menu-links .coin-x-link {
  border-color: rgba(244,248,252,.72);
  color: #fff;
  background: linear-gradient(135deg, rgba(10,49,97,.92), rgba(128,0,34,.94) 54%, rgba(179,25,66,.92));
  box-shadow: inset 0 0 18px rgba(255,255,255,.08), 0 0 0 1px rgba(10,49,97,.34);
}

.section-kicker { color: #d9e9fa; }
.founder-link img {
  background:
    linear-gradient(#09162a,#09162a) padding-box,
    linear-gradient(145deg, #b31942, #f8fafc 48%, #185a9d) border-box;
}
.founder-link .founder-name { color: #d9e9fa; }
.mission-frame::before { border-color: rgba(222,235,249,.17); }
.mission-frame::after {
  border-image: linear-gradient(90deg, transparent, #b31942, #f8fafc, #185a9d, transparent) 1;
}
.mission-copy strong { color: #d9e9fa; }
.mission-signoff { border-top-color: rgba(222,235,249,.27); }

.video-shell {
  border-color: rgba(245,248,252,.65);
  background: linear-gradient(135deg, #0a3161, #f8fafc 49%, #b31942);
}
.video-caption {
  color: #f6f9fc;
  background: rgba(5,25,54,.94);
  text-shadow: 0 1px 3px rgba(0,0,0,.55);
}
.video-dot { background: #dc3552; box-shadow: 0 0 0 4px rgba(220,53,82,.16); }

.gold-button {
  color: #fff;
  border-color: rgba(248,250,252,.82);
  background: linear-gradient(135deg, #0a3161 0%, #79102e 42%, #b31942 72%, #dc3552 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 0 0 1px rgba(10,49,97,.36);
}
.outline-button { border-color: rgba(229,238,248,.72); }

.artwork-logo-card,
.artwork-card {
  border-color: rgba(226,237,249,.48);
  background: linear-gradient(145deg, rgba(10,49,97,.88), rgba(230,238,247,.62) 48%, rgba(179,25,66,.82));
}
.artwork-card:hover { border-color: #f8fafc; }
.gallery-lightbox-image { border-color: #d9e9fa; }
.gallery-lightbox-close { border-color: #d9e9fa; background: #071f42; }

.simple-footer,
footer {
  border-top-color: rgba(219,233,248,.30) !important;
  background: linear-gradient(180deg, #071f42, #040b17) !important;
}

/* =========================================================
   v8.0 gold outer backdrop
   Metallic gold gradient behind every primary content panel.
   Panel interiors keep their established red/navy treatment.
   ========================================================= */
body {
  background:
    radial-gradient(circle at 50% 0%, rgba(255,248,202,.72) 0%, rgba(255,220,111,.28) 28%, transparent 52%),
    linear-gradient(115deg,
      #160d02 0%,
      #432805 10%,
      #8d5d18 23%,
      #d5a83f 37%,
      #fff0a5 50%,
      #dfb84f 63%,
      #94631a 77%,
      #482b06 90%,
      #160d02 100%);
  background-attachment: fixed;
}

/* =========================================================
   v8.7 founder orphan prevention
   At compact desktop/tablet widths, keep the founder grid aligned.
   centered 4 + 3 grid so a sixth-column wrap cannot leave
   one founder alone on a third row.
   ========================================================= */

/* =========================================================
   v8.1 true American flag palette
   Old Glory Red, pure white and Old Glory Blue across the
   panels and interface; gold remains only in the backdrop.
   ========================================================= */
:root {
  --deep-red: #7a0b27;
  --red: #b31942;
  --red-bright: #d4264f;
  --navy: #0a3161;
  --blue: #0a3161;
  --blue-soft: #24558c;
  --white: #ffffff;
  --cream: #f2f5f8;
  --panel-bg:
    linear-gradient(135deg,
      rgba(10,49,97,.97) 0%,
      rgba(10,49,97,.91) 34%,
      rgba(255,255,255,.10) 49%,
      rgba(179,25,66,.92) 63%,
      rgba(179,25,66,.97) 100%),
    var(--panel-tile);
  --panel-border: rgba(255,255,255,.58);
  --panel-inner-border: rgba(255,255,255,.20);
  --line: rgba(255,255,255,.42);
}

.main-menu {
  border-bottom-color: rgba(255,255,255,.56);
  background: linear-gradient(90deg, #0a3161 0%, #07172d 48%, #b31942 100%);
}
.menu-links a,
.menu-toggle,
.section-kicker,
.founder-link .founder-name,
.mission-copy strong { color: #fff; }
.menu-links a::after,
.gold-rule,
.artwork-rule {
  background: linear-gradient(90deg, transparent 0%, #b31942 18%, #ffffff 50%, #0a3161 82%, transparent 100%);
}
.menu-links .coin-x-link {
  border-color: #fff;
  background: linear-gradient(135deg, #0a3161 0%, #0a3161 36%, #b31942 68%, #d4264f 100%);
}
.founder-link img {
  background:
    linear-gradient(#07172d,#07172d) padding-box,
    linear-gradient(145deg, #0a3161 0%, #ffffff 50%, #b31942 100%) border-box;
}
.mission-frame::after {
  border-image: linear-gradient(90deg, transparent, #0a3161, #ffffff, #b31942, transparent) 1;
}
.video-shell {
  border-color: #fff;
  background: linear-gradient(135deg, #0a3161 0%, #ffffff 50%, #b31942 100%);
}
.gold-button {
  border-color: #fff;
  background: linear-gradient(135deg, #0a3161 0%, #0a3161 34%, #b31942 68%, #d4264f 100%);
}
.artwork-logo-card,
.artwork-card {
  border-color: rgba(255,255,255,.66);
  background: linear-gradient(145deg, #0a3161 0%, #ffffff 50%, #b31942 100%);
}

/* =========================================================
   v8.2 flat interface surfaces
   No angular gradients on menus or panels. Buttons use one
   solid Old Glory Red fill.
   ========================================================= */
:root { --panel-bg: none; }

.main-menu {
  background: #0a3161;
}

.founder-strip,
.anthem-section,
.artwork-section,
.leaderboard-hero-inner,
.leaderboard-top-panel {
  background-color: #0a3161 !important;
  background-image: none !important;
}

/* Four-founder layout: ABBA/Michelle above Shell/Brooke. */
.founder-portraits.founder-portraits-four {
  width: min(300px, 100%);
  display: grid;
  grid-template-columns: repeat(2, 96px);
  justify-content: center;
  column-gap: 48px;
  row-gap: 28px;
}

.founder-portraits-four .founder-link {
  width: 96px;
  flex: none;
}

.mission-frame,
.contact-teaser,
.leaderboard-standings-panel {
  background-color: #b31942 !important;
  background-image: none !important;
}

.gold-button,
.outline-button,
.menu-links .coin-x-link,
.gallery-lightbox-close {
  color: #fff;
  border-color: #fff;
  background: #b31942;
  box-shadow: none;
}

.video-shell {
  border-color: #0a3161;
  background: #fff;
}

.artwork-logo-card,
.artwork-card {
  border-color: #fff;
  background: #0a3161;
}

/* =========================================================
   v8.3 header-flag stripe red match
   Sampled from the brightest true-red stripe in the supplied
   header image. Keep menus/panels flat and buttons one color.
   ========================================================= */
:root {
  --deep-red: #4a0000;
  --red: #810808;
  --red-bright: #810808;
}

.mission-frame,
.contact-teaser,
.leaderboard-standings-panel {
  background-color: #810808 !important;
  background-image: none !important;
}

.gold-button,
.outline-button,
.menu-links .coin-x-link,
.gallery-lightbox-close {
  color: #fff;
  border-color: #fff;
  background: #810808;
  box-shadow: none;
}

/* =========================================================
   v8.4 U.S. flag publishing palette
   GPO-style flag red, navy and white. Flat menu/panel
   backgrounds and single-color buttons remain enforced.
   ========================================================= */
:root {
  --deep-red: #800a1d;
  --red: #c8102e;
  --red-bright: #c8102e;
  --navy: #002d72;
  --blue: #002d72;
  --blue-soft: #174a8b;
  --white: #ffffff;
}

.main-menu {
  background: #002d72;
}

.founder-strip,
.anthem-section,
.artwork-section,
.leaderboard-hero-inner,
.leaderboard-top-panel {
  background-color: #002d72 !important;
  background-image: none !important;
}

.mission-frame,
.contact-teaser,
.leaderboard-standings-panel {
  background-color: #c8102e !important;
  background-image: none !important;
}

.gold-button,
.outline-button,
.menu-links .coin-x-link,
.gallery-lightbox-close {
  color: #fff;
  border-color: #fff;
  background: #c8102e;
  box-shadow: none;
}

.video-shell {
  border-color: #002d72;
  background: #fff;
}

.artwork-logo-card,
.artwork-card {
  border-color: #fff;
  background: #002d72;
}

/* =========================================================
   v8.6 final Patriots Unchained palette with solid Classic Burgundy
   Gold tile: outer page background
   Blue crypto tile: blue content panels
   Menu and red surfaces remain solid colors
   ========================================================= */
:root {
  --deep-red: #800020;
  --red: #800020;
  --red-bright: #c8102e;
  --navy: #011e69;
  --blue: #011e69;
  --blue-soft: #164ba7;
  --white: #ffffff;
  --gold-background-tile: url('/assets/images/gold-background-tile-v1.png');
  --blue-crypto-tile: url('/assets/images/blue-solana-crypto-background-tile-v1.png');
}

body {
  background-color: #9a7418;
  background-image: var(--gold-background-tile);
  background-repeat: repeat;
  background-position: center top;
  background-size: 512px 512px;
  background-attachment: fixed;
}

.main-menu {
  background-color: #011e69;
  background-image: none;
}

.founder-strip,
.anthem-section,
.artwork-section,
.leaderboard-hero-inner,
.leaderboard-top-panel {
  background-color: #011e69 !important;
  background-image: var(--blue-crypto-tile) !important;
  background-repeat: repeat !important;
  background-position: center !important;
  background-size: 512px 512px !important;
}

.mission-frame,
.contact-teaser,
.leaderboard-standings-panel {
  background-color: #800020 !important;
  background-image: none !important;
}

.gold-button,
.outline-button,
.menu-links .coin-x-link,
.gallery-lightbox-close {
  color: #fff;
  border-color: #fff;
  background: #800020;
  box-shadow: none;
}

.video-shell {
  border-color: #011e69;
  background: #fff;
}

.artwork-logo-card,
.artwork-card {
  border-color: #fff;
  background-color: #011e69;
  background-image: var(--blue-crypto-tile);
  background-repeat: repeat;
  background-position: center;
  background-size: 512px 512px;
}
