/* =========================================================
   jl-forms.css  ·  Jonathan Lopez Real Estate  ·  v2 (editorial)
   Home-value block · Street Report · Ask Your Neighbor
   Every selector starts with .jl- so nothing existing on the site changes.

   Display serif: Cormorant Garamond, self-hosted from YOUR domain (/fonts/).
   No Google Fonts, no third-party requests, no cookies.
   If /fonts/ isn't uploaded, it falls back to Iowan / Palatino / Georgia.
   ========================================================= */

@font-face { font-family: "JL Display"; src: url("/fonts/cormorant-garamond-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "JL Display"; src: url("/fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "JL Display"; src: url("/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "JL Display"; src: url("/fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

/* ---------- Tokens ---------- */
.jl-tool {
  --jl-serif: "JL Display", "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --jl-sans: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif; /* your site's Lato */

  --jl-bg: #f7f4ee;          /* ivory */
  --jl-bg-raised: #fbf9f5;   /* paper */
  --jl-fg: #1f2023;          /* charcoal */
  --jl-fg-soft: #4a4a4d;
  --jl-muted: #85807a;       /* warm stone */
  --jl-hair: rgba(31, 32, 35, .14);
  --jl-hair-strong: rgba(31, 32, 35, .32);
  --jl-accent: #a88c5f;      /* muted champagne gold */
  --jl-accent-soft: rgba(168, 140, 95, .14);

  --jl-ease: cubic-bezier(.22, .7, .18, 1);
  --jl-gutter: clamp(22px, 6vw, 72px);

  position: relative;
  font-family: var(--jl-sans);
  color: var(--jl-fg);
  background: var(--jl-bg);
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}
.jl-tool *, .jl-tool *::before, .jl-tool *::after { box-sizing: inherit; }

.jl-tool--dark {
  --jl-bg: #1c1d1f;
  --jl-bg-raised: #232427;
  --jl-fg: #efe9df;
  --jl-fg-soft: #cfc8bc;
  --jl-muted: #9a9389;
  --jl-hair: rgba(239, 233, 223, .16);
  --jl-hair-strong: rgba(239, 233, 223, .36);
  --jl-accent: #cbb48a;
  --jl-accent-soft: rgba(203, 180, 138, .12);
}

/* ---------- Layout ---------- */
.jl-band { padding: clamp(72px, 12vw, 148px) var(--jl-gutter); }
.jl-band--tight { padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px); }
.jl-wrap { max-width: 1160px; margin: 0 auto; }
.jl-wrap--narrow { max-width: 760px; }

.jl-split { display: grid; gap: clamp(48px, 7vw, 96px); }
@media (min-width: 900px) {
  .jl-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .jl-split--wide-left { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .jl-sticky { position: sticky; top: 32px; }
}

/* ---------- Type ---------- */
.jl-eyebrow {
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 28px;
  font-size: 11px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase;
  color: var(--jl-accent);
}
.jl-eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .7; }

.jl-display {
  margin: 0 0 26px;
  font-family: var(--jl-serif);
  font-weight: 300;
  font-size: clamp(40px, 8.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -.012em;
  color: var(--jl-fg);
}
.jl-display em { font-style: italic; font-weight: 400; color: var(--jl-accent); }
.jl-display--m { font-size: clamp(34px, 6vw, 54px); }

.jl-lede {
  margin: 0 0 40px;
  max-width: 34em;
  font-size: clamp(16px, 1.9vw, 18px);
  line-height: 1.75;
  color: var(--jl-fg-soft);
}

.jl-fine { margin: 18px 0 0; font-size: 12.5px; line-height: 1.7; color: var(--jl-muted); }
.jl-fine a, .jl-link { color: inherit; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .45s var(--jl-ease), color .3s; }
.jl-fine a:hover, .jl-link:hover { color: var(--jl-accent); background-size: 0 1px; background-position: 100% 100%; }

/* Numbered notes (I. II. III.) */
.jl-notes { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--jl-hair); }
.jl-notes li {
  display: grid; grid-template-columns: 48px 1fr; gap: 8px;
  padding: 22px 0; border-bottom: 1px solid var(--jl-hair);
  font-size: 15px; line-height: 1.65; color: var(--jl-fg-soft);
}
.jl-notes b { display: block; font-weight: 400; color: var(--jl-fg); font-size: 16px; margin-bottom: 2px; }
.jl-notes .jl-num { font-family: var(--jl-serif); font-style: italic; font-size: 20px; color: var(--jl-accent); line-height: 1.2; }

/* ---------- Form frame (hairline, not a box) ---------- */
.jl-frame {
  position: relative;
  padding: clamp(28px, 4vw, 48px) 0 0;
  border-top: 1px solid var(--jl-hair-strong);
}
.jl-frame--boxed {
  padding: clamp(28px, 4.5vw, 52px);
  border: 1px solid var(--jl-hair);
  background: var(--jl-bg-raised);
}

/* Progress: "01 / 02" + hairline */
.jl-progress { display: flex; align-items: center; gap: 18px; margin: 0 0 38px; }
.jl-progress-count { font-family: var(--jl-serif); font-size: 17px; letter-spacing: .04em; color: var(--jl-muted); white-space: nowrap; }
.jl-progress-count [data-step-now] { color: var(--jl-fg); }
.jl-progress-track { position: relative; flex: 1; height: 1px; background: var(--jl-hair); overflow: hidden; }
.jl-progress-fill { position: absolute; inset: 0; background: var(--jl-accent); transform-origin: left; transform: scaleX(.5); transition: transform .8s var(--jl-ease); }

/* Steps + transitions */
.jl-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.jl-step[hidden] { display: none; }
.jl-step:not([hidden]) { animation: jl-step-in .7s var(--jl-ease) both; }
form[data-dir="back"] .jl-step:not([hidden]) { animation-name: jl-step-back; }
@keyframes jl-step-in   { from { opacity: 0; transform: translateX(22px); } to { opacity: 1; transform: none; } }
@keyframes jl-step-back { from { opacity: 0; transform: translateX(-22px); } to { opacity: 1; transform: none; } }

.jl-q {
  margin: 0 0 30px; padding: 0;
  font-family: var(--jl-serif); font-weight: 400;
  font-size: clamp(26px, 3.6vw, 34px); line-height: 1.15;
  color: var(--jl-fg);
}
.jl-q small { display: block; margin-top: 10px; font-family: var(--jl-sans); font-size: 14px; line-height: 1.6; color: var(--jl-muted); }

/* ---------- Fields: underline + floating label ---------- */
.jl-f { position: relative; padding-top: 22px; margin: 0 0 30px; }
.jl-f::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--jl-accent); transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--jl-ease);
}
.jl-f:focus-within::after { transform: scaleX(1); }

.jl-in {
  display: block; width: 100%;
  padding: 10px 0 12px;
  border: 0; border-bottom: 1px solid var(--jl-hair-strong); border-radius: 0;
  background: transparent; color: var(--jl-fg);
  font: inherit; font-size: 18px; line-height: 1.4;
  -webkit-appearance: none; appearance: none;
  transition: border-color .3s;
}
.jl-in:focus { outline: none; }
.jl-in:hover { border-bottom-color: var(--jl-fg-soft); }
textarea.jl-in { min-height: 112px; resize: vertical; line-height: 1.6; }
.jl-in--serif { font-family: var(--jl-serif); font-size: clamp(24px, 3vw, 30px); font-weight: 400; padding-bottom: 14px; }

.jl-f > label {
  position: absolute; left: 0; top: 33px;
  font-size: 16px; color: var(--jl-muted);
  pointer-events: none; transform-origin: left top;
  transition: top .45s var(--jl-ease), font-size .45s var(--jl-ease), letter-spacing .45s var(--jl-ease), color .3s;
}
.jl-f--serif > label { top: 36px; font-family: var(--jl-serif); font-size: clamp(24px, 3vw, 30px); }
.jl-in:focus + label,
.jl-in:not(:placeholder-shown) + label {
  top: 0; font-family: var(--jl-sans);
  font-size: 10.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--jl-accent);
}
.jl-in:user-invalid { border-bottom-color: #9c4a3c; }
.jl-in:user-invalid + label { color: #9c4a3c; }

.jl-hint { display: block; margin-top: 10px; font-size: 13px; color: var(--jl-muted); }

.jl-cols { display: grid; gap: 0 28px; }
@media (min-width: 560px) { .jl-cols { grid-template-columns: 1.5fr 1fr; } }

/* "Woodland Hills, CA 91367 · Edit" line under the address */
.jl-locale { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: -14px 0 30px; font-size: 14px; color: var(--jl-muted); }
.jl-locale button {
  padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--jl-accent);
}
.jl-collapse { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--jl-ease), opacity .4s; opacity: 0; }
.jl-collapse > * { overflow: hidden; }
.jl-collapse.is-open { grid-template-rows: 1fr; opacity: 1; }

/* ---------- Checkbox ---------- */
.jl-check {
  display: flex; gap: 14px; align-items: flex-start;
  margin: 0 0 28px; cursor: pointer;
  font-size: 15px; line-height: 1.55; color: var(--jl-fg-soft);
}
.jl-check input {
  flex: 0 0 auto; width: 18px; height: 18px; margin: 2px 0 0;
  border: 1px solid var(--jl-hair-strong); border-radius: 0; background: transparent;
  -webkit-appearance: none; appearance: none; cursor: pointer;
  transition: border-color .3s, box-shadow .3s;
}
.jl-check input:checked { border-color: var(--jl-accent); box-shadow: inset 0 0 0 4px var(--jl-bg), inset 0 0 0 10px var(--jl-accent); }
.jl-check input:focus-visible { outline: 1px solid var(--jl-accent); outline-offset: 3px; }
.jl-check:hover input { border-color: var(--jl-fg-soft); }

/* ---------- Buttons: hairline, quiet ---------- */
.jl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 8px; }

.jl-btn {
  position: relative; display: inline-flex; align-items: center; gap: 18px;
  min-height: 56px; padding: 0 30px;
  border: 1px solid var(--jl-fg); border-radius: 0;
  background: transparent; color: var(--jl-fg);
  font: inherit; font-size: 11.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  cursor: pointer; overflow: hidden; isolation: isolate;
  transition: color .5s var(--jl-ease), border-color .5s;
}
.jl-btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--jl-fg); transform: scaleY(0); transform-origin: bottom;
  transition: transform .55s var(--jl-ease);
}
.jl-btn:hover, .jl-btn:focus-visible { color: var(--jl-bg); }
.jl-btn:hover::before, .jl-btn:focus-visible::before { transform: scaleY(1); }
.jl-btn:focus-visible { outline: 1px solid var(--jl-accent); outline-offset: 4px; }
.jl-btn[disabled] { opacity: .5; cursor: wait; }
.jl-btn[disabled]::before { transform: scaleY(0); }

/* The thin arrow (drawn, not an icon) */
.jl-arrow { position: relative; width: 26px; height: 1px; background: currentColor; transition: width .55s var(--jl-ease); }
.jl-arrow::after {
  content: ""; position: absolute; right: 0; top: -3px;
  width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.jl-btn:hover .jl-arrow, .jl-btn:focus-visible .jl-arrow { width: 40px; }

.jl-text-btn {
  padding: 6px 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--jl-muted); transition: color .3s;
}
.jl-text-btn:hover { color: var(--jl-fg); }

.jl-status { margin: 18px 0 0; min-height: 1px; font-size: 14px; color: var(--jl-muted); }
.jl-status--error { color: #9c4a3c; }
.jl-status a { color: inherit; }

/* ---------- Concierge slip (live preview of name/address) ---------- */
.jl-slip {
  position: relative; margin: 0 0 34px; padding: 22px 24px;
  border: 1px solid var(--jl-hair);
  background: var(--jl-accent-soft);
}
.jl-slip-label { display: block; margin-bottom: 8px; font-size: 10px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--jl-accent); }
.jl-slip-line { display: block; font-family: var(--jl-serif); font-size: 22px; line-height: 1.3; color: var(--jl-fg); }
.jl-slip-line--sub { font-style: italic; font-size: 17px; color: var(--jl-fg-soft); }
.jl-echo { transition: opacity .35s; }
.jl-echo.is-empty { opacity: .45; }

/* ---------- Success ---------- */
.jl-success[hidden] { display: none; }
.jl-success:not([hidden]) { animation: jl-step-in .9s var(--jl-ease) both; }
.jl-success h3 { margin: 0 0 18px; font-family: var(--jl-serif); font-weight: 300; font-size: clamp(34px, 5vw, 46px); line-height: 1.08; color: var(--jl-fg); }
.jl-success p { margin: 0 0 14px; max-width: 32em; font-size: 16px; line-height: 1.75; color: var(--jl-fg-soft); }
.jl-success [data-show-if][hidden] { display: none; }
.jl-rule { display: block; width: 56px; height: 1px; margin: 0 0 30px; background: var(--jl-accent); }

/* Honeypot */
.jl-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* =========================================================
   Street Report sample preview
   ========================================================= */
.jl-doc {
  position: relative;
  border: 1px solid var(--jl-hair);
  background: var(--jl-bg-raised);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: 0 1px 0 var(--jl-hair), 0 40px 80px -60px rgba(31, 32, 35, .35);
}
.jl-doc-sample {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin: 0 0 30px; padding-bottom: 14px; border-bottom: 1px dashed var(--jl-hair-strong);
  font-size: 10.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--jl-accent);
}
.jl-doc-sample span:last-child { color: var(--jl-muted); letter-spacing: .14em; }
.jl-doc-head { display: grid; gap: 4px; margin-bottom: 30px; }
.jl-doc-title { margin: 0; font-family: var(--jl-serif); font-weight: 300; font-size: clamp(30px, 4.4vw, 40px); line-height: 1.05; }
.jl-doc-for { font-family: var(--jl-serif); font-style: italic; font-size: 18px; color: var(--jl-fg-soft); }
.jl-doc-meta { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--jl-muted); }

/* Tabs */
.jl-tabs { display: flex; gap: 28px; margin: 0 0 6px; border-bottom: 1px solid var(--jl-hair); overflow-x: auto; scrollbar-width: none; }
.jl-tabs::-webkit-scrollbar { display: none; }
.jl-tab {
  position: relative; flex: 0 0 auto; padding: 12px 0 14px; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--jl-muted);
  transition: color .3s;
}
.jl-tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--jl-accent); transform: scaleX(0); transform-origin: left; transition: transform .55s var(--jl-ease); }
.jl-tab:hover { color: var(--jl-fg); }
.jl-tab[aria-selected="true"] { color: var(--jl-fg); }
.jl-tab[aria-selected="true"]::after { transform: scaleX(1); }
.jl-tab:focus-visible { outline: 1px solid var(--jl-accent); outline-offset: 4px; }
.jl-panel[hidden] { display: none; }
.jl-panel:not([hidden]) { animation: jl-fade .6s var(--jl-ease) both; }
@keyframes jl-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Radius selector */
.jl-radius { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; margin: 20px 0 8px; font-size: 13px; color: var(--jl-muted); }
.jl-radius-opt {
  padding: 4px 0; border: 0; background: none; cursor: pointer;
  font-family: var(--jl-serif); font-size: 18px; color: var(--jl-muted);
  border-bottom: 1px solid transparent; transition: color .3s, border-color .3s;
}
.jl-radius-opt:hover { color: var(--jl-fg); }
.jl-radius-opt[aria-pressed="true"] { color: var(--jl-fg); border-bottom-color: var(--jl-accent); }

/* Rows */
.jl-rows { list-style: none; margin: 0; padding: 0; }
.jl-res { border-bottom: 1px solid var(--jl-hair); }
.jl-res[hidden] { display: none; }
.jl-res:not([hidden]) { animation: jl-fade .55s var(--jl-ease) both; }
.jl-res-head {
  display: grid; grid-template-columns: 1fr auto 18px; align-items: center; gap: 16px;
  width: 100%; padding: 20px 0; border: 0; background: none; cursor: pointer; text-align: left;
  font: inherit; color: var(--jl-fg);
}
.jl-res-name { font-family: var(--jl-serif); font-size: 21px; line-height: 1.2; }
.jl-res-name small { display: block; margin-top: 3px; font-family: var(--jl-sans); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--jl-muted); }
.jl-res-price { font-family: var(--jl-serif); font-size: 20px; letter-spacing: .08em; color: var(--jl-fg-soft); }
.jl-plus { position: relative; width: 14px; height: 14px; }
.jl-plus::before, .jl-plus::after { content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 1px; background: var(--jl-fg-soft); transition: transform .5s var(--jl-ease); }
.jl-plus::after { transform: rotate(90deg); }
.jl-res-head[aria-expanded="true"] .jl-plus::after { transform: rotate(0); }
.jl-res-head:hover .jl-res-name { color: var(--jl-accent); }
.jl-res-head:focus-visible { outline: 1px solid var(--jl-accent); outline-offset: 2px; }
.jl-res-name { transition: color .3s; }
.jl-res-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--jl-ease); }
.jl-res-body > div { overflow: hidden; }
.jl-res-head[aria-expanded="true"] + .jl-res-body { grid-template-rows: 1fr; }
.jl-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; margin: 0; padding: 0 0 24px; }
@media (min-width: 560px) { .jl-facts { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.jl-facts dt { font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--jl-muted); }
.jl-facts dd { margin: 4px 0 0; font-family: var(--jl-serif); font-size: 19px; color: var(--jl-fg-soft); }

/* Quarterly view (illustrative line) */
.jl-chart { margin: 24px 0 6px; }
.jl-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.jl-chart .jl-grid { stroke: var(--jl-hair); stroke-width: 1; }
.jl-chart .jl-line { fill: none; stroke: var(--jl-accent); stroke-width: 1.25; stroke-dasharray: 600; stroke-dashoffset: 600; }
.jl-panel:not([hidden]) .jl-chart .jl-line { animation: jl-draw 1.8s var(--jl-ease) .15s forwards; }
@keyframes jl-draw { to { stroke-dashoffset: 0; } }
.jl-chart text { font-family: var(--jl-serif); font-size: 13px; fill: var(--jl-muted); }
.jl-doc-foot { margin: 22px 0 0; font-size: 12px; line-height: 1.65; color: var(--jl-muted); }

/* =========================================================
   Ask Your Neighbor
   ========================================================= */
.jl-topics { list-style: none; margin: 0 0 34px; padding: 0; border-top: 1px solid var(--jl-hair); }
.jl-topic {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  width: 100%; padding: 16px 0; border: 0; border-bottom: 1px solid var(--jl-hair); background: none; cursor: pointer; text-align: left;
  font-family: var(--jl-serif); font-size: 21px; color: var(--jl-fg-soft);
  transition: color .3s, padding-left .5s var(--jl-ease);
}
.jl-topic .jl-arrow { width: 0; opacity: 0; transition: width .5s var(--jl-ease), opacity .3s; color: var(--jl-accent); }
.jl-topic:hover, .jl-topic[aria-pressed="true"] { color: var(--jl-fg); padding-left: 10px; }
.jl-topic:hover .jl-arrow, .jl-topic[aria-pressed="true"] .jl-arrow { width: 26px; opacity: 1; }
.jl-topic:focus-visible { outline: 1px solid var(--jl-accent); outline-offset: 2px; }
.jl-count { display: block; margin-top: 10px; text-align: right; font-size: 12px; letter-spacing: .1em; color: var(--jl-muted); }

/* Compact blog-footer version: one line that opens up */
.jl-compact { border-top: 1px solid var(--jl-hair); }
.jl-compact .jl-more { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .7s var(--jl-ease), opacity .5s .1s; }
.jl-compact .jl-more > div { overflow: hidden; }
.jl-compact form.is-open .jl-more { grid-template-rows: 1fr; opacity: 1; }

/* =========================================================
   Scroll reveal (only when JS is running; respects reduced motion)
   ========================================================= */
.jl-js [data-jl-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--jl-ease), transform 1.1s var(--jl-ease); transition-delay: var(--jl-delay, 0s); }
.jl-js [data-jl-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .jl-tool *, .jl-tool *::before, .jl-tool *::after { animation: none !important; transition: none !important; }
  .jl-js [data-jl-reveal] { opacity: 1; transform: none; }
  .jl-chart .jl-line { stroke-dashoffset: 0; }
}

@media (max-width: 420px) {
  .jl-tabs { gap: 18px; }
  .jl-tab { font-size: 10.5px; letter-spacing: .14em; }
}

/* =========================================================
   Preview integration (Social Media, 11/17)
   ========================================================= */
/* Off-screen "Message" note read by the FUB pixel (same pattern as the site's #fub-note) */
.jl-fub-note { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.jl-tool form { position: relative; }

/* Head / intro / form layout. Phones: heading, then the form, then the intro copy. */
.jl-layout { grid-template-areas: "head" "form" "intro"; }
.jl-layout > .jl-head { grid-area: head; }
.jl-layout > .jl-intro { grid-area: intro; }
.jl-layout > .jl-formcol { grid-area: form; }
.jl-layout { row-gap: clamp(36px, 6vw, 56px); }
.jl-layout .jl-head .jl-display { margin-bottom: 0; }
@media (min-width: 900px) {
  .jl-layout { grid-template-areas: "head form" "intro form"; grid-template-rows: auto 1fr; row-gap: 32px; }
}

/* (a) Street Report tabs: never clip "Quarterly view" on narrow phones */
@media (max-width: 520px) {
  .jl-tabs { gap: 0; justify-content: space-between; overflow: visible; }
  .jl-tab { font-size: 10px; letter-spacing: .1em; padding-left: 0; padding-right: 0; }
}

/* (c) Textareas look obviously typeable: visible box, real placeholder, focus state */
.jl-f--area { padding-top: 26px; }
.jl-f--area::after { display: none; }
.jl-f--area > label,
.jl-f--area > .jl-in:focus + label,
.jl-f--area > .jl-in:not(:placeholder-shown) + label {
  top: 0; font-family: var(--jl-sans);
  font-size: 10.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--jl-accent);
}
.jl-f--area > textarea.jl-in {
  padding: 14px 16px;
  border: 1px solid var(--jl-hair-strong);
  background: var(--jl-bg-raised);
  font-size: 17px;
  cursor: text;
  transition: border-color .3s, box-shadow .3s;
}
.jl-f--area > textarea.jl-in::placeholder { color: var(--jl-muted); opacity: 1; font-style: italic; }
.jl-f--area > textarea.jl-in:hover { border-color: var(--jl-fg-soft); }
.jl-f--area > textarea.jl-in:focus { border-color: var(--jl-accent); box-shadow: 0 0 0 3px var(--jl-accent-soft); }
.jl-f--area > textarea.jl-in:user-invalid { border-color: #9c4a3c; }

/* (b) Blog-footer box: send button visible from the start */
.jl-compact form > .jl-actions { margin-top: 4px; }

/* Inside an article (e.g. /selling): keep the band inside the column */
article .jl-band { margin: 36px 0; padding-left: clamp(22px, 5vw, 48px); padding-right: clamp(22px, 5vw, 48px); padding-top: clamp(48px, 8vw, 80px); padding-bottom: clamp(48px, 8vw, 80px); }
article .jl-tool .jl-split { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "form" "intro"; }
article .jl-tool p, article .jl-tool li { margin-top: 0; }
/* Site rules like ".post h2 { font: 300 38px Lato }" must not restyle the blocks */
.post .jl-tool .jl-display { font-family: var(--jl-serif); font-weight: 300; font-size: clamp(40px, 8.4vw, 76px); line-height: 1.02; margin: 0 0 26px; letter-spacing: -.012em; }
.post .jl-tool .jl-display--m { font-size: clamp(34px, 6vw, 54px); }
.post .jl-tool .jl-success h3 { font-family: var(--jl-serif); font-weight: 300; font-size: clamp(34px, 5vw, 46px); line-height: 1.08; }
.post .jl-layout .jl-head .jl-display { margin-bottom: 0; }
