/* ==========================================================================
   Arbutus Ridge — Summer Special (Lot 8) promotional layer
   Added 2026-07-28. Self-contained; safe to remove after the promo ends.
   Palette + type inherited from global.css / home.css:
     forest  #1a1f1a   terracotta #c4572a   cream #faf8f5   parchment #f0e9dd
     display 'Cormorant Garamond'   utility 'Libre Franklin'
   ========================================================================== */

/* --- Shared price-pair device -------------------------------------------
   The one signature element: struck old price, angled terracotta rule,
   arrow, new price. Reused at three scales (bar, band, map flag).        */
.pricepair {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5em;
  white-space: nowrap;
}

.pricepair__was {
  position: relative;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  color: currentColor;
  opacity: 0.55;
}

.pricepair__was::after {
  content: "";
  position: absolute;
  left: -6%;
  right: -6%;
  top: 52%;
  height: 1.5px;
  background: #c4572a;
  transform: rotate(-7deg);
  transform-origin: center;
}

.pricepair__arrow {
  font-family: 'Libre Franklin', sans-serif;
  font-weight: 300;
  opacity: 0.45;
}

.pricepair__now {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* --- 1. Announcement bar (sits above the sticky header) ------------------ */
.promo-bar {
  background: #f0e9dd;
  border-bottom: 1px solid rgba(26, 31, 26, 0.14);
  color: #1a1f1a;
}

.promo-bar__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 9px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 18px;
  text-align: center;
}

.promo-bar__eyebrow {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #c4572a;
}

.promo-bar__body {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.2px;
  color: #3a4038;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.promo-bar .pricepair { font-size: 17px; }
.promo-bar .pricepair__now { color: #c4572a; }

.promo-bar__when {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 12px;
  color: #7d8478;
}

.promo-bar__link {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #1a1f1a;
  border-bottom: 1px solid #c4572a;
  padding-bottom: 1px;
  transition: color 0.2s;
}

.promo-bar__link:hover { color: #c4572a; }

@media (max-width: 700px) {
  .promo-bar__inner { padding: 8px 16px; gap: 4px 12px; }
  .promo-bar__when { display: none; }
  .promo-bar .pricepair { font-size: 15px; }
}

/* --- 2. Home page feature band ------------------------------------------ */
.promo-band {
  position: relative;
  overflow: hidden;
  background: #1a1f1a;
  padding: 72px 24px 68px;
  text-align: center;
  color: #f5f0e8;
}

/* Faint lot number behind the price — ties the offer to the parcel */
.promo-band__watermark {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-size: clamp(180px, 30vw, 380px);
  line-height: 0.8;
  letter-spacing: 0.04em;
  color: rgba(196, 87, 42, 0.09);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.promo-band__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.promo-band__eyebrow {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: #c4572a;
  margin-bottom: 18px;
}

.promo-band__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 300;
  line-height: 1.15;
  color: #f5f0e8;
  margin-bottom: 10px;
}

.promo-band__meta {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.6px;
  color: rgba(245, 240, 232, 0.55);
  margin-bottom: 34px;
}

.promo-band .pricepair {
  font-size: clamp(34px, 6vw, 62px);
  color: #f5f0e8;
  margin-bottom: 8px;
}

.promo-band .pricepair__was { font-size: 0.52em; }
.promo-band .pricepair__arrow { font-size: 0.4em; }
.promo-band .pricepair__now { color: #fff; }

.promo-band__terms {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: rgba(245, 240, 232, 0.62);
  margin-bottom: 32px;
}

.promo-band__terms strong {
  font-weight: 500;
  color: #e8b48f;
}

.promo-band__ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.promo-band__btn {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px 30px;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.promo-band__btn--primary {
  background: #c4572a;
  color: #fff;
}

.promo-band__btn--primary:hover { background: #a9481f; }

.promo-band__btn--ghost {
  color: #f5f0e8;
  border: 1px solid rgba(245, 240, 232, 0.35);
}

.promo-band__btn--ghost:hover {
  border-color: #f5f0e8;
  background: rgba(245, 240, 232, 0.08);
}

.promo-band__fine {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 11px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(245, 240, 232, 0.32);
  max-width: 460px;
  margin: 0 auto;
}

@media (max-width: 560px) {
  .promo-band { padding: 54px 20px 50px; }
  .promo-band__ctas { flex-direction: column; align-items: stretch; }
}

/* --- 3. Lots & Prices strip (compact, sits above the map) ---------------- */
.promo-strip {
  max-width: 1080px;
  margin: 0 auto 28px;
  padding: 20px 26px;
  background: #1a1f1a;
  border-left: 3px solid #c4572a;
  border-radius: 2px;
  color: #f5f0e8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 28px;
}

.promo-strip__label {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #c4572a;
  margin-bottom: 6px;
}

.promo-strip__lot {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 26px;
  font-weight: 300;
  line-height: 1.2;
}

.promo-strip__when {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: rgba(245, 240, 232, 0.55);
  margin-top: 4px;
}

.promo-strip .pricepair { font-size: 32px; }
.promo-strip .pricepair__was { font-size: 0.58em; }
.promo-strip .pricepair__arrow { font-size: 0.45em; }
.promo-strip .pricepair__now { color: #fff; }

.promo-strip__right {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.promo-strip__cta {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: #c4572a;
  color: #fff;
  padding: 13px 26px;
  border-radius: 2px;
  transition: background 0.2s;
  white-space: nowrap;
}

.promo-strip__cta:hover { background: #a9481f; }

@media (max-width: 720px) {
  .promo-strip { margin: 0 16px 24px; padding: 18px 20px; }
  .promo-strip__right { width: 100%; justify-content: space-between; }
}

/* --- 4. Map flag pointing at Lot 8 -------------------------------------- */
.lot8-flag {
  position: absolute;
  z-index: 6;
  transform: translate(-50%, -100%);
  pointer-events: none;
  text-align: center;
  line-height: normal;          /* .svg-mount sets line-height:0 — reset it here */
}

.lot8-flag__tag {
  display: inline-block;
  background: #c4572a;
  color: #fff;
  font-family: 'Libre Franklin', sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  padding: 6px 11px 5px;
  line-height: 1.25;
  border-radius: 2px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.28);
  white-space: nowrap;
}

.lot8-flag__price {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.2px;
  text-transform: none;
  margin-top: 2px;
}

.lot8-flag__price s {
  font-size: 12px;
  font-weight: 300;
  opacity: 0.65;
  margin-right: 5px;
  text-decoration-thickness: 1px;
}

.lot8-flag__stem {
  display: block;
  width: 1.5px;
  height: 58px;
  margin: 0 auto;
  background: linear-gradient(to bottom, #c4572a, rgba(196, 87, 42, 0.35));
}

.lot8-flag__dot {
  display: block;
  width: 9px;
  height: 9px;
  margin: 0 auto;
  border-radius: 50%;
  background: #c4572a;
  box-shadow: 0 0 0 0 rgba(196, 87, 42, 0.55);
  animation: lot8pulse 2.6s ease-out infinite;
}

@keyframes lot8pulse {
  0%   { box-shadow: 0 0 0 0 rgba(196, 87, 42, 0.55); }
  70%  { box-shadow: 0 0 0 13px rgba(196, 87, 42, 0); }
  100% { box-shadow: 0 0 0 0 rgba(196, 87, 42, 0); }
}

@media (max-width: 640px) {
  .lot8-flag__tag { font-size: 9px; padding: 5px 8px 4px; }
  .lot8-flag__price { font-size: 14px; }
  .lot8-flag__price s { font-size: 10px; }
  .lot8-flag__stem { height: 40px; }
}

/* --- 5. Comparison-table promo badge ------------------------------------ */
.promo-tag {
  display: inline-block;
  background: rgba(196, 87, 42, 0.12);
  color: #a9481f;
  font-family: 'Libre Franklin', sans-serif;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 2px;
  margin-left: 8px;
  vertical-align: middle;
}

.price-was {
  color: #b0a99b;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  font-size: 12px;
  margin-left: 6px;
}

/* --- Accessibility ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .lot8-flag__dot { animation: none; }
  .promo-band, .promo-strip { transition: none; }
}

/* --- 6. Promoted lot on the site plan ----------------------------------- */
.svg-mount svg g.is-promo path,
.svg-mount svg g.is-promo polygon {
  stroke: #c4572a;
  stroke-width: 4px;
  stroke-linejoin: round;
}

/* --- 7. Promo note inside the lot dialog -------------------------------- */
.lot-dialog-promo {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.6;
  color: #6d6459;
  background: rgba(196, 87, 42, 0.06);
  border-left: 2px solid #c4572a;
  padding: 10px 14px;
  margin: 4px 0 18px;
  border-radius: 2px;
}

.lot-dialog-promo .promo-tag { margin-left: 0; margin-right: 4px; }

/* Tighter flag on small screens — the site plan is only ~326px wide there */
@media (max-width: 560px) {
  .lot8-flag__tag {
    font-size: 8px;
    letter-spacing: 0.7px;
    padding: 4px 7px 3px;
  }
  .lot8-flag__price { font-size: 12.5px; margin-top: 1px; }
  .lot8-flag__price s { display: none; }
  .lot8-flag__stem { height: 30px; }
  .lot8-flag__dot { width: 7px; height: 7px; }
}
