/* =========================================================
   Morgan Amos Realtor — Editorial site
   Shared tokens + chrome
   Mobile-first refinements applied throughout
   ========================================================= */

:root {
  /* True brand palette — Cream / Sage / Stone / Taupe / Navy (no gold/teal) */
  --navy:         #344f62;   /* Navy  */
  --gold:         #344f62;   /* accent base = Navy (brand has no gold) */
  --gold-deep:    #28404f;
  --gold-bright:  #bdcbc5;   /* Sage — accent on dark navy */
  --aqua:         #bdcbc5;   /* Sage */
  --teal:         #4a6577;   /* mid-navy (folds old teal) */
  --teal-deep:    #344f62;
  --sand:         #ebe8dd;   /* Cream */

  --cream:        #ebe8dd;   /* Cream */
  --cream-light:  #f4f2ec;   /* Cream, lifted */
  --ink:          #344f62;   /* Navy */
  --ink-soft:     #45616f;
  --ink-mute:     #6c8593;
  --sage:         #bdcbc5;   /* Sage */
  --sage-deep:    #9fb3ad;
  --stone:        #838288;   /* Stone gray */
  --taupe:        #bbb6b0;   /* Taupe */
  --paper:        #bdcbc5;   /* Sage as paper */
  --hairline:     #d3cec4;

  /* Active accent (Tweakable) — Navy on light, Sage on dark */
  --accent:       #344f62;
  --accent-deep:  #28404f;

  /* Type */
  --display: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --serif:   "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --sans:    "Inter", system-ui, sans-serif;

  /* Layout, mobile-first */
  --gutter: clamp(18px, 4vw, 72px);
  --maxw: 1440px;

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--serif);
  background: var(--cream);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Leave room for the mobile call bar */
  padding-bottom: env(safe-area-inset-bottom);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }

::selection { background: var(--accent); color: var(--cream-light); }

/* ---------- Typography utilities ---------- */
.display {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 0.95;
}
.serif    { font-family: var(--serif);    }
.sans     { font-family: var(--sans);     }
.eyebrow  {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
}
.italic   { font-style: italic; }

/* Drop cap, mobile-safe */
.dropcap::first-letter {
  font-family: var(--display);
  font-size: 4.6em;
  float: left;
  line-height: 0.82;
  padding: 0.08em 0.14em 0 0;
  color: var(--ink);
}
@media (min-width: 800px) {
  .dropcap::first-letter { font-size: 5.4em; }
}

/* ---------- Masthead ---------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  transition: background .35s var(--ease), box-shadow .35s var(--ease);
}
.masthead.scrolled {
  background: rgba(229,225,221,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--hairline);
}

.masthead__top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 22px var(--gutter) 18px;
  gap: 24px;
  transition: padding .35s var(--ease);
}
.masthead.scrolled .masthead__top {
  padding: 12px var(--gutter) 10px;
}

.masthead__meta {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 14px;
}
.masthead__meta .dot { color: var(--accent); }
.masthead__cb {
  padding: 0;
  max-width: 168px;
  width: 100%;
  border: 0;
  opacity: 1;
}
.masthead__cb img { display: block; width: 100%; height: auto; }

.masthead__logo { display: flex; justify-content: center; }
.masthead__logo img { height: 68px; width: auto; display: block; transition: height .35s var(--ease); }
.masthead.scrolled .masthead__logo img { height: 48px; }
@media (max-width: 760px) { .masthead__logo img { height: 46px; } }

/* Brokerage logo in the header — equal size / prominence to Morgan's own
   logo, as required by brokerage advertising rules. Uses the colored
   mark (the header sits on the light sand background). */
.masthead__brokerage { justify-content: flex-start; align-items: center; }
.masthead__brokerage a { display: inline-flex; align-items: center; }
.masthead__brokerage img {
  height: 68px; width: auto; display: block;
  transition: height .35s var(--ease);
}
.masthead.scrolled .masthead__brokerage img { height: 48px; }

.masthead__wordmark {
  font-family: var(--display);
  font-size: clamp(22px, 3.4vw, 44px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  transition: font-size .35s var(--ease);
}
.masthead.scrolled .masthead__wordmark {
  font-size: clamp(20px, 2.2vw, 26px);
}
.masthead__wordmark .amp {
  color: var(--accent);
  font-family: var(--serif);
  font-style: italic;
  padding: 0 6px;
  letter-spacing: 0;
}

/* Brand lockup: name + REALTOR® + tagline */
.masthead__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
  min-width: 0;
}
.masthead__wordmark.is-lockup {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  justify-content: center;
}
.masthead__realtor {
  font-family: var(--sans);
  font-size: clamp(8.5px, 0.85vw, 10px);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
  transform: translateY(-0.18em);
}
.masthead__tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
  line-height: 1;
  white-space: nowrap;
  transition: opacity .3s var(--ease);
}
.masthead.scrolled .masthead__tagline { opacity: 0; }
@media (max-width: 860px) {
  .masthead__tagline { display: none; }
  .masthead__realtor { font-size: 8px; letter-spacing: 0.22em; gap: 8px; }
  .masthead__wordmark.is-lockup { gap: 8px; }
}

.masthead__right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
}
.masthead__phone {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color .2s var(--ease);
}
.masthead__phone:hover { color: var(--accent-deep); }
.masthead__cta {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 10px 16px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  transition: background .25s var(--ease), color .25s var(--ease);
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}
.masthead__cta:hover { background: var(--ink); color: var(--cream); }

/* Mobile menu toggle */
.masthead__menu {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.masthead__menu span {
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  display: block;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.masthead.nav-open .masthead__menu span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.masthead.nav-open .masthead__menu span:nth-child(2) { opacity: 0; }
.masthead.nav-open .masthead__menu span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.masthead__nav {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 12px var(--gutter);
  display: flex;
  justify-content: center;
  gap: clamp(20px, 3vw, 44px);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: transparent;
  transition: padding .35s var(--ease);
}
.masthead.scrolled .masthead__nav {
  padding: 8px var(--gutter);
}
.masthead__nav a {
  position: relative;
  padding: 8px 0;
  color: var(--ink-soft);
  transition: color .2s var(--ease);
}
.masthead__nav a:hover { color: var(--ink); }
.masthead__nav a.active { color: var(--ink); }
.masthead__nav a.active::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -2px;
  width: 16px; height: 1px;
  background: var(--accent);
  transform: translateX(-50%);
}

@media (max-width: 860px) {
  .masthead__top {
    grid-template-columns: 1fr auto 1fr;
    padding: 12px var(--gutter);
    gap: 12px;
  }
  .masthead__meta { display: none; }
  .masthead__phone { display: none; }
  .masthead__cta { display: none; }
  .masthead__wordmark { font-size: 20px; }
  .masthead__menu { display: inline-flex; justify-self: end; }
  .masthead__nav {
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 8px 0 16px;
    background: var(--cream);
  }
  .masthead__nav a {
    padding: 16px var(--gutter);
    border-bottom: 1px solid var(--hairline);
    text-align: left;
    font-size: 13px;
  }
  .masthead__nav a:last-child { border-bottom: 0; }
  .masthead__nav a.active::after { display: none; }
  .masthead__nav a.active { color: var(--accent-deep); }
  .masthead.nav-open .masthead__nav { display: flex; }
  .masthead.nav-open { box-shadow: 0 12px 30px -20px rgba(8,58,79,0.25); }
}

/* legacy aliases kept inert */
.topband { display: none; }
.nav { display: none; }

/* ---------- Reusable bits ---------- */
.section { padding: clamp(56px, 9vw, 140px) var(--gutter); }
.section--dark { background: var(--ink); color: var(--cream); }
.section--paper { background: var(--paper); }
.section--cream-light { background: var(--cream-light); }

/* Decorative accent reads as sage on dark (navy) backgrounds */
.section--dark, .footer, .marquee, .awards, .credentials,
.proofs, .photo-promise, .lcta, .seller-cta, .sell-hero, .service--sell {
  --accent: var(--gold-bright);
  --accent-deep: var(--sage-deep);
}

.divider {
  height: 1px; background: var(--hairline);
  width: 100%;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 24px;
}
.kicker::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--accent);
}
.section--dark .kicker { color: var(--cream); opacity: 0.8; }

.section-title {
  font-family: var(--display);
  font-size: clamp(36px, 5.4vw, 84px);
  line-height: 0.98;
  margin: 0 0 28px;
  letter-spacing: 0.003em;
  text-wrap: pretty;
}

.linklike {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ink);
  transition: gap .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
}
.linklike:hover { color: var(--accent-deep); border-color: var(--accent-deep); gap: 14px; }
.section--dark .linklike { color: var(--cream); border-color: var(--cream); }
.section--dark .linklike:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- Striped image placeholder ---------- */
.ph {
  position: relative;
  background: repeating-linear-gradient(
    135deg,
    #c6d2cc 0 18px,
    #b5c4bd 18px 36px
  );
  color: var(--ink-soft);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 14px;
  overflow: hidden;
  isolation: isolate;
}
.ph::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 60% at 30% 30%, rgba(255,255,255,0.18), transparent 60%),
    radial-gradient(40% 50% at 80% 80%, rgba(0,0,0,0.07), transparent 60%);
  pointer-events: none;
}
.ph--dark {
  background: repeating-linear-gradient(
    135deg,
    #3c5a6e 0 18px,
    #2f4757 18px 36px
  );
  color: rgba(235,232,221,0.85);
}
.ph__tag {
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: rgba(8,58,79,0.85);
  color: var(--cream);
  padding: 6px 10px;
  border-radius: 999px;
  position: relative; z-index: 1;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ph--dark .ph__tag { background: rgba(229,225,221,0.92); color: var(--ink); }

/* ---------- Single-listing feature card ---------- */
.lfeature {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: clamp(24px, 4vw, 60px);
  align-items: stretch;
  max-width: 1120px;
  margin: 0 auto;
}
.lfeature__media { position: relative; min-height: 360px; overflow: hidden; }
.lfeature__media .ph { position: absolute; inset: 0; transition: transform .8s var(--ease); }
.lfeature:hover .lfeature__media .ph { transform: scale(1.03); }
.lfeature__tag {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 3;
  background: var(--cream-light);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 7px 12px;
  white-space: nowrap;
}
.lfeature__tag--gold { background: var(--accent); color: var(--cream); }
.lfeature__tag--pending { background: var(--sage); color: var(--ink); }
.lfeature__tag--sold { background: var(--taupe); color: var(--ink); }
.lfeature__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(8px, 2vw, 28px) 0;
}
.lfeature__kicker {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 16px;
}
.lfeature__address {
  font-family: var(--display);
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.04;
  margin: 0 0 10px;
  letter-spacing: 0.005em;
}
.lfeature__area {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.lfeature__price {
  font-family: var(--serif);
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 20px;
}
.lfeature__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 16px 0;
  margin-bottom: 24px;
}
.lfeature__specs .sp {
  flex: 1 1 0;
  min-width: 84px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.lfeature__specs .sp + .sp { border-left: 1px solid var(--hairline); padding-left: 16px; }
.lfeature__specs .sp .n {
  font-family: var(--display);
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1;
}
.lfeature__specs .sp .l {
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.lfeature__desc {
  font-family: var(--serif);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 26px;
  max-width: 48ch;
}
.lfeature__cta { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
@media (max-width: 760px) {
  .lfeature { grid-template-columns: 1fr; gap: 22px; }
  .lfeature__media { aspect-ratio: 4/3; min-height: 0; }
}

/* Placeholder filled with a real photo */
.ph.is-photo { background: var(--ink); padding: 0; }
.ph.is-photo::before { display: none; }
.ph.is-photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
/* Soft caption chip that can sit over a photo */
.ph.is-photo .ph__cap {
  position: absolute;
  left: 12px; bottom: 12px;
  z-index: 2;
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: rgba(8,58,79,0.78);
  color: var(--cream);
  padding: 6px 10px;
  border-radius: 999px;
  max-width: calc(100% - 24px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(56px, 8vw, 110px) var(--gutter) 0;
}
.footer .cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(229,225,221,0.12);
}
.footer h5 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.6;
  margin: 0 0 22px;
  font-weight: 500;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer a { font-family: var(--serif); font-size: 18px; transition: color .2s var(--ease); }
.footer a:hover { color: var(--accent); }
.footer .brand .mark {
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer .brand p { font-family: var(--serif); font-size: 17px; opacity: 0.78; max-width: 30ch; }
.footer .socials { display: flex; gap: 10px; margin-top: 22px; }
.footer .socials a {
  width: 44px; height: 44px;
  border: 1px solid rgba(229,225,221,0.24);
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.12em;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.footer .socials a svg { width: 19px; height: 19px; display: block; }
.footer .socials a:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }

/* Logo placeholders — drop real art into these slots */
.logo-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  border: 1px dashed currentColor;
  border-radius: 3px;
  padding: 16px 18px;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.5;
  opacity: 0.55;
}
.logo-slot img { display: block; width: 100%; height: auto; }
.logo-slot.has-art { border: 0; padding: 0; opacity: 1; }

.footer .footer-logo { max-width: 280px; margin-bottom: 22px; }
.footer .footer-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: rgba(235,232,221,0.92);
  margin: -6px 0 16px;
  line-height: 1.2;
}
.footer .brokerage { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.footer .brokerage .cb-logo { max-width: 260px; width: 100%; }
/* Coldwell Banker mark sits on a white card so the navy art reads on dark footer */
.logo-slot.on-dark.has-art { background: #fff; padding: 14px 16px; border-radius: 6px; }
.footer .brokerage .office {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.5;
  color: rgba(235,232,221,0.8);
}
.footer .brokerage .office b {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(235,232,221,0.5);
  margin-bottom: 5px;
  font-weight: 500;
}
.footer .brokerage .office a { border-bottom: 1px solid rgba(235,232,221,0.3); }

.footer .bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
  gap: 24px;
  flex-wrap: wrap;
}
.footer .bottom .eh {
  width: 18px; height: 18px;
  border: 1.5px solid currentColor;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px;
  font-family: var(--serif);
}

@media (max-width: 900px) {
  .footer .cols { grid-template-columns: 1fr 1fr; gap: 40px; padding-bottom: 40px; }
  .footer .brand { grid-column: 1 / -1; }
  .footer .brand p { max-width: none; }
}
@media (max-width: 540px) {
  .footer .cols { grid-template-columns: 1fr; gap: 32px; }
  .footer h5 { margin-bottom: 14px; }
}

/* ---------- Animated underline used in links ---------- */
.arr {
  display: inline-block;
  width: 14px; height: 1px;
  background: currentColor;
  position: relative;
}
.arr::after {
  content: "";
  position: absolute; right: 0; top: -3px;
  width: 7px; height: 7px;
  border-right: 1px solid currentColor;
  border-top: 1px solid currentColor;
  transform: rotate(45deg);
}

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- Subtle grain (very faint) ---------- */
.grain::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScxODAnIGhlaWdodD0nMTgwJz48ZmlsdGVyIGlkPSduJz48ZmVUdXJidWxlbmNlIHR5cGU9J2ZyYWN0YWxOb2lzZScgYmFzZUZyZXF1ZW5jeT0nMC45JyBudW1PY3RhdmVzPScyJyBzdGl0Y2hUaWxlcz0nc3RpdGNoJy8+PGZlQ29sb3JNYXRyaXggdmFsdWVzPScwIDAgMCAwIDAgIDAgMCAwIDAgMCAgMCAwIDAgMCAwICAwIDAgMCAwLjA2IDAnLz48L2ZpbHRlcj48cmVjdCB3aWR0aD0nMTAwJScgaGVpZ2h0PScxMDAlJyBmaWx0ZXI9J3VybCgjbiknLz48L3N2Zz4=");
  mix-blend-mode: multiply;
  opacity: 0.5;
}

/* ---------- Util ---------- */
.flex { display: flex; }
.grid { display: grid; }
.tight { letter-spacing: -0.01em; }
.center { text-align: center; }

/* ---------- Mobile sticky call bar ---------- */
.callbar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: var(--ink);
  color: var(--cream);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  gap: 8px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  box-shadow: 0 -12px 30px -20px rgba(8,58,79,0.5);
}
.callbar a {
  flex: 1;
  text-align: center;
  padding: 12px 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  min-height: 44px;
}
.callbar a.primary {
  background: var(--accent);
  color: var(--ink);
  font-weight: 500;
}
.callbar a.ghost {
  border: 1px solid rgba(229,225,221,0.4);
  color: var(--cream);
}
.callbar a .ic {
  width: 14px; height: 14px;
  display: inline-flex; align-items: center; justify-content: center;
}
@media (max-width: 720px) {
  .callbar { display: flex; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}


/* ===== Live-feed status + manual refresh ===== */
.feed-status {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}
.feed-refresh {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  background: none;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 7px 14px;
  min-height: 34px;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.feed-refresh:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.feed-refresh:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lfeature__listed,
.lcard__listed {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Listing photos from the feed paint as a background layer, so a
   listing with no <enclosure> simply shows the placeholder. */
.ph__shot {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
