/* =====================================================
   Duck Is Never The Answer — styles.css
   ===================================================== */

:root {
  --duck-yellow: #FFD13A;
  --duck-yellow-deep: #F4B400;
  --duck-orange: #FF8A1E;
  --navy: #1a2240;
  --navy-soft: #2a3358;
  --offwhite: #FFF8E7;
  --offwhite-2: #FBEFCB;
  --red: #c41e1e;
  --red-deep: #8d1010;
  --green: #2f8f3f;
  --paper: #f3e6c4;
  --shadow: 0 6px 0 #1a2240;
  --shadow-soft: 0 8px 24px rgba(26, 34, 64, 0.15);
  --radius: 14px;
  --radius-lg: 22px;

  --font-display: "Impact", "Arial Black", "Helvetica Neue", sans-serif;
  --font-body: "Helvetica Neue", "Segoe UI", Roboto, system-ui, -apple-system, sans-serif;
  --font-mono: "Menlo", "Courier New", monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--offwhite);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body {
  background-image:
    radial-gradient(circle at 12% 8%, rgba(255, 209, 58, 0.18) 0, transparent 35%),
    radial-gradient(circle at 88% 92%, rgba(196, 30, 30, 0.10) 0, transparent 35%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

h1, h2, h3 { font-family: var(--font-display); letter-spacing: 1px; line-height: 1.05; color: var(--navy); margin: 0 0 0.5em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 4.4rem); text-transform: uppercase; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); text-transform: uppercase; }
h3 { font-size: 1.2rem; text-transform: uppercase; letter-spacing: 1.5px; }

p { margin: 0 0 1em; }
em { color: var(--red-deep); font-style: italic; }
strong { color: var(--navy); }

/* ---------- ALERT BAR ---------- */
.alert-bar {
  background: var(--red);
  color: var(--offwhite);
  padding: 8px 16px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  text-align: center;
}
.alert-bar strong { color: var(--offwhite); letter-spacing: 1.5px; }
.alert-light {
  display: inline-block;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #ffd13a;
  box-shadow: 0 0 0 0 rgba(255, 209, 58, 0.9);
  animation: pulse 1.6s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 209, 58, 0.9); transform: scale(1); }
  70%  { box-shadow: 0 0 0 14px rgba(255, 209, 58, 0); transform: scale(1.05); }
  100% { box-shadow: 0 0 0 0 rgba(255, 209, 58, 0); transform: scale(1); }
}

/* ---------- HEADER / NAV ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(16px, 4vw, 40px);
  background: var(--offwhite);
  border-bottom: 4px solid var(--navy);
  position: sticky;
  top: 0;
  z-index: 30;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
}
.brand-mark { display: inline-flex; }
.brand-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.brand-text strong { font-size: 1.1rem; }
.brand-text em { font-size: 0.75rem; color: var(--red); font-style: normal; letter-spacing: 2px; }

.primary-nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.nav-btn {
  background: transparent;
  border: 2px solid transparent;
  color: var(--navy);
  font-family: var(--font-display);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.nav-btn:hover,
.nav-btn:focus-visible {
  background: var(--duck-yellow);
  outline: none;
  transform: translateY(-1px);
}
.nav-btn.active {
  background: var(--navy);
  color: var(--duck-yellow);
}
.nav-btn:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: var(--duck-yellow);
  border: 2px solid var(--navy);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
}
.menu-toggle span {
  width: 24px; height: 3px;
  background: var(--navy);
  border-radius: 2px;
  display: block;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  font-family: var(--font-display);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 1rem;
  border: 3px solid var(--navy);
  border-radius: 12px;
  cursor: pointer;
  background: var(--offwhite);
  color: var(--navy);
  box-shadow: var(--shadow);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s ease;
  text-decoration: none;
}
.btn:hover, .btn:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--navy);
  outline: none;
}
.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--navy);
}
.btn:focus-visible { outline: 3px dashed var(--red); outline-offset: 4px; }
.btn-primary { background: var(--duck-yellow); }
.btn-primary:hover { background: var(--duck-yellow-deep); }
.btn-ghost { background: transparent; }
.btn-danger { background: var(--red); color: var(--offwhite); border-color: var(--navy); }
.btn-danger:hover { background: var(--red-deep); }
.btn-big { font-size: 1.15rem; padding: 16px 28px; }

/* ---------- PAGES ---------- */
.page {
  padding: clamp(28px, 5vw, 64px) clamp(16px, 5vw, 64px);
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
  flex: 1;
  animation: pageIn 0.35s ease both;
}
.page[hidden] { display: none; }

@keyframes pageIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.page-head {
  text-align: center;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.page-head .subhead {
  font-size: 1.15rem;
  color: var(--navy-soft);
  max-width: 720px;
  margin: 0 auto;
}

.kicker {
  display: inline-block;
  background: var(--navy);
  color: var(--duck-yellow);
  padding: 4px 12px;
  border-radius: 999px;
  font-family: var(--font-display);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 12px;
}
.red-kicker { background: var(--red); color: var(--offwhite); }

/* ---------- HOME / HERO ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(20px, 4vw, 40px) 0;
}
.hero h1 .strike-duck {
  position: relative;
  display: inline-block;
  color: var(--red);
}
.hero h1 .strike-duck::after {
  content: "";
  position: absolute;
  left: -4%; right: -4%;
  top: 55%;
  height: 8px;
  background: var(--red);
  transform: rotate(-3deg);
  border-radius: 4px;
}
.hero .subhead {
  font-size: 1.35rem;
  margin: 8px 0 14px;
  color: var(--navy);
  font-weight: 600;
}
.hero .lede {
  font-size: 1.05rem;
  color: var(--navy-soft);
  max-width: 560px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.trust-row {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 0;
  margin: 32px 0 0;
}
.trust-row li {
  background: var(--offwhite-2);
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  padding: 10px 12px;
  text-align: center;
}
.trust-row strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--red);
  letter-spacing: 1px;
}
.trust-row span {
  display: block;
  font-size: 0.78rem;
  color: var(--navy-soft);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-art {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#duckMascot {
  width: min(100%, 380px);
  cursor: pointer;
  filter: drop-shadow(0 10px 0 rgba(26, 34, 64, 0.18));
  transition: transform 0.2s ease;
}
#duckMascot:hover { transform: rotate(-3deg) scale(1.02); }
.duck-bob { animation: bob 3.4s ease-in-out infinite; }
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%      { transform: translateY(-10px) rotate(2deg); }
}
.mascot-hint {
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--navy-soft);
  font-style: italic;
}

.hero-speech {
  background: var(--navy);
  color: var(--offwhite);
  padding: 12px 18px;
  border-radius: 14px;
  position: relative;
  max-width: 280px;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  animation: pop 0.4s ease;
  box-shadow: var(--shadow);
}
.hero-speech::before {
  content: "";
  position: absolute;
  top: -10px; left: 30px;
  border: 10px solid transparent;
  border-bottom-color: var(--navy);
}
.hero-speech p { margin: 0; }
@keyframes pop {
  from { opacity: 0; transform: scale(0.8); }
  to   { opacity: 1; transform: scale(1); }
}

/* ---------- MANIFESTO ---------- */
.manifesto {
  background: var(--offwhite-2);
  border: 3px solid var(--navy);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  margin-top: 48px;
  box-shadow: var(--shadow);
}
.quote-good {
  background: var(--duck-yellow);
  padding: 2px 8px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-weight: bold;
}
.quote-bad {
  background: #ffd6d6;
  padding: 2px 8px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-weight: bold;
  color: var(--red-deep);
  text-decoration: line-through;
  text-decoration-color: var(--red);
}
.declaration {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: var(--navy);
  color: var(--duck-yellow);
  padding: 16px;
  border-radius: var(--radius);
  margin-top: 24px;
  letter-spacing: 3px;
}

/* ---------- CTA BAND ---------- */
.cta-band {
  margin-top: 48px;
  background: var(--red);
  color: var(--offwhite);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow);
  border: 3px solid var(--navy);
}
.cta-band h2 { color: var(--offwhite); margin-bottom: 6px; }
.cta-band p { margin: 0; opacity: 0.95; }

/* ---------- PROBLEM / TEXTS ---------- */
.texts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.phone-frame {
  background: var(--navy);
  border-radius: 28px;
  padding: 8px;
  box-shadow: var(--shadow-soft);
  border: 3px solid var(--navy);
  animation: slideUp 0.5s ease both;
  animation-delay: var(--delay, 0s);
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
.phone-top {
  background: var(--navy);
  color: var(--offwhite);
  display: flex;
  justify-content: space-between;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-family: var(--font-mono);
}
.bubbles {
  background: var(--offwhite);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 220px;
}
.bubble {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 0.95rem;
  line-height: 1.35;
  animation: bubbleIn 0.45s ease both;
}
.bubble.outgoing {
  align-self: flex-end;
  background: var(--duck-yellow);
  border-bottom-right-radius: 4px;
  animation-delay: 0.1s;
}
.bubble.correction {
  align-self: flex-end;
  background: #ffeaea;
  border: 2px dashed var(--red);
  color: var(--red-deep);
  border-bottom-right-radius: 4px;
  position: relative;
  animation-delay: 0.25s;
}
.bubble.incoming {
  align-self: flex-start;
  background: #e9edf7;
  color: var(--navy);
  border-bottom-left-radius: 4px;
  animation-delay: 0.4s;
}
.ac-tag {
  display: inline-block;
  background: var(--red);
  color: var(--offwhite);
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  padding: 2px 6px;
  border-radius: 4px;
  margin-right: 6px;
  vertical-align: middle;
}
@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(10px) scale(0.96); }
  to   { opacity: 1; transform: none; }
}
.case-note {
  background: var(--offwhite-2);
  color: var(--navy);
  padding: 8px 12px;
  font-size: 0.75rem;
  text-align: center;
  border-bottom-left-radius: 22px;
  border-bottom-right-radius: 22px;
  font-family: var(--font-mono);
}

/* ---------- DAMAGE REPORT ---------- */
.damage-report {
  margin-top: 48px;
  background: var(--offwhite-2);
  border: 3px solid var(--navy);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow);
}
.damage-report h2 {
  display: flex;
  align-items: center;
  gap: 12px;
}
.warning-light {
  display: inline-block;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(196, 30, 30, 0.7);
  animation: pulse-red 1.4s ease-out infinite;
}
@keyframes pulse-red {
  0%   { box-shadow: 0 0 0 0 rgba(196, 30, 30, 0.75); }
  70%  { box-shadow: 0 0 0 16px rgba(196, 30, 30, 0); }
  100% { box-shadow: 0 0 0 0 rgba(196, 30, 30, 0); }
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.stat-card {
  background: var(--offwhite);
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--red);
  letter-spacing: 1px;
}
.stat-card p { margin: 0; font-size: 0.95rem; }
.report-footnote {
  margin-top: 18px;
  text-align: center;
  font-style: italic;
  font-size: 0.85rem;
  color: var(--navy-soft);
}

.report-bar {
  margin-top: 32px;
  background: var(--navy);
  color: var(--offwhite);
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.report-bar p { margin: 0; }

/* ---------- ENEMY ---------- */
.enemy-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(20px, 4vw, 40px);
  align-items: start;
}
.wanted-card img {
  width: 100%;
  border: 4px solid var(--navy);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
  transition: transform 0.2s ease;
}
.wanted-card img:hover { transform: rotate(0deg) scale(1.02); }

.dossier {
  background: var(--offwhite-2);
  border: 3px solid var(--navy);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow);
}
.dossier .alias {
  font-style: italic;
  color: var(--navy-soft);
  margin-top: -10px;
}
.crimes {
  margin: 0 0 1.2em;
  padding: 0;
  list-style: none;
}
.crimes li {
  background: var(--offwhite);
  border-left: 5px solid var(--red);
  padding: 8px 12px;
  margin-bottom: 6px;
  border-radius: 4px;
}

/* threat meter */
.threat-meter { margin-top: 10px; }
.threat-bar {
  position: relative;
  height: 20px;
  background: var(--offwhite);
  border: 2px solid var(--navy);
  border-radius: 999px;
  overflow: hidden;
}
.threat-fill {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #3aa758 0%, #f4b400 45%, #ff6b1e 75%, var(--red) 100%);
  animation: shimmer 2.6s linear infinite;
  background-size: 200% 100%;
}
@keyframes shimmer {
  from { background-position: 0% 0; }
  to   { background-position: 200% 0; }
}
.threat-labels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  font-family: var(--font-display);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--navy-soft);
  text-align: center;
}
.threat-labels li.active {
  color: var(--red);
  text-decoration: underline wavy var(--red);
  font-size: 0.9rem;
}

.warning-zone {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  align-items: center;
  background: var(--duck-yellow);
  border: 3px solid var(--navy);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow);
}
.warning-zone img {
  width: 100%;
  animation: wobble 2.8s ease-in-out infinite;
}
@keyframes wobble {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}
.advice {
  padding-left: 18px;
  margin: 0;
}
.advice li { margin-bottom: 6px; }

/* ---------- PLEDGE ---------- */
.pledge-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.pledge-card,
.certificate {
  background: var(--offwhite);
  border: 3px solid var(--navy);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow);
}
.pledge-text {
  background: var(--offwhite-2);
  border-left: 6px solid var(--duck-yellow-deep);
  padding: 16px 18px;
  margin: 16px 0 24px;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--navy);
}
.pledge-form label {
  display: block;
  font-family: var(--font-display);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 6px;
}
.pledge-form input[type="text"] {
  width: 100%;
  padding: 12px 14px;
  font-size: 1.05rem;
  border: 3px solid var(--navy);
  border-radius: 10px;
  background: var(--offwhite-2);
  color: var(--navy);
  font-family: var(--font-body);
}
.pledge-form input[type="text"]:focus {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}
.pledge-extras { margin: 14px 0 16px; }
.check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}
.check input { transform: scale(1.2); accent-color: var(--red); }
.pledge-hint {
  font-size: 0.8rem;
  font-style: italic;
  color: var(--navy-soft);
  margin: 10px 0 0;
}

/* certificate */
.certificate {
  background: linear-gradient(180deg, var(--offwhite) 0%, var(--offwhite-2) 100%);
  position: relative;
  overflow: hidden;
  animation: certIn 0.6s ease both;
}
.certificate::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 2px dashed var(--navy);
  border-radius: 16px;
  pointer-events: none;
  opacity: 0.5;
}
@keyframes certIn {
  from { opacity: 0; transform: scale(0.95) rotate(-1deg); }
  to   { opacity: 1; transform: none; }
}
.cert-inner { text-align: center; position: relative; }
.cert-badge {
  width: 140px;
  margin: 0 auto 8px;
}
.cert-heading {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--red);
  font-size: 1rem;
  margin-bottom: 8px;
}
.cert-statement {
  font-size: 1.1rem;
  line-height: 1.5;
}
.cert-statement #certName {
  font-family: "Brush Script MT", "Lucida Handwriting", cursive;
  font-size: 1.8rem;
  color: var(--red);
  display: inline-block;
  border-bottom: 2px solid var(--navy);
  padding: 0 6px;
}
.cert-date, .cert-tag {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--navy-soft);
  margin: 4px 0;
}
.cert-signatures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0 16px;
}
.cert-signatures > div { text-align: center; }
.sig-line {
  display: block;
  height: 2px;
  background: var(--navy);
  margin-bottom: 4px;
}
.sig-line.wiggle {
  background: transparent;
  border-bottom: 2px solid var(--navy);
  position: relative;
}
.sig-line.wiggle::before {
  content: "~ q u a c k ~";
  display: block;
  font-family: "Brush Script MT", cursive;
  font-size: 1rem;
  color: var(--navy);
  transform: rotate(-3deg);
}
.sig-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--navy-soft);
}

/* hall of fame */
.hall-of-fame {
  margin-top: 48px;
  background: var(--navy);
  color: var(--offwhite);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
}
.hall-of-fame h2 { color: var(--duck-yellow); }
.hof-sub { color: rgba(255, 248, 231, 0.8); }
.defenders {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.defenders li {
  background: var(--duck-yellow);
  color: var(--navy);
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--font-display);
  letter-spacing: 1px;
  font-size: 0.9rem;
  border: 2px solid var(--offwhite);
}
.hof-empty { font-style: italic; color: rgba(255, 248, 231, 0.7); }

/* ---------- TRANSLATOR ---------- */
.translator-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.translator-pane {
  background: var(--offwhite);
  border: 3px solid var(--navy);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow);
}
.pane-label {
  display: block;
  font-family: var(--font-display);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-bottom: 8px;
}
#duckedInput {
  width: 100%;
  min-height: 200px;
  padding: 14px;
  font-size: 1.05rem;
  border: 3px solid var(--navy);
  border-radius: 12px;
  background: var(--offwhite-2);
  color: var(--navy);
  font-family: var(--font-body);
  resize: vertical;
}
#duckedInput:focus { outline: 3px solid var(--red); outline-offset: 2px; }
.output-box {
  background: var(--navy);
  color: var(--duck-yellow);
  min-height: 200px;
  padding: 16px;
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  white-space: pre-wrap;
  word-wrap: break-word;
  line-height: 1.5;
  border: 3px solid var(--navy);
}
.output-box:focus { outline: 3px solid var(--red); outline-offset: 2px; }
.output-placeholder { color: rgba(255, 209, 58, 0.55); font-style: italic; }
.output-box .restored {
  background: rgba(255, 209, 58, 0.18);
  border-bottom: 2px solid var(--duck-yellow);
  padding: 0 3px;
  border-radius: 2px;
  animation: flash 0.6s ease;
}
@keyframes flash {
  from { background: rgba(255, 107, 107, 0.55); }
  to   { background: rgba(255, 209, 58, 0.18); }
}
.pane-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.copy-status {
  font-size: 0.85rem;
  color: var(--green);
  font-weight: bold;
}
.disclaimer {
  margin-top: 14px;
  font-size: 0.82rem;
  font-style: italic;
  color: var(--navy-soft);
  border-top: 1px dashed var(--navy-soft);
  padding-top: 10px;
}

.counter-card {
  margin-top: 32px;
  text-align: center;
  background: var(--duck-yellow);
  border: 3px solid var(--navy);
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  box-shadow: var(--shadow);
}
.counter-card p { margin: 4px 0; }
.counter-card strong {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--red);
}
.counter-sub { font-size: 0.9rem; color: var(--navy-soft); }

/* ---------- ABOUT ---------- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.about-card {
  background: var(--offwhite);
  border: 3px solid var(--navy);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 28px);
  box-shadow: var(--shadow);
}
.about-card.highlight {
  background: var(--duck-yellow);
}
.big-no {
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  text-align: center;
  color: var(--red);
  letter-spacing: 4px;
  margin: 0;
}

.position-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}
.position-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: var(--offwhite-2);
  border-radius: 8px;
}
.position-list .yes,
.position-list .no {
  display: inline-block;
  min-width: 40px;
  text-align: center;
  font-family: var(--font-display);
  letter-spacing: 1px;
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 0.78rem;
}
.position-list .yes { background: var(--green); color: var(--offwhite); }
.position-list .no { background: var(--red); color: var(--offwhite); }

details {
  border: 2px solid var(--navy);
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 8px;
  background: var(--offwhite-2);
  cursor: pointer;
}
details[open] { background: var(--offwhite); }
summary {
  font-family: var(--font-display);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.95rem;
  outline: none;
}
details p { margin: 8px 0 4px; font-family: var(--font-body); }

.contact-card {
  margin-top: 40px;
  background: var(--navy);
  color: var(--offwhite);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
  text-align: center;
}
.contact-card h2 { color: var(--duck-yellow); }

/* ---------- MODAL ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(26, 34, 64, 0.7);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}
.modal-backdrop[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--offwhite);
  border: 4px solid var(--navy);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
  max-width: 480px;
  width: 100%;
  position: relative;
  text-align: center;
  box-shadow: var(--shadow);
  animation: popIn 0.3s ease;
}
@keyframes popIn {
  from { transform: scale(0.85); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.modal-close {
  position: absolute;
  top: 8px; right: 12px;
  background: transparent;
  border: 0;
  font-size: 2rem;
  color: var(--navy);
  cursor: pointer;
  line-height: 1;
}
.modal-icon { font-size: 3rem; }
.modal h2 { margin-top: 8px; }
.modal-sub { color: var(--navy-soft); font-size: 0.9rem; }

/* ---------- FOOTER ---------- */
.site-footer {
  margin-top: 60px;
  background: var(--navy);
  color: var(--offwhite);
  padding: 30px clamp(16px, 5vw, 60px);
  text-align: center;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: center;
  text-align: left;
  max-width: 1180px;
  margin: 0 auto;
}
.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--duck-yellow);
  font-size: 1.2rem;
}
.footer-brand span {
  font-size: 0.9rem;
  color: rgba(255, 248, 231, 0.75);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
.link-btn {
  background: transparent;
  border: 2px solid rgba(255, 248, 231, 0.3);
  color: var(--offwhite);
  border-radius: 8px;
  padding: 6px 10px;
  font-family: var(--font-display);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.link-btn:hover { background: rgba(255, 209, 58, 0.15); border-color: var(--duck-yellow); }
.link-btn:focus-visible { outline: 2px solid var(--duck-yellow); outline-offset: 2px; }

.footer-fine {
  font-style: italic;
  color: rgba(255, 248, 231, 0.85);
  margin: 22px 0 6px;
}
.footer-tiny {
  font-size: 0.78rem;
  color: rgba(255, 248, 231, 0.55);
  margin: 0;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-cta { justify-content: center; }
  .trust-row { max-width: 540px; margin-left: auto; margin-right: auto; }
  .enemy-grid,
  .pledge-wrap,
  .translator-wrap { grid-template-columns: 1fr; }
  .warning-zone { grid-template-columns: 1fr; text-align: center; }
  .footer-main { grid-template-columns: 1fr; text-align: center; }
  .footer-links { justify-content: center; }
}

@media (max-width: 720px) {
  .menu-toggle { display: inline-flex; }
  .primary-nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    background: var(--offwhite);
    border-top: 2px solid var(--navy);
    padding-top: 10px;
  }
  .primary-nav.open { display: flex; }
  .nav-btn { width: 100%; text-align: left; }
  .cta-band { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .trust-row { grid-template-columns: 1fr; }
  .threat-labels { font-size: 0.65rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .big-no { font-size: 4rem; }
  .alert-blurb { display: none; }
}

/* ---------- ACCESSIBILITY ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

::selection {
  background: var(--duck-yellow);
  color: var(--navy);
}
