/* ============================================
     Scavenger Hunt Platform — unique visual grammar
     METAPHOR: clue board + polaroid clues + numbered envelopes
     Discovery / mystery — not cards, coasters, or yard signs
     ============================================ */

  .crumb {
    padding: 20px 0 0;
    font-size: 13px; color: var(--fg-mute);
    display: flex; gap: 10px; align-items: center;
  }
  .crumb a { color: var(--fg-mute); }
  .crumb a:hover { color: var(--accent); }
  .crumb .sep { opacity: 0.4; }

  :root {
    --hunt-accent: oklch(0.52 0.18 285);
    --hunt-accent-ink: oklch(0.98 0.01 285);
    --hunt-muted: oklch(0.48 0.12 285);
  }

  .hunt-hero {
    padding: 48px 0 72px;
    position: relative;
    overflow: hidden;
  }
  .hunt-hero::before {
    content: "";
    position: absolute; inset: 0;
    background:
      radial-gradient(ellipse 45% 50% at 90% 15%, color-mix(in oklch, var(--hunt-accent) 14%, transparent), transparent 65%),
      repeating-linear-gradient(
        0deg,
        transparent 0,
        transparent 23px,
        color-mix(in oklch, var(--border) 35%, transparent) 23px,
        color-mix(in oklch, var(--border) 35%, transparent) 24px
      ),
      repeating-linear-gradient(
        90deg,
        transparent 0,
        transparent 23px,
        color-mix(in oklch, var(--border) 35%, transparent) 23px,
        color-mix(in oklch, var(--border) 35%, transparent) 24px
      );
    opacity: 0.4;
    pointer-events: none;
  }
  .hunt-hero-grid {
    display: grid; grid-template-columns: 1.1fr minmax(300px, 1fr);
    gap: 56px; align-items: center;
    position: relative;
  }
  @media (max-width: 980px) { .hunt-hero-grid { grid-template-columns: 1fr; } }

  .hunt-hero-viz {
    width: 100%; min-width: 300px;
    display: flex; justify-content: flex-end; align-items: center;
  }
  @media (max-width: 980px) {
    .hunt-hero-viz { justify-content: center; min-width: 0; }
  }

  .platform-tag {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 5px 10px 5px 8px; border-radius: 999px;
    background: color-mix(in oklch, var(--hunt-accent) 12%, var(--bg-card));
    border: 1px solid color-mix(in oklch, var(--hunt-accent) 35%, var(--border));
    font-size: 11.5px; font-family: "Geist Mono", monospace; letter-spacing: 0.06em;
    color: var(--hunt-muted);
    margin-bottom: 22px;
  }
  .platform-tag::before {
    content: ""; display: inline-block; width: 6px; height: 6px;
    background: var(--hunt-accent); border-radius: 50%;
  }
  .hunt-hero h1 {
    font-size: clamp(48px, 6.5vw, 96px);
    line-height: 0.94; letter-spacing: -0.04em; font-weight: 600;
    margin: 0 0 22px; max-width: 12ch;
  }
  .hunt-hero h1 em {
    font-family: "Instrument Serif", serif; font-style: italic; font-weight: 400;
    letter-spacing: -0.02em; color: var(--hunt-accent);
  }
  .hunt-hero .lede {
    font-size: 19px; color: var(--fg-dim); max-width: 52ch;
    line-height: 1.5; margin: 0 0 28px;
  }
  .hero-meta {
    display: flex; flex-wrap: wrap; gap: 16px 24px;
    margin-top: 20px; font-size: 13px; color: var(--fg-mute);
  }
  .hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
  .hero-meta .check {
    width: 16px; height: 16px; border-radius: 50%;
    background: color-mix(in oklch, var(--hunt-accent) 20%, transparent);
    border: 1px solid color-mix(in oklch, var(--hunt-accent) 40%, transparent);
    position: relative;
  }
  .hero-meta .check::after {
    content: ""; position: absolute; left: 5px; top: 3px;
    width: 4px; height: 7px;
    border: solid var(--hunt-muted);
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
  }

  /* polaroid clue stack */
  .clue-board {
    position: relative;
    width: 400px; height: 400px;
    max-width: 100%; flex-shrink: 0;
    box-sizing: border-box;
    background: color-mix(in oklch, oklch(0.42 0.04 75) 8%, var(--bg-elev));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--border) 50%, transparent);
  }
  @media (max-width: 980px) {
    .clue-board { width: min(100%, 360px); height: 360px; margin: 0 auto; }
  }
  @media (max-width: 480px) {
    .clue-board { width: 100%; height: 340px; max-width: 320px; }
  }
  .polaroid {
    position: absolute;
    width: 200px; max-width: 52%;
    padding: 12px 12px 28px;
    background: oklch(0.98 0.005 90);
    border: 1px solid oklch(0.82 0.01 75);
    box-shadow: 0 12px 32px -12px rgba(0,0,0,0.28);
    box-sizing: border-box;
    transition: transform 280ms ease, box-shadow 280ms ease;
  }
  .polaroid .thumb {
    aspect-ratio: 1;
    background:
      linear-gradient(135deg, color-mix(in oklch, var(--hunt-accent) 18%, oklch(0.92 0.02 285)), oklch(0.94 0.01 285));
    border-radius: 2px;
    display: grid; place-items: center;
    font-family: "Geist Mono", monospace; font-size: 10px;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--hunt-muted);
  }
  .polaroid .cap {
    margin-top: 10px;
    font-family: "Instrument Serif", serif; font-style: italic;
    font-size: 15px; line-height: 1.1; text-align: center;
    color: oklch(0.2 0.02 50);
  }
  .polaroid .pin {
    position: absolute; top: -8px; left: 50%; transform: translateX(-50%);
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--hunt-accent);
    border: 2px solid oklch(0.35 0.08 285);
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  }
  .polaroid.p1 { top: 24px; left: 16px; transform: rotate(-8deg); z-index: 1; }
  .polaroid.p2 { top: 100px; right: 8px; left: auto; transform: rotate(6deg); z-index: 3; }
  .polaroid.p3 { bottom: 20px; left: 48px; transform: rotate(-3deg); z-index: 2; }
  .clue-board:hover .polaroid.p1 { transform: rotate(-10deg) translateY(-6px); }
  .clue-board:hover .polaroid.p2 { transform: rotate(8deg) translateY(-10px); }
  .clue-board:hover .polaroid.p3 { transform: rotate(-5deg) translateY(-4px); }
  @media (prefers-reduced-motion: reduce) {
    .polaroid, .clue-board:hover .polaroid { transition: none; }
    .clue-board:hover .polaroid.p1 { transform: rotate(-8deg); }
    .clue-board:hover .polaroid.p2 { transform: rotate(6deg); }
    .clue-board:hover .polaroid.p3 { transform: rotate(-3deg); }
  }

  .clue-rule {
    display: flex; align-items: center; gap: 16px;
    padding: 48px 0;
    color: var(--hunt-muted);
    font-family: "Geist Mono", monospace; font-size: 10px;
    letter-spacing: 0.2em; text-transform: uppercase;
  }
  .clue-rule::before, .clue-rule::after {
    content: ""; flex: 1; height: 1px;
    background: linear-gradient(90deg, transparent, var(--hunt-accent), transparent);
    opacity: 0.45;
  }

  .hunt-quote {
    position: relative; padding: 48px;
    border-radius: var(--radius-lg); overflow: hidden;
    background:
      linear-gradient(135deg, color-mix(in oklch, var(--hunt-accent) 10%, var(--bg-elev)) 0%, var(--bg-elev) 55%),
      var(--bg-elev);
    border: 1px solid var(--border);
  }
  .hunt-quote blockquote {
    margin: 0; max-width: 34ch;
    font-family: "Instrument Serif", serif; font-style: italic;
    font-size: clamp(28px, 3.5vw, 44px); line-height: 1.08;
    letter-spacing: -0.02em;
  }
  .hunt-quote cite {
    display: block; margin-top: 18px;
    font-family: "Geist", sans-serif; font-style: normal;
    font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--fg-mute);
  }

  .clue-strip {
    display: grid; grid-template-columns: repeat(5, 1fr);
    gap: 14px;
  }
  @media (max-width: 1100px) { .clue-strip { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 540px) { .clue-strip { grid-template-columns: 1fr; } }
  .clue-step {
    background: var(--bg-elev); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 22px 20px;
  }
  .clue-badge {
    display: inline-block; padding: 5px 9px;
    background: color-mix(in oklch, var(--hunt-accent) 12%, var(--bg-card));
    border: 1px solid color-mix(in oklch, var(--hunt-accent) 30%, var(--border));
    border-radius: 4px;
    font-family: "Geist Mono", monospace; font-size: 10px;
    letter-spacing: 0.08em; color: var(--hunt-muted);
    margin-bottom: 14px;
  }
  .clue-step h4 { margin: 0 0 6px; font-size: 16px; font-weight: 500; }
  .clue-step p { margin: 0; font-size: 13px; color: var(--fg-mute); line-height: 1.5; }

  .versus {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0;
    border: 1px solid var(--border); border-radius: var(--radius-lg);
    overflow: hidden; background: var(--bg-elev);
  }
  @media (max-width: 720px) { .versus { grid-template-columns: 1fr; } }
  .vs-side { padding: 32px; }
  .vs-side.old { border-right: 1px solid var(--border); color: var(--fg-dim); }
  @media (max-width: 720px) {
    .vs-side.old { border-right: 0; border-bottom: 1px solid var(--border); }
  }
  .vs-side.new {
    background:
      radial-gradient(700px 200px at 100% 0%, color-mix(in oklch, var(--hunt-accent) 16%, transparent), transparent 55%),
      var(--bg-elev);
  }
  .vs-side .label {
    font-family: "Geist Mono", monospace; font-size: 11px;
    letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 8px;
  }
  .vs-side.old .label { color: var(--fg-mute); }
  .vs-side.new .label { color: var(--hunt-muted); }
  .vs-side h3 { font-size: 22px; font-weight: 500; margin: 0 0 20px; letter-spacing: -0.02em; }
  .vs-side ul { list-style: none; padding: 0; margin: 0; }
  .vs-side li {
    padding: 11px 0; border-top: 1px solid var(--border);
    font-size: 14px; display: flex; gap: 10px; align-items: flex-start;
  }
  .vs-side li:first-child { border-top: 0; }
  .vs-side.old li::before { content: "×"; color: var(--fg-mute); font-weight: 600; flex-shrink: 0; }
  .vs-side.new li::before { content: "✓"; color: var(--hunt-accent); font-weight: 600; flex-shrink: 0; }

  .branch-block {
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center;
  }
  @media (max-width: 900px) { .branch-block { grid-template-columns: 1fr; } }
  .branch-tree {
    padding: 28px;
    background: var(--ps-bg); border: 1px solid var(--ps-border);
    border-radius: var(--radius-lg); position: relative;
  }
  .branch-node {
    padding: 14px 16px; margin-bottom: 10px;
    border: 1px solid var(--ps-border); border-radius: var(--radius);
    background: var(--ps-elev); color: var(--ps-fg);
    font-size: 14px;
  }
  .branch-node.root {
    border-color: color-mix(in oklch, var(--hunt-accent) 50%, var(--ps-border));
    background: color-mix(in oklch, var(--hunt-accent) 12%, var(--ps-elev));
  }
  .branch-node.branch { margin-left: 24px; }
  .branch-node.branch.alt { margin-left: 48px; border-style: dashed; }
  .branch-node .lbl {
    font-family: "Geist Mono", monospace; font-size: 10px;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--ps-mute); display: block; margin-bottom: 4px;
  }

  .mod-queue {
    border: 1px solid var(--border); border-radius: var(--radius-lg);
    background: var(--bg-elev); padding: 36px;
  }
  .mq-row {
    display: grid; grid-template-columns: 48px 1fr auto auto;
    gap: 16px; align-items: center;
    padding: 16px 0; border-top: 1px solid var(--border);
  }
  .mq-row:first-child { border-top: 0; }
  .mq-thumb {
    width: 48px; height: 48px; border-radius: 8px;
    background: linear-gradient(135deg, color-mix(in oklch, var(--hunt-accent) 25%, var(--bg-card)), var(--bg-card));
    border: 1px solid var(--border);
  }
  .mq-row .nm { font-weight: 500; font-size: 14px; }
  .mq-row .sub { font-size: 12px; color: var(--fg-mute); margin-top: 2px; }
  .mq-status {
    font-family: "Geist Mono", monospace; font-size: 10px;
    letter-spacing: 0.06em; text-transform: uppercase;
    padding: 4px 8px; border-radius: 4px;
  }
  .mq-status.pending {
    color: oklch(0.62 0.14 80);
    border: 1px solid color-mix(in oklch, oklch(0.62 0.14 80) 40%, var(--border));
  }
  .mq-status.ok {
    color: oklch(0.55 0.14 145);
    border: 1px solid color-mix(in oklch, oklch(0.55 0.14 145) 40%, var(--border));
  }

  .feat-event {
    display: grid; grid-template-columns: 1fr 1.1fr; gap: 0;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    overflow: hidden; background: var(--bg-elev);
    text-decoration: none; color: inherit;
    transition: border-color 200ms ease, box-shadow 200ms ease;
  }
  .feat-event:hover {
    border-color: var(--hunt-accent);
    box-shadow: 0 24px 60px -32px rgba(0,0,0,0.2);
  }
  @media (max-width: 800px) { .feat-event { grid-template-columns: 1fr; } }
  .feat-event .fe-map {
    min-height: 220px;
    background:
      radial-gradient(circle at 30% 40%, color-mix(in oklch, var(--hunt-accent) 25%, transparent), transparent 50%),
      var(--ps-bg);
    border-right: 1px solid var(--border);
    display: grid; place-items: center;
    font-family: "Geist Mono", monospace; font-size: 11px;
    color: var(--ps-mute); letter-spacing: 0.06em;
  }
  @media (max-width: 800px) {
    .feat-event .fe-map { border-right: 0; border-bottom: 1px solid var(--border); }
  }
  .feat-event .fe-body { padding: 32px 36px; }
  .feat-event .fe-tag {
    font-family: "Geist Mono", monospace; font-size: 10px;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--hunt-accent); margin-bottom: 12px;
  }
  .feat-event h3 {
    font-family: "Instrument Serif", serif; font-style: italic;
    font-size: clamp(26px, 3vw, 36px); margin: 0 0 12px; line-height: 1.05;
  }
  .feat-event p { margin: 0 0 18px; color: var(--fg-dim); font-size: 15px; line-height: 1.5; }
  .feat-event .fe-stats {
    display: flex; gap: 20px; flex-wrap: wrap;
    font-family: "Geist Mono", monospace; font-size: 11px; color: var(--fg-mute);
  }
  .feat-event .fe-stats b { color: var(--fg); font-size: 14px; display: block; margin-bottom: 2px; }
  .feat-event .fe-go {
    margin-top: 20px; font-family: "Geist Mono", monospace;
    font-size: 11px; color: var(--hunt-accent); letter-spacing: 0.08em; text-transform: uppercase;
  }

  .big-number { text-align: center; padding: 40px 0; }
  .big-number .n {
    font-family: "Instrument Serif", serif; font-style: italic;
    font-size: clamp(100px, 14vw, 200px); line-height: 0.85;
    letter-spacing: -0.05em; color: var(--hunt-accent);
  }
  .big-number .label {
    margin-top: 20px; font-size: 17px; color: var(--fg-dim);
    max-width: 46ch; margin-left: auto; margin-right: auto;
  }

  .hunt-feats {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
  }
  @media (max-width: 720px) { .hunt-feats { grid-template-columns: 1fr; } }
  .hf {
    display: grid; grid-template-columns: auto 1fr; gap: 16px;
    padding: 22px; border: 1px solid var(--border);
    border-radius: var(--radius); background: var(--bg-elev);
    transition: background 180ms ease, border-color 180ms ease;
  }
  .hf:hover { background: var(--bg-card); border-color: var(--border-strong); }
  .hf .icon {
    width: 40px; height: 40px; border-radius: 10px;
    background: var(--bg-card); border: 1px solid var(--border);
    display: grid; place-items: center;
  }
  .hf h4 { margin: 0 0 4px; font-size: 16px; font-weight: 500; }
  .hf p { margin: 0; font-size: 13px; color: var(--fg-mute); line-height: 1.45; }

  .org-story {
    display: grid; grid-template-columns: 0.85fr 1fr; gap: 48px;
    align-items: center; padding: 20px 0;
  }
  @media (max-width: 900px) { .org-story { grid-template-columns: 1fr; } }
  .org-photo {
    aspect-ratio: 4/3; border-radius: var(--radius-lg);
    background:
      linear-gradient(135deg, color-mix(in oklch, var(--hunt-accent) 14%, var(--bg-card)), var(--bg-card)),
      var(--bg-card);
    border: 1px solid var(--border);
    display: grid; place-items: center;
    font-family: "Geist Mono", monospace; font-size: 11px; color: var(--fg-mute);
  }
  .org-story .pull {
    display: inline-block; padding: 4px 12px;
    background: color-mix(in oklch, var(--hunt-accent) 14%, transparent);
    color: var(--hunt-accent);
    font-family: "Geist Mono", monospace; font-size: 11px;
    letter-spacing: 0.1em; text-transform: uppercase;
    margin-bottom: 20px; border-radius: 4px;
  }
  .org-story .quote {
    font-family: "Instrument Serif", serif; font-style: italic;
    font-size: clamp(26px, 3.2vw, 38px); line-height: 1.12;
    margin: 0 0 20px;
  }

  .other-platforms {
    display: flex; flex-direction: column;
    border: 1px solid var(--border); border-radius: var(--radius-lg);
    overflow: hidden; background: var(--bg-elev);
  }
  .op-row {
    display: grid; grid-template-columns: 100px 1fr auto;
    gap: 24px; align-items: center;
    padding: 18px 24px; border-top: 1px solid var(--border);
    text-decoration: none; color: inherit;
    transition: background 160ms ease;
  }
  .op-row:first-child { border-top: 0; }
  .op-row:hover { background: var(--bg-card); }
  .op-row .id { font-family: "Geist Mono", monospace; font-size: 11px; color: var(--hunt-accent); }
  .op-row .name { font-size: 17px; font-weight: 500; }
  .op-row .desc { font-size: 13px; color: var(--fg-mute); margin-top: 2px; }
  .op-row .arrow { transition: transform 160ms, color 160ms; color: var(--fg-mute); }
  .op-row:hover .arrow { color: var(--hunt-accent); transform: translateX(4px); }

  .hunt-cta {
    text-align: center; padding: 88px 32px;
    border-radius: var(--radius-lg);
    background:
      radial-gradient(700px 280px at 50% 100%, color-mix(in oklch, var(--hunt-accent) 18%, transparent), transparent 55%),
      var(--bg-elev);
    border: 1px solid var(--border);
  }
  .hunt-cta h2 {
    font-size: clamp(40px, 5vw, 64px);
    letter-spacing: -0.035em; line-height: 1; margin: 0 0 18px;
  }
  .hunt-cta h2 em {
    font-family: "Instrument Serif", serif; font-style: italic; font-weight: 400;
    color: var(--hunt-accent);
  }
  .hunt-cta p { color: var(--fg-dim); font-size: 18px; max-width: 48ch; margin: 0 auto 28px; }
