/* =========================================================
   Linwood Avenue Assembly — teaser site
   Design language: field-survey / land-title record.
   Palette:  paper #EEEBE0  ink #1E2A22  ochre #B8862E  brick #9C4A34
   Type:     Source Serif 4 (editorial)  /  IBM Plex Mono (record data)
   ========================================================= */

:root{
  --paper:      #EEEBE0;
  --paper-dim:  #E4E0D2;
  --ink:        #1E2A22;
  --ink-soft:   #445048;
  --line:       #C9C3AF;
  --ochre:      #B8862E;
  --ochre-soft: #E4CD9B;
  --brick:      #9C4A34;
  --brick-soft: rgba(156, 74, 52, 0.14);

  --serif: "Source Serif 4", Georgia, serif;
  --mono:  "IBM Plex Mono", "Courier New", monospace;

  --measure: 62ch;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .site-bg-video{ display: none; }
  body{ background: var(--paper); }
}

body{
  margin: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.site-bg-video{
  position: fixed; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  pointer-events: none;
}
.site-bg-scrim{
  position: fixed; inset: 0; z-index: -1;
  background: rgba(238, 235, 224, 0.6);
  pointer-events: none;
}
/* Generic sections (hero and opportunity keep their own solid backgrounds)
   are left fully transparent now, so the background video shows clearly in
   the space around content — headings and captions sit directly on it,
   since large/bold or short text reads fine over the scrim alone. Anything
   longer or smaller-print sits on a .surface card instead, for guaranteed
   legibility; tune --scrim above once real footage is in place, since how
   busy that clip looks changes how much wash it needs. */
.surface{
  background: rgba(238, 235, 224, 0.78);
  border: 1px solid var(--line);
  padding: 1.6rem 1.8rem;
}
.centered-intro{ text-align: center; }
.centered-intro .surface{ display: inline-block; max-width: var(--measure); }
.centered-intro .pending{ display: inline-block; max-width: var(--measure); }
.centered-intro .pending .stamp{ display: block; margin-left: auto; margin-right: auto; width: fit-content; }
footer{
  background: rgba(238, 235, 224, 0.8);
}

h1, h2, h3{
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h2{ font-size: clamp(1.5rem, 2.4vw, 2rem); }
h3{ font-size: 1.15rem; }

p{ margin: 0 0 1.1em; max-width: var(--measure); }

a{ color: var(--brick); }
a:hover{ color: var(--ink); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline: 2px solid var(--brick);
  outline-offset: 3px;
}

.mono{ font-family: var(--mono); letter-spacing: 0.01em; }

section{ padding: 4.5rem var(--gutter); border-bottom: 1px solid var(--line); }
section > .inner{ max-width: 1100px; margin: 0 auto; }

/* ---------- top bar ---------- */
.topbar{
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem var(--gutter);
  background: rgba(30, 42, 34, 0.96);
  color: var(--paper);
  border-bottom: 1px solid rgba(238,235,224,0.15);
}
.topbar .mark{
  font-family: var(--serif); font-weight: 600; font-size: 1rem;
  color: var(--paper); text-decoration: none; white-space: nowrap;
}
.topbar .mark small{
  display: block; font-family: var(--mono); font-size: 0.65rem;
  letter-spacing: 0.04em; color: var(--ochre-soft); font-weight: 400;
}
.topbar nav{ display: flex; gap: 1.5rem; }
.topbar nav a{
  color: rgba(238,235,224,0.85); text-decoration: none;
  font-size: 0.88rem; font-family: var(--serif);
  border-bottom: 1px solid transparent;
}
.topbar nav a:hover{ color: var(--paper); border-color: var(--ochre); }
.topbar .tag{
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.06em;
  color: var(--ink); background: var(--ochre-soft);
  padding: 0.25em 0.6em; border-radius: 2px; white-space: nowrap;
}
.nav-toggle{ display:none; }

@media (max-width: 720px){
  .topbar nav{ display:none; }
}

/* ---------- hero ---------- */
.hero{
  position: relative;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--ink);
}
.hero-frame{ position: relative; width: 100%; aspect-ratio: 3312 / 2084; max-height: 82vh; }
.hero-frame img{
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(0.96) contrast(1.02);
}
.hero-overlay-svg{ position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.parcel-outline{
  fill: var(--brick-soft);
  stroke: var(--brick);
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}
.parcel-label-bg{ fill: var(--brick); }
.parcel-label{
  fill: var(--paper);
  font-family: var(--mono);
  font-size: 15px;
}
.hero-overlay-svg [id^="lot-"] .parcel-outline{
  transition: fill 0.2s ease, stroke-width 0.2s ease;
}
.hero-overlay-svg [id^="lot-"].is-active .parcel-outline{
  fill: rgba(184, 134, 46, 0.28);
  stroke: var(--ochre);
  stroke-width: 5;
}
.record .row[data-lot]{ cursor: pointer; transition: background 0.15s ease; }
.record .row[data-lot]:hover, .record .row[data-lot]:focus{
  background: var(--ochre-soft);
  outline: none;
}

/* Anchored bottom-right, over the neighbouring yards rather than the
   outlined parcels (which sit in the left half of the photo) — adjust the
   `width` below if you resize the parcel outlines and the two start to overlap. */
.hero-caption{
  position: absolute; right: 0; bottom: 0; left: auto;
  width: min(620px, 58%);
  padding: 2.5rem var(--gutter) 2rem 4rem;
  background: linear-gradient(100deg, transparent 0%, rgba(18,24,19,0.55) 22%, rgba(18,24,19,0.9) 55%);
  color: var(--paper);
  text-align: right;
}
.hero-caption h1{
  color: var(--paper); font-size: clamp(1.9rem, 4.2vw, 3.1rem); margin-bottom: 0.2em;
}
.hero-caption .sub{
  font-family: var(--mono); font-size: 0.85rem; letter-spacing: 0.02em;
  color: var(--ochre-soft); margin: 0;
}
.hero-caption .confidential{
  display:inline-block; margin-top: 0.9rem;
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em;
  color: var(--paper); border: 1px solid rgba(238,235,224,0.5);
  padding: 0.3em 0.7em;
}
@media (max-width: 720px){
  .hero-caption{ width: 100%; text-align: left; padding: 2rem var(--gutter) 1.5rem; background: linear-gradient(0deg, rgba(18,24,19,0.92) 0%, rgba(18,24,19,0.4) 70%, transparent 100%); }
}
.scroll-cue{
  position: absolute; left: var(--gutter); bottom: 1.6rem;
  width: 22px; height: 34px; border: 1.5px solid rgba(238,235,224,0.7);
  border-radius: 12px;
}
.scroll-cue::after{
  content:""; position:absolute; top:6px; left:50%; width:4px; height:8px;
  background: var(--paper); border-radius: 2px; transform: translateX(-50%);
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue{ 0%{ opacity:1; top:6px; } 70%{ opacity:0; top:18px; } 100%{ opacity:0; top:6px; } }

/* ---------- overview ---------- */
.overview-grid{
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem;
}
@media (max-width: 860px){ .overview-grid{ grid-template-columns: 1fr; } }

.record{
  border: 1px solid var(--line);
  background: rgba(228, 224, 210, 0.78);
  padding: 1.5rem 1.75rem;
  align-self: start;
}
.record h3{
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em;
  color: var(--ink-soft); margin-bottom: 1rem; font-weight: 500;
}
.record dl{ margin: 0; }
.record .row{
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.55rem 0; border-top: 1px solid var(--line);
  font-size: 0.92rem;
}
.record .row:first-of-type{ border-top: none; }
.record dt{ color: var(--ink-soft); }
.record dd{ margin: 0; font-family: var(--mono); text-align: right; }

/* ---------- policy cards ---------- */
.policy-grid{
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem; margin-top: 2rem;
}
@media (max-width: 860px){ .policy-grid{ grid-template-columns: 1fr; } }

.policy-card{ border: 1px solid var(--line); padding: 1.6rem 1.8rem; background: rgba(238, 235, 224, 0.78); }
.policy-card h3{ margin-bottom: 0.9rem; }
.policy-card .ref{
  display: block; margin-top: 1rem; font-family: var(--mono);
  font-size: 0.78rem; color: var(--ink-soft);
}
.spec-table{ width: 100%; border-collapse: collapse; margin-top: 0.6rem; font-size: 0.88rem; }
.spec-table th, .spec-table td{
  text-align: left; padding: 0.4rem 0.5rem 0.4rem 0;
  border-top: 1px solid var(--line); vertical-align: top;
}
.spec-table th{ font-weight: 500; color: var(--ink-soft); width: 34%; }

/* ---------- pending callout ---------- */
.pending{
  border: 1.5px dashed var(--ink-soft);
  padding: 1.5rem 1.8rem;
  margin-top: 1.5rem;
  background: rgba(238, 235, 224, 0.78);
  position: relative;
}
.pending .stamp{
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em;
  color: var(--brick); border: 1px solid var(--brick);
  padding: 0.25em 0.6em; display: inline-block; margin-bottom: 0.9rem;
  transform: rotate(-1.2deg);
}
.pending p:last-child{ margin-bottom: 0; }

.confirmed{
  border: 1.5px solid var(--ochre);
  padding: 1.5rem 1.8rem;
  margin-top: 1.5rem;
  background: rgba(238, 235, 224, 0.78);
  position: relative;
}
.confirmed .stamp{
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em;
  color: var(--ink); background: var(--ochre-soft); border: 1px solid var(--ochre);
  padding: 0.25em 0.6em; display: inline-block; margin-bottom: 0.9rem;
  transform: rotate(-1.2deg);
}
.confirmed p:last-child{ margin-bottom: 0; }
.confirmed p{ max-width: none; text-align: center; }
.confirmed .ref-links{ font-family: var(--mono); font-size: 0.82rem; }

/* ---------- maps & records ---------- */
.map-embed{
  border: 1px solid var(--line);
  background: #dfe4dc;
  aspect-ratio: 16 / 10;
  width: 100%;
}
.map-embed iframe{ width: 100%; height: 100%; border: 0; display: block; }

.map-slideshow{
  position: relative; border: 1px solid var(--line); background: #dfe4dc;
  aspect-ratio: 2156 / 1700; width: 100%; overflow: hidden;
}
.ms-slide{ display: none; position: absolute; inset: 0; }
.ms-slide.is-active{ display: block; }
.ms-slide img{ width: 100%; height: 100%; object-fit: contain; background: #fff; display: block; }
.ms-slide iframe{ width: 100%; height: 100%; border: 0; display: block; }
.ms-arrow{
  background: none; border: 1px solid var(--line); color: var(--ink);
  width: 2.1rem; height: 2.1rem; font-size: 1.15rem; line-height: 1;
  cursor: pointer; font-family: var(--serif);
}
.ms-arrow:hover{ border-color: var(--brick); color: var(--brick); }
.ms-dot{
  width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--ink-soft);
  background: transparent; padding: 0; cursor: pointer;
}
.ms-dot[aria-current="true"]{ background: var(--brick); border-color: var(--brick); }

.aerial-view{ margin-top: 0.5rem; }
.aerial-frame{
  border: 1px solid var(--line); aspect-ratio: 16 / 10; width: 100%;
  background: #dfe4dc; position: relative; overflow: hidden;
}
#cesiumContainer{ width: 100%; height: 100%; }
/* Cesium's attribution is required by Google/Cesium ion's terms and stays
   visible, but nothing says it has to be full-size — shrunk down here.
   !important is needed since Cesium's own widgets.css loads after this
   file (it's injected at runtime) and would otherwise win on load order. */
.cesium-widget-credits{
  font-size: 9px !important;
  line-height: 1.2 !important;
  padding: 1px 4px !important;
}
.cesium-credit-imageContainer img{
  max-height: 10px !important;
  width: auto !important;
}
.cesium-credit-expand-link{ font-size: 9px !important; }
.aerial-key-notice{
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 2rem; font-family: var(--mono); font-size: 0.85rem;
  color: var(--ink-soft); background: rgba(238, 235, 224, 0.92);
  pointer-events: none;
}
.aerial-key-notice[hidden]{ display: none; }

.assessment-grid{
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
  margin-top: 1.25rem;
}
@media (max-width: 720px){ .assessment-grid{ grid-template-columns: 1fr; } }
.assessment-card{
  display: block; border: 1px solid var(--line); background: rgba(238, 235, 224, 0.8);
  text-decoration: none; color: var(--ink); overflow: hidden;
  transition: border-color 0.15s ease;
}
.assessment-card:hover{ border-color: var(--brick); }
.assessment-photo{
  aspect-ratio: 8 / 5; overflow: hidden; position: relative; background: var(--paper-dim);
}
.assessment-card img{
  width: 100%; height: 100%; object-fit: cover; display: block;
  background: var(--paper-dim);
  transform: scale(1.18);
  transform-origin: center;
  object-position: center 15%;
}
.assessment-card-body{ padding: 0.9rem 1rem; display: flex; flex-direction: column; gap: 0.2rem; text-align: center; }
.assessment-card .addr{ font-family: var(--mono); font-size: 0.8rem; color: var(--ink-soft); }
.assessment-card .value{ font-family: var(--mono); font-size: 1.3rem; font-weight: 500; }
.assessment-card .as-of{ font-size: 0.72rem; color: var(--ink-soft); }

/* ---------- media / photo ---------- */
.photo-frame{ position: relative; border: 1px solid var(--line); overflow: hidden; }
.photo-frame img, .photo-frame video{ width: 100%; display: block; }
.pin{
  position: absolute; width: 14px; height: 14px; border-radius: 50%;
  background: var(--brick); border: 2px solid var(--paper);
  box-shadow: 0 0 0 2px var(--brick);
  transform: translate(-50%, -50%);
}
.pin-label{
  position: absolute; transform: translate(-50%, -140%);
  font-family: var(--mono); font-size: 0.72rem; color: var(--paper);
  background: var(--brick); padding: 0.15em 0.5em; white-space: nowrap;
}
.photo-caption{
  font-family: var(--mono); font-size: 0.78rem; color: var(--ink-soft);
  margin-top: 0.6rem; display: inline-block;
  background: rgba(238, 235, 224, 0.95); padding: 0.4em 0.6em;
}
video{ background: var(--ink); }
.video-loadgate{
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: rgba(30, 42, 34, 0.88); color: var(--paper);
  border: 1px solid rgba(238, 235, 224, 0.5);
  font-family: var(--mono); font-size: 0.85rem;
  padding: 0.7em 1.2em; cursor: pointer;
}
.video-loadgate:hover{ border-color: var(--ochre); color: var(--ochre-soft); }

.vs-controls{ display:flex; align-items:center; justify-content:center; gap:1.1rem; margin-top:1rem; }
.vs-arrow{
  background:none; border:1px solid var(--line); color: var(--ink);
  width: 2.1rem; height: 2.1rem; font-size: 1.15rem; line-height: 1;
  cursor:pointer; font-family: var(--serif);
}
.vs-arrow:hover{ border-color: var(--brick); color: var(--brick); }
.vs-dots{ display:flex; gap:0.55rem; }
.vs-dot{
  width:9px; height:9px; border-radius:50%; border:1px solid var(--ink-soft);
  background: transparent; padding:0; cursor:pointer;
}
.vs-dot[aria-current="true"]{ background: var(--brick); border-color: var(--brick); }
.vs-status{ text-align:center; }

/* ---------- opportunity ---------- */
.opportunity{ background: rgba(30, 42, 34, 0.82); color: var(--paper); }
.opportunity h2{ color: var(--paper); }
.opportunity p{ color: rgba(238,235,224,0.88); }
.opportunity .highlight{ margin-top: 1.75rem; }
.opportunity .highlight p{ margin-bottom: 0; font-style: italic; color: var(--ochre-soft); }

.opportunity-grid{
  display: grid;
  grid-template-columns: minmax(240px, 340px) 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 860px){
  .opportunity-grid{ grid-template-columns: 1fr; }
}

.opportunity-photos{ position: relative; }
.opportunity-text{ text-align: center; }
.opportunity-text p{ max-width: 560px; margin-left: auto; margin-right: auto; }
.opportunity-text .highlight{ max-width: 500px; margin-left: auto; margin-right: auto; }

.opportunity-photo{
  position: relative;
  background: #fff;
  padding: 12px 12px 18px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.4);
}
.opportunity-photo img{ width: 100%; height: auto; display: block; }
.opportunity-photo::before{
  content: "";
  position: absolute;
  top: -14px; left: 50%;
  width: 72px; height: 26px;
  background: rgba(228, 205, 155, 0.55);
  border: 1px solid rgba(228, 205, 155, 0.7);
  transform: translateX(-50%) rotate(-3deg);
}
.opportunity-photo.photo-a{
  max-width: 300px;
  margin: 0 0 2.5rem 0.5rem;
  transform: rotate(-3deg);
  z-index: 1;
}
.opportunity-photo.photo-b{
  max-width: 300px;
  margin: 0 0 0 auto;
  transform: rotate(2.5deg);
}
@media (max-width: 860px){
  .opportunity-photos{ display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem 1rem; }
  .opportunity-photo.photo-a, .opportunity-photo.photo-b{ margin: 0.5rem; }
}

/* ---------- call for offers ---------- */
.steps{ list-style: none; margin: 2rem 0 0; padding: 0; counter-reset: step; }
.steps li{
  counter-increment: step;
  display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem;
  padding: 1.1rem 0; border-top: 1px solid var(--line);
}
.steps li:first-child{ border-top: none; }
.steps li::before{
  content: counter(step);
  font-family: var(--mono); font-size: 0.95rem; color: var(--brick);
}
.contact-grid{
  display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-top: 2.5rem;
}
@media (max-width: 860px){ .contact-grid{ grid-template-columns: 1fr; } }

.contact-block dl{ margin: 0; }
.contact-block .row{ padding: 0.5rem 0; border-top: 1px solid var(--line); display:flex; justify-content: space-between; gap: 1rem; }
.contact-block .row:first-child{ border-top: none; }
.contact-block dt{ color: var(--ink-soft); }
.contact-block dd{ margin: 0; font-family: var(--mono); }

.field{ margin-bottom: 1rem; }
.field label{ display:block; font-size: 0.82rem; color: var(--ink-soft); margin-bottom: 0.3rem; }
.field input, .field textarea{
  width: 100%; padding: 0.6rem 0.7rem; border: 1px solid var(--line);
  background: var(--paper); font-family: var(--serif); font-size: 0.95rem;
  color: var(--ink);
}
.field textarea{ min-height: 90px; resize: vertical; }
.btn{
  display: inline-block; border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper);
  font-family: var(--serif); font-size: 0.95rem;
  padding: 0.65rem 1.4rem; cursor: pointer;
}
.btn:hover{ background: var(--brick); border-color: var(--brick); }
.form-note{ font-size: 0.8rem; color: var(--ink-soft); margin-top: 0.6rem; }

/* ---------- footer ---------- */
footer{
  padding: 2.5rem var(--gutter) 3rem; border-bottom: none;
  color: var(--ink-soft); font-size: 0.82rem;
}
footer .inner{ max-width: 1100px; margin: 0 auto; }
footer p{ max-width: none; }
