/* ============================================================
   SCREEN SYNC — /seed-hunt (campaign page)
   Reuses :root tokens, .nav, .btn, .footer, .reveal from styles.css.
   Mission-board / classified aesthetic in the house palette.
   ============================================================ */

/* ---------- shared helpers ---------- */
.sh-lead {
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: var(--beige-dim);
  max-width: 56ch;
  margin-top: 0.4rem;
}
.sh-lead--dark { color: var(--charcoal); opacity: 0.82; }
.section--beige .sh-lead { color: var(--charcoal); opacity: 0.82; }

.sh-note {
  margin-top: 2.4rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--beige-dim);
  border-left: 2px solid var(--cherry);
  padding-left: 1rem;
}

/* ---------- hero ---------- */
.sh-hero {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--charcoal);
  padding: 7rem 0 3rem;
}
.sh-hero__glow {
  position: absolute;
  width: 70vw; height: 70vw;
  left: -25vw; bottom: -35vw;
  background: radial-gradient(circle, rgba(142, 31, 51, 0.28), transparent 65%);
  pointer-events: none;
}
.sh-hero__inner { position: relative; z-index: 2; }

.sh-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7.5vw, 5.6rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.sh-hero__title em { font-style: normal; color: var(--cherry-bright); }
.stroke-text { color: transparent; -webkit-text-stroke: 1.5px var(--beige); }

.sh-hero__sub {
  max-width: 54ch;
  color: var(--beige-dim);
  font-size: clamp(1.02rem, 1.7vw, 1.25rem);
  margin-bottom: 2.2rem;
}
.sh-hero__sub strong { color: var(--beige); font-weight: 600; }

.sh-hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* status bar — mission readout */
.sh-statusbar {
  border: 1px solid rgba(234, 227, 211, 0.18);
  border-radius: 12px;
  background: rgba(14, 11, 10, 0.55);
  padding: 1rem 1.2rem;
  margin-bottom: 2rem;
  max-width: 540px;
}
.sh-statusbar__head {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  color: var(--beige-dim);
  margin-bottom: 0.9rem;
}
.sh-statusbar__head strong { color: var(--cherry-bright); }
.sh-statusbar__pulse {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--cherry-bright);
  animation: pulse 2.2s infinite;
}
.sh-statusbar__caches { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.sh-ind {
  flex: 1 1 0;
  min-width: 120px;
  display: flex; flex-direction: column; gap: 0.2rem;
  font-family: var(--font-mono);
  border: 1px solid rgba(234, 227, 211, 0.14);
  border-radius: 8px;
  padding: 0.55rem 0.7rem;
}
.sh-ind__id { font-size: 0.66rem; letter-spacing: 0.12em; color: var(--beige-dim); }
.sh-ind__state { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; }
.sh-ind--active  { border-color: rgba(194,58,82,0.5); }
.sh-ind--active .sh-ind__state  { color: var(--cherry-bright); }
.sh-ind--locked .sh-ind__state  { color: var(--beige-dim); }
.sh-ind--found  { border-color: rgba(234,227,211,0.4); }
.sh-ind--found .sh-ind__state   { color: var(--beige); }

/* ---------- finder banner ---------- */
.sh-finder {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  width: min(1180px, 90vw);
  margin: -1.5rem auto 0;
  position: relative;
  z-index: 5;
  background: var(--cherry);
  color: var(--beige);
  text-decoration: none;
  border-radius: 14px;
  padding: 1.1rem 1.6rem;
  box-shadow: 0 18px 50px rgba(142, 31, 51, 0.35);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.sh-finder:hover { transform: translateY(-3px); box-shadow: 0 22px 60px rgba(142, 31, 51, 0.45); }
.sh-finder__tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  background: rgba(0, 0, 0, 0.22);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
}
.sh-finder__msg { font-weight: 500; flex: 1; min-width: 200px; }
.sh-finder__arrow { font-size: 1.3rem; animation: nudge 1.6s var(--ease-out) infinite; }
@keyframes nudge { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(4px);} }

/* ---------- cache dossier cards ---------- */
.cache-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 3rem;
}

.cache {
  position: relative;
  background:
    repeating-linear-gradient(45deg, rgba(234,227,211,0.025) 0 12px, transparent 12px 24px),
    var(--charcoal-2);
  border: 1px solid rgba(234, 227, 211, 0.12);
  border-radius: 14px;
  padding: 1.6rem 1.5rem 1.5rem;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.cache::before { /* corner tick — classified file vibe */
  content: "";
  position: absolute;
  top: 10px; right: 10px;
  width: 14px; height: 14px;
  border-top: 2px solid rgba(234, 227, 211, 0.3);
  border-right: 2px solid rgba(234, 227, 211, 0.3);
}
.cache--active { border-color: rgba(194, 58, 82, 0.5); }
.cache--active:hover { transform: translateY(-5px); box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45); }
.cache--locked { }
.cache--found  { border-color: rgba(234, 227, 211, 0.35); }

.cache__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--beige-dim);
  border-bottom: 1px dashed rgba(234, 227, 211, 0.16);
  padding-bottom: 0.7rem;
  margin-bottom: 1.1rem;
}
.cache__num { color: var(--cherry-bright); }
.cache__diff { color: var(--beige-dim); }

.cache__code {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 0.3rem;
}
.cache__area {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--beige-dim);
  margin-bottom: 1.1rem;
}

/* status stamp */
.cache__stamp {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  padding: 0.35rem 0.8rem;
  border-radius: 6px;
  margin-bottom: 1.1rem;
}
.cache--active .cache__stamp { color: var(--beige); background: var(--cherry); }
.cache--locked .cache__stamp { color: var(--beige-dim); border: 1px dashed rgba(234,227,211,0.3); }
.cache--found  .cache__stamp { color: var(--charcoal); background: var(--beige); }

/* clue / body */
.cache__clue {
  font-size: 0.95rem;
  color: var(--beige);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}
.cache__clue--riddle {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  white-space: pre-line;
  color: var(--beige);
  border-left: 2px solid var(--cherry-bright);
  padding-left: 0.9rem;
}

/* redacted (locked) state */
.cache__redacted { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.2rem; }
.cache__bar {
  height: 0.85rem;
  border-radius: 3px;
  background: repeating-linear-gradient(90deg, rgba(29,27,25,0.9) 0 8px, rgba(45,40,36,0.9) 8px 16px);
}
.cache__bar:nth-child(2) { width: 85%; }
.cache__bar:nth-child(3) { width: 60%; }
.cache__lockmsg {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--beige-dim);
  display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: 1.2rem;
}

.cache__foot {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--beige-dim);
  border-top: 1px dashed rgba(234, 227, 211, 0.16);
  padding-top: 0.8rem;
}
.cache__foot a { color: var(--cherry-bright); text-decoration: none; }
.cache__foot a:hover { text-decoration: underline; }

/* ---------- claim steps ---------- */
.claim-steps {
  list-style: none;
  counter-reset: none;
  margin-top: 3rem;
  display: grid;
  gap: 1rem;
  max-width: 760px;
}
.claim-step {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  background: rgba(29, 27, 25, 0.04);
  border: 1px solid rgba(29, 27, 25, 0.12);
  border-radius: 14px;
  padding: 1.3rem 1.5rem;
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}
.claim-step:hover { border-color: var(--cherry); transform: translateX(4px); }
.claim-step__n {
  flex: none;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--beige);
  background: var(--cherry);
  border-radius: 50%;
}
.claim-step h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.3rem;
}
.claim-step p { font-size: 0.96rem; color: var(--charcoal); opacity: 0.82; }
.claim-step a { color: var(--cherry); font-weight: 600; }

.claim-warn {
  max-width: 760px;
  margin-top: 1.6rem;
  background: rgba(142, 31, 51, 0.1);
  border: 1px solid rgba(142, 31, 51, 0.35);
  border-radius: 12px;
  padding: 1.2rem 1.4rem;
  font-size: 0.95rem;
  color: var(--charcoal);
}
.claim-warn strong { color: var(--cherry); }

/* ---------- bigger picture ---------- */
.bigpic {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-top: 1rem;
}
.bigpic__cta { margin-top: 1.8rem; }
.bigpic__counter {
  display: flex; flex-direction: column;
  align-items: flex-start;
  border: 1px solid rgba(234, 227, 211, 0.14);
  border-radius: 16px;
  padding: 2rem;
  background: rgba(14, 11, 10, 0.5);
}
.bigpic__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.4rem, 9vw, 5.5rem);
  line-height: 1;
  color: var(--cherry-bright);
}
.bigpic__label {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--beige-dim);
  margin-top: 0.3rem;
}
.bigpic__sub { margin-top: 1rem; font-size: 0.95rem; color: var(--beige-dim); }
.bigpic__sub em { font-style: normal; color: var(--beige); }

/* ---------- why ---------- */
.sh-why { text-align: left; }
.sh-why__lead {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  color: var(--charcoal);
  line-height: 1.35;
  margin: 0.6rem 0 1.4rem;
}
.sh-why__body { font-size: 1.05rem; color: var(--charcoal); opacity: 0.84; margin-bottom: 1.1rem; }
.sh-why__body strong { color: var(--cherry); opacity: 1; }

/* ---------- follow ---------- */
.sh-follow { position: relative; overflow: hidden; text-align: center; }
.sh-follow__bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 120%, rgba(142,31,51,0.32), transparent);
  pointer-events: none;
}
.sh-follow .container { position: relative; text-align: center; }
.sh-follow__btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin: 2rem 0 1.4rem; }
.sh-follow__form { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }
.sh-follow__form input {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--beige);
  background: rgba(234, 227, 211, 0.07);
  border: 1.5px solid rgba(234, 227, 211, 0.25);
  border-radius: 999px;
  padding: 0.9rem 1.5rem;
  min-width: min(340px, 80vw);
  outline: none;
  transition: border-color 0.3s;
}
.sh-follow__form input::placeholder { color: var(--beige-dim); }
.sh-follow__form input:focus { border-color: var(--cherry-bright); }

/* ---------- legal ---------- */
.sh-legal__h {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--charcoal);
  margin: 0.5rem 0 1.2rem;
}
.sh-legal__list { list-style: none; display: grid; gap: 0.9rem; }
.sh-legal__list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  color: var(--charcoal);
  opacity: 0.82;
  line-height: 1.55;
}
.sh-legal__list li::before {
  content: "▹";
  position: absolute; left: 0;
  color: var(--cherry);
}
.sh-legal__list strong { color: var(--cherry); opacity: 1; }

/* ---------- "Vote your city next" — alternating word colors ---------- */
.vote-next .word-white { color: var(--beige); }
.vote-next .word-red   { color: var(--cherry-bright); }

/* ---------- countdown (hero) ---------- */
.sh-countdown {
  display: flex;
  gap: 0.7rem;
  margin: 0.2rem 0 1rem;
  flex-wrap: wrap;
}
.cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 52px;
  padding: 0.5rem 0.4rem;
  background: rgba(142, 31, 51, 0.16);
  border: 1px solid rgba(194, 58, 82, 0.4);
  border-radius: 8px;
}
.cd-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--cherry-bright);
}
.cd-lbl {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  color: var(--beige-dim);
  margin-top: 0.25rem;
}
.cd-live {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--cherry-bright);
  text-shadow: 0 0 10px rgba(194, 58, 82, 0.6);
}

/* ---------- "soon" seed state (pre-launch) ---------- */
.cache--soon { border-color: rgba(194, 58, 82, 0.45); }
.cache--soon .cache__stamp {
  color: var(--beige);
  background: transparent;
  border: 1px dashed var(--cherry-bright);
  text-shadow: 0 0 8px rgba(194, 58, 82, 0.5);
}
.cache__soon { color: var(--beige-dim); }
.sh-ind--soon { border-color: rgba(194, 58, 82, 0.45); }
.sh-ind--soon .sh-ind__state { color: var(--cherry-bright); }

/* ---------- vote for your state ---------- */
.statevote {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 1.4rem;
  background: var(--charcoal);
  color: var(--beige);
  border-radius: 18px;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  box-shadow: 0 26px 60px rgba(29, 27, 25, 0.28);
}
.statevote__pick label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--cherry-bright);
  margin-bottom: 0.7rem;
}
.statevote__row { display: flex; gap: 0.7rem; flex-wrap: wrap; }
#stateSelect {
  flex: 1;
  min-width: 160px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--beige);
  background: rgba(234, 227, 211, 0.06);
  border: 1.5px solid rgba(234, 227, 211, 0.25);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  outline: none;
  cursor: pointer;
  transition: border-color 0.25s;
}
#stateSelect:focus { border-color: var(--cherry-bright); }
.statevote__note {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--beige-dim);
  margin-top: 0.9rem;
}

.statevote__board {
  border-left: 1px solid rgba(234, 227, 211, 0.12);
  padding-left: 1.4rem;
}
.statevote__board-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--beige-dim);
  margin-bottom: 0.9rem;
}
#stateBoard { list-style: none; display: grid; gap: 0.7rem; }
.statevote__rowbar {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
}
.statevote__rank { font-family: var(--font-mono); color: var(--cherry-bright); font-size: 0.78rem; }
.statevote__name { grid-column: 2; color: var(--beige); }
.statevote__track {
  grid-column: 2;
  height: 6px;
  border-radius: 3px;
  background: rgba(234, 227, 211, 0.1);
  overflow: hidden;
  margin-top: -0.2rem;
}
.statevote__bar {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--cherry), var(--cherry-bright));
  width: var(--w, 0);                 /* resting width is always correct */
  transform-origin: left center;
  animation: growBar 1s var(--ease-out) both;  /* grow is via transform only */
}
@keyframes growBar {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
.statevote__board-note {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--beige-dim);
  opacity: 0.7;
  margin-top: 1rem;
}

@media (prefers-reduced-motion: reduce) {
  .statevote__bar { animation: none; }
}

/* ---------- responsive (mobile-first audience) ---------- */
@media (max-width: 880px) {
  .cache-grid { grid-template-columns: 1fr; }
  .bigpic { grid-template-columns: 1fr; }
  .statevote { grid-template-columns: 1fr; }
  .statevote__board { border-left: none; padding-left: 0; border-top: 1px solid rgba(234,227,211,0.12); padding-top: 1.2rem; }
  .nav__links { display: none; }
}
@media (max-width: 520px) {
  .sh-finder { flex-direction: column; align-items: flex-start; text-align: left; }
  .sh-ind { min-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .sh-finder__arrow, .sh-statusbar__pulse { animation: none; }
  .cache, .claim-step, .sh-finder { transition: none; }
}
