/* ============================================================
   Moody Centre — Port Moody real estate
   Design system: neo-brutalist / editorial
   Fonts: Instrument Serif (display) + Bricolage Grotesque (body)
   ============================================================ */

:root {
  --cream: #F5EFE2;
  --card: #FBF7ED;
  --ink: #1C3229;
  --dark: #142621;
  --orange: #E4572E;
  --gold: #F0B84C;
  --muted: #5C6E64;
  --sand: #EDE4D0;
  --peach: #F7E2D6;
  --tan: #DDD3BE;
  --shadow-tan: #C9BC9F;
  --blue: #33698A;
  --green: #2E5744;
  --gold-dark: #B0892F;
  --serif: 'Instrument Serif', serif;
  --sans: 'Bricolage Grotesque', sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
}

a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 3px; }
a:hover { color: var(--orange); }
h1, h2, h3, p { margin: 0; }
button { font: inherit; }
img { max-width: 100%; }

/* ---------- Type helpers ---------- */

.serif { font-family: var(--serif); font-weight: 400; }
.eyebrow {
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 700; color: var(--orange); margin-bottom: 14px;
}
.eyebrow--gold { color: var(--gold); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 16px 30px;
  border: 2px solid var(--ink);
  cursor: pointer;
  text-decoration: none;
  transition: box-shadow 0.12s ease, transform 0.12s ease, background 0.12s ease;
  text-align: center;
}
.btn:hover { color: inherit; }
.btn--sm { font-size: 13px; padding: 14px 26px; }
.btn--xs { font-size: 12px; padding: 11px 20px; }

.btn--orange { background: var(--orange); color: var(--cream); box-shadow: 4px 4px 0 var(--ink); }
.btn--orange:hover { box-shadow: 6px 6px 0 var(--ink); transform: translate(-2px, -2px); color: var(--cream); }

.btn--orange-cream { background: var(--orange); color: var(--cream); border-color: var(--cream); box-shadow: 4px 4px 0 var(--cream); }
.btn--orange-cream:hover { box-shadow: 6px 6px 0 var(--cream); transform: translate(-2px, -2px); color: var(--cream); }

.btn--ghost-light { background: transparent; color: var(--cream); border-color: var(--cream); box-shadow: none; }
.btn--ghost-light:hover { background: rgba(245, 239, 226, 0.15); color: var(--cream); }

.btn--ink { background: var(--ink); color: var(--cream); box-shadow: 4px 4px 0 var(--shadow-tan); }
.btn--ink:hover { box-shadow: 6px 6px 0 var(--shadow-tan); transform: translate(-2px, -2px); color: var(--cream); }

.btn--ghost-dark { background: transparent; color: var(--ink); box-shadow: none; }
.btn--ghost-dark:hover { background: var(--sand); color: var(--ink); }

.btn--gold { background: var(--gold); color: var(--ink); border-color: var(--cream); box-shadow: 4px 4px 0 var(--cream); }
.btn--gold:hover { box-shadow: 6px 6px 0 var(--cream); transform: translate(-2px, -2px); color: var(--ink); }

/* ---------- Decorative ---------- */

.tick {
  display: inline-block; width: 10px; height: 10px;
  border: 2px solid var(--orange); transform: rotate(12deg); flex: none;
}

.text-link {
  font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700;
  cursor: pointer; border-bottom: 2px solid var(--orange); padding-bottom: 3px;
  text-decoration: none;
}
.text-link:hover { color: var(--orange); }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px 40px;
  background: var(--cream);
  border-bottom: 2px solid var(--ink);
}
.site-header__brand { display: flex; align-items: baseline; gap: 12px; text-decoration: none; }
.site-header__brand:hover { color: var(--ink); }
.site-header__name { font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.site-header__tag { font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--orange); }
.site-header__right { display: flex; align-items: center; gap: 28px; }
.site-header__nav { display: flex; gap: 24px; align-items: center; }
.site-header__nav a {
  font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
  color: var(--ink); text-decoration: none;
  border-bottom: 2px solid transparent; padding-bottom: 3px;
}
.site-header__nav a:hover { color: var(--orange); }
.site-header__nav a.is-active { font-weight: 800; border-bottom-color: var(--orange); }

/* ---------- Hero ---------- */

.hero {
  position: relative; min-height: 640px;
  display: flex; align-items: flex-end;
  background-size: cover; background-position: center 40%;
  border-bottom: 2px solid var(--ink);
}
.hero--short { min-height: 480px; }
.hero--banner { min-height: 340px; background-position: center; }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,38,33,0.15) 0%, rgba(20,38,33,0.55) 60%, rgba(20,38,33,0.82) 100%);
}
.hero--short .hero__overlay { background: linear-gradient(180deg, rgba(20,38,33,0.1) 0%, rgba(20,38,33,0.75) 100%); }
.hero--banner .hero__overlay { background: linear-gradient(180deg, rgba(20,38,33,0.2) 0%, rgba(20,38,33,0.72) 100%); }
.hero__badge {
  position: absolute; top: 28px; right: 40px;
  display: flex; align-items: center; gap: 10px;
}
.hero__badge span:last-child {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--cream);
}
.hero__content {
  position: relative; z-index: 1; width: 100%;
  max-width: 1240px; margin: 0 auto;
  padding: 120px 40px 56px;
  color: var(--cream);
}
.hero--short .hero__content { padding: 110px 40px 48px; }
.hero--banner .hero__content { padding: 100px 40px 44px; }
.hero__eyebrow {
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700;
  margin-bottom: 14px; color: var(--gold);
}
.hero__title {
  font-family: var(--serif); font-weight: 400;
  font-size: 82px; line-height: 0.98; letter-spacing: -0.01em;
  max-width: 880px;
}
.hero--short .hero__title { font-size: 68px; line-height: 1; }
.hero--banner .hero__title { font-size: 60px; line-height: 1; }
.hero__title em { font-style: italic; color: var(--gold); }
.hero__sub {
  font-size: 19px; line-height: 1.55; margin: 22px 0 0; max-width: 560px; opacity: 0.92;
}
.hero--short .hero__sub { font-size: 18px; max-width: 620px; margin-top: 18px; }
.hero--banner .hero__sub { font-size: 17px; margin-top: 14px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 30px; }

/* ---------- Stats strip ---------- */

.stats { border-bottom: 2px solid var(--ink); background: var(--cream); }
.stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.stats--compact .stats__grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.stats__cell { padding: 30px 24px; border-right: 2px solid var(--ink); text-align: center; }
.stats--compact .stats__cell { padding: 26px 22px; }
.stats__n { font-family: var(--serif); font-size: 46px; line-height: 1; color: var(--ink); }
.stats--compact .stats__n { font-size: 40px; }
.stats__l {
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700;
  color: var(--muted); margin-top: 8px;
}
.stats--compact .stats__l { font-size: 11px; }

/* ---------- Marquee ---------- */

@keyframes mc-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee {
  background: var(--dark); border-bottom: 2px solid var(--ink);
  padding: 14px 0; overflow: hidden; white-space: nowrap;
}
.marquee__track {
  display: inline-flex; align-items: center;
  animation: mc-marquee 32s linear infinite; will-change: transform;
}
.marquee__item {
  font-family: var(--serif); font-style: italic; font-size: 26px;
  color: var(--cream); padding: 0 30px; white-space: nowrap;
}

/* ---------- Sections & layout ---------- */

.section { padding: 96px 40px; background: var(--cream); }
.section--tight-top { padding-top: 0; }
.section--dark {
  background: var(--dark); color: var(--cream);
  border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  padding: 88px 40px;
}
.section--sand { background: var(--sand); border-top: 2px solid var(--ink); padding: 88px 40px; }
.section--bordered-top { border-top: 2px solid var(--ink); }
.wrap { max-width: 1240px; margin: 0 auto; }
.wrap--narrow { max-width: 1100px; margin: 0 auto; }

.section-heading { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; margin-bottom: 40px; }
.section-heading h2 { font-family: var(--serif); font-weight: 400; font-size: 46px; line-height: 1; }
.section-heading .flourish { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--orange); }

/* ---------- Cards ---------- */

.card {
  background: var(--card);
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
}

.card-grid { display: grid; gap: 24px; }
.card-grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card-grid--lifestyle { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.card-grid--listings { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

/* About */

.about-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: center;
}
.polaroid {
  transform: rotate(-2.5deg);
  background: var(--card); border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  padding: 14px 14px 18px;
}
.polaroid__img {
  aspect-ratio: 4 / 5; background: var(--tan);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600;
}
.polaroid__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.polaroid__caption { font-family: var(--serif); font-style: italic; font-size: 20px; text-align: center; padding-top: 14px; }
.about-copy h2 { font-family: var(--serif); font-weight: 400; font-size: 52px; line-height: 1.02; margin: 0 0 20px; }
.about-copy .lead { font-size: 18px; line-height: 1.65; margin: 0 0 14px; }
.about-copy .fine { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0 0 26px; }
.about-copy .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Why cards */

.why-card { padding: 34px 30px; }
.why-card__n {
  width: 54px; height: 54px; border: 2px solid var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 26px; color: var(--orange);
  transform: rotate(-6deg); margin-bottom: 22px;
}
.why-card h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; margin: 0 0 12px; }
.why-card p { font-size: 15px; line-height: 1.6; }

/* Backyard collage (dark section) */

.collage { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.collage__item { position: relative; }
.collage__item img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block;
  border: 2px solid var(--cream); border-radius: 6px;
}
.collage__item--arch img { border-radius: 180px 180px 6px 6px; }
.collage__label {
  position: absolute; bottom: 14px; left: 50%;
  background: var(--cream); color: var(--ink); border: 2px solid var(--ink);
  padding: 6px 14px; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700;
  white-space: nowrap;
}
.r-n3 { transform: translateX(-50%) rotate(-3deg); }
.r-n25 { transform: translateX(-50%) rotate(-2.5deg); }
.r-n2 { transform: translateX(-50%) rotate(-2deg); }
.r-p2 { transform: translateX(-50%) rotate(2deg); }
.r-p3 { transform: translateX(-50%) rotate(3deg); }

/* Lifestyle / hood cards */

.life-card { overflow: hidden; display: flex; flex-direction: column; }
a.life-card { text-decoration: none; color: inherit; transition: box-shadow 0.12s ease, transform 0.12s ease; }
a.life-card:hover { box-shadow: 7px 7px 0 var(--ink); transform: translate(-2px, -2px); color: inherit; }
.life-card__media {
  height: 170px; border-bottom: 2px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.life-card__media img { width: 100%; height: 170px; object-fit: cover; display: block; }
.life-card__word { font-family: var(--serif); font-style: italic; font-size: 44px; color: var(--cream); }
.life-card__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.life-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.life-card__top h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; }
.life-card__pill {
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700;
  color: var(--orange); border: 2px solid var(--orange); padding: 4px 10px;
  white-space: nowrap; flex: none;
}
.life-card__body p { font-size: 15px; line-height: 1.6; }

.rot-n3 { transform: rotate(-3deg); }
.rot-n25 { transform: rotate(-2.5deg); }
.rot-n2 { transform: rotate(-2deg); }
.rot-p2 { transform: rotate(2deg); }
.rot-p25 { transform: rotate(2.5deg); }
.rot-p3 { transform: rotate(3deg); }

.hood-card { overflow: hidden; display: flex; flex-direction: column; }
a.hood-card { text-decoration: none; color: inherit; transition: box-shadow 0.12s ease, transform 0.12s ease; }
a.hood-card:hover { box-shadow: 7px 7px 0 var(--ink); transform: translate(-2px, -2px); color: inherit; }
.hood-card__media {
  height: 160px; border-bottom: 2px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hood-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hood-card--tall .hood-card__media { height: 180px; }
.hood-card__initial { font-family: var(--serif); font-style: italic; font-size: 52px; color: var(--cream); }
.hood-card--tall .hood-card__initial { font-size: 56px; }
.hood-card__body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.hood-card--tall .hood-card__body { padding: 24px; gap: 10px; }
.hood-card__k { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: var(--orange); }
.hood-card__body h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; }
.hood-card--tall .hood-card__body h3 { font-size: 28px; }
.hood-card__body p { font-size: 15px; line-height: 1.6; }
.hood-card--tall .hood-card__body p { font-size: 15px; line-height: 1.6; }
.hood-card__builder {
  font-size: 12px; color: var(--muted); line-height: 1.5;
  border-top: 2px solid var(--sand); padding-top: 10px; margin-top: 4px;
}
.hood-card__builder b { color: var(--ink); font-weight: 700; }
.hood-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.hood-card__tags span {
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700;
  color: var(--ink); border: 2px solid var(--ink); padding: 3px 10px;
}

.bg-blue { background: var(--blue); }
.bg-green { background: var(--green); }
.bg-orange { background: var(--orange); }
.bg-gold { background: var(--gold); }
.bg-gold-dark { background: var(--gold-dark); }
.bg-dark { background: var(--dark); }

/* Listing cards */

.listing-card { overflow: hidden; display: flex; flex-direction: column; }
.listing-card__photo {
  aspect-ratio: 4 / 3; background: var(--tan);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600;
  border-bottom: 2px solid var(--ink);
}
.listing-card__body { padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.listing-card__eyebrow { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: var(--orange); }
.listing-card__price { font-family: var(--serif); font-size: 32px; line-height: 1.1; }
.listing-card__meta { font-size: 14px; color: var(--muted); }
.listing-card__foot {
  margin-top: 10px; padding-top: 14px; border-top: 2px solid var(--sand);
  display: flex; justify-content: space-between; align-items: center;
}
.listing-card__status {
  display: inline-block; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700;
  padding: 5px 12px; border: 2px solid var(--ink);
  background: var(--cream); color: var(--ink);
}
.listing-card__status--success { background: var(--green); color: var(--cream); }
.listing-card__status--accent { background: var(--orange); color: var(--cream); }
.listing-card__enquire {
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700;
  border-bottom: 2px solid var(--orange); padding-bottom: 2px; text-decoration: none;
}
.listing-card__enquire:hover { color: var(--orange); }

/* Breweries (dark section) */

.brew-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.brew-tile {
  background: var(--cream); color: var(--ink);
  border: 2px solid var(--cream); box-shadow: 4px 4px 0 rgba(245, 239, 226, 0.35);
  padding: 20px 22px; display: flex; align-items: center; gap: 14px;
}
.brew-tile .brew-tile__name { font-family: var(--serif); font-size: 22px; }
a.brew-tile { text-decoration: none; transition: box-shadow 0.12s ease, transform 0.12s ease; }
a.brew-tile:hover { box-shadow: 6px 6px 0 rgba(245, 239, 226, 0.55); transform: translate(-2px, -2px); color: var(--ink); }
.brew-tile__ext { margin-left: auto; color: var(--orange); font-weight: 700; font-size: 16px; }

/* Anchored sections need breathing room under the sticky header */
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 84px; }

/* Outdoors cards (neighbourhood) */

.out-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.out-card { overflow: hidden; }
.out-card img { width: 100%; height: 190px; object-fit: cover; display: block; border-bottom: 2px solid var(--ink); }
.out-card__body { padding: 22px; }
.out-card__body h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; margin: 0 0 8px; }
.out-card__body p { font-size: 15px; line-height: 1.6; }

/* Vibe section */

.vibe-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center;
}
.vibe-grid h2 { font-family: var(--serif); font-weight: 400; font-size: 44px; line-height: 1.05; margin: 0 0 20px; }
.vibe-grid .copy { font-size: 16px; line-height: 1.7; }
.vibe-photo { position: relative; }
.vibe-photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block;
  border: 2px solid var(--ink); border-radius: 220px 220px 6px 6px;
  box-shadow: 6px 6px 0 var(--ink);
}
.vibe-photo .collage__label { bottom: 18px; font-size: 11px; }

/* Cafes & transit */

.cafes-transit {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start;
}
.cafes-transit h2 { font-family: var(--serif); font-weight: 400; font-size: 36px; line-height: 1.1; margin: 0 0 18px; }
.cafes-transit .intro { font-size: 15px; line-height: 1.6; margin: 0 0 22px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-size: 13px; font-weight: 700; border: 2px solid var(--ink);
  background: var(--card); padding: 8px 16px; box-shadow: 3px 3px 0 var(--ink);
}
a.chip {
  color: var(--ink); text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
a.chip:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
a.chip .chip__ext { font-size: 11px; margin-left: 4px; opacity: 0.6; }
.transit-list { display: flex; flex-direction: column; gap: 16px; }
.transit-item { border-left: 3px solid var(--orange); padding-left: 16px; }
.transit-item h3 { font-weight: 700; font-size: 16px; margin: 0 0 4px; }
.transit-item p { font-size: 15px; line-height: 1.6; }

/* Map */

.map-frame { border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); overflow: hidden; }
.map-frame iframe { width: 100%; height: 440px; border: 0; display: block; }
.map-caption { font-size: 13px; color: var(--muted); margin: 14px 0 0; }

/* Testimonial */

.testimonial { max-width: 820px; margin: 0 auto; text-align: center; }
.testimonial__mark {
  font-family: var(--serif); font-size: 110px; line-height: 0.6; height: 70px;
  color: var(--gold); transform: rotate(-4deg);
}
.testimonial__quote { font-family: var(--serif); font-weight: 400; font-size: 36px; line-height: 1.3; margin: 0 0 24px; }
.testimonial__quote em { font-style: italic; color: var(--gold); }
.testimonial__by { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; opacity: 0.8; }
.testimonial__quote { min-height: 4.2em; }
.testimonial__dots { display: flex; justify-content: center; gap: 12px; margin-top: 30px; }
.t-dot {
  width: 13px; height: 13px; padding: 0;
  background: transparent; border: 2px solid var(--gold);
  transform: rotate(12deg); cursor: pointer;
  transition: background 0.15s ease;
}
.t-dot:hover, .t-dot.active { background: var(--gold); }
.testimonial__google {
  display: inline-block; margin-top: 28px;
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700;
  color: var(--cream); text-decoration-color: var(--gold);
}
.testimonial__google:hover { color: var(--gold); }

/* Buy / sell CTA cards */

.cta-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px;
}
.cta-card { border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); padding: 44px 40px; background: var(--card); }
.cta-card--peach { background: var(--peach); }
.cta-card .eyebrow { font-size: 12px; margin-bottom: 12px; }
.cta-card h3 { font-family: var(--serif); font-weight: 400; font-size: 34px; margin: 0 0 14px; }
.cta-card p { font-size: 15px; line-height: 1.6; margin: 0 0 26px; }

/* Dark centered CTA */

.dark-cta { max-width: 680px; margin: 0 auto; text-align: center; }
.dark-cta h2 { font-family: var(--serif); font-weight: 400; font-size: 48px; line-height: 1.05; margin: 0 0 18px; }
.dark-cta h2 em { font-style: italic; color: var(--gold); }
.dark-cta p { font-size: 17px; line-height: 1.6; opacity: 0.88; margin: 0 0 28px; }
.dark-cta .hero__actions { justify-content: center; margin-top: 0; }

/* ---------- Listings page ---------- */

.filters { padding: 22px 40px; background: var(--card); border-bottom: 2px solid var(--ink); }
.filters__row { max-width: 1240px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; }
.filters__field { flex: 1; min-width: 150px; display: flex; flex-direction: column; gap: 6px; }
.filters__field > span { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.filters__field select {
  font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--ink);
  padding: 11px 12px; border: 2px solid var(--ink); background: var(--cream); outline: none;
  border-radius: 0; appearance: auto;
}
.no-results {
  display: none; text-align: center; padding: 40px 0;
  font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--muted);
}

.alert-box {
  margin-top: 56px; background: var(--card); border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink); padding: 44px; text-align: center;
}
.alert-box h2 { font-family: var(--serif); font-weight: 400; font-size: 36px; margin: 0 0 12px; }
.alert-box h2 em { font-style: italic; color: var(--orange); }
.alert-box p { font-size: 15px; line-height: 1.6; margin: 0 auto 26px; max-width: 520px; }

/* ---------- Contact page ---------- */

.contact-hero { background: var(--dark); color: var(--cream); padding: 96px 40px 64px; border-bottom: 2px solid var(--ink); }
.contact-hero .wrap--narrow { max-width: 1100px; }
.contact-hero h1 { font-family: var(--serif); font-weight: 400; font-size: 64px; line-height: 1; }
.contact-hero h1 em { font-style: italic; color: var(--gold); }
.contact-hero p { font-size: 17px; line-height: 1.6; opacity: 0.9; margin: 18px 0 0; max-width: 600px; }

.contact-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 56px; align-items: start;
}
.contact-form-box { border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); padding: 40px; background: var(--card); }
.contact-form-box h2 { font-family: var(--serif); font-weight: 400; font-size: 32px; margin: 0 0 24px; }
.form-stack { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field > span { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.form-field input, .form-field select, .form-field textarea {
  font-family: var(--sans); font-size: 15px; color: var(--ink);
  padding: 12px 14px; border: 2px solid var(--ink); background: var(--cream); outline: none;
  border-radius: 0;
}
.form-field select { font-weight: 600; }
.form-field textarea { resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--orange); }
.form-success { padding: 32px 0; text-align: center; }
.form-success h3 { font-family: var(--serif); font-weight: 400; font-size: 34px; margin: 0 0 12px; }
.form-success h3 em { font-style: italic; color: var(--orange); }
.form-success p { font-size: 15px; line-height: 1.6; }

.contact-aside { display: flex; flex-direction: column; gap: 24px; }
.contact-card { border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); padding: 28px; background: var(--card); }
.contact-card__photo { transform: rotate(2deg); background: var(--cream); border: 2px solid var(--ink); padding: 10px 10px 14px; margin-bottom: 22px; }
.contact-card__photo-inner {
  aspect-ratio: 1; background: var(--tan);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600;
}
.contact-card__photo-inner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.contact-card h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; margin: 0 0 4px; }
.contact-card__org { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.contact-card__links { display: flex; flex-direction: column; gap: 10px; font-size: 16px; font-weight: 700; }
.promise-card { border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); padding: 28px; background: var(--peach); }
.promise-card .eyebrow { font-size: 12px; margin-bottom: 10px; }
.promise-card p { font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.3; }

/* ---------- Footer ---------- */

.site-footer { background: var(--dark); color: var(--cream); padding: 56px 40px 36px; border-top: 2px solid var(--ink); }
.site-footer__grid {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; align-items: start;
}
.site-footer__name { font-weight: 800; font-size: 22px; letter-spacing: -0.02em; margin-bottom: 6px; }
.site-footer__tag { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--gold); margin-bottom: 16px; }
.site-footer__blurb { font-size: 13px; line-height: 1.6; opacity: 0.75; max-width: 280px; }
.site-footer__head {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700;
  opacity: 0.6; margin-bottom: 16px;
}
.site-footer__links { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.site-footer__links a { color: var(--cream); text-decoration: none; opacity: 0.9; }
.site-footer__links a:hover { color: var(--gold); }
.site-footer__links .org { opacity: 0.75; }
.site-footer__bottom {
  max-width: 1240px; margin: 40px auto 0; padding-top: 22px;
  border-top: 1px solid rgba(245, 239, 226, 0.2);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12px; opacity: 0.6;
}

/* ---------- Dynamic listings (DDF feed) ---------- */

.listing-card { cursor: pointer; }
.listing-card:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.listing-card__photo { position: relative; overflow: hidden; }
.listing-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.listing-card__count {
  position: absolute; bottom: 10px; right: 10px;
  background: var(--ink); color: var(--cream);
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  padding: 4px 10px;
}
.listing-card__attribution { font-size: 11px; color: var(--muted); margin-top: 6px; }
.listing-card--featured { outline: 3px solid var(--gold); outline-offset: -1px; }
.featured-chip {
  display: inline-block; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 700; background: var(--gold); color: var(--ink);
  border: 2px solid var(--ink); padding: 4px 10px; margin-bottom: 4px;
  align-self: flex-start;
}
.listings-status {
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700;
  color: var(--muted); margin: 0 0 22px;
}
.ddf-note { font-size: 11px; line-height: 1.6; opacity: 0.55; max-width: 640px; }

/* Listing detail page */

.detail-hero { background: var(--dark); color: var(--cream); padding: 48px 40px 40px; border-bottom: 2px solid var(--ink); }
.detail-hero .wrap { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; }
.detail-hero__back {
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700;
  color: var(--cream); text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 2px;
}
.detail-hero__back:hover { color: var(--gold); }
.detail-hero h1 { font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1.05; margin: 12px 0 6px; }
.detail-hero__meta { font-size: 14px; opacity: 0.85; }
.detail-hero__price { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--gold); }

.gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; margin-bottom: 12px; }
.gallery__main { border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); overflow: hidden; background: var(--tan); }
.gallery__main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; cursor: pointer; }
.gallery__side { display: grid; grid-template-rows: 1fr 1fr; gap: 12px; }
.gallery__side .gallery__thumb { border: 2px solid var(--ink); overflow: hidden; background: var(--tan); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: pointer; }
.gallery-strip { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; }
.gallery-strip img {
  width: 92px; height: 68px; object-fit: cover; display: block; flex: none;
  border: 2px solid var(--ink); cursor: pointer; opacity: 0.75;
}
.gallery-strip img.is-active, .gallery-strip img:hover { opacity: 1; }

.detail-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 44px; align-items: start; margin-top: 40px; }
.facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); border: 2px solid var(--ink); background: var(--card); box-shadow: 5px 5px 0 var(--ink); margin-bottom: 32px; }
.fact-cell { padding: 18px 16px; border-right: 2px solid var(--sand); }
.fact-cell:last-child { border-right: none; }
.fact-cell .n { font-family: var(--serif); font-size: 30px; line-height: 1; }
.fact-cell .l { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-top: 6px; }
.detail-desc { font-size: 15px; line-height: 1.75; white-space: pre-line; }
.detail-section-title { font-family: var(--serif); font-weight: 400; font-size: 28px; margin: 0 0 16px; }
.feature-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.feature-tags span { font-size: 12px; font-weight: 600; border: 2px solid var(--ink); background: var(--card); padding: 5px 12px; }
.detail-facts-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.detail-facts-table td { padding: 9px 0; border-bottom: 1px solid var(--sand); vertical-align: top; }
.detail-facts-table td:first-child { color: var(--muted); font-weight: 600; padding-right: 16px; white-space: nowrap; }
.attribution-box { border: 2px solid var(--ink); background: var(--card); box-shadow: 5px 5px 0 var(--ink); padding: 22px; font-size: 13px; line-height: 1.6; }
.attribution-box .powered { margin-top: 12px; }
.attribution-box .powered img { height: 26px; display: block; }
.detail-cta-card { border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); padding: 28px; background: var(--peach); margin-top: 24px; }
.detail-cta-card h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; margin: 0 0 10px; }
.detail-cta-card p { font-size: 15px; line-height: 1.6; margin: 0 0 18px; }

@media (max-width: 900px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery__side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-hero h1 { font-size: 30px; }
  .detail-hero__price { font-size: 34px; }
}

/* ---------- FAQ ---------- */

.faq-item {
  background: var(--card); border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink); margin-bottom: 14px;
}
.faq-item summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 22px;
  font-family: var(--serif); font-size: 21px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; flex: none;
  font-family: var(--serif); font-size: 26px; color: var(--orange); line-height: 1;
}
.faq-item[open] summary::after { content: '–'; }
.faq-item[open] summary { border-bottom: 2px solid var(--sand); }
.faq-item .faq-a { padding: 16px 22px 20px; font-size: 15px; line-height: 1.7; }
.faq-item .faq-a a { font-weight: 700; }

/* ---------- Guided chat widget ---------- */

.mcchat-btn {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 140;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 18px;
  background: var(--orange);
  color: var(--cream);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: box-shadow 0.12s ease, transform 0.12s ease;
}
.mcchat-btn:hover { box-shadow: 6px 6px 0 var(--ink); transform: translate(-2px, -2px); }
.mcchat-btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.mcchat-btn.is-open .mcchat-btn-label { display: none; }

.mcchat-panel[hidden] { display: none; }
.mcchat-panel {
  position: fixed;
  right: 22px;
  bottom: 88px;
  z-index: 140;
  width: min(360px, calc(100vw - 32px));
  max-height: min(560px, calc(100vh - 130px));
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  overflow: hidden;
}
.mcchat-panel[hidden] { display: none; }
.mcchat-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px 14px;
  background: var(--dark);
  border-bottom: 2px solid var(--ink);
}
.mcchat-title { margin: 0; font-family: var(--serif); font-size: 20px; color: var(--cream); }
.mcchat-sub { margin: 2px 0 0; font-size: 12px; color: var(--gold); }
.mcchat-close {
  background: none;
  border: none;
  color: rgba(245, 239, 226, 0.8);
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
  padding: 0 2px;
  cursor: pointer;
}
.mcchat-close:hover { color: var(--cream); }

.mcchat-body { padding: 16px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
.mcchat-msg {
  max-width: 85%;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.55;
  border: 2px solid var(--ink);
}
.mcchat-bot { align-self: flex-start; background: var(--card); color: var(--ink); }
.mcchat-bot a { color: var(--orange); font-weight: 700; }
.mcchat-user { align-self: flex-end; background: var(--ink); color: var(--cream); }

.mcchat-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mcchat-chip {
  padding: 9px 14px;
  background: var(--card);
  border: 2px solid var(--ink);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
}
.mcchat-chip:hover { background: var(--ink); color: var(--cream); }

.mcchat-form { display: flex; flex-direction: column; gap: 8px; }
.mcchat-input {
  font-family: var(--sans);
  font-size: 14px;
  padding: 11px 12px;
  border: 2px solid var(--ink);
  background: var(--cream);
  color: var(--ink);
  border-radius: 0;
  outline: none;
}
.mcchat-input:focus { border-color: var(--orange); }
.mcchat-send {
  padding: 12px;
  background: var(--orange);
  color: var(--cream);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: box-shadow 0.12s ease, transform 0.12s ease;
}
.mcchat-send:hover { box-shadow: 5px 5px 0 var(--ink); transform: translate(-1px, -1px); }
.mcchat-send:disabled { opacity: 0.7; cursor: default; box-shadow: 3px 3px 0 var(--ink); transform: none; }
.mcchat-fine { margin: 0; font-size: 11px; line-height: 1.5; color: var(--muted); }

@media (max-width: 480px) {
  .mcchat-panel { right: 16px; left: 16px; width: auto; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .site-header { flex-wrap: wrap; }
  .site-header__nav { gap: 14px; flex-wrap: wrap; }
  .site-header__nav a { font-size: 12px; }
  .site-header__right { gap: 16px; flex-wrap: wrap; }
}

@media (max-width: 1000px) {
  .hero__title { font-size: 60px; }
  .hero--short .hero__title { font-size: 52px; }
  .collage { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .polaroid { max-width: 380px; margin: 0 auto; }
  .vibe-grid { grid-template-columns: 1fr; gap: 40px; }
  .cafes-transit { grid-template-columns: 1fr; gap: 44px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .site-header { padding: 12px 20px; flex-wrap: wrap; }
  .site-header__tag { display: none; }
  .site-header__right { gap: 16px; flex-wrap: wrap; }
  .site-header__nav { gap: 14px; flex-wrap: wrap; }
  .hero__content, .section, .section--dark, .section--sand { padding-left: 20px; padding-right: 20px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .section--dark, .section--sand { padding-top: 60px; padding-bottom: 60px; }
  .section--tight-top { padding-top: 0; }
  .hero__badge { right: 20px; }
  .hero__title { font-size: 44px; }
  .hero--short .hero__title { font-size: 40px; }
  .hero--banner .hero__title { font-size: 38px; }
  .section-heading h2 { font-size: 36px; }
  .about-copy h2 { font-size: 40px; }
  .dark-cta h2 { font-size: 38px; }
  .vibe-grid h2 { font-size: 36px; }
  .testimonial__quote { font-size: 27px; }
  .contact-hero { padding: 64px 20px 48px; }
  .contact-hero h1 { font-size: 44px; }
  .contact-form-box { padding: 26px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .filters { padding: 18px 20px; }
  .stats__cell { border-right: none; border-bottom: 2px solid var(--ink); }
  .stats__cell:last-child { border-bottom: none; }
  .collage { grid-template-columns: 1fr 1fr; gap: 12px; }
  .site-footer { padding: 44px 20px 28px; }
  /* 16px minimum stops iOS Safari zooming the page when a field is focused */
  .form-field input, .form-field select, .form-field textarea,
  .filters__field select { font-size: 16px; }
}
