/* =====================================================================
   Dream Sweep Stakes — editorial design system
   Navy #0A1128 · Gold #C5A059 · Charcoal #334155 · Off-white #F8FAFC
   ===================================================================== */

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

:root {
  --navy: #0a1128;
  --ink: #1e293b;
  --charcoal: #334155;
  --slate: #64748b;
  --offwhite: #f8fafc;
  --gold: #c5a059;
  --gold-dark: #b08a42;
  --gold-light: #fdfbf7;
  --border: #e2e8f0;
  --success: #067a55;
  --error: #c0392b;
  --amber: #b45309;
  --shadow: 0 4px 24px -6px rgba(10, 17, 40, 0.1);
  --shadow-lg: 0 24px 60px -18px rgba(10, 17, 40, 0.28);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--charcoal);
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

h1,
h2,
h3,
h4 {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--navy);
  margin: 0 0 0.5rem;
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.01em;
}
h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
}
h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.9rem);
}
h3 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
}
p {
  margin: 0 0 1rem;
}
a {
  color: var(--gold-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: var(--navy);
}
img {
  max-width: 100%;
  display: block;
}
::selection {
  background: var(--gold);
  color: var(--navy);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section {
  padding: 5rem 0;
}
.section-sm {
  padding: 3.5rem 0;
}
.bg-offwhite {
  background: var(--offwhite);
}
.bg-navy {
  background: var(--navy);
  color: #cbd5e1;
}
.bg-goldlight {
  background: var(--gold-light);
}
.text-center {
  text-align: center;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.maxw-680 {
  max-width: 680px;
}
.maxw-820 {
  max-width: 820px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 200;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* ---- Overline / eyebrow labels ---- */
.overline {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-weight: 600;
  color: var(--gold-dark);
  display: inline-block;
  margin-bottom: 1rem;
}
.overline.on-dark {
  color: var(--gold);
}
.gold-rule {
  height: 2px;
  width: 46px;
  background: var(--gold);
  border: 0;
  margin: 0 0 1.4rem;
}
.gold-rule.center {
  margin-left: auto;
  margin-right: auto;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.85rem 1.6rem;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease;
  text-align: center;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.btn-gold:hover {
  background: var(--gold-dark);
  color: #fff;
}
.btn-navy {
  background: var(--navy);
  color: #fff;
}
.btn-navy:hover {
  background: var(--ink);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: rgba(197, 160, 89, 0.7);
}
.btn-outline:hover {
  background: rgba(197, 160, 89, 0.12);
  color: var(--navy);
}
.btn-outline.on-dark {
  color: #fff;
  border-color: rgba(197, 160, 89, 0.6);
}
.btn-outline.on-dark:hover {
  background: rgba(197, 160, 89, 0.16);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  color: var(--slate);
  border-color: var(--border);
}
.btn-ghost:hover {
  color: var(--navy);
  border-color: var(--navy);
}
.btn-block {
  width: 100%;
}
.btn-lg {
  padding: 1rem 2rem;
  font-size: 0.9rem;
}
.btn-sm {
  padding: 0.5rem 0.9rem;
  font-size: 0.78rem;
}
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

/* =====================================================================
   Header
   ===================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 6px 24px -14px rgba(10, 17, 40, 0.35);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.brand-mark {
  display: inline-flex;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-name {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--navy);
  letter-spacing: 0.01em;
}
.brand-sub {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-top: 2px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.nav-link {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--charcoal);
  letter-spacing: 0.01em;
  position: relative;
  padding: 0.3rem 0;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.nav-link:hover,
.nav-link.is-active {
  color: var(--navy);
}
.nav-link.is-active::after,
.nav-link:hover::after {
  width: 100%;
}
.header-cta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.nav-cta-mobile {
  display: none;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition:
    transform 0.25s ease,
    opacity 0.2s ease;
}
.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---- Flash ---- */
.flash-wrap {
  margin-top: 1.25rem;
}
.flash {
  padding: 0.9rem 1.2rem;
  border-radius: 4px;
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
  border: 1px solid;
}
.flash-success {
  background: #ecfdf5;
  color: var(--success);
  border-color: #a7f3d0;
}
.flash-error {
  background: #fef2f2;
  color: var(--error);
  border-color: #fecaca;
}
.flash-info {
  background: var(--gold-light);
  color: var(--amber);
  border-color: rgba(197, 160, 89, 0.4);
}

/* =====================================================================
   Hero
   ===================================================================== */
.hero {
  position: relative;
  background: var(--navy);
  color: #e2e8f0;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.5;
}
.hero-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(10, 17, 40, 0.97) 0%,
    rgba(10, 17, 40, 0.86) 42%,
    rgba(10, 17, 40, 0.5) 100%
  );
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 6rem 0 6.5rem;
  max-width: 680px;
}
.hero h1 {
  color: #fff;
  margin-bottom: 1.4rem;
}
.hero-lede {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
  max-width: 560px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.6rem;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(197, 160, 89, 0.25);
}
.hero-trust .stat-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.hero-trust .stat-label {
  font-size: 0.74rem;
  color: #94a3b8;
  margin-top: 0.35rem;
  letter-spacing: 0.04em;
}

/* ---- Section heading block ---- */
.section-head {
  max-width: 640px;
  margin-bottom: 3rem;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head p {
  color: var(--slate);
  font-size: 1.02rem;
}

/* =====================================================================
   Cards & grids
   ===================================================================== */
.grid {
  display: grid;
  gap: 1.75rem;
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card-body {
  padding: 1.6rem;
}

/* Steps */
.step {
  position: relative;
  padding: 2rem 1.6rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: var(--shadow);
}
.step-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 0.8rem;
}
.step h3 {
  font-size: 1.25rem;
}
.step p {
  color: var(--slate);
  font-size: 0.92rem;
  margin: 0;
}

/* Contest cards */
.contest-card {
  display: flex;
  flex-direction: column;
}
.contest-media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.contest-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card:hover .contest-media img {
  transform: scale(1.04);
}
.contest-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 3px;
  background: rgba(10, 17, 40, 0.85);
  color: var(--gold);
}
.contest-badge.upcoming {
  background: rgba(180, 83, 9, 0.9);
  color: #fff;
}
.contest-body {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.contest-prize {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  color: var(--navy);
  font-weight: 600;
  margin: 0.2rem 0 0.5rem;
}
.contest-meta {
  font-size: 0.8rem;
  color: var(--slate);
  margin-bottom: 1.1rem;
}
.contest-meta strong {
  color: var(--charcoal);
}
.contest-foot {
  margin-top: auto;
  padding-top: 1rem;
}

/* Winner cards */
.winner-card {
  position: relative;
}
.winner-media {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--offwhite);
}
.winner-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.winner-body {
  padding: 1.4rem 1.5rem 1.7rem;
}
.winner-prize {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.winner-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.45rem;
  color: var(--navy);
  font-weight: 600;
  margin: 0.3rem 0 0.1rem;
}
.winner-loc {
  font-size: 0.82rem;
  color: var(--slate);
  margin-bottom: 0.8rem;
}
.winner-story {
  font-size: 0.9rem;
  color: var(--charcoal);
}
.illustrative-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.92);
  color: var(--amber);
  padding: 0.3rem 0.55rem;
  border-radius: 3px;
  border: 1px solid rgba(180, 83, 9, 0.3);
}

/* Trust list */
.trust-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}
.trust-list li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--charcoal);
}
.trust-list .tick {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.15);
  color: var(--gold-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  margin-top: 2px;
}

.media-frame {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* =====================================================================
   Forms
   ===================================================================== */
.form-wrap {
  max-width: 760px;
}
.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 2.4rem;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 1.25rem;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.field.full {
  grid-column: 1 / -1;
}
.field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.01em;
}
.field .req {
  color: var(--error);
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="password"],
.field select,
.field textarea {
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--ink);
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #fff;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.18);
}
.field .hint {
  font-size: 0.74rem;
  color: var(--slate);
}
.checkline {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--charcoal);
}
.checkline input {
  margin-top: 0.25rem;
  width: 17px;
  height: 17px;
  accent-color: var(--gold-dark);
  flex: 0 0 auto;
}
.fieldset-legend {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-dark);
  margin: 1.8rem 0 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
}
.captcha-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--offwhite);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1rem 1.2rem;
}
.captcha-box .cap-q {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.9rem;
}
.captcha-box input {
  max-width: 120px;
}
.form-actions {
  margin-top: 1.8rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}
.field-error {
  border-color: var(--error) !important;
}
.consent-note {
  font-size: 0.78rem;
  color: var(--slate);
  line-height: 1.6;
  margin-top: 1.2rem;
}

/* Result states */
.result {
  border-radius: 8px;
  padding: 2rem 2.2rem;
  margin-top: 2rem;
  border: 1px solid var(--border);
}
.result-verified {
  border-color: #a7f3d0;
  background: #f0fdf9;
}
.result-pending {
  border-color: rgba(197, 160, 89, 0.4);
  background: var(--gold-light);
}
.result-none {
  border-color: #fecaca;
  background: #fef7f7;
}
.result-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.result-verified .result-icon {
  background: #d1fae5;
  color: var(--success);
}
.result-pending .result-icon {
  background: rgba(197, 160, 89, 0.2);
  color: var(--gold-dark);
}
.result-none .result-icon {
  background: #fee2e2;
  color: var(--error);
}
.result h3 {
  margin-bottom: 0.4rem;
}
.result-detail {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.4rem 1.4rem;
  margin-top: 1rem;
  font-size: 0.9rem;
}
.result-detail dt {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate);
}
.result-detail dd {
  margin: 0;
  color: var(--navy);
  font-weight: 600;
}

.confirm-box {
  text-align: center;
  padding: 3rem 2rem;
}
.confirm-code {
  font-family: "JetBrains Mono", monospace;
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  color: var(--navy);
  background: var(--gold-light);
  border: 1px dashed var(--gold);
  border-radius: 6px;
  padding: 1rem 1.4rem;
  display: inline-block;
  margin: 1rem 0;
}

/* Security note */
.security-note {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  background: var(--offwhite);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  padding: 1.1rem 1.3rem;
  font-size: 0.85rem;
  color: var(--charcoal);
  margin-top: 1.6rem;
}

/* =====================================================================
   Page hero (interior pages)
   ===================================================================== */
.page-hero {
  background: var(--navy);
  color: #cbd5e1;
  padding: 4rem 0 3.5rem;
}
.page-hero h1 {
  color: #fff;
}
.page-hero p {
  color: #94a3b8;
  max-width: 620px;
  font-size: 1.05rem;
}
.breadcrumb {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

/* Legal / prose */
.prose {
  max-width: 820px;
}
.prose h2 {
  font-size: 1.7rem;
  margin-top: 2.6rem;
}
.prose h3 {
  font-size: 1.25rem;
  margin-top: 1.8rem;
}
.prose p,
.prose li {
  color: var(--charcoal);
  font-size: 0.96rem;
}
.prose ul {
  padding-left: 1.2rem;
}
.prose .placeholder {
  background: var(--gold-light);
  border-left: 3px solid var(--gold);
  padding: 0.2rem 0.5rem;
  font-style: italic;
  color: var(--amber);
}
.toc {
  background: var(--offwhite);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.4rem 1.6rem;
  margin-bottom: 2.5rem;
}
.toc h4 {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.toc ol {
  margin: 0.6rem 0 0;
  padding-left: 1.2rem;
  columns: 2;
  font-size: 0.88rem;
}
.toc a {
  color: var(--charcoal);
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 1.4rem 2.5rem 1.4rem 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
  color: var(--navy);
  font-weight: 600;
  cursor: pointer;
  position: relative;
}
.faq-q::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: sans-serif;
  font-size: 1.5rem;
  color: var(--gold-dark);
  transition: transform 0.25s ease;
}
.faq-item.is-open .faq-q::after {
  transform: translateY(-50%) rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.is-open .faq-a {
  max-height: 400px;
}
.faq-a p {
  padding-bottom: 1.4rem;
  color: var(--charcoal);
  margin: 0;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}
.contact-item {
  display: flex;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border);
}
.contact-item .ci-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--slate);
}
.contact-item .ci-value {
  color: var(--navy);
  font-weight: 600;
}

/* Reveal animation */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* =====================================================================
   Footer
   ===================================================================== */
.site-footer {
  background: var(--navy);
  color: #94a3b8;
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brandline .brand-name {
  color: #fff;
}
.footer-tag {
  color: #cbd5e1;
  margin: 1rem 0 0.8rem;
  max-width: 320px;
  font-size: 0.92rem;
}
.footer-fineprint {
  font-size: 0.74rem;
  color: #64748b;
  max-width: 340px;
}
.footer-col h4 {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.footer-col a {
  display: block;
  color: #94a3b8;
  font-size: 0.88rem;
  padding: 0.3rem 0;
}
.footer-col a:hover {
  color: #fff;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.6rem;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: #64748b;
  margin: 0;
}
.footer-note {
  max-width: 620px;
}

/* =====================================================================
   Admin
   ===================================================================== */
.admin-body {
  background: var(--offwhite);
  min-height: 100vh;
}
.admin-shell {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 100vh;
}
.admin-sidebar {
  background: var(--navy);
  color: #cbd5e1;
  padding: 1.6rem 1.1rem;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.admin-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0 0.4rem 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.2rem;
}
.admin-brand .brand-name {
  color: #fff;
  font-size: 1.15rem;
}
.admin-nav a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #94a3b8;
  font-size: 0.86rem;
  padding: 0.65rem 0.7rem;
  border-radius: 5px;
  margin-bottom: 0.2rem;
}
.admin-nav a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}
.admin-nav a.is-active {
  background: rgba(197, 160, 89, 0.16);
  color: var(--gold);
}
.admin-signout {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.admin-main {
  padding: 2rem 2.4rem;
}
.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.admin-topbar h1 {
  font-size: 2rem;
  margin: 0;
}
.admin-topbar .who {
  font-size: 0.82rem;
  color: var(--slate);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-bottom: 2rem;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow);
}
.stat-card .s-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--slate);
}
.stat-card .s-value {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
  margin-top: 0.3rem;
}

.panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
  overflow: hidden;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 0.8rem;
}
.panel-head h2 {
  font-size: 1.35rem;
  margin: 0;
}
.panel-body {
  padding: 1.5rem;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}
.table th {
  text-align: left;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate);
  padding: 0.7rem 1rem;
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}
.table td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--charcoal);
  vertical-align: middle;
}
.table tr:hover td {
  background: var(--offwhite);
}
.table .actions {
  display: flex;
  gap: 0.4rem;
}
.tag {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.55rem;
  border-radius: 3px;
}
.tag-verified {
  background: #d1fae5;
  color: var(--success);
}
.tag-pending {
  background: rgba(197, 160, 89, 0.2);
  color: var(--gold-dark);
}
.tag-not_a_winner,
.tag-closed {
  background: #fee2e2;
  color: var(--error);
}
.tag-active {
  background: #dbeafe;
  color: #1d4ed8;
}
.tag-upcoming {
  background: #fef3c7;
  color: var(--amber);
}

.admin-login-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--navy);
  padding: 2rem;
}
.admin-login-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  padding: 2.6rem;
  width: 100%;
  max-width: 420px;
}
.admin-login-card .brand {
  justify-content: center;
  margin-bottom: 1.6rem;
}

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--slate);
}
.empty-state .es-icon {
  font-size: 2rem;
  margin-bottom: 0.6rem;
}

.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 120px;
  padding-top: 1rem;
}
.bar-chart .bar {
  flex: 1;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-dark) 100%);
  border-radius: 3px 3px 0 0;
  min-height: 3px;
  position: relative;
}
.bar-chart .bar span {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.58rem;
  color: var(--slate);
  white-space: nowrap;
}

.inline-form {
  display: inline;
}
.help-text {
  font-size: 0.82rem;
  color: var(--slate);
}

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 960px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .admin-shell {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    position: static;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.3rem;
  }
  .admin-brand {
    width: 100%;
    margin-bottom: 0.6rem;
    padding-bottom: 0.8rem;
  }
  .admin-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem;
  }
  .admin-signout {
    margin: 0 0 0 auto;
    border: 0;
    padding: 0;
  }
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .admin-main {
    padding: 1.5rem;
  }
}

@media (max-width: 820px) {
  .header-cta {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .main-nav {
    position: fixed;
    inset: 78px 0 auto 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-140%);
    transition: transform 0.3s ease;
    max-height: calc(100vh - 78px);
    overflow-y: auto;
  }
  .main-nav.is-open {
    transform: translateY(0);
  }
  .nav-link {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
  }
  .nav-link::after {
    display: none;
  }
  .nav-cta-mobile {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-top: 1.2rem;
  }
}

@media (max-width: 680px) {
  .grid-2,
  .grid-3,
  .grid-4,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .stat-grid {
    grid-template-columns: 1fr;
  }
  .hero-inner {
    padding: 4rem 0 4.5rem;
  }
  .form-card {
    padding: 1.5rem;
  }
  .toc ol {
    columns: 1;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .section {
    padding: 3.2rem 0;
  }
}
