File size: 8,497 Bytes
140c4f0
 
58fb07b
 
 
 
 
 
 
 
 
 
140c4f0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
58fb07b
140c4f0
 
58fb07b
 
140c4f0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
58fb07b
 
140c4f0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
<script lang="ts">
  /** "What you'll get back" three-pane preview: briefing excerpt with
   *  inline citations · 2x2 evidence-card grid · live mini-map.
   *
   *  v0.4.5 update: the third pane was originally a hand-drawn SVG
   *  mockup of Red Hook from the design-handoff prototype. Replaced
   *  with a real MapLibre instance pinned to 80 Pioneer Street so
   *  visitors land on a working map at the same scale, with the same
   *  stylized FEMA AE polygon / HWM contour / FloodNet pin / 311
   *  cluster / address pin overlays. Kept inside the same 6:5
   *  container so the layout doesn't shift. */
  import LandMiniMap from './LandMiniMap.svelte';
</script>

<section class="land-section">
  <div class="land-section-head">
    <span class="section-label">What you'll get back</span>
    <span class="land-section-meta">A grounded paragraph with citations, not a chatbot answer.</span>
  </div>

  <div class="land-preview-grid">

    <!-- Pane 1 — briefing excerpt -->
    <div class="land-preview-pane land-preview-pane-excerpt">
      <div class="land-preview-eyebrow">Briefing excerpt</div>
      <p class="land-preview-body">
        The lot sits inside the FEMA <span class="land-preview-cite">1% AE flood zone <sup>[c3]</sup></span>,
        with Sandy high-water marks recorded
        <span class="land-preview-cite"> 4.7 ft above grade <sup>[c1]</sup></span>.
        FloodNet FN-BK-018 has logged
        <span class="land-preview-cite"> 14 nuisance floods since 2023 <sup>[c2]</sup></span>.
      </p>
      <div class="land-preview-cites">
        <div class="land-preview-cite-row">
          <span class="land-preview-cite-pin">[c1]</span>
          <span class="land-preview-cite-src">USGS HWM · Sandy 2012</span>
          <span class="land-preview-cite-tier">empirical</span>
        </div>
        <div class="land-preview-cite-row">
          <span class="land-preview-cite-pin">[c2]</span>
          <span class="land-preview-cite-src">FloodNet FN-BK-018</span>
          <span class="land-preview-cite-tier">empirical</span>
        </div>
        <div class="land-preview-cite-row">
          <span class="land-preview-cite-pin">[c3]</span>
          <span class="land-preview-cite-src">FEMA NFHL · 36047C0207</span>
          <span class="land-preview-cite-tier">modeled</span>
        </div>
      </div>
    </div>

    <!-- Pane 2 — evidence cards 2x2 -->
    <div class="land-preview-pane land-preview-pane-cards">
      <div class="land-preview-eyebrow">Evidence cards</div>
      <div class="land-evcard-grid">
        <article class="land-evcard land-evcard-empirical">
          <header class="land-evcard-head">
            <span class="land-evcard-tier">empirical</span>
            <span class="land-evcard-id">e1</span>
          </header>
          <div class="land-evcard-claim">4.7 ft Sandy storm-surge HWM at address</div>
          <div class="land-evcard-source">USGS High-Water Mark database · 2012</div>
        </article>
        <article class="land-evcard land-evcard-empirical">
          <header class="land-evcard-head">
            <span class="land-evcard-tier">empirical</span>
            <span class="land-evcard-id">e2</span>
          </header>
          <div class="land-evcard-claim">14 nuisance-flood events, 2023–2026</div>
          <div class="land-evcard-source">FloodNet FN-BK-018 · 2 blocks north</div>
        </article>
        <article class="land-evcard land-evcard-modeled">
          <header class="land-evcard-head">
            <span class="land-evcard-tier">modeled</span>
            <span class="land-evcard-id">e3</span>
          </header>
          <div class="land-evcard-claim">FEMA 1% annual-chance (AE) flood zone</div>
          <div class="land-evcard-source">FEMA NFHL · panel 36047C0207</div>
        </article>
        <article class="land-evcard land-evcard-modeled">
          <header class="land-evcard-head">
            <span class="land-evcard-tier">modeled</span>
            <span class="land-evcard-id">e5</span>
          </header>
          <div class="land-evcard-claim">+30 in MSL by 2070 (NPCC4 high)</div>
          <div class="land-evcard-source">NPCC4 SLR projection · 2024</div>
        </article>
      </div>
    </div>

    <!-- Pane 3 — real MapLibre mini-map (v0.4.5) -->
    <div class="land-preview-pane land-preview-pane-map">
      <div class="land-preview-eyebrow">Map</div>
      <LandMiniMap />
      <div class="land-preview-mapmeta">80 Pioneer St, Red Hook · z14.5 · Carto Positron</div>
    </div>

  </div>
</section>

<style>
  .land-section {
    padding: 48px 32px;
    border-top: 1px solid var(--rule-soft);
  }
  .land-section-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 22px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--rule-soft);
  }
  .land-section-meta {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 14px;
    color: var(--ink-tertiary);
  }

  .land-preview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px;
    align-items: stretch;
  }
  .land-preview-pane {
    background: white;
    border: 1px solid var(--rule-soft);
    border-left: 3px solid var(--ink);
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
  }
  .land-preview-eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-tertiary);
    margin: 0;
  }

  /* Excerpt pane */
  .land-preview-pane-excerpt .land-preview-body {
    font-family: var(--font-serif);
    font-size: 15px;
    line-height: 1.55;
    color: var(--ink);
    margin: 0;
  }
  .land-preview-cite {
    background: linear-gradient(transparent 60%, rgba(11, 83, 148, 0.14) 60%);
  }
  .land-preview-cite sup {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--tier-empirical);
    margin-left: 2px;
    vertical-align: super;
  }
  .land-preview-cites {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 10px;
    border-top: 1px dashed var(--rule-soft);
  }
  .land-preview-cite-row {
    display: grid;
    grid-template-columns: 30px 1fr 70px;
    gap: 8px;
    align-items: baseline;
    font-family: var(--font-mono);
    font-size: 11px;
  }
  .land-preview-cite-pin { color: var(--tier-empirical); font-weight: 600; }
  .land-preview-cite-src { color: var(--ink); }
  .land-preview-cite-tier {
    color: var(--ink-tertiary);
    text-align: right;
    letter-spacing: 0.04em;
  }

  /* Cards pane */
  .land-preview-pane-cards { gap: 8px; }
  .land-evcard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    flex: 1;
  }
  .land-evcard {
    background: var(--paper);
    border: 1px solid var(--rule-soft);
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 3px;
  }
  .land-evcard-empirical { border-left: 2px solid var(--tier-empirical); }
  .land-evcard-modeled { border-left: 2px solid var(--tier-modeled); }
  .land-evcard-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.06em;
  }
  .land-evcard-tier { color: var(--ink-secondary); text-transform: uppercase; }
  .land-evcard-empirical .land-evcard-tier { color: var(--tier-empirical); }
  .land-evcard-modeled .land-evcard-tier { color: var(--tier-modeled); }
  .land-evcard-id { color: var(--ink-tertiary); }
  .land-evcard-claim {
    font-family: var(--font-sans);
    font-size: 12.5px;
    line-height: 1.35;
    color: var(--ink);
  }
  .land-evcard-source {
    font-family: var(--font-mono);
    font-size: 10.5px;
    color: var(--ink-tertiary);
  }

  /* Map pane — the LandMiniMap component owns its own styling
     (.land-mapmini, .land-mapmini-legend, tier-swatch primitives). */
  .land-preview-pane-map { padding: 16px 18px; }
  .land-preview-mapmeta {
    font-family: var(--font-mono);
    font-size: 10.5px;
    color: var(--ink-tertiary);
  }

  @media (max-width: 1000px) {
    .land-preview-grid { grid-template-columns: 1fr 1fr; }
    .land-preview-pane-excerpt { grid-column: 1 / -1; }
  }
  @media (max-width: 640px) {
    .land-preview-grid { grid-template-columns: 1fr; }
    .land-preview-pane-excerpt { grid-column: auto; }
  }
</style>