/* polish.css â€” surface, readability & craft */

.has-patriot-bg .section-title,
.has-patriot-bg .section-kicker,
.has-patriot-bg .prose,
.has-patriot-bg .section-sub,
.has-patriot-bg .chapter-mark {
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
}

.has-patriot-bg .pillar,
.has-patriot-bg .stat,
.has-patriot-bg .protocol-card,
.has-patriot-bg .phase,
.has-patriot-bg .flow-board,
.has-patriot-bg .token-card,
.has-patriot-bg .countdown-shell,
.has-patriot-bg .story-panel,
.has-patriot-bg .cta__frame {
  backdrop-filter: blur(6px);
  background-color: rgba(5, 8, 10, 0.35);
  border-color: rgba(212, 175, 55, 0.28);
}

.has-patriot-bg .pillar {
  background: transparent;
  backdrop-filter: none;
  border-top-color: rgba(212, 175, 55, 0.35);
}

.has-patriot-bg .pillar:hover {
  border-top-color: var(--gold);
}

.window .countdown-shell {
  background:
    linear-gradient(180deg, rgba(212, 175, 55, 0.1), transparent 45%),
    rgba(5, 8, 10, 0.72);
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(191, 10, 48, 0.12);
}

/* Dual eagle+flag for distinction / later pages */
.distinction .patriot-bg--distinction {
  background:
    linear-gradient(180deg, rgba(5, 8, 10, 0.55), rgba(5, 8, 10, 0.78)),
    linear-gradient(90deg, rgba(0, 40, 104, 0.25), transparent 50%, rgba(191, 10, 48, 0.18)),
    url("assets/bg-eagle-flag.webp") center 42% / cover no-repeat !important;
  mix-blend-mode: normal;
  filter: contrast(1.08) saturate(1.15) brightness(0.9);
}

.distinction.section.has-patriot-bg.in-view .patriot-bg--distinction {
  opacity: 0.48;
}


/* Star divider ornaments */
.ornament__star {
  color: var(--gold);
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  opacity: 0.9;
  line-height: 1;
  padding: 0 0.35rem;
}

.ornament__drop {
  /* keep for any leftover markup */
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.55);
}

.footer {
  background:
    linear-gradient(180deg, rgba(0, 40, 104, 0.22), transparent 32%),
    linear-gradient(180deg, rgba(212, 175, 55, 0.045), transparent 28%),
    var(--navy-2);
}

.footer-bottom {
  position: relative;
}

.footer-bottom::before {
  content: "★★★";
  display: block;
  text-align: center;
  font-size: 0.55rem;
  letter-spacing: 0.5em;
  color: var(--gold);
  opacity: 0.75;
  margin-bottom: 0.85rem;
}

.nav.is-scrolled .nav-logo {
  box-shadow: 0 0 0 1px var(--gold), 0 0 18px rgba(212, 175, 55, 0.35);
}

/* Gold hairline only — no USA-blue flag stripe at top-left */
.nav.is-scrolled::after {
  content: none;
  display: none;
}

.section-title {
  letter-spacing: 0.025em;
}

.marquee {
  border-color: rgba(212, 175, 55, 0.28);
  background:
    linear-gradient(90deg, rgba(191, 10, 48, 0.08), transparent 30%, transparent 70%, rgba(0, 40, 104, 0.15)),
    linear-gradient(180deg, rgba(212, 175, 55, 0.06), rgba(5, 8, 10, 0.5));
}

.hero-lead em {
  color: var(--gold-bright);
  font-style: normal;
  font-weight: 600;
}

/* Slightly airier washes so flag in photo reads */
.hero-wash {
  background:
    linear-gradient(90deg, rgba(5, 8, 10, 0.86) 0%, rgba(5, 8, 10, 0.48) 26%, rgba(5, 8, 10, 0.08) 58%, rgba(5, 8, 10, 0.14) 100%),
    linear-gradient(180deg, rgba(5, 8, 10, 0.2) 0%, transparent 28%, transparent 62%, rgba(5, 8, 10, 0.55) 100%) !important;
}

.hero-wash--side {
  background: linear-gradient(90deg, transparent 55%, rgba(5, 8, 10, 0.18) 100%) !important;
  opacity: 0.7;
}

.hero-wash--bottom {
  background: linear-gradient(180deg, transparent 40%, rgba(5, 8, 10, 0.72) 100%) !important;
}

.cta__frame {
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(212, 175, 55, 0.15);
}

.token-card {
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(212, 175, 55, 0.12);
}

.protocol-card {
  min-height: 100%;
  transition: border-color 0.35s ease, transform 0.35s var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1)), box-shadow 0.35s ease;
}

.protocol-card:hover {
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.protocol-grid {
  align-items: stretch;
}

.chip-icon {
  color: var(--gold);
}

.pillar-chip {
  border-color: rgba(212, 175, 55, 0.28);
  background: rgba(5, 8, 10, 0.45);
  backdrop-filter: blur(4px);
}

.discover-quote {
  border-left: 2px solid var(--gold);
  background: rgba(5, 8, 10, 0.5);
  backdrop-filter: blur(6px);
}

.chapter-mark {
  color: rgba(244, 236, 216, 0.78);
}

.chapter-mark__line {
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.cta-meta span[aria-hidden="true"] {
  color: var(--gold);
  opacity: 0.7;
  font-size: 0.65em;
}

.countdown-num.is-tick {
  text-shadow: 0 0 18px rgba(212, 175, 55, 0.35);
}

.ca-block {
  border-color: rgba(212, 175, 55, 0.22);
  background: rgba(0, 0, 0, 0.25);
}

.btn-copy.is-copied {
  color: var(--gold-bright);
  border-color: var(--gold);
}

::selection {
  background: rgba(212, 175, 55, 0.35);
  color: #fff;
}

.stat-icon {
  color: var(--gold);
  text-shadow: 0 0 16px rgba(212, 175, 55, 0.35);
}

.has-patriot-bg .stat:hover {
  border-color: rgba(212, 175, 55, 0.5);
  transform: translateY(-3px);
}

.loader__bar span {
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.55);
}

.loader__seal {
  filter: drop-shadow(0 0 24px rgba(212, 175, 55, 0.35));
}

.mobile-menu__seal {
  filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.4));
}

.phase--active {
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(212, 175, 55, 0.12);
}

.story-panel li span {
  color: var(--gold);
}

/* Timeline American accent */
.history .timeline {
  border-left-color: rgba(212, 175, 55, 0.35);
}

.history .year {
  color: var(--gold-bright);
}

/* Nav active underline gold pulse */
.nav-links a.is-active span {
  color: var(--gold-bright);
}

@media (max-width: 640px) {
  .has-patriot-bg .pillar,
  .has-patriot-bg .stat,
  .has-patriot-bg .protocol-card,
  .has-patriot-bg .phase {
    backdrop-filter: blur(4px);
    background-color: rgba(5, 8, 10, 0.45);
  }

  .hero-wash {
    background:
      linear-gradient(90deg, rgba(5, 8, 10, 0.88) 0%, rgba(5, 8, 10, 0.55) 40%, rgba(5, 8, 10, 0.2) 100%),
      linear-gradient(180deg, rgba(5, 8, 10, 0.15) 0%, transparent 30%, rgba(5, 8, 10, 0.75) 100%) !important;
  }
}

.flow-board__header {
  border-bottom-color: rgba(212, 175, 55, 0.25);
}

.flow-bar i {
  background: linear-gradient(90deg, #002868, var(--gold), #bf0a30) !important;
}

.flow-pct {
  color: var(--gold-bright);
}

.dock {
  box-shadow: 0 12px 36px rgba(212, 175, 55, 0.35), 0 0 0 1px rgba(191, 10, 48, 0.15);
}

.to-top:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.scroll-progress__bar {
  background: linear-gradient(90deg, var(--gold-deep, #8b5a2b), var(--gold), var(--gold-bright)) !important;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.45);
}

/* Timeline â€œNOWâ€ emphasis */
.timeline li.now {
  border-color: rgba(212, 175, 55, 0.4);
  background: linear-gradient(90deg, rgba(0, 40, 104, 0.25), rgba(191, 10, 48, 0.12), transparent);
  box-shadow: inset 3px 0 0 var(--gold);
}

.timeline li.now .year {
  color: var(--gold-bright);
  letter-spacing: 0.12em;
}

.timeline li.now .event {
  color: #fff;
}

/* Token card polish */
.token-card__header img {
  filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.35));
}

.ca-code {
  font-variant-ligatures: none;
  letter-spacing: 0.02em;
}

.btn-copy:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Mobile touch targets */
@media (max-width: 640px) {
  .nav-burger {
    min-width: 44px;
    min-height: 44px;
  }

  .to-top,
  .dock {
    min-height: 44px;
  }

  .footer-cols a {
    padding: 0.35rem 0;
  }

  .chapter-mark {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
  }
}

/* Hero brand lockup gold accent */
.brand-lockup {
  letter-spacing: 0.28em;
}

.brand-lockup img {
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.4));
}

/* Distinction pull-quote */
.distinction .title-gold {
  text-shadow: 0 0 40px rgba(212, 175, 55, 0.25);
}

@media (prefers-reduced-motion: reduce) {
  .has-patriot-bg .pillar,
  .has-patriot-bg .stat,
  .has-patriot-bg .protocol-card,
  .has-patriot-bg .phase,
  .has-patriot-bg .flow-board,
  .has-patriot-bg .token-card,
  .has-patriot-bg .countdown-shell,
  .has-patriot-bg .story-panel,
  .has-patriot-bg .cta__frame,
  .pillar-chip,
  .discover-quote {
    backdrop-filter: none;
    background-color: rgba(5, 8, 10, 0.72);
  }

  .protocol-card {
    transition: none;
  }

  .has-patriot-bg .stat:hover,
  .has-patriot-bg .pillar:hover,
  .has-patriot-bg .phase:hover {
    transform: none;
  }
}

/* â”€â”€ Craft pass: oil / eagle readability & surfaces â”€â”€ */

html {
  scrollbar-color: var(--gold) var(--navy-2);
  scrollbar-width: thin;
}

html::-webkit-scrollbar {
  width: 8px;
}

html::-webkit-scrollbar-track {
  background: var(--navy-2);
}

html::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold), #8b5a2b);
  border-radius: 4px;
}

.has-patriot-bg .pillar,
.has-patriot-bg .phase,
.has-patriot-bg .stat {
  transition:
    border-color 0.35s ease,
    transform 0.4s var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1)),
    box-shadow 0.35s ease,
    background-color 0.35s ease;
}

.has-patriot-bg .pillar:hover,
.has-patriot-bg .phase:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.has-patriot-bg .pillar {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
}

.system .pillar h3 {
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

/* Stronger CTA eagle at page bottom */
.cta .patriot-bg--cta {
  background:
    linear-gradient(180deg, rgba(5, 8, 10, 0.48), rgba(5, 8, 10, 0.9)),
    linear-gradient(90deg, rgba(0, 40, 104, 0.28), transparent 40%, rgba(191, 10, 48, 0.2)),
    radial-gradient(ellipse at 50% 30%, rgba(212, 175, 55, 0.18), transparent 55%),
    url("assets/bg-eagle-heroic.webp") center 22% / cover no-repeat !important;
  filter: contrast(1.1) saturate(1.12) brightness(0.94);
}

.cta.section.has-patriot-bg.in-view .patriot-bg--cta {
  opacity: 0.58 !important;
}

.cta__seal {
  filter: drop-shadow(0 0 22px rgba(212, 175, 55, 0.45));
  animation: sealPulse 4.5s ease-in-out infinite;
}

@keyframes sealPulse {
  0%, 100% { filter: drop-shadow(0 0 18px rgba(212, 175, 55, 0.35)); transform: scale(1); }
  50% { filter: drop-shadow(0 0 28px rgba(212, 175, 55, 0.55)); transform: scale(1.03); }
}

/* Oil-section surface tint */
.system.has-patriot-bg .pillar,
.flow.has-patriot-bg .flow-board,
.story.has-patriot-bg .story-panel,
.roadmap.has-patriot-bg .phase {
  background-color: rgba(5, 8, 10, 0.42);
  border-color: rgba(212, 175, 55, 0.32);
}

.window.has-patriot-bg .countdown-shell,
.why.has-patriot-bg .stat,
.token.has-patriot-bg .token-card {
  background-color: rgba(5, 8, 10, 0.48);
}

.story-panel__portrait img {
  filter: saturate(1.05) contrast(1.05);
  transition: transform 0.8s var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1));
}

.story-panel:hover .story-panel__portrait img {
  transform: scale(1.04);
}

.phase--active .phase-tag {
  letter-spacing: 0.08em;
}

.phase--active h3 {
  color: var(--gold-bright);
}

.protocol-num {
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.35);
}

.disclaimer {
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  padding-top: 1.5rem;
  line-height: 1.65;
}

.nav-links a span {
  position: relative;
}

.nav-links a.is-active span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero-ctas .btn-outline {
  backdrop-filter: blur(4px);
  background: rgba(5, 8, 10, 0.25);
}

.marquee__star {
  color: var(--gold);
  opacity: 0.85;
}

.section-kicker {
  text-transform: uppercase;
}

.timeline li {
  transition: background 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
}

.timeline li:hover {
  transform: translateX(4px);
}

.timeline li.now:hover {
  transform: translateX(6px);
}

.live-dot {
  box-shadow: 0 0 10px rgba(191, 10, 48, 0.8);
}

.ca-hint {
  opacity: 0.65;
  font-size: 0.8rem;
}

.toast.is-show {
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

@media (max-width: 640px) {
  .has-patriot-bg .section-title {
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7);
  }

  .cta.section.has-patriot-bg.in-view .patriot-bg--cta,
  .protocol.has-patriot-bg.in-view .patriot-bg--eagle-heroic {
    opacity: 0.38 !important;
  }

  .hero-ctas {
    gap: 0.75rem;
  }
}

.section.is-entered .section-kicker {
  opacity: 1;
}

.section .section-kicker {
  transition: opacity 0.6s ease;
}

.hero-fineprint {
  letter-spacing: 0.04em;
}

.countdown-date {
  letter-spacing: 0.06em;
}

.pillar-num {
  font-variant-numeric: tabular-nums;
}

/* Niche craft: discover / history / footer */
.discover-quote p {
  font-family: var(--font-display, "Bebas Neue", sans-serif);
  letter-spacing: 0.04em;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  line-height: 1.2;
}

.discover .pillar-chip {
  transition: border-color 0.3s ease, transform 0.35s var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1)), background 0.3s ease;
}

.discover .pillar-chip:hover {
  border-color: rgba(212, 175, 55, 0.55);
  transform: translateX(4px);
  background: rgba(5, 8, 10, 0.55);
}

.history .timeline li.now .timeline__note {
  color: var(--gold-bright);
}

.footer-logo {
  transition: transform 0.45s ease, filter 0.45s ease;
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.25));
}

.footer-brand:hover .footer-logo {
  transform: rotate(-6deg) scale(1.05);
  filter: drop-shadow(0 0 16px rgba(212, 175, 55, 0.45));
}

.footer-cols a {
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.footer-cols a:hover {
  color: var(--gold-bright);
  padding-left: 0.25rem;
}

.protocol-link {
  transition: color 0.25s ease, letter-spacing 0.25s ease;
}

.protocol-link:hover {
  color: var(--gold-bright);
  letter-spacing: 0.04em;
}

.skip-link:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.btn-gold.is-pressed {
  filter: brightness(0.92);
}

.dock.is-show {
  animation: dockIn 0.45s var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1)) both;
}

@keyframes dockIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.token-live {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.window .countdown-num {
  font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
  .discover .pillar-chip:hover,
  .footer-brand:hover .footer-logo,
  .footer-cols a:hover {
    transform: none;
    padding-left: 0;
  }

  .dock.is-show {
    animation: none;
  }
}

