/* NEW SITE (Phase 2, 2026-11-04): the new ania.ai pages (src/ejs/site/). Loaded only when NEW_SITE=on.
   Keeps iota:red's look: dark ground, goldenrod headings, quiet blue-grey text. */
.sv-wrap { max-width: 1100px; margin: 0 auto; padding: 56px 16px 40px; color: #e7eef6; }
.sv-narrow { max-width: 720px; margin-left: auto; margin-right: auto; }
.sv-center { text-align: center; }
.sv-wrap h1 { font-family: 'Cinzel', serif; color: goldenrod; font-weight: 700; letter-spacing: .04em; font-size: clamp(1.7rem, 4.5vw, 2.6rem); margin: 0 0 10px; line-height: 1.15; }
.sv-wrap h2 { font-family: 'Cinzel', serif; color: goldenrod; font-size: 1.3rem; letter-spacing: .04em; margin: 40px 0 12px; padding-bottom: 8px; border-bottom: 1px solid rgba(90, 150, 255, .42); }
.sv-wrap h3 { color: goldenrod; font-size: 1.05rem; margin: 22px 0 6px; }
.sv-wrap p, .sv-wrap li { line-height: 1.6; font-size: 1.05rem; color: #c9d3df; }
.sv-wrap p { margin: 0 0 14px; }
.sv-wrap a { color: goldenrod; }
.sv-lede { font-size: clamp(1.1rem, 2.6vw, 1.35rem) !important; color: #e7eef6 !important; }
.sv-muted { color: #8b97a8 !important; }
.sv-kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; color: #8b97a8; margin: 0 0 6px; }

/* buttons */
.sv-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 26px 0 8px; }
.sv-btn { display: inline-block; padding: 12px 20px; border: 1px solid goldenrod; color: goldenrod !important; text-decoration: none; letter-spacing: .03em; transition: background .2s, color .2s; }
.sv-btn:hover, .sv-btn:focus-visible { background: goldenrod; color: #000 !important; }
.sv-btn.primary { background: goldenrod; color: #000 !important; }
.sv-btn.primary:hover, .sv-btn.primary:focus-visible { background: #f0c040; }

/* the three doors, and other tiles */
.sv-doors { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 18px 0; }
.sv-door { display: block; padding: 20px; border: 1px solid rgb(5, 71, 49); text-decoration: none; color: #e7eef6 !important; transition: border-color .2s, transform .2s; }
.sv-door:hover, .sv-door:focus-visible { border-color: goldenrod; transform: translateY(-2px); }
.sv-door .sv-kicker { margin-bottom: 4px; }
.sv-door b { display: block; color: goldenrod; font-family: 'Cinzel', serif; font-size: 1.25rem; margin-bottom: 6px; }
.sv-door span { color: #c9d3df; line-height: 1.5; }

/* the fact / fiction line */
.sv-line { border-left: 3px solid goldenrod; padding: 6px 0 6px 16px; margin: 22px auto; max-width: 640px; text-align: left; }

/* cards: every image the same height, nothing cropped (as the list pages) */
.sv-grid { display: flex; flex-wrap: wrap; gap: 16px; justify-content: flex-start; }
.sv-card { display: block; width: min-content; min-width: 150px; max-width: 100%; color: #e7eef6 !important; text-decoration: none; border: 1px solid rgb(5, 71, 49); padding: 10px; transition: border-color .2s, transform .2s; }
.sv-card:hover, .sv-card:focus-visible { border-color: goldenrod; transform: translateY(-2px); }
.sv-pic { height: 200px; background: rgba(238, 243, 248, .04); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.sv-pic img { height: 100%; width: auto; max-width: 100%; object-fit: contain; display: block; }
.sv-name { display: block; margin-top: 10px; color: goldenrod; }
.sv-meta { display: block; margin-top: 3px; font-size: .85em; color: #8b97a8; }
@media (max-width: 480px) { .sv-pic { height: 150px; } .sv-card { min-width: 130px; } }

/* the Innovation shelf */
.sv-shelf { list-style: none; padding: 0; margin: 12px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.sv-shelf li { border: 1px solid rgba(90, 150, 255, .3); padding: 12px; font-size: 1rem; }
.sv-shelf li b { display: block; color: #8b97a8; font-weight: 400; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.sv-shelf li.sv-next { border-color: goldenrod; }
.sv-shelf li em { color: #8b97a8; font-style: normal; font-size: .85rem; }
.sv-shelf li.sv-next em { color: goldenrod; font-style: normal; font-size: .85rem; }
.sv-shelf li a { display: block; color: #e7eef6; text-decoration: none; }
.sv-shelf li a:hover, .sv-shelf li a:focus-visible { color: goldenrod; }
.sv-shelf li img { display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; margin-bottom: 8px; }

/* the arc: anger, memory, answer */
.sv-arc { counter-reset: arc; }
.sv-arc > section { position: relative; padding-left: 44px; }
.sv-arc > section::before { counter-increment: arc; content: counter(arc); position: absolute; left: 0; top: 18px; width: 30px; height: 30px; border: 1px solid goldenrod; border-radius: 50%; color: goldenrod; text-align: center; line-height: 30px; font-family: 'Inter', sans-serif; font-weight: 600; }

.sv-coming { border: 1px dashed rgba(218, 165, 32, .6); padding: 18px 20px; margin: 26px 0; }
.sv-hidden-note { color: #ff6b6b; font-size: .8em; display: block; margin-top: 3px; }

/* RECEIPTS (Phase 3) */
.sv-rlist { list-style: none; padding: 0; margin: 10px 0 20px; }
.sv-rlist li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; padding: 10px 0; border-bottom: 1px solid rgba(90, 150, 255, .2); }
.sv-rlist a { display: flex; gap: 14px; flex: 1 1 260px; min-width: 0; text-decoration: none; color: #e7eef6 !important; }
.sv-rlist a:hover .sv-rtext, .sv-rlist a:focus-visible .sv-rtext { color: goldenrod; }
.sv-rnum { color: goldenrod; font-weight: 600; min-width: 2.6em; }
.sv-rtext { overflow-wrap: anywhere; }
.sv-rstate { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: #fab633; border: 1px solid rgba(250, 182, 51, .6); padding: 1px 8px; }
.sv-quote { border-left: 3px solid goldenrod; margin: 20px 0; padding: 4px 0 4px 16px; font-size: 1.15rem; color: #e7eef6; font-style: italic; }
.sv-facts { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 16px 0; }
.sv-facts dt { color: #8b97a8; }
.sv-facts dd { margin: 0; color: #e7eef6; overflow-wrap: anywhere; }
.sv-note { border: 1px solid rgba(90, 150, 255, .35); padding: 14px 16px; background: rgba(90, 150, 255, .05); }

/* HUNDREDS (Phase 4) */
.hd-map { width: 100%; height: auto; display: block; background: rgba(90, 150, 255, .06); border: 1px solid rgba(90, 150, 255, .25); }
.hd-map path { stroke: #0a0d14; stroke-width: .6; fill-rule: evenodd; transition: fill .15s; }
.hd-map .hd-T { fill: #2a3a5e; } .hd-map .hd-P { fill: #24414a; } .hd-map .hd-B { fill: #3a3354; }
.hd-map a:hover path, .hd-map a:focus path { fill: #c9a227; }
.hd-map a:focus { outline: none; }
.hd-map a:focus path { stroke: #fff; stroke-width: 1.6; }
.hd-map .hd-mark { fill: goldenrod; }
.hd-map .hd-here { fill: goldenrod; stroke: #fff; stroke-width: 1.4; }
.hd-map .hd-town { fill: rgba(231, 238, 246, .75); font: 600 15px 'Inter', sans-serif; letter-spacing: .2em; pointer-events: none; }
.hd-mapwrap { margin: 16px 0; }
.hd-find { max-width: 520px; margin: 26px auto 10px; }
.hd-find label { display: block; color: #c9d3df; margin-bottom: 6px; }
.hd-findrow { display: flex; flex-wrap: wrap; gap: 10px; }
.hd-findrow input { flex: 1 1 180px; min-width: 0; font-size: 1.1rem; padding: 10px 12px; background: #0a0d14; color: #e7eef6; border: 1px solid #2a3a5e; text-transform: uppercase; }
.hd-error { color: #ff8f8f !important; margin-top: 8px; }
.hd-small { font-size: .9rem !important; }
.hd-draft { border: 1px dashed rgba(218, 165, 32, .6); padding: 12px 16px; margin: 18px 0; color: #c9d3df; }
.hd-views { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 10px 0; }
.hd-views a[aria-current] { color: #e7eef6 !important; text-decoration: none; border-bottom: 2px solid goldenrod; }
.hd-two { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 760px) { .hd-two { grid-template-columns: 1fr; } }
.hd-two h2:first-of-type { margin-top: 10px; }
.hd-next a { white-space: nowrap; }
.hd-streets { columns: 3 220px; column-gap: 28px; padding-left: 18px; margin: 10px 0; }
.hd-streets li { break-inside: avoid; font-size: .98rem; }
.hd-suggest { max-width: 640px; }
.hd-suggest fieldset { border: 0; padding: 0; margin: 0 0 10px; }
.hd-suggest legend { color: #c9d3df; margin-bottom: 6px; }
.hd-radio { display: block; margin: 4px 0; color: #e7eef6; }
.hd-suggest > label, .hd-grid2 label { display: block; color: #c9d3df; margin: 12px 0 4px; }
.hd-suggest input[type=text], .hd-suggest input[type=email], .hd-suggest textarea { width: 100%; box-sizing: border-box; font: inherit; padding: 9px 11px; background: #0a0d14; color: #e7eef6; border: 1px solid #2a3a5e; }
.hd-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; margin-bottom: 16px; }
@media (max-width: 560px) { .hd-grid2 { grid-template-columns: 1fr; } }
.hd-thanks { border-left: 3px solid goldenrod; padding: 8px 14px; margin-bottom: 14px; }
.hd-credits { margin-top: 40px; padding-top: 14px; border-top: 1px solid rgba(90, 150, 255, .25); }
.hd-credits p { font-size: .82rem !important; color: #8b97a8 !important; margin: 0 0 6px !important; }
.hd-mapwrap .hd-map:not(.hd-one) { max-width: 640px; margin: 0 auto; }
.sv-skip { position: absolute; left: -10000px; }
.sv-skip:focus { position: static; display: inline-block; margin: 6px 0; }

/* YOUR HUNDRED (Phase 5a) */
.jw-box { border: 1px solid rgba(218, 165, 32, .55); padding: 18px 20px; margin: 30px 0; background: rgba(218, 165, 32, .04); text-align: left; }
.jw-box h2.jw-title { border: 0; margin: 2px 0 8px; padding: 0; }
.jw-form > label, .jw-form .hd-grid2 label { display: block; color: #c9d3df; margin: 12px 0 4px; }
.jw-form textarea, .jw-form input[type=text], .jw-form input[type=email] { width: 100%; box-sizing: border-box; font: inherit; padding: 9px 11px; background: #0a0d14; color: #e7eef6; border: 1px solid #2a3a5e; }
.jw-form .hd-grid2 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
/* The boxes line up along the bottom, however many lines their labels wrap to (2026-11-07). */
.jw-form .hd-grid2 > div { display: flex; flex-direction: column; justify-content: flex-end; }
.jw-check { display: flex !important; gap: 10px; align-items: flex-start; margin: 12px 0 !important; color: #c9d3df; line-height: 1.5; font-size: .95rem; }
.jw-check input { margin-top: 4px; flex: none; }
.jt-box { border-left: 3px solid goldenrod; padding: 6px 0 6px 16px; margin: 22px 0; text-align: left; }
.jt-box p { margin: 0 0 4px !important; }
.sv-imprint { max-width: 1100px; margin: 0 auto; padding: 8px 16px; font-size: .8rem; color: #8b97a8; }

/* PHASE 5b */
.rp-select { width: 100%; box-sizing: border-box; font: inherit; padding: 9px 11px; background: #0a0d14; color: #e7eef6; border: 1px solid #2a3a5e; }
.rp-letter { width: 100%; box-sizing: border-box; font: .95rem/1.5 'Inter', sans-serif; padding: 12px; background: #0a0d14; color: #e7eef6; border: 1px solid #2a3a5e; }
.pr-list, .pl-list { list-style: none; padding: 0; margin: 10px 0; }
.pr-list li, .pl-idea { border-bottom: 1px solid rgba(90, 150, 255, .2); padding: 12px 0; }
.pr-list p { margin: 6px 0 !important; }
.pr-acts, .pl-vote { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; }
.pr-acts .sv-btn, .pl-vote .sv-btn { padding: 7px 14px; font-size: .95rem; background: transparent; cursor: pointer; }
.pr-acts .sv-btn[disabled] { opacity: .6; cursor: default; }
.pl-stats { display: block; font-size: .85rem; color: #8b97a8; margin-top: 4px; }
.pl-town { font-size: .85rem; color: #8b97a8; }
.pl-src { display: block; font-size: .8rem; color: #b8a26a; margin-top: 4px; }
.pl-src a { color: inherit; }
.pl-area { border-top: 1px solid rgba(90, 150, 255, .2); padding: 10px 0; }
.pl-area summary { cursor: pointer; font-size: 1.15rem; font-weight: 600; }
.pl-area h4 { margin-top: 14px; font-size: 1rem; }
.pl-plan { margin-top: 28px; }
.pl-town select { background: #0a0d14; color: #e7eef6; border: 1px solid #2a3a5e; padding: 4px; }
.pr-acts button.sv-btn, .pl-vote button.sv-btn { border: 1px solid goldenrod !important; color: goldenrod !important; border-radius: 0; font-family: inherit; }
.pr-acts button.sv-btn:hover, .pl-vote button.sv-btn:hover { background: goldenrod !important; color: #000 !important; }
.pl-vote button.sv-btn.primary { background: goldenrod !important; color: #000 !important; }
