/* ============================================================
   PARKA — parka.komatik.xyz
   Aesthetic: satirical American propaganda broadside.
   Old Glory red/white/blue on aged poster paper. Condensed
   gothic display, Franklin body, typewriter for the
   faux-government apparatus. Idiocracy energy, IRS dress code.
   ============================================================ */

:root {
  --red: #b31942;          /* old glory red */
  --red-dark: #8f1334;
  --navy: #0a3161;         /* old glory blue */
  --navy-deep: #071f3d;
  --paper: #f3efe2;        /* aged poster paper */
  --paper-2: #ece6d3;
  --cream: #fdfbee;
  --ink: #14120c;
  --line: rgba(20, 18, 12, 0.18);
  --line-light: rgba(243, 239, 226, 0.22);
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --body: "Libre Franklin", "Franklin Gothic Medium", sans-serif;
  --type: "Special Elite", "Courier New", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* aged-paper halftone */
  background-image:
    radial-gradient(rgba(20, 18, 12, 0.04) 1px, transparent 1.4px);
  background-size: 14px 14px;
}

::selection { background: var(--red); color: var(--cream); }
.type { font-family: var(--type); }

/* ---------- faux gov banner ---------- */
.gov-banner {
  background: var(--navy-deep);
  color: var(--cream);
  font-size: 0.72rem;
  padding: 0.45rem 1.5rem;
  text-align: center;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 200;
}
.gov-flag {
  display: inline-flex; flex-direction: column; gap: 2px;
  vertical-align: middle; margin-right: 0.6rem;
}
.gov-flag span { width: 18px; height: 3px; background: var(--red); }
.gov-flag span:nth-child(2) { background: var(--cream); }
.gov-how {
  background: none; border: none; color: var(--cream);
  font-family: var(--type); font-size: 0.72rem;
  text-decoration: underline; cursor: pointer; opacity: 0.85;
}
.gov-how:hover { opacity: 1; color: #f0c040; }
.gov-reveal {
  display: none;
  max-width: 640px; margin: 0.6rem auto 0.2rem;
  font-size: 0.7rem; line-height: 1.6; opacity: 0.9;
  border-top: 1px dashed var(--line-light);
  padding-top: 0.6rem;
}
.gov-reveal.open { display: block; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 2rem;
  background: var(--paper);
  border-bottom: 3px solid var(--ink);
  box-shadow: 0 3px 0 var(--red);
}
.nav-mark {
  display: flex; align-items: center; gap: 0.7rem;
  text-decoration: none; color: var(--ink);
}
.nav-name {
  font-family: var(--display); font-weight: 900; font-size: 1.5rem;
  letter-spacing: 0.06em;
}
.nav-name sup { font-size: 0.6rem; color: var(--red); }
.nav-dept {
  font-size: 0.6rem; color: var(--navy);
  border-left: 2px solid var(--line); padding-left: 0.7rem;
  letter-spacing: 0.04em;
}
.nav-links { display: flex; gap: 1.6rem; }
.nav-links a {
  font-weight: 700; font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--ink); text-decoration: none;
  border-bottom: 2px solid transparent; transition: border-color 0.15s, color 0.15s;
}
.nav-links a:hover { color: var(--red); border-bottom-color: var(--red); }
.nav-cta {
  font-family: var(--display); font-weight: 800; font-size: 0.95rem;
  letter-spacing: 0.1em;
  background: var(--red); color: var(--cream); text-decoration: none;
  padding: 0.5rem 1.2rem;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 0.12s, box-shadow 0.12s;
}
.nav-cta:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
@media (max-width: 1000px) { .nav-links, .nav-dept { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--display); font-weight: 800;
  font-size: 1.05rem; letter-spacing: 0.08em;
  text-decoration: none; text-transform: uppercase;
  padding: 0.85rem 1.8rem;
  border: 2.5px solid var(--ink);
  transition: transform 0.12s, box-shadow 0.12s;
}
.btn-red { background: var(--red); color: var(--cream); box-shadow: 4px 4px 0 var(--ink); }
.btn-navy { background: var(--navy); color: var(--cream); box-shadow: 4px 4px 0 var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: 4px 4px 0 rgba(20,18,12,0.25); }
.btn:hover { transform: translate(-2px, -2px); }
.btn-red:hover, .btn-navy:hover { box-shadow: 6px 6px 0 var(--ink); }
.btn-ghost:hover { box-shadow: 6px 6px 0 rgba(20,18,12,0.25); }
.btn-wide { display: block; text-align: center; margin-top: 1.5rem; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 5rem 2rem 0;
  max-width: 1150px; margin: 0 auto;
  text-align: center;
}
.hero-stars {
  color: var(--navy); opacity: 0.5;
  font-size: 0.85rem; letter-spacing: 1.1em;
  margin-bottom: 2.5rem; white-space: nowrap; overflow: hidden;
}
.hero-eyebrow {
  font-size: 0.78rem; color: var(--navy); letter-spacing: 0.1em;
  margin-bottom: 1.6rem;
}
.hero-title {
  font-family: var(--display); font-weight: 900;
  line-height: 0.92; letter-spacing: 0.01em;
}
.hero-title > span { display: block; }
.hero-title > span:first-child { font-size: clamp(3rem, 9vw, 7rem); }
.hero-red {
  font-size: clamp(5rem, 17vw, 13.5rem);
  color: var(--red);
  text-shadow: 6px 6px 0 var(--navy);
  margin: 0.2rem 0 1rem;
}
.hero-period { color: var(--navy); text-shadow: 6px 6px 0 var(--red); }
.hero-sub-line {
  font-size: clamp(1.6rem, 4.5vw, 3.2rem);
  color: var(--navy);
  font-weight: 800;
}
.hero-sub-line em { font-style: normal; color: var(--red); text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 6px; }
.hero-deck {
  max-width: 620px; margin: 2.5rem auto 0;
  font-size: 1.1rem; line-height: 1.7;
}
.hero-deck p + p { margin-top: 1rem; }
.hero-ctas {
  display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap;
  margin: 2.8rem 0 4rem;
}
.hero-ticker {
  border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
  background: var(--navy); color: var(--cream);
  overflow: hidden; white-space: nowrap;
  padding: 0.6rem 0; font-size: 0.8rem; letter-spacing: 0.06em;
  width: 100vw; margin-left: calc(50% - 50vw);
}
.ticker-track { display: inline-flex; animation: ticker 60s linear infinite; }
.ticker-track span { padding-right: 3rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section {
  padding: 6.5rem 2rem;
  max-width: 1150px; margin: 0 auto;
}
.section-blue, .section-red {
  max-width: none; color: var(--cream);
}
.section-blue { background: var(--navy); border-top: 6px double var(--ink); border-bottom: 6px double var(--ink); }
.section-red { background: var(--red); border-top: 6px double var(--ink); border-bottom: 6px double var(--ink); }
.section-blue > *, .section-red > * { max-width: 1150px; margin-left: auto; margin-right: auto; }

.section-head { margin-bottom: 3.5rem; }
.kicker {
  display: inline-block;
  font-size: 0.75rem; letter-spacing: 0.12em;
  color: var(--red);
  border: 1.5px solid currentColor;
  padding: 0.3rem 0.8rem;
  margin-bottom: 1.4rem;
  transform: rotate(-1deg);
}
.kicker-light { color: var(--cream); }
.section h2 {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  line-height: 0.96; letter-spacing: 0.01em;
}
.section-lede {
  margin-top: 1.5rem; max-width: 46rem;
  font-size: 1.12rem; line-height: 1.7;
}
.section-blue .section-lede, .section-red .section-lede { opacity: 0.92; }

/* ---------- versus ---------- */
.versus {
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem; align-items: stretch;
  margin-bottom: 3.5rem;
}
@media (max-width: 880px) { .versus { grid-template-columns: 1fr; } .versus-vs { transform: rotate(0); padding: 0.5rem 0; } }
.versus-col {
  border: 2.5px solid var(--ink);
  background: var(--cream);
  box-shadow: 6px 6px 0 rgba(20, 18, 12, 0.18);
}
.versus-them { box-shadow: 6px 6px 0 var(--navy); }
.versus-you { box-shadow: 6px 6px 0 var(--red); }
.versus-head {
  padding: 0.8rem 1.4rem;
  font-size: 0.85rem; letter-spacing: 0.1em;
  border-bottom: 2.5px solid var(--ink);
}
.versus-them .versus-head { background: var(--navy); color: var(--cream); }
.versus-you .versus-head { background: var(--red); color: var(--cream); }
.versus-col ul { list-style: none; }
.versus-col li {
  padding: 1rem 1.4rem;
  font-size: 0.95rem; line-height: 1.55;
  border-bottom: 1px dashed var(--line);
}
.versus-col li:last-child { border-bottom: none; }
.cite {
  display: block; margin-top: 0.3rem;
  font-size: 0.66rem; color: var(--navy); opacity: 0.75;
}
.versus-vs {
  align-self: center;
  font-family: var(--display); font-weight: 900;
  font-size: 2.4rem; color: var(--red);
  transform: rotate(-6deg);
}

/* ---------- red panel ---------- */
.redpanel {
  background: var(--red); color: var(--cream);
  border: 2.5px solid var(--ink);
  box-shadow: 8px 8px 0 var(--navy);
  padding: 2.5rem;
  transform: rotate(-0.5deg);
}
.redpanel-big {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(1.5rem, 3.4vw, 2.4rem); line-height: 1;
  margin-bottom: 1.2rem;
}
.redpanel p:not(.redpanel-big):not(.redpanel-glass) { font-size: 1.05rem; line-height: 1.7; max-width: 52rem; }
.redpanel-glass {
  margin-top: 1.6rem; font-size: 0.75rem; letter-spacing: 0.08em;
  border-top: 1px dashed var(--line-light); padding-top: 1.2rem;
  opacity: 0.9;
}

/* ---------- perks ---------- */
.perks-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem;
  margin-bottom: 3rem;
}
@media (max-width: 950px) { .perks-grid { grid-template-columns: 1fr; } }
.perk {
  background: var(--cream); color: var(--ink);
  border: 2.5px solid var(--ink);
  box-shadow: 5px 5px 0 var(--red);
  padding: 1.8rem 1.6rem;
  transition: transform 0.15s, box-shadow 0.15s;
}
.perk:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--red); }
.perk-stamp {
  display: inline-block; font-size: 0.62rem; letter-spacing: 0.14em;
  color: var(--red); border: 1.5px solid var(--red);
  padding: 0.18rem 0.5rem; margin-bottom: 1rem;
  transform: rotate(-2deg);
}
.perk h3 {
  font-family: var(--display); font-weight: 800; font-size: 1.45rem;
  margin-bottom: 0.6rem; line-height: 1;
}
.perk p { font-size: 0.92rem; line-height: 1.6; }

.routing-strip {
  text-align: center;
  font-size: 0.74rem; letter-spacing: 0.1em;
  color: var(--cream); opacity: 0.85;
  border-top: 1px dashed var(--line-light);
  padding-top: 1.6rem;
}

/* ---------- pricing ---------- */
.price-cards {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 2rem;
  align-items: start;
}
@media (max-width: 900px) { .price-cards { grid-template-columns: 1fr; } }
.price-card {
  border: 2.5px solid var(--ink);
  padding: 2.2rem;
  background: var(--cream);
  position: relative;
}
.price-old { box-shadow: 6px 6px 0 rgba(20,18,12,0.2); opacity: 0.85; }
.price-new { box-shadow: 8px 8px 0 var(--red); background: var(--cream); }
.price-banner {
  position: absolute; top: -1rem; left: 50%; transform: translateX(-50%) rotate(-1.5deg);
  background: var(--navy); color: var(--cream);
  font-size: 0.62rem; letter-spacing: 0.1em; white-space: nowrap;
  padding: 0.35rem 1rem;
  border: 1.5px solid var(--ink);
}
.price-tag { font-size: 0.7rem; letter-spacing: 0.14em; color: var(--navy); margin-bottom: 0.6rem; }
.price-card h3 {
  font-family: var(--display); font-weight: 800; font-size: 1.8rem;
  line-height: 1; margin-bottom: 1rem;
}
.price-n {
  font-family: var(--display); font-weight: 900;
  font-size: 4rem; line-height: 1; color: var(--red);
  margin-bottom: 1.4rem;
}
.price-old .price-n { color: var(--ink); text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 5px; }
.price-n span { font-size: 1.3rem; font-weight: 700; }
.price-card ul { list-style: none; }
.price-card li {
  padding: 0.6rem 0 0.6rem 1.5rem; position: relative;
  font-size: 0.95rem; line-height: 1.5;
  border-bottom: 1px dashed var(--line);
}
.price-old li::before { content: "✗"; position: absolute; left: 0; color: var(--ink); opacity: 0.5; font-weight: 900; }
.price-new li::before { content: "★"; position: absolute; left: 0; color: var(--red); }
.price-fine {
  margin-top: 2.5rem; max-width: 56rem;
  font-size: 0.72rem; line-height: 1.8; letter-spacing: 0.04em;
  color: var(--navy);
}

/* ---------- rules ---------- */
.rules-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem;
  margin-bottom: 3rem;
}
@media (max-width: 800px) { .rules-grid { grid-template-columns: 1fr; } }
.rule {
  background: var(--cream); color: var(--ink);
  border: 2.5px solid var(--ink);
  box-shadow: 5px 5px 0 var(--navy);
  padding: 1.6rem 1.7rem;
}
.rule-n {
  display: inline-block; font-size: 0.66rem; letter-spacing: 0.16em;
  color: var(--cream); background: var(--navy);
  padding: 0.2rem 0.6rem; margin-bottom: 0.8rem;
}
.rule p { font-size: 0.98rem; line-height: 1.6; }
.legal-close {
  max-width: 48rem; font-size: 1.12rem; line-height: 1.7;
}

/* ---------- apply ---------- */
.apply { padding-bottom: 7rem; }
.apply-card {
  border: 3px solid var(--ink);
  background: var(--cream);
  box-shadow: 10px 10px 0 var(--red), 20px 20px 0 var(--navy);
  padding: 0 0 2.8rem;
  text-align: center;
  max-width: 860px; margin: 0 auto;
}
.apply-head {
  background: var(--ink); color: var(--cream);
  font-size: 0.68rem; letter-spacing: 0.12em;
  padding: 0.7rem 1rem; margin-bottom: 2.5rem;
}
.apply-card h2 {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.4rem); line-height: 0.96;
  margin-bottom: 1.4rem;
}
.apply-card > p {
  max-width: 38rem; margin: 0 auto 2rem; padding: 0 2rem;
  font-size: 1.02rem; line-height: 1.7;
}
.apply-row { display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; }
.apply-fine {
  margin-top: 2rem; font-size: 0.66rem; letter-spacing: 0.08em;
  color: var(--navy);
}

/* ---------- footer ---------- */
.footer {
  background: var(--navy-deep); color: var(--cream);
  padding: 4.5rem 2rem 2rem;
  border-top: 6px double var(--red);
}
.footer > * { max-width: 1150px; margin-left: auto; margin-right: auto; }
.footer-seal { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 3rem; }
.footer-seal p { font-family: var(--display); font-weight: 700; font-size: 1.25rem; line-height: 1.3; }
.footer-seal .type { font-family: var(--type); font-size: 0.62rem; letter-spacing: 0.1em; opacity: 0.7; font-weight: 400; }
.footer-cols {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  padding-bottom: 2.5rem; margin-bottom: 1.8rem;
  border-bottom: 1px dashed var(--line-light);
}
@media (max-width: 700px) { .footer-cols { grid-template-columns: 1fr; } }
.footer-cols > div { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-h { font-size: 0.64rem; letter-spacing: 0.2em; color: var(--red); margin-bottom: 0.3rem; filter: brightness(1.6); }
.footer-cols a, .footer-static {
  font-size: 0.74rem; color: rgba(243, 239, 226, 0.7);
  text-decoration: none;
}
.footer-cols a:hover { color: var(--cream); text-decoration: underline; }
.footer-base {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: 0.6rem; letter-spacing: 0.1em; color: rgba(243, 239, 226, 0.45);
}

/* ---------- animations ---------- */
.reveal { opacity: 0; transform: translateY(22px); animation: rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.d1 { animation-delay: 0.1s; } .d2 { animation-delay: 0.25s; }
.d3 { animation-delay: 0.45s; } .d4 { animation-delay: 0.65s; }
.d5 { animation-delay: 0.85s; } .d6 { animation-delay: 1.05s; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

.scroll-reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.scroll-reveal.in-view { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .scroll-reveal { opacity: 1; transform: none; }
}
