/* Jarrell James Real Estate. One stylesheet for every page. */

@font-face {
  font-family: "Bodoni Moda";
  src: url("/assets/fonts/bodoni.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("/assets/fonts/bodoni-italic.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/newsreader.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/newsreader-italic.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

:root {
  --paper: #f7f7f4;
  --white: #ffffff;
  --ink: #0f231a;
  --ink-soft: #40564a;
  --green: #15a850;
  --green-deep: #0b7a38;
  --mint: #ecefea;
  --gold: #f0b429;
  --line: #d9dcd6;
  --sans: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: "Bodoni Moda", "Didot", "Bodoni 72", "Times New Roman", serif;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--green-deep); text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }
h1, h2, h3 { margin: 0; line-height: 1.04; letter-spacing: -0.025em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.2vw, 4.9rem); letter-spacing: -0.035em; line-height: 0.98; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap.narrow { --wrap: 720px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.45; color: var(--ink-soft); max-width: 34em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none;
  border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn-solid { background: var(--green); color: var(--ink); }
.btn-solid:hover { background: var(--ink); color: var(--white); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--white); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.4); color: var(--white); background: transparent; }
.btn-ghost:hover { border-color: var(--white); background: var(--white); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(243, 246, 242, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name, .brand-broker { font-size: 1rem; font-weight: 700; letter-spacing: -0.01em; }
.brand-broker { font-weight: 500; color: var(--ink-soft); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { color: var(--ink); text-decoration: none; font-weight: 500; padding: 8px 0; border-bottom: 2px solid transparent; }
.site-nav ul a:hover, .site-nav ul a[aria-current="page"] { border-bottom-color: var(--green); }
.nav-call { min-height: 42px; padding: 0 18px; font-size: 0.95rem; }
.nav-toggle { display: none; font: inherit; font-weight: 600; background: none; border: 2px solid var(--ink); color: var(--ink); border-radius: 999px; min-height: 42px; padding: 0 18px; cursor: pointer; }

/* Hero */
.hero { padding: clamp(36px, 6vw, 80px) 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(28px, 5vw, 72px); align-items: end; }
.hero-copy { padding-bottom: clamp(40px, 7vw, 96px); }
.hero-copy h1 { max-width: 11em; margin-bottom: 0.45em; }
.hero-copy .lede { margin-bottom: 1.6em; }
.hero-broker { margin: 1.6em 0 0; font-size: 1rem; font-weight: 600; color: var(--ink); }
.hero-photo { position: relative; align-self: end; }
.hero-photo::before { content: ""; position: absolute; inset: 12% -40% 0 18%; background: var(--green); border-radius: var(--radius) 0 0 0; }
.hero-photo img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 12%; border-radius: var(--radius) var(--radius) 0 0; }

/* This week's episode */
.episode { background: var(--ink); color: var(--white); padding: clamp(44px, 6vw, 80px) 0; }
.episode-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); }
.episode-kicker { font-weight: 600; color: var(--green); margin-bottom: 1.2em; font-size: 1.05rem; }
.episode-latest { display: grid; gap: 0; }
.episode-ep { font-size: clamp(5rem, 13vw, 10.5rem); font-weight: 800; line-height: 0.8; letter-spacing: -0.06em; color: var(--green); margin: 0 0 0.16em -0.04em; font-variant-numeric: tabular-nums; }
.episode-ep small { display: block; font-size: 1rem; font-weight: 600; letter-spacing: 0; line-height: 1.2; color: rgba(255, 255, 255, 0.65); margin: 0 0 0.9em 0.3em; }
.episode-title { font-size: clamp(1.8rem, 3.4vw, 2.75rem); margin-bottom: 0.4em; }
.episode-title a { color: inherit; text-decoration: none; }
.episode-title a:hover { text-decoration: underline; text-decoration-color: var(--green); }
.episode-sub { color: rgba(255, 255, 255, 0.78); font-size: 1.12rem; max-width: 36em; margin-bottom: 1.4em; }
.episode-date { color: rgba(255, 255, 255, 0.6); font-size: 0.95rem; margin: 0 0 1.2em; }
.episode-latest .btn-row { margin-top: 20px; }
.episode-more { border-left: 1px solid rgba(255, 255, 255, 0.16); padding-left: clamp(24px, 4vw, 56px); display: flex; flex-direction: column; }
.episode-more h3 { font-size: 1.05rem; letter-spacing: 0; font-weight: 600; color: rgba(255, 255, 255, 0.65); margin-bottom: 8px; }
.episode-recent { list-style: none; margin: 0 0 28px; padding: 0; }
.episode-recent li { border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.episode-recent a { display: grid; grid-template-columns: 2.6em 1fr; gap: 6px 14px; padding: 18px 0; color: var(--white); text-decoration: none; }
.episode-recent a:hover .er-title { text-decoration: underline; text-decoration-color: var(--green); }
.er-num { font-weight: 800; font-size: 1.5rem; line-height: 1.1; color: var(--green); font-variant-numeric: tabular-nums; }
.er-title { font-weight: 600; font-size: 1.12rem; line-height: 1.25; }
.er-date { grid-column: 2; font-size: 0.9rem; color: rgba(255, 255, 255, 0.6); }
.episode-more .btn-row { margin-top: auto; }

/* Audio player */
.player { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 14px 18px; }
.player audio { width: 100%; display: block; }
.player.is-ready { display: grid; grid-template-columns: auto 1fr auto; gap: 6px 16px; align-items: center; }
.player.is-ready audio { display: none; }
.player-toggle { grid-row: span 2; width: 60px; height: 60px; border-radius: 50%; border: 0; background: var(--green); cursor: pointer; display: grid; place-items: center; transition: background-color 0.15s; }
.player-toggle:hover { background: var(--ink); }
.player-toggle::before { content: ""; width: 0; height: 0; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent var(--ink); margin-left: 5px; }
.player-toggle:hover::before { border-left-color: var(--white); }
.player.is-playing .player-toggle::before { width: 6px; height: 20px; border-width: 0 6px; border-style: solid; border-color: var(--ink); margin-left: 0; }
.player.is-playing .player-toggle:hover::before { border-color: var(--white); }
.player-label { font-weight: 600; font-size: 0.98rem; line-height: 1.2; }
.player-speed { font: inherit; font-size: 0.88rem; font-weight: 600; min-width: 52px; min-height: 32px; border-radius: 999px; border: 1.5px solid var(--line); background: none; color: var(--ink); cursor: pointer; }
.player-speed:hover { border-color: var(--ink); }
.player-seek { grid-column: 2; width: 100%; accent-color: var(--green-deep); height: 24px; margin: 0; }
.player-time { font-size: 0.86rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Sections */
.section { padding: clamp(56px, 8vw, 112px) 0; }
.section-tint { background: var(--mint); }
.section-head { max-width: 40em; margin-bottom: clamp(28px, 4vw, 52px); }
.section-head h2 { margin-bottom: 0.4em; }
.section-head p { color: var(--ink-soft); font-size: 1.12rem; margin: 0; }

/* Listings */
.listing { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.listing + .listing { margin-top: clamp(48px, 7vw, 96px); }
.listing-flip .listing-photo { order: 2; }
.listing-photo { position: relative; }
.listing-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.tag { position: absolute; top: 16px; left: 16px; background: var(--ink); color: var(--white); font-weight: 600; font-size: 0.92rem; padding: 7px 14px; border-radius: 999px; }
.tag-sold { background: var(--gold); color: var(--ink); }
.listing-area { color: var(--green-deep); font-weight: 600; margin-bottom: 0.3em; }
.listing-body h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.listing-price { font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 700; letter-spacing: -0.02em; margin: 0.2em 0 0.7em; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin: 1.3em 0 1em; border-top: 1px solid var(--line); }
.facts div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--ink-soft); }
.facts dd { margin: 0; font-weight: 600; text-align: right; }
.listing-note { font-size: 0.94rem; color: var(--ink-soft); margin-bottom: 1.4em; }
.listing video { width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); background: var(--ink); }

/* Who I work with */
.who-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.who-grid .section-head { margin-bottom: 0; position: sticky; top: 110px; }
.who { margin: 0; }
.who div { padding: 22px 0; border-top: 2px solid var(--ink); }
.who div:last-child { border-bottom: 2px solid var(--ink); }
.who dt { font-size: clamp(1.35rem, 2.2vw, 1.7rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.25em; }
.who dd { margin: 0; color: var(--ink-soft); font-size: 1.1rem; max-width: 34em; }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.about-photos img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius); }
.about-copy h2 { margin-bottom: 0.55em; }
.about-copy p { font-size: 1.12rem; max-width: 34em; }
.values { list-style: none; padding: 0; margin: 1.6em 0 0; max-width: 36em; }
.values li { padding: 14px 0 14px 22px; border-left: 4px solid var(--green); margin-bottom: 12px; color: var(--ink-soft); }
.values strong { color: var(--ink); }

/* Contact */
.contact { background: var(--green); padding: clamp(56px, 8vw, 104px) 0; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact-copy h2 { font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: -0.035em; margin-bottom: 0.3em; }
.contact .lede { color: var(--ink); }
.contact-list { list-style: none; margin: 2em 0 0; padding: 0; }
.contact-list li { display: grid; gap: 2px; padding: 14px 0; border-top: 2px solid var(--ink); }
.contact-list span { font-size: 0.95rem; font-weight: 500; }
.contact-list a { color: var(--ink); font-size: clamp(1.25rem, 2.3vw, 1.6rem); font-weight: 700; letter-spacing: -0.02em; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; }
.contact-form { background: var(--white); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); display: grid; gap: 18px; }
.contact-form label { display: grid; gap: 6px; font-weight: 600; }
.contact-form input, .contact-form textarea { font: inherit; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); width: 100%; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--ink); outline: none; }
.contact-form .btn { width: 100%; }
.contact-form .btn-solid { background: var(--ink); color: var(--white); }
.contact-form .btn-solid:hover { background: var(--green-deep); }
.form-note { margin: 0; font-size: 0.92rem; color: var(--ink-soft); }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.8); padding: 56px 0 32px; font-size: 1rem; }
.site-footer a { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
.footer-grid img { margin-bottom: 14px; }
.footer-broker img { border-radius: 6px; }
.footer-name { font-weight: 700; color: var(--white); margin-bottom: 0.3em; }
.footer-id p, .footer-broker p { font-size: 1rem; }
.footer-links { display: grid; gap: 10px; align-content: start; }
.footer-legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.16); font-size: 0.9rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer-legal p { margin: 0; }

/* Episodes hub */
.hub-head { padding: clamp(44px, 7vw, 92px) 0 clamp(24px, 3vw, 40px); }
.hub-head h1 { margin-bottom: 0.35em; }
.hub-tools { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hub-search { flex: 1 1 260px; max-width: 460px; }
.hub-search input { font: inherit; width: 100%; min-height: 48px; padding: 0 20px; border-radius: 999px; border: 2px solid var(--ink); background: var(--white); color: var(--ink); }
.hub-list { padding-bottom: clamp(56px, 8vw, 104px); }
.ep-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.ep-row { border-bottom: 1px solid var(--line); }
.ep-row a { display: grid; grid-template-columns: clamp(64px, 9vw, 120px) 1fr auto; gap: 8px 20px; align-items: center; padding: 22px 0; color: var(--ink); text-decoration: none; }
.ep-num { font-size: clamp(2.2rem, 5vw, 3.9rem); font-weight: 800; letter-spacing: -0.05em; line-height: 0.9; color: var(--green-deep); font-variant-numeric: tabular-nums; }
.ep-main { display: grid; gap: 4px; }
.ep-title { font-size: clamp(1.2rem, 2.1vw, 1.55rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.ep-sub { color: var(--ink-soft); max-width: 46em; }
.ep-meta { font-size: 0.92rem; color: var(--ink-soft); }
.ep-go { font-weight: 600; white-space: nowrap; border: 2px solid var(--ink); border-radius: 999px; padding: 8px 16px; font-size: 0.95rem; }
.ep-row a:hover .ep-title { text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 3px; }
.ep-row a:hover .ep-go { background: var(--ink); color: var(--white); }
.ep-row:first-child .ep-num { color: var(--green); -webkit-text-stroke: 0; }
.ep-empty { padding: 32px 0; font-size: 1.12rem; }

/* Article */
.article-head { padding: clamp(36px, 6vw, 72px) 0 clamp(20px, 3vw, 32px); }
.article-head h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 0.4em; }
.article-head .lede { margin-bottom: 0.8em; }
.crumb { margin-bottom: 1.2em; font-weight: 600; }
.article-meta { color: var(--ink-soft); font-size: 0.98rem; margin-bottom: 1.6em; }
.article-head .player { border: 2px solid var(--ink); position: relative; }
.prose { font-family: var(--serif); font-size: 1.28rem; line-height: 1.62; padding-bottom: 24px; overflow-wrap: break-word; }
.prose p, .prose ul, .prose ol, .prose blockquote, .prose figure, .prose pre { margin: 0 0 1.15em; }
.prose h2, .prose h3, .prose h4 { font-family: var(--sans); margin: 1.7em 0 0.5em; line-height: 1.12; }
.prose h2 { font-size: 1.75rem; }
.prose h3 { font-size: 1.4rem; }
.prose h4 { font-size: 1.15rem; letter-spacing: -0.01em; }
.prose img { border-radius: 10px; margin-inline: auto; }
.prose figure { margin-inline: 0; }
.prose figcaption { font-family: var(--sans); font-size: 0.92rem; color: var(--ink-soft); text-align: center; margin-top: 8px; }
.prose blockquote { border-left: 4px solid var(--green); padding-left: 20px; margin-inline: 0; font-style: italic; color: var(--ink-soft); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose pre { font-family: var(--sans); font-size: 1rem; white-space: pre-wrap; background: var(--mint); padding: 16px 18px; border-radius: 10px; }
.prose code { font-family: inherit; }
.prose li { margin-bottom: 0.4em; }
.prose a { text-decoration-thickness: 1px; }
.article-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 24px 0 36px; border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; }
.article-cta > div { padding: 26px; background: var(--white); }
.article-cta > div + div { background: var(--mint); border-left: 2px solid var(--ink); }
.article-cta h2 { font-size: 1.4rem; margin-bottom: 0.4em; }
.article-cta p { color: var(--ink-soft); }
.neighbors { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 28px; }
.neighbor { display: grid; gap: 4px; padding: 18px 0; border-top: 2px solid var(--ink); text-decoration: none; color: var(--ink); }
.neighbor + .neighbor, .neighbors span + .neighbor { text-align: right; }
.neighbor-label { font-size: 0.92rem; color: var(--ink-soft); }
.neighbor-title { font-weight: 700; font-size: 1.12rem; line-height: 1.2; }
.neighbor:hover .neighbor-title { text-decoration: underline; text-decoration-color: var(--green); }
.article-source { font-size: 0.94rem; color: var(--ink-soft); padding-bottom: 56px; margin: 0; }

/* Smaller screens */
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 24px; flex-direction: column; align-items: stretch; gap: 16px; }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 14px 0; font-size: 1.15rem; border-bottom: 1px solid var(--line); }
  .hero-grid, .episode-grid, .listing, .who-grid, .about-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { padding-bottom: 8px; }
  .hero-photo { max-width: 460px; }
  .hero-photo::before { inset: 14% -30% 0 30%; }
  .episode-more { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.16); padding-top: 28px; }
  .episode-more .btn-row { margin-top: 0; }
  .listing-flip .listing-photo { order: 0; }
  .who-grid .section-head { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .brand-broker { font-size: 0.9rem; }
  .brand-name { font-size: 1rem; }
  .btn-row .btn { flex: 1 1 100%; }
  .facts { grid-template-columns: 1fr; }
  .ep-row a { grid-template-columns: 56px 1fr; }
  .ep-go { display: none; }
  .article-cta, .neighbors, .footer-grid { grid-template-columns: 1fr; }
  .article-cta > div + div { border-left: 0; border-top: 2px solid var(--ink); }
  .neighbor + .neighbor, .neighbors span + .neighbor { text-align: left; }
  .player.is-ready { grid-template-columns: auto 1fr; }
  .player-toggle { width: 52px; height: 52px; }
  .player-speed { grid-column: 2; justify-self: start; }
  .player-time { grid-column: 2; }
  .prose { font-size: 1.18rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Article landing page extras */
.crumb a { font-weight: 600; }
.byline { font-size: 0.98rem; color: var(--ink-soft); margin: -0.9em 0 1.6em; }
.toc { background: var(--mint); border-radius: var(--radius); padding: 22px 26px; margin: 8px 0 32px; }
.toc h2 { font-size: 1.15rem; letter-spacing: -0.01em; margin-bottom: 0.6em; }
.toc ol { margin: 0; padding-left: 1.3em; display: grid; gap: 6px; }
.toc a { color: var(--ink); font-weight: 600; }
.prose h2, .prose h3 { scroll-margin-top: 96px; }

/* Blog hub: cards with a hero photo and a hook */
.post-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 36px); }
.post-card[hidden] { display: none; }
.post-card a { display: flex; flex-direction: column; height: 100%; color: var(--ink); text-decoration: none; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.post-photo { position: relative; display: block; aspect-ratio: 3 / 2; background: var(--ink); overflow: hidden; }
.post-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.post-card a:hover .post-photo img { transform: scale(1.04); }
.post-ep { position: absolute; left: 14px; top: 14px; background: var(--green); color: var(--ink); font-weight: 700; font-size: 0.9rem; padding: 6px 13px; border-radius: 999px; }
.post-text { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.post-title { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; text-wrap: balance; }
.post-hook { color: var(--ink-soft); font-size: 1.04rem; line-height: 1.4; }
.post-meta { font-size: 0.9rem; color: var(--ink-soft); }
.post-go { margin-top: auto; padding-top: 10px; font-weight: 700; color: var(--green-deep); }
.post-card a:hover .post-go { color: var(--ink); text-decoration: underline; }
.post-card-lead { grid-column: 1 / -1; }
.post-card-lead a { flex-direction: row; background: var(--ink); color: var(--white); border-color: var(--ink); }
.post-card-lead .post-photo { flex: 1.25; aspect-ratio: auto; min-height: 400px; }
.post-card-lead .post-text { flex: 1; justify-content: center; gap: 14px; padding: clamp(24px, 4vw, 52px); }
.post-card-lead .post-title { font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.02; }
.post-card-lead .post-hook { color: rgba(255, 255, 255, 0.85); font-size: clamp(1.1rem, 1.6vw, 1.3rem); }
.post-card-lead .post-meta { color: rgba(255, 255, 255, 0.6); }
.post-card-lead .post-go { margin-top: 6px; padding: 0 22px; align-self: flex-start; display: inline-flex; align-items: center; min-height: 48px; border-radius: 999px; background: var(--green); color: var(--ink); }
.post-card-lead a:hover .post-go { background: var(--white); color: var(--ink); text-decoration: none; }

/* Blog post hero */
.post-hero { position: relative; background: var(--ink); color: var(--white); min-height: clamp(360px, 52vw, 560px); display: flex; align-items: flex-end; overflow: hidden; }
.post-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15, 35, 26, 0.94) 0%, rgba(15, 35, 26, 0.7) 42%, rgba(15, 35, 26, 0.2) 100%); }
.post-hero-text { position: relative; z-index: 1; padding-block: clamp(28px, 5vw, 56px); }
.post-hero-text h1 { font-size: clamp(2.3rem, 5.6vw, 4.4rem); max-width: 15em; margin-bottom: 0.3em; }
.post-hero-text .lede { color: rgba(255, 255, 255, 0.92); max-width: 36em; margin: 0; font-size: clamp(1.15rem, 2vw, 1.5rem); }
.post-hero-text .crumb { margin-bottom: 1em; }
.post-hero-text .crumb, .post-hero-text .crumb a { color: rgba(255, 255, 255, 0.85); }
.post-hero + .article-head { padding-top: 28px; }
.post-hero + .article-head .byline { margin-top: -0.9em; }

@media (max-width: 900px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-card-lead a { flex-direction: column; }
  .post-card-lead .post-photo { min-height: 0; aspect-ratio: 16 / 9; flex: none; }
}
@media (max-width: 600px) {
  .post-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Key takeaways and FAQ on a post */
.takeaways { border: 2px solid var(--ink); border-radius: var(--radius); padding: 24px 28px; margin: 8px 0 24px; background: var(--white); }
.takeaways h2, .faq h2 { font-size: 1.5rem; margin-bottom: 0.6em; }
.takeaways ul { margin: 0; padding-left: 1.2em; display: grid; gap: 10px; }
.takeaways li::marker { color: var(--green-deep); }
.places { margin: 1.1em 0 0; padding-top: 1em; border-top: 1px solid var(--line); font-size: 0.98rem; color: var(--ink-soft); }
.faq { margin: 8px 0 36px; padding-top: 28px; border-top: 2px solid var(--ink); }
.faq h3 { font-size: 1.2rem; letter-spacing: -0.01em; line-height: 1.25; margin: 1.3em 0 0.35em; }
.faq p { margin: 0; color: var(--ink-soft); }

/* Photo credits */
.photo-credit { font-size: 0.88rem; color: var(--ink-soft); margin: 0 0 6px; }
.photo-credit a { color: inherit; }
.credits { margin-top: 40px; font-size: 0.9rem; color: var(--ink-soft); }
.credits summary { cursor: pointer; font-weight: 600; }
.credits ul { margin: 12px 0 0; padding-left: 1.2em; display: grid; gap: 6px; }
.credits a { color: inherit; }

/* Just sold */
.section-ink { background: var(--ink); color: var(--white); }
.sold-grid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.sold-video video { width: 100%; aspect-ratio: 9 / 16; border-radius: var(--radius); background: #000; display: block; }
.sold-copy h2 { margin: 0.5em 0 0.4em; }
.sold-copy .lede { color: rgba(255, 255, 255, 0.82); margin-bottom: 1.4em; }
.tag-inline { position: static; display: inline-block; }
.sold-photo img { width: 100%; max-width: 620px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); margin-bottom: 1.6em; }
@media (max-width: 900px) {
  .sold-grid { grid-template-columns: minmax(0, 1fr); }
  .sold-video { max-width: 340px; }
}

/* Listing photo captions and second photo */
.listing-photo figure { margin: 0; }
.listing-photo figcaption { font-size: 0.9rem; color: var(--ink-soft); margin-top: 8px; }
.listing-second { display: grid; grid-template-columns: 180px 1fr; gap: 14px; align-items: center; margin-top: 16px !important; }
.listing-second img { aspect-ratio: 3 / 2; }
.listing-second figcaption { margin: 0; }
.brand img { border-radius: 50%; }

/* ===== Second design pass ===== */

/* Hero: full width photo, copy on the left */
.hero { position: relative; padding: 0; min-height: clamp(560px, 84vh, 860px); display: flex; align-items: center; overflow: hidden; background: #e7ecea; }
.hero-bg { position: absolute; inset: 0 -26% 0 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(243, 246, 242, 0.97) 0%, rgba(243, 246, 242, 0.9) 30%, rgba(243, 246, 242, 0.45) 46%, rgba(243, 246, 242, 0) 60%); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; padding-block: clamp(48px, 8vw, 96px); }
.hero .hero-copy { max-width: 600px; padding-bottom: 0; }
.hero .hero-copy h1 { font-size: clamp(2.7rem, 6vw, 5.2rem); max-width: 9.5em; }

/* Places strip */
.marquee { background: var(--green); color: var(--ink); overflow: hidden; border-block: 2px solid var(--ink); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 700; letter-spacing: -0.02em; padding: 14px 0; white-space: nowrap; display: inline-flex; align-items: center; }
.marquee span::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); margin: 0 clamp(20px, 3vw, 40px); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* This week's episode: photo */
.episode-photo { margin: 0 0 28px; position: relative; }
.episode-photo img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: var(--radius); }
.episode-photo figcaption { font-size: 0.78rem; margin-top: 6px; }
.episode-photo figcaption a { color: rgba(255, 255, 255, 0.5); }
.episode-photo + .episode-ep { margin-top: -0.62em; position: relative; padding-left: 0.18em; text-shadow: 0 2px 0 var(--ink), 0 0 28px rgba(15, 35, 26, 0.9); }
.episode-photo + .episode-ep small { display: none; }

/* Photo galleries */
.gallery-main { margin: 0; }
.gallery-main img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); background: var(--mint); }
.gallery-main figcaption { font-size: 0.92rem; color: var(--ink-soft); margin-top: 8px; min-height: 1.4em; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding: 3px; scrollbar-width: thin; }
.gallery-thumbs a { flex: 0 0 auto; width: 84px; border-radius: 8px; overflow: hidden; outline: 2px solid transparent; outline-offset: 1px; opacity: 0.72; transition: opacity 0.15s; }
.gallery-thumbs a:hover, .gallery-thumbs a[aria-current="true"] { opacity: 1; }
.gallery-thumbs a[aria-current="true"] { outline-color: var(--green); }
.gallery-thumbs img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.listing-photo .gallery-main img { border-radius: var(--radius); }

/* Just sold, rebuilt */
.sold-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.sold-head h2 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); letter-spacing: -0.035em; margin: 0.35em 0 0.3em; }
.sold-head .lede { color: rgba(255, 255, 255, 0.82); margin: 0; }
.sold-facts { display: grid; grid-template-columns: repeat(4, auto); gap: 0 clamp(18px, 3vw, 40px); margin: 0; justify-content: end; }
.sold-facts div { border-top: 2px solid var(--green); padding-top: 12px; }
.sold-facts dt { font-size: 0.9rem; color: rgba(255, 255, 255, 0.65); }
.sold-facts dd { margin: 0; font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; order: -1; }
.sold-facts div { display: flex; flex-direction: column; gap: 6px; }
.section-ink .sold-grid { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); align-items: start; }
.sold-video-note { font-size: 0.9rem; color: rgba(255, 255, 255, 0.6); margin: 8px 0 0; }
.section-ink .gallery-main figcaption { color: rgba(255, 255, 255, 0.7); }
.section-ink .gallery-main img { background: #1c3328; }
.section-ink .gallery-thumbs a { width: 92px; }
.sold-how { margin-top: clamp(32px, 5vw, 56px); padding-top: clamp(24px, 4vw, 40px); border-top: 1px solid rgba(255, 255, 255, 0.18); }
.sold-how h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 0.8em; }
.sold-how ul { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.sold-how li { color: rgba(255, 255, 255, 0.75); border-left: 3px solid var(--green); padding-left: 14px; }
.sold-how strong { display: block; color: var(--white); font-size: 1.12rem; margin-bottom: 4px; }

/* Who I work with: photo under the heading */
.who-photo { margin-top: 28px; max-width: 360px; }
.who-photo img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: 60% 40%; border-radius: var(--radius); }
.who-grid .section-head { position: static; }

@media (max-width: 900px) {
  .hero { display: block; min-height: 0; background: var(--paper); }
  .hero-bg { position: static; inset: auto; }
  .hero-bg img { aspect-ratio: 4 / 3; object-position: 50% 22%; }
  .hero::after { display: none; }
  .hero-inner { padding-block: 28px 44px; }
  .sold-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .sold-facts { justify-content: start; grid-template-columns: repeat(2, auto); gap: 18px 36px; }
  .section-ink .sold-grid { grid-template-columns: minmax(0, 1fr); }
  .sold-video { max-width: 300px; }
  .sold-how ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .who-photo { display: none; }
}
@media (max-width: 600px) {
  .sold-how ul { grid-template-columns: minmax(0, 1fr); }
  .gallery-thumbs a { width: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}
.episode-photo figcaption { position: absolute; right: 10px; bottom: 10px; margin: 0; background: rgba(15, 35, 26, 0.78); padding: 3px 9px; border-radius: 6px; max-width: 70%; }
.episode-photo figcaption a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }

/* ===== Third pass: sharper, quieter, more premium ===== */

body { font-size: 1.05rem; line-height: 1.6; letter-spacing: 0.002em; }

/* Serif display for the big statements, sans for everything else */
h1, h2,
.episode-ep, .ep-num, .er-num, .sold-facts dd, .listing-price,
.post-card-lead .post-title, .prose h2, .who dt, .contact-list a, .marquee span {
  font-family: var(--display);
  font-weight: 500;
  font-optical-sizing: auto;
}
h1 { letter-spacing: -0.022em; line-height: 1.0; font-weight: 500; }
h2 { letter-spacing: -0.018em; line-height: 1.06; font-weight: 500; }
h3 { font-family: var(--sans); font-weight: 600; letter-spacing: -0.01em; }
.hero .hero-copy h1 { font-size: clamp(2.9rem, 6.4vw, 5.6rem); max-width: 9em; }
.listing-body h3 { font-family: var(--display); font-weight: 500; letter-spacing: -0.018em; font-size: clamp(2rem, 3.4vw, 2.9rem); }
.listing-price { letter-spacing: -0.01em; font-size: clamp(1.5rem, 2.2vw, 1.8rem); }
.lede { color: var(--ink-soft); line-height: 1.5; }
.post-title, .ep-title, .er-title, .neighbor-title { font-family: var(--display); font-weight: 500; letter-spacing: -0.012em; }
.post-title { font-size: 1.55rem; line-height: 1.12; }
.er-title { font-size: 1.22rem; }
.article-cta h2, .takeaways h2, .faq h2, .toc h2 { font-family: var(--sans); font-weight: 600; letter-spacing: -0.01em; }
.who dt { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.contact-list a { letter-spacing: -0.012em; }
.brand-name { font-family: var(--display); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.005em; }
.brand-broker { font-size: 0.82rem; letter-spacing: 0.04em; }
.brand-text { gap: 2px; }

/* Small labels: tracked capitals, used sparingly */
.site-nav ul a, .btn, .tag, .post-ep, .episode-kicker, .listing-area, .post-go, .ep-go,
.sold-facts dt, .facts dt, .contact-list span, .er-date, .post-meta, .article-meta, .crumb, .neighbor-label, .episode-more h3 {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 600;
}
.facts dt, .post-meta, .er-date, .article-meta, .contact-list span, .sold-facts dt, .neighbor-label { font-weight: 500; letter-spacing: 0.1em; }
.site-nav ul a { padding: 10px 0; border-bottom-width: 1px; }
.site-nav ul { gap: 34px; }

/* Buttons: square, quiet */
.btn { border-radius: 0; min-height: 52px; padding: 0 28px; border-width: 1px; font-size: 0.76rem; }
.btn-solid { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-solid:hover { background: var(--green-deep); border-color: var(--green-deep); color: var(--white); }
.btn-line { border-color: var(--ink); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.45); }
.nav-call { min-height: 44px; padding: 0 20px; }
.episode .btn-solid, .section-ink .btn-solid, .post-card-lead .post-go, .contact .btn-solid {
  background: var(--white); color: var(--ink); border-color: var(--white);
}
.episode .btn-solid:hover, .section-ink .btn-solid:hover, .post-card-lead a:hover .post-go { background: var(--green); border-color: var(--green); color: var(--ink); }
.post-card-lead .post-go { border-radius: 0; }
.tag, .post-ep { border-radius: 0; padding: 7px 12px; }
.tag { background: var(--white); color: var(--ink); }
.tag-sold { background: var(--white); color: var(--ink); border-left: 3px solid var(--green); }
.post-ep { background: var(--white); color: var(--ink); left: 0; top: 18px; }
.ep-go { border-radius: 0; border-width: 1px; }
.hub-search input { border-radius: 0; border-width: 1px; }
.player-speed { border-radius: 0; }

/* Header */
.site-header { background: rgba(255, 255, 255, 0.96); }
.header-row { min-height: 78px; }

/* Hero */
.hero { background: #eef0ee; }
.hero::after { background: linear-gradient(90deg, rgba(247, 247, 244, 0.98) 0%, rgba(247, 247, 244, 0.92) 30%, rgba(247, 247, 244, 0.5) 46%, rgba(247, 247, 244, 0) 62%); }
.hero-broker { font-weight: 500; font-size: 0.9rem; letter-spacing: 0.02em; color: var(--ink-soft); }

/* Places strip: quiet ticker in italic serif */
.marquee { background: var(--white); border-block: 1px solid var(--ink); }
.marquee span { font-style: italic; font-weight: 400; font-size: clamp(1.25rem, 2.2vw, 1.75rem); letter-spacing: 0; padding: 16px 0; }
.marquee span::after { width: 5px; height: 5px; background: var(--green); margin: 0 clamp(22px, 3.4vw, 46px); }
.marquee-track { animation-duration: 55s; }

/* Episode band */
.episode-kicker { color: var(--green); margin-bottom: 1.8em; }
.episode-ep { font-weight: 500; letter-spacing: -0.03em; color: var(--white); }
.episode-photo + .episode-ep { text-shadow: 0 0 34px rgba(15, 35, 26, 0.95), 0 2px 10px rgba(15, 35, 26, 0.9); }
.episode-title { font-size: clamp(2rem, 3.6vw, 3.1rem); }
.er-num { color: var(--white); font-size: 1.7rem; font-weight: 500; }
.episode-recent li, .episode-more { border-color: rgba(255, 255, 255, 0.2); }
.player { border-radius: 0; }
.player-toggle { background: var(--ink); }
.player-toggle::before { border-left-color: var(--white); }
.player.is-playing .player-toggle::before { border-color: var(--white); }
.player-toggle:hover { background: var(--green-deep); }
.player-label { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.14em; }
.article-head .player { border-width: 1px; }

/* Lines get thinner */
.who div, .who div:last-child, .ep-list, .neighbor, .contact-list li, .faq, .takeaways, .article-cta, .article-cta > div + div { border-width: 1px; }
.facts { border-top-color: var(--ink); }
.values li { border-left-width: 1px; border-left-color: var(--ink); }
.listing-area { color: var(--ink-soft); }
.section-head p { font-size: 1.1rem; }

/* Sold */
.sold-facts div { border-top: 1px solid rgba(255, 255, 255, 0.5); }
.sold-facts dd { font-weight: 500; letter-spacing: -0.02em; }
.sold-how li { border-left: 1px solid rgba(255, 255, 255, 0.5); }
.sold-how strong { font-family: var(--display); font-weight: 500; font-size: 1.35rem; }
.sold-how h3 { font-family: var(--display); font-weight: 500; }
.gallery-thumbs a { border-radius: 0; }
.gallery-thumbs a[aria-current="true"] { outline-color: var(--white); outline-width: 1px; }
.listing-photo .gallery-thumbs a[aria-current="true"] { outline-color: var(--ink); }

/* Contact: deep green instead of bright */
.contact { background: #123a29; color: var(--white); }
.contact .lede { color: rgba(255, 255, 255, 0.85); }
.contact-list li { border-top-color: rgba(255, 255, 255, 0.35); }
.contact-list span { color: rgba(255, 255, 255, 0.7); }
.contact-list a { color: var(--white); }
.contact-form { border-radius: 0; color: var(--ink); }
.contact-form input, .contact-form textarea { border-radius: 0; border-width: 1px; background: var(--white); }
.contact-form label { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.14em; }
.contact-form .btn-solid { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* Blog */
.post-card a { border-radius: 0; }
.post-card-lead a { border-radius: 0; }
.post-go { color: var(--ink); }
.ep-num { font-weight: 500; color: var(--ink); }
.toc { border-radius: 0; background: var(--mint); }
.post-hero-text h1 { font-weight: 500; }
.footer-name { font-family: var(--display); font-weight: 500; font-size: 1.2rem; }

/* Keep the serif's thin strokes sturdy at large sizes */
h1, h2, .episode-ep, .ep-num, .er-num, .sold-facts dd, .listing-price, .listing-body h3,
.post-title, .ep-title, .er-title, .neighbor-title, .who dt, .contact-list a, .marquee span,
.brand-name, .footer-name, .sold-how strong, .sold-how h3, .prose h2 {
  font-optical-sizing: none;
  font-variation-settings: "opsz" 18;
}
h1, h2, .episode-ep { font-weight: 500; }
.who-photo img { aspect-ratio: 4 / 4.4; object-position: 50% 50%; }

/* ===== Fourth pass: cinematic opening, movement, market numbers ===== */

/* Opening: full screen dusk skyline */
.hero.hero-cine { background: var(--ink); color: var(--white); min-height: min(92vh, 940px); align-items: flex-end; display: flex; }
.hero-cine .hero-bg { inset: -6% 0 -6% 0; }
.hero-cine .hero-bg img { object-position: 50% 42%; animation: push-in 30s ease-out both; transform-origin: 62% 40%; }
@keyframes push-in { from { transform: scale(1.14); } to { transform: scale(1); } }
.hero.hero-cine::after { background: linear-gradient(180deg, rgba(10, 22, 17, 0.5) 0%, rgba(10, 22, 17, 0.12) 34%, rgba(10, 22, 17, 0.55) 68%, rgba(10, 22, 17, 0.93) 100%); }
.hero-cine .hero-inner { padding-block: clamp(120px, 20vh, 220px) clamp(44px, 7vw, 84px); width: min(100% - 2 * var(--gutter), var(--wrap)); }
.hero-cine .hero-copy { max-width: 980px; }
.hero-cine .hero-copy h1 { font-size: clamp(3rem, 8.4vw, 7.6rem); max-width: 11em; line-height: 0.96; margin-bottom: 0.42em; text-shadow: 0 2px 30px rgba(10, 22, 17, 0.45); }
.hero-kicker { text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.78rem; font-weight: 600; margin-bottom: 1.6em; color: rgba(255, 255, 255, 0.9); }
.hero-cine .btn-solid { background: var(--white); color: var(--ink); border-color: var(--white); }
.hero-cine .btn-solid:hover { background: var(--green); border-color: var(--green); color: var(--ink); }
.hero-cine .hero-broker { color: rgba(255, 255, 255, 0.78); }
.hero-cine .hero-copy > * { animation: rise 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero-cine .hero-copy > :nth-child(2) { animation-delay: 0.12s; }
.hero-cine .hero-copy > :nth-child(3) { animation-delay: 0.3s; }
.hero-cine .hero-copy > :nth-child(4) { animation-delay: 0.42s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.site-header { background: rgba(255, 255, 255, 0.97); }

/* Introduction */
.intro { padding: clamp(56px, 8vw, 120px) 0; background: var(--white); }
.intro-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.intro-photo { overflow: hidden; }
.intro-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.intro-statement { font-family: var(--display); font-optical-sizing: none; font-variation-settings: "opsz" 18; font-weight: 500; font-size: clamp(1.7rem, 3.3vw, 2.9rem); line-height: 1.16; letter-spacing: -0.015em; margin: 0 0 1.2em; text-wrap: pretty; }
.intro-facts { display: flex; flex-wrap: wrap; gap: 0 clamp(24px, 4vw, 56px); margin: 0 0 2em; border-top: 1px solid var(--ink); }
.intro-facts div { padding-top: 16px; }
.intro-facts dt { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.72rem; font-weight: 500; color: var(--ink-soft); margin-bottom: 4px; }
.intro-facts dd { margin: 0; font-weight: 600; font-size: 1.1rem; }
.text-link { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.76rem; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 5px; }
.text-link:hover { color: var(--green-deep); border-color: var(--green-deep); }

/* Things ease in as they arrive */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s cubic-bezier(0.2, 0.7, 0.2, 1), transform 1s cubic-bezier(0.2, 0.7, 0.2, 1); will-change: opacity, transform; }
.reveal.is-in { opacity: 1; transform: none; }
.intro-photo.reveal img, .listing-photo.reveal .gallery-main img, .about-photos.reveal img { transform: scale(1.08); transition: transform 1.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.intro-photo.reveal.is-in img, .listing-photo.reveal.is-in .gallery-main img, .about-photos.reveal.is-in img { transform: none; }
.about-photos, .gallery-main { overflow: hidden; }
.post-photo img, .gallery-thumbs img { transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }

/* Monthly market numbers */
.market { background: var(--paper); border-block: 1px solid var(--line); }
.market-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px 48px; margin-bottom: clamp(28px, 4vw, 52px); }
.market-head h2 { margin-bottom: 0.3em; }
.market-period { margin: 0; color: var(--ink-soft); }
.market-tabs { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.market-tabs button { font: inherit; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.74rem; font-weight: 600; background: none; border: 0; border-bottom: 1px solid transparent; padding: 10px 0; color: var(--ink-soft); cursor: pointer; }
.market-tabs button:hover { color: var(--ink); }
.market-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.market-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; border-top: 1px solid var(--ink); }
.market-stats div { padding: 26px 24px 8px 0; display: flex; flex-direction: column; }
.market-stats div + div { border-left: 1px solid var(--line); padding-left: 24px; }
.market-stats dd { margin: 0; font-family: var(--display); font-optical-sizing: none; font-variation-settings: "opsz" 18; font-weight: 500; font-size: clamp(2.6rem, 5.4vw, 4.8rem); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: lining-nums tabular-nums; }
.market-stats dt { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.74rem; font-weight: 600; margin-top: 14px; }
.market-change { margin: 6px 0 0; font-size: 0.92rem; color: var(--ink-soft); min-height: 1.5em; }
.market-source { margin: 26px 0 0; font-size: 0.86rem; color: var(--ink-soft); }
.market-source a { color: inherit; }

@media (max-width: 900px) {
  .hero.hero-cine { display: flex; min-height: 86vh; background: var(--ink); }
  .hero-cine .hero-bg { position: absolute; inset: 0; }
  .hero-cine .hero-bg img { aspect-ratio: auto; height: 100%; object-position: 64% 40%; }
  .hero.hero-cine::after { display: block; }
  .hero-cine .hero-inner { padding-block: 120px 40px; }
  .intro-grid { grid-template-columns: minmax(0, 1fr); }
  .intro-photo { max-width: 420px; }
  .market-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .market-stats div:nth-child(3) { border-left: 0; padding-left: 0; }
  .market-stats div:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-cine .hero-bg img, .hero-cine .hero-copy > * { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Standing pages: FAQ, privacy, accessibility, terms */
html { overflow-x: clip; }
.page-head { padding: clamp(48px, 8vw, 104px) 0 clamp(12px, 2vw, 24px); }
.page-head h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin-bottom: 0.3em; }
.page-body { padding-bottom: clamp(56px, 8vw, 112px); }
.legal { font-size: 1.1rem; line-height: 1.65; }
.legal h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 1.9em 0 0.5em; padding-top: 1.1em; border-top: 1px solid var(--line); }
.legal h2:first-child { border-top: 0; padding-top: 0; margin-top: 0.6em; }
.legal p, .legal ul { margin: 0 0 1em; color: var(--ink-soft); max-width: 40em; }
.legal li { margin-bottom: 0.5em; }
.legal strong { color: var(--ink); }
.page-cta { margin-top: 2.4em !important; }
.footer-policy { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-legal { align-items: baseline; }
.site-nav ul { gap: 28px; }

/* Market: county list under the metro numbers */
.market-areas { margin-top: clamp(36px, 5vw, 64px); }
.market-areas h3 { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.76rem; font-weight: 600; margin-bottom: 14px; }
.market-areas ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); columns: 2; column-gap: clamp(28px, 5vw, 72px); }
.market-areas li { display: grid; grid-template-columns: 1fr auto; gap: 2px 18px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); break-inside: avoid; }
.ma-name { font-weight: 600; }
.ma-value { font-family: var(--display); font-optical-sizing: none; font-variation-settings: "opsz" 18; font-weight: 500; font-size: 1.7rem; letter-spacing: -0.02em; text-align: right; font-variant-numeric: lining-nums tabular-nums; }
.ma-change { grid-column: 1 / -1; font-size: 0.88rem; color: var(--ink-soft); }
.market-source { max-width: 62em; }
@media (max-width: 700px) { .market-areas ul { columns: 1; } }
.market-stats { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.market-stats dd { font-size: clamp(2.3rem, 4.4vw, 4rem); }
.market-note { margin: 18px 0 0; font-size: 0.95rem; color: var(--ink-soft); min-height: 1.5em; }
.market-tabs { max-width: 640px; justify-content: flex-end; }
@media (max-width: 900px) { .market-tabs { justify-content: flex-start; } }
@media (max-width: 1080px) and (min-width: 901px) { .site-nav ul { gap: 18px; } .site-nav { gap: 18px; } }

/* Market: tabs in a row under the heading, numbers sized to fit seven digit prices */
.market-head { display: block; }
.market-tabs { max-width: none; justify-content: flex-start; margin-top: 22px; gap: 2px 26px; }
.market-stats dd { font-size: clamp(1.9rem, 3.3vw, 3.1rem); }
.market-stats div { min-width: 0; }

/* Photo credit on the episode photo: small line under the photo, not a label on it */
.episode-photo figcaption { position: static; background: none; padding: 0; margin: 6px 0 0; max-width: none; text-align: right; font-size: 0.68rem; letter-spacing: 0.02em; }
.episode-photo figcaption a { color: rgba(255, 255, 255, 0.42); }
.episode-photo figcaption a:hover { color: rgba(255, 255, 255, 0.8); }
.episode-photo + .episode-ep { margin-top: -0.78em; }
.photo-credit, .credits { font-size: 0.78rem; }
