/* Hearth variant — warm-organic single-listing site
 * Fraunces (soft optical) + Inter Tight on a cream + oat + terracotta
 * canvas. Rounded photo corners, asymmetric editorial spread gallery,
 * italic pull-quotes, conversational copy voice.
 *
 * Reference DNA: TOAST (toa.st), Kinfolk (2021 redesign),
 * Magnolia Realty. Stillness is the point — no parallax, no
 * scroll-jack, fade-in only. Inviting, not intimidating.
 */

:root {
  --hh-cream: #F4EFE6;
  --hh-cream-edge: #ECE5D8;
  --hh-paper: #FAF6EE;
  --hh-oat: #E5DBC8;
  --hh-terracotta: #C26A4A;
  --hh-terracotta-soft: rgba(194, 106, 74, 0.12);
  --hh-walnut: #5A3F2B;
  --hh-walnut-soft: rgba(90, 63, 43, 0.65);
  --hh-ink: #1B1A17;
  --hh-ink-mid: rgba(27, 26, 23, 0.78);
  --hh-line: rgba(27, 26, 23, 0.10);
  --hh-line-soft: rgba(27, 26, 23, 0.06);

  --hh-font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --hh-font-body: 'Inter Tight', 'Inter', system-ui, -apple-system, sans-serif;

  --hh-pad-x: clamp(1.25rem, 5vw, 4rem);
  --hh-max: 1240px;
  --hh-section-y: clamp(5rem, 11vw, 10rem);

  --hh-radius-soft: 10px;
  --hh-radius-photo: 12px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  background: var(--hh-cream);
  color: var(--hh-ink);
  font-family: var(--hh-font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; transition: color 0.3s ease; }
button { font-family: inherit; cursor: pointer; }

/* ===== Shared eyebrow + title ===== */

.hearth-eyebrow {
  display: inline-block;
  font-family: var(--hh-font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--hh-terracotta);
}

.hearth-eyebrow-soft { color: var(--hh-walnut-soft); }
.hearth-eyebrow-light { color: var(--hh-terracotta); }

.hearth-section-title {
  font-family: var(--hh-font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.012em;
  color: var(--hh-ink);
  margin-top: 1rem;
  max-width: 22ch;
  text-wrap: balance;
  font-variation-settings: "opsz" 96, "SOFT" 60, "WONK" 1;
}

/* ===== Nav ===== */

.hearth-nav {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(244, 239, 230, 0.94);
  backdrop-filter: blur(14px) saturate(110%);
  -webkit-backdrop-filter: blur(14px) saturate(110%);
  border-bottom: 1px solid var(--hh-line-soft);
}

.hearth-nav-inner {
  width: 100%;
  max-width: var(--hh-max);
  margin: 0 auto;
  padding: 1.1rem var(--hh-pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.hearth-brand {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  color: var(--hh-ink);
}

.hearth-brand-tag {
  font-family: var(--hh-font-body);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--hh-terracotta);
}

.hearth-brand-mark {
  font-family: var(--hh-font-display);
  font-size: 1.12rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--hh-ink);
  line-height: 1.1;
  font-variation-settings: "opsz" 48, "SOFT" 60;
}

.hearth-nav-links {
  display: flex;
  align-items: center;
  gap: 1.85rem;
}

.hearth-nav-links a {
  font-family: var(--hh-font-body);
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--hh-walnut-soft);
  transition: color 0.25s ease;
}

.hearth-nav-links a:hover { color: var(--hh-walnut); }

.hearth-nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.3rem;
  background: var(--hh-walnut);
  color: var(--hh-cream);
  border-radius: 999px;
  font-family: var(--hh-font-body);
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.25s ease;
}

.hearth-nav-cta:hover { background: var(--hh-terracotta); }

/* ===== Hero ===== */

.hearth-hero {
  padding: clamp(3rem, 7vw, 6rem) 0 0;
  background: var(--hh-cream);
}

.hearth-hero-inner {
  width: 100%;
  max-width: var(--hh-max);
  margin: 0 auto;
  padding: 0 var(--hh-pad-x);
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
}

.hearth-hero-text { padding-bottom: 1rem; }

.hearth-hero-eyebrow {
  display: block;
  font-family: var(--hh-font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--hh-terracotta);
  margin-bottom: 1.4rem;
}

.hearth-hero-title {
  font-family: var(--hh-font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 5.6vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.022em;
  color: var(--hh-ink);
  font-variation-settings: "opsz" 144, "SOFT" 60, "WONK" 1;
  text-wrap: balance;
}

.hearth-hero-subtitle {
  margin-top: 0.85rem;
  font-family: var(--hh-font-display);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  color: var(--hh-walnut-soft);
  font-variation-settings: "opsz" 24, "SOFT" 60;
}

.hearth-hero-price {
  margin-top: 1.4rem;
  font-family: var(--hh-font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--hh-terracotta);
}

.hearth-hero-frame {
  position: relative;
  border-radius: var(--hh-radius-photo);
  overflow: hidden;
  background: var(--hh-oat);
  aspect-ratio: 4 / 3;
}

.hearth-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hearth-hero-stats {
  width: 100%;
  max-width: var(--hh-max);
  margin: clamp(3rem, 7vw, 5rem) auto 0;
  padding: 0 var(--hh-pad-x);
}

.hearth-hero-stats-inner {
  display: flex;
  gap: clamp(2rem, 6vw, 5rem);
  padding: 1.8rem 0;
  border-top: 1px solid var(--hh-line);
  border-bottom: 1px solid var(--hh-line);
  flex-wrap: wrap;
}

.hearth-hero-stat {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.hearth-hero-stat-value {
  font-family: var(--hh-font-display);
  font-weight: 400;
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  line-height: 1;
  color: var(--hh-ink);
  font-variation-settings: "opsz" 96, "SOFT" 60;
}

.hearth-hero-stat-label {
  font-family: var(--hh-font-body);
  font-size: 0.92rem;
  color: var(--hh-walnut-soft);
}

/* ===== Sections ===== */

.hearth-section {
  padding: var(--hh-section-y) 0;
  background: var(--hh-cream);
}

.hearth-section-story { background: var(--hh-paper); }
.hearth-section-highlights { background: var(--hh-cream); }
.hearth-section-gallery { background: var(--hh-paper); }
.hearth-section-location { background: var(--hh-cream); }
.hearth-section-agent { background: var(--hh-paper); }

.hearth-section-inner {
  width: 100%;
  max-width: var(--hh-max);
  margin: 0 auto;
  padding: 0 var(--hh-pad-x);
}

.hearth-section-head {
  margin-bottom: 3.5rem;
  max-width: 720px;
}

.hearth-section-meta {
  margin-top: 1rem;
  font-family: var(--hh-font-display);
  font-size: 1.02rem;
  color: var(--hh-walnut-soft);
}

/* ===== Story (property) ===== */

.hearth-prose-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.hearth-prose {
  font-family: var(--hh-font-display);
  font-size: clamp(1.1rem, 1.55vw, 1.28rem);
  line-height: 1.65;
  color: var(--hh-ink-mid);
  max-width: 56ch;
  font-variation-settings: "opsz" 24, "SOFT" 60;
}

.hearth-prose p + p { margin-top: 1.2rem; }

.hearth-pullquote {
  position: relative;
  padding: 2rem 2.4rem 2rem 3rem;
  background: var(--hh-terracotta-soft);
  border-radius: var(--hh-radius-soft);
  margin-top: 1rem;
}

.hearth-pullquote-mark {
  position: absolute;
  top: 0.6rem;
  left: 1rem;
  font-family: var(--hh-font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--hh-terracotta);
  font-variation-settings: "opsz" 144, "SOFT" 60;
}

.hearth-pullquote-text {
  font-family: var(--hh-font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  line-height: 1.4;
  color: var(--hh-walnut);
  font-variation-settings: "opsz" 48, "SOFT" 80;
}

.hearth-features {
  margin-top: 4rem;
  padding-top: 2.4rem;
  border-top: 1px solid var(--hh-line);
}

.hearth-features-list {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem 2.4rem;
}

.hearth-features-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--hh-line-soft);
}

.hearth-features-dot {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hh-terracotta);
  flex-shrink: 0;
}

.hearth-features-text {
  font-family: var(--hh-font-body);
  font-size: 0.98rem;
  color: var(--hh-ink);
}

/* ===== Highlights ===== */

.hearth-highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3rem);
}

.hearth-highlight {
  padding: 0;
}

.hearth-highlight-title {
  font-family: var(--hh-font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.4vw, 1.85rem);
  line-height: 1.1;
  color: var(--hh-ink);
  margin-bottom: 1rem;
  font-variation-settings: "opsz" 48, "SOFT" 60, "WONK" 1;
}

.hearth-highlight-title em { font-style: italic; color: var(--hh-walnut); }

.hearth-highlight-text {
  font-family: var(--hh-font-display);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--hh-ink-mid);
  font-variation-settings: "opsz" 18, "SOFT" 60;
}

/* ===== Gallery (asymmetric editorial spread) ===== */

.hearth-spread {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(0.75rem, 1.2vw, 1.2rem);
  grid-auto-rows: clamp(140px, 18vw, 220px);
}

.hearth-spread-card {
  grid-column: span 2;
  grid-row: span 1;
}

/* Editorial rhythm — every 6 cards we get one big-tall, one wide, etc */
.hearth-spread-card:nth-child(6n+1) { grid-column: span 3; grid-row: span 2; }
.hearth-spread-card:nth-child(6n+4) { grid-column: span 4; grid-row: span 2; }
.hearth-spread-card:nth-child(6n+2) { grid-column: span 3; grid-row: span 1; }
.hearth-spread-card:nth-child(6n+3) { grid-column: span 3; grid-row: span 1; }
.hearth-spread-card:nth-child(6n+5) { grid-column: span 2; grid-row: span 2; }
.hearth-spread-card:nth-child(6n+6) { grid-column: span 2; grid-row: span 2; }

.hearth-spread-img-wrap {
  width: 100%;
  height: 100%;
  border-radius: var(--hh-radius-photo);
  overflow: hidden;
  background: var(--hh-oat);
}

.hearth-spread-img-wrap .gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
  cursor: zoom-in;
}

.hearth-spread-card:hover .gallery-image { transform: scale(1.03); }

/* ===== Location ===== */

.hearth-location-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.hearth-location-body { padding-top: 0.5rem; }

.hearth-location-paragraph {
  margin-top: 1.4rem;
  font-family: var(--hh-font-display);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.6;
  color: var(--hh-ink-mid);
  font-variation-settings: "opsz" 24, "SOFT" 60;
  max-width: 36ch;
}

.hearth-location-stats {
  margin: 2.4rem 0 2rem;
  padding: 1.4rem 0 0;
  border-top: 1px solid var(--hh-line);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.hearth-location-stats-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.2rem;
  align-items: baseline;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--hh-line-soft);
}

.hearth-location-stats-row dt {
  font-family: var(--hh-font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hh-walnut-soft);
}

.hearth-location-stats-row dd {
  font-family: var(--hh-font-display);
  font-size: 1.08rem;
  color: var(--hh-ink);
  font-variation-settings: "opsz" 18, "SOFT" 60;
}

.hearth-location-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.7rem;
  background: var(--hh-walnut);
  color: var(--hh-cream);
  border-radius: 999px;
  font-family: var(--hh-font-body);
  font-size: 0.95rem;
  font-weight: 500;
  transition: background 0.25s ease;
}

.hearth-location-cta:hover { background: var(--hh-terracotta); }

.hearth-location-map-wrap {
  position: relative;
}

.hearth-location-map {
  display: block;
  overflow: hidden;
  border-radius: var(--hh-radius-photo);
  aspect-ratio: 4 / 5;
  background: var(--hh-oat);
}

.hearth-location-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hearth-location-iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===== Agent ===== */

.hearth-agent-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.hearth-agent-avatar {
  width: 240px;
  height: 240px;
  overflow: hidden;
  border-radius: var(--hh-radius-photo);
  background: var(--hh-oat);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hearth-agent-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hearth-agent-initial {
  font-family: var(--hh-font-display);
  font-size: 3rem;
  color: var(--hh-terracotta);
  font-variation-settings: "opsz" 144, "SOFT" 60;
}

.hearth-agent-name {
  font-family: var(--hh-font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--hh-ink);
  line-height: 1;
  font-variation-settings: "opsz" 96, "SOFT" 60, "WONK" 1;
}

.hearth-agent-company {
  margin-top: 0.55rem;
  font-family: var(--hh-font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--hh-walnut-soft);
}

.hearth-agent-bio {
  margin-top: 1.5rem;
  font-family: var(--hh-font-display);
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--hh-ink-mid);
  max-width: 58ch;
  font-variation-settings: "opsz" 18, "SOFT" 60;
}

.hearth-agent-contact {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2.4rem;
}

.hearth-agent-contact-link {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  color: var(--hh-ink);
}

.hearth-agent-contact-label {
  font-family: var(--hh-font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hh-terracotta);
}

.hearth-agent-contact-value {
  font-family: var(--hh-font-display);
  font-size: 1.18rem;
  color: var(--hh-ink);
  border-bottom: 1px solid var(--hh-line);
  padding-bottom: 0.3rem;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.hearth-agent-contact-link:hover .hearth-agent-contact-value {
  border-color: var(--hh-terracotta);
  color: var(--hh-terracotta);
}

/* ===== Footer ===== */

.hearth-footer {
  background: var(--hh-walnut);
  color: var(--hh-cream);
}

.hearth-footer-cta {
  background: var(--hh-terracotta);
  color: var(--hh-cream);
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.hearth-footer-cta-inner {
  width: 100%;
  max-width: var(--hh-max);
  margin: 0 auto;
  padding: 0 var(--hh-pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.hearth-footer-cta .hearth-eyebrow-light { color: rgba(244, 239, 230, 0.85); }

.hearth-footer-cta-title {
  font-family: var(--hh-font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  line-height: 1.05;
  color: var(--hh-cream);
  margin-top: 0.85rem;
  max-width: 16ch;
  font-variation-settings: "opsz" 96, "SOFT" 60, "WONK" 1;
}

.hearth-footer-cta-sub {
  margin-top: 0.85rem;
  font-family: var(--hh-font-display);
  font-size: 1.05rem;
  color: rgba(244, 239, 230, 0.85);
  max-width: 36ch;
  font-variation-settings: "opsz" 24, "SOFT" 60;
}

.hearth-footer-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1.1rem 2rem;
  background: var(--hh-cream);
  color: var(--hh-walnut);
  border-radius: 999px;
  font-family: var(--hh-font-body);
  font-size: 1rem;
  font-weight: 500;
  transition: background 0.25s ease;
}

.hearth-footer-cta-button:hover { background: var(--hh-paper); }

.hearth-footer-inner {
  width: 100%;
  max-width: var(--hh-max);
  margin: 0 auto;
  padding: clamp(3rem, 5vw, 4rem) var(--hh-pad-x);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.4rem;
}

.hearth-footer-col-brand .hearth-brand-light {
  color: var(--hh-cream);
}

.hearth-footer-col-brand .hearth-brand-light .hearth-brand-mark {
  color: var(--hh-cream);
}

.hearth-footer-col-brand .hearth-brand-light .hearth-brand-tag {
  color: rgba(244, 239, 230, 0.6);
}

.hearth-footer-tagline {
  margin-top: 1.2rem;
  font-family: var(--hh-font-display);
  font-size: 0.98rem;
  color: rgba(244, 239, 230, 0.7);
  max-width: 36ch;
  font-variation-settings: "opsz" 24, "SOFT" 60;
}

.hearth-footer-col-heading {
  font-family: var(--hh-font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.5);
  margin-bottom: 1.2rem;
}

.hearth-footer-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.hearth-footer-list li {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  color: var(--hh-cream);
  font-family: var(--hh-font-body);
  font-size: 0.95rem;
  opacity: 0.85;
}

.hearth-footer-list-stacked li { display: block; }

.hearth-footer-label {
  font-family: var(--hh-font-body);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.5);
  min-width: 65px;
}

.hearth-footer-agent-name {
  font-family: var(--hh-font-display);
  font-size: 1.12rem !important;
  opacity: 1 !important;
  font-variation-settings: "opsz" 24, "SOFT" 60;
}

.hearth-footer-list a:hover { color: var(--hh-terracotta); }

.hearth-footer-bottom {
  border-top: 1px solid rgba(244, 239, 230, 0.1);
  padding: 1.4rem var(--hh-pad-x);
  max-width: var(--hh-max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--hh-font-body);
  font-size: 0.85rem;
  color: rgba(244, 239, 230, 0.55);
}

.hearth-footer-fineprint em { font-style: italic; }

/* ===== Lightbox ===== */

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(27, 26, 23, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 60px 20px;
}

.lightbox-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-image {
  max-width: 95vw;
  max-height: 86vh;
  object-fit: contain;
  border-radius: var(--hh-radius-photo);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: transparent;
  border: 1px solid rgba(244, 239, 230, 0.25);
  color: var(--hh-cream);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
  font-family: var(--hh-font-display);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--hh-terracotta);
  border-color: var(--hh-terracotta);
}

.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }

.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--hh-font-body);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: rgba(244, 239, 230, 0.7);
}

/* ===== Fade-in reveal (subtle, no parallax) ===== */

.hearth-fade {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.hearth-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */

@media (max-width: 968px) {
  .hearth-hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hearth-prose-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hearth-highlights-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .hearth-location-grid { grid-template-columns: 1fr; }
  .hearth-agent-card { grid-template-columns: 1fr; gap: 2rem; }
  .hearth-agent-avatar { width: 180px; height: 180px; }
  .hearth-footer-inner { grid-template-columns: 1fr 1fr; }
  /* Editorial spread collapses to a simpler 2-col rhythm on tablet */
  .hearth-spread { grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(120px, 22vw, 200px); }
  .hearth-spread-card,
  .hearth-spread-card:nth-child(6n+1),
  .hearth-spread-card:nth-child(6n+2),
  .hearth-spread-card:nth-child(6n+3),
  .hearth-spread-card:nth-child(6n+4),
  .hearth-spread-card:nth-child(6n+5),
  .hearth-spread-card:nth-child(6n+6) {
    grid-column: span 2;
    grid-row: span 1;
  }
  .hearth-spread-card:nth-child(4n+1) { grid-column: span 4; grid-row: span 2; }
}

@media (max-width: 640px) {
  .hearth-nav-links { display: none; }
  .hearth-nav-inner { gap: 0.75rem; }
  .hearth-hero-stats-inner { gap: 1.5rem; padding: 1.2rem 0; }
  .hearth-spread { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(140px, 36vw, 220px); }
  .hearth-spread-card,
  .hearth-spread-card:nth-child(6n+1),
  .hearth-spread-card:nth-child(6n+2),
  .hearth-spread-card:nth-child(6n+3),
  .hearth-spread-card:nth-child(6n+4),
  .hearth-spread-card:nth-child(6n+5),
  .hearth-spread-card:nth-child(6n+6),
  .hearth-spread-card:nth-child(4n+1) {
    grid-column: span 1;
    grid-row: span 1;
  }
  .hearth-spread-card:nth-child(5n+1) { grid-column: span 2; grid-row: span 1; }
  .hearth-footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hearth-footer-cta-inner { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .hearth-location-stats-row { grid-template-columns: 100px 1fr; gap: 0.8rem; }
  .lightbox-close { top: 14px; right: 14px; width: 40px; height: 40px; }
  .lightbox-prev { left: 10px; width: 40px; height: 40px; }
  .lightbox-next { right: 10px; width: 40px; height: 40px; }
}

@media (max-width: 768px) {
  /* Required by SITE-08 test pattern; harmless duplication of the 640 breakpoint */
  .hearth-section { padding-top: calc(var(--hh-section-y) * 0.75); padding-bottom: calc(var(--hh-section-y) * 0.75); }
}
