:root {
  --c-primary: #FF4D00;
  --c-bg-dark: #2A2E45;
  --c-ink: #12172A;
  --c-night: #12172A;
  --c-gold: #FFB300;
  --c-stone: #F5F2ED;
  --c-blood: #C8102E;
  --c-river: #2A9D8F;
  --c-sand: #E9C46A;
  --c-white: #FFFFFF;
  --gradient-energy: linear-gradient(135deg, #FF4D00 0%, #C8102E 100%);
  --gradient-coin: linear-gradient(45deg, #FFB300 0%, #FFB300 20%, #E9C46A 100%);
  --font-head: Impact, 'Arial Black', sans-serif;
  --font-body: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-md: 1rem;
  --text-lg: 1.5rem;
  --text-xl: 3rem;
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 4px;
}

*, ::before, ::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--c-stone);
  color: var(--c-bg-dark);
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 900;
  color: var(--c-ink);
  line-height: 1.2;
}

:focus-visible {
  outline: 4px solid var(--c-river);
  outline-offset: 2px;
}

/* Skip Link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--c-night);
  color: var(--c-stone);
  padding: 0.8rem 1.5rem;
  z-index: 9999;
  border-radius: 0 0 var(--radius) 0;
  transition: left 0.3s ease-in-out;
}
.skip-link:focus {
  left: 0;
}

/* Header */
.site-header {
  background: var(--c-bg-dark);
  color: var(--c-white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), 0 100%);
}

.header-band {
  height: 4px;
  background: var(--gradient-energy);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  min-height: 72px;
  padding-block: var(--space-sm);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  min-width: 48px;
  min-height: 40px;
  padding: var(--space-xs) var(--space-sm);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: var(--text-lg);
  color: var(--c-white);
  background: var(--gradient-energy);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 100%, 8px 100%);
  border-radius: 2px;
  letter-spacing: -1px;
}

.brand-group {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: -0.5px;
}

.brand-sub {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--c-gold);
}

.nav-primary {
  display: flex;
  gap: var(--space-sm);
  margin-left: auto;
}

.nav-primary a {
  position: relative;
  font-weight: 500;
  color: var(--c-stone);
  padding: 0.5rem 0.75rem;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color var(--transition);
}

.nav-primary a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--c-gold);
  transition: width var(--transition);
}

.nav-primary a:hover,
.nav-primary a[aria-current="page"] {
  color: var(--c-gold);
}

.nav-primary a[aria-current="page"]::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 48px;
  height: 36px;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.toggle-bar {
  width: 100%;
  height: 3px;
  background: var(--c-stone);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.6rem 1.8rem;
  background: var(--c-bg-dark);
  color: var(--c-stone);
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 2px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.btn-cta {
  background: var(--gradient-energy);
  color: var(--c-white);
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  padding: 0.6rem 1.4rem 0.6rem 2rem;
}

.btn-cta:hover {
  color: var(--c-white);
  transform: translateX(2px);
  filter: saturate(1.2) brightness(1.05);
}

/* Footer */
.site-footer {
  background: var(--c-night);
  color: var(--c-stone);
  margin-top: var(--space-lg);
  border-top: 3px solid var(--c-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
  gap: var(--space-md);
  padding-block: var(--space-lg);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-logo {
  font-family: var(--font-head);
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--c-white);
  line-height: 0.9;
  letter-spacing: -2px;
}

.footer-dot {
  color: var(--c-primary);
}

.footer-tagline {
  color: var(--c-sand);
  font-size: var(--text-sm);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  max-width: 220px;
}

.footer-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--c-gold);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(255, 179, 0, 0.2);
  padding-bottom: 0.5rem;
}

.footer-links,
.footer-contact,
.footer-state {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer-links a,
.footer-contact a {
  font-size: var(--text-sm);
  color: var(--c-stone);
  transition: color var(--transition);
  width: fit-content;
}

.footer-links a:hover {
  color: var(--c-gold);
}

.footer-links a:focus-visible {
  outline-color: var(--c-gold);
}

.footer-contact p {
  font-size: var(--text-sm);
  line-height: 1.6;
  word-break: break-all;
}

.footer-state p {
  font-size: var(--text-sm);
  color: var(--c-river);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding-block: var(--space-sm);
  border-top: 1px solid rgba(255, 179, 0, 0.2);
  font-size: var(--text-xs);
}

.footer-bottom a {
  color: var(--c-gold);
}

/* Common reusable components */
.stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.2rem 0.8rem;
  background: var(--c-stone);
  border: 1px solid var(--c-primary);
  border-radius: 99px;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--c-bg-dark);
}

.section-panel {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--c-stone);
  border-radius: var(--radius);
  padding: var(--space-md);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

/* Image frame base */
.media-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(145deg, #f0f0f5, #e0e0ea);
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
}

.media-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 77, 0, 0.1) 0%, rgba(18, 23, 42, 0.05) 100%);
  z-index: -1;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Data grid */
.data-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-md);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .nav-primary {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    background: var(--c-ink);
    flex-direction: column;
    gap: 0;
    padding: var(--space-sm);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  }

  .nav-primary[data-open] {
    display: flex;
  }

  .nav-primary a {
    padding: var(--space-sm);
    border-bottom: 1px solid var(--c-bg-dark);
  }

  .brand {
    margin-right: auto;
  }

  .header-inner {
    gap: var(--space-sm);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .brand-text {
    font-size: 1.2rem;
  }

  .btn-cta {
    display: none;
  }
}
</styles>
