/* =========================================================
   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; }
}

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

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: var(--paper-dim);
  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: var(--paper); }
.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: transparent;
  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; }

/* ---------- 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-fallback{
  margin-top: 0.75rem; font-size: 0.9rem; color: var(--ink-soft);
}
.assessment-list{ list-style: none; margin: 1.25rem 0 0; padding: 0; }
.assessment-list li{
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 0.75rem 0; border-top: 1px solid var(--line);
}
.assessment-list li:first-child{ border-top: none; }
.assessment-list .addr{ font-family: var(--mono); font-size: 0.9rem; }
.assessment-list a{ font-size: 0.88rem; white-space: nowrap; }

/* ---------- 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;
}
video{ background: var(--ink); }

/* ---------- opportunity ---------- */
.opportunity{ background: var(--ink); color: var(--paper); }
.opportunity h2{ color: var(--paper); }
.opportunity p{ color: rgba(238,235,224,0.88); }
.opportunity .highlight{
  border-left: 3px solid var(--ochre);
  padding-left: 1.25rem;
  margin-top: 1.75rem;
}
.opportunity .highlight p{ margin-bottom: 0; font-style: italic; color: var(--ochre-soft); }

/* ---------- 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; }
