/* /book/ — premium booking hub (extends property-page.css) */

.book-page .property-hero h1 {
  max-width: 16ch;
}

.book-hero-guarantee {
  margin: 0 0 var(--space-16);
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.92rem, 1.7vw, 1.05rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.book-hero-amenities {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 var(--space-16);
  padding: 0;
}

.book-hero-amenities__pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
  backdrop-filter: blur(10px);
}

@media (max-width: 640px) {
  .book-hero-amenities__pill {
    min-height: 40px;
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
  }
}

.book-hero-units {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 var(--space-20);
}

.book-hero-units__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.2;
  backdrop-filter: blur(10px);
}

.book-hero-units__chip:hover,
.book-hero-units__chip:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  outline: none;
}

@media (max-width: 980px) {
  .book-hero-units__chip {
    min-height: 48px;
    flex: 1 1 calc(33.333% - 8px);
  }
}

.book-unit-card__media picture,
.book-unit-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book-page .property-hero__cta {
  max-width: min(100%, 520px);
  gap: var(--space-24);
}

.book-hub-note {
  padding: var(--space-24) var(--space-28);
  margin-bottom: 0;
}

.book-page .wrap.section {
  gap: var(--space-32);
}

.book-hub-note p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: #4a4a4a;
  text-align: center;
  max-width: 72ch;
  margin-inline: auto;
}

/* How booking works — TFV-inspired friction killer (custom Philly Loft) */
.pl-book-steps {
  list-style: none;
  margin: 0 0 var(--space-28);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-20);
}

.pl-book-step {
  padding: var(--space-24) var(--space-28);
  background: linear-gradient(180deg, #ffffff 0%, #faf8f4 100%);
  border: 1px solid rgba(36, 49, 40, 0.08);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.pl-book-step__num {
  display: block;
  margin-bottom: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--sage);
}

.pl-book-step__title {
  margin: 0 0 8px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.25rem, 2.2vw, 1.45rem);
  line-height: 1.2;
  color: var(--charcoal, #2a2a2a);
}

.pl-book-step__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--muted, #6e6e6e);
}

.pl-book-value {
  list-style: none;
  margin: 0;
  padding: var(--space-20) var(--space-24);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
  background: linear-gradient(165deg, #f4f7f4 0%, #ffffff 60%, #f7f4ef 100%);
  border: 1px solid rgba(36, 49, 40, 0.1);
  border-radius: 24px;
}

.pl-book-highlights {
  list-style: none;
  margin: 0;
  padding: var(--space-20) var(--space-24);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 22px;
  background: linear-gradient(165deg, #f4f7f4 0%, #ffffff 60%, #f7f4ef 100%);
  border: 1px solid rgba(36, 49, 40, 0.1);
  border-radius: 24px;
}

.pl-book-value li,
.pl-book-highlights li {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--muted, #6e6e6e);
}

.pl-book-value strong,
.pl-book-highlights strong {
  display: block;
  margin-bottom: 2px;
  color: var(--charcoal, #2a2a2a);
  font-weight: 600;
  font-size: 0.92rem;
}

.pl-book-value a {
  color: var(--sage);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Full wrap width — match .pl-email-capture card below (no tighter max-width) */
.pl-book-faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
  width: 100%;
  margin: 0;
  padding: 10px 8px;
  border: 1px solid rgba(36, 49, 40, 0.08);
  border-radius: 28px;
  background: linear-gradient(165deg, #ffffff 0%, #f7f4ef 100%);
  box-shadow: var(--shadow-soft);
  box-sizing: border-box;
}

.pl-book-faq__col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.pl-book-faq__col:first-child {
  padding-left: 10px;
  border-right: 1px solid rgba(36, 49, 40, 0.08);
  padding-right: 18px;
}

.pl-book-faq__col:last-child {
  padding-right: 10px;
  padding-left: 6px;
}

.pl-book-faq__item {
  border-bottom: 1px solid rgba(36, 49, 40, 0.09);
  transition: background 0.2s ease;
}

.pl-book-faq__item:last-child {
  border-bottom: none;
}

.pl-book-faq__item[open] {
  background: rgba(111, 138, 112, 0.06);
  border-radius: 16px;
  border-bottom-color: transparent;
  margin: 4px 0;
}

.pl-book-faq__q {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  list-style: none;
  cursor: pointer;
  padding: 18px 14px;
  min-height: 56px;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.pl-book-faq__q::-webkit-details-marker {
  display: none;
}

.pl-book-faq__q-text {
  flex: 1;
  min-width: 0;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: var(--charcoal, #2a2a2a);
  text-align: left;
  transition: color 0.2s ease;
}

.pl-book-faq__q:hover .pl-book-faq__q-text {
  color: var(--sage-dark, #5d7863);
}

.pl-book-faq__icon {
  flex-shrink: 0;
  position: relative;
  width: 28px;
  height: 28px;
  margin-top: 1px;
  border-radius: 999px;
  border: 1.5px solid rgba(111, 138, 112, 0.45);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 1px 2px rgba(36, 49, 40, 0.04);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.pl-book-faq__icon::before,
.pl-book-faq__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--sage, #6f8a70);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.pl-book-faq__icon::before {
  width: 11px;
  height: 1.5px;
}

.pl-book-faq__icon::after {
  width: 1.5px;
  height: 11px;
}

.pl-book-faq__q:hover .pl-book-faq__icon {
  border-color: var(--sage, #6f8a70);
  background: #fff;
}

.pl-book-faq__item[open] .pl-book-faq__icon {
  border-color: var(--sage, #6f8a70);
  background: rgba(111, 138, 112, 0.12);
}

.pl-book-faq__item[open] .pl-book-faq__icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) scaleY(0);
}

.pl-book-faq__item[open] .pl-book-faq__q-text {
  color: var(--sage-dark, #5d7863);
}

.pl-book-faq__a {
  margin: 0;
  padding: 0 46px 18px 14px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted, #6e6e6e);
}

.pl-book-faq__a a {
  color: var(--sage);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.book-section-head--faq .eyebrow {
  margin-bottom: 10px;
}

.book-section-head--faq .section-heading {
  margin-bottom: 0;
  letter-spacing: -0.015em;
}

.book-section-head--faq .section-lead {
  margin-top: 14px;
  font-size: 1.05rem;
  max-width: 58ch;
}

@media (max-width: 900px) {
  .pl-book-steps {
    grid-template-columns: 1fr;
  }

  .pl-book-value,
  .pl-book-highlights {
    grid-template-columns: 1fr;
  }

  .pl-book-faq {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 8px 6px;
  }

  .pl-book-faq__col:first-child {
    padding: 0 6px;
    border-right: none;
    border-bottom: 1px solid rgba(36, 49, 40, 0.08);
  }

  .pl-book-faq__col:last-child {
    padding: 0 6px;
  }
}

@media (max-width: 640px) {
  .pl-book-step {
    padding: var(--space-24);
  }

  .pl-book-value,
  .pl-book-highlights {
    padding: var(--space-16) var(--space-18);
  }

  .pl-book-faq {
    padding: 6px 4px;
    border-radius: 24px;
  }

  .pl-book-faq__q {
    padding: 16px 12px;
    gap: 12px;
  }

  .pl-book-faq__q-text {
    font-size: 0.98rem;
  }

  .pl-book-faq__a {
    padding: 0 40px 16px 12px;
    font-size: 0.92rem;
  }

  .pl-book-faq__icon {
    width: 26px;
    height: 26px;
  }
}

/* Returning guest flywheel — premium, not coupon-y */
.pl-return-guest {
  padding: var(--space-24) var(--space-28);
  background: linear-gradient(165deg, #f4f7f4 0%, #ffffff 55%, #f7f4ef 100%);
  border: 1px solid rgba(36, 49, 40, 0.1);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.pl-return-guest__eyebrow {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
}

.pl-return-guest__title {
  margin: 0 0 10px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.55rem, 3vw, 1.95rem);
  line-height: 1.15;
  color: var(--charcoal, #2a2a2a);
}

.pl-return-guest__lead {
  margin: 0 0 var(--space-20);
  max-width: 58ch;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--muted, #6e6e6e);
}

.pl-return-guest__lead strong {
  color: var(--charcoal, #2a2a2a);
  font-weight: 600;
}

.pl-return-guest__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

@media (max-width: 640px) {
  .pl-return-guest {
    padding: var(--space-20) var(--space-20);
  }

  .pl-return-guest__actions .btn {
    flex: 1 1 100%;
    justify-content: center;
  }
}

.book-section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto var(--space-32);
}

.book-section-head .section-lead {
  margin: var(--space-12) auto 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.book-unit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-24);
  align-items: stretch;
  scroll-margin-top: 108px;
}

.book-unit-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: linear-gradient(180deg, #ffffff 0%, #fcfaf6 100%);
  border: 1px solid rgba(36, 49, 40, 0.08);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.book-unit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 52px rgba(36, 49, 40, 0.12);
}

.book-unit-card__media {
  position: relative;
  display: block;
  width: 100%;
  height: 260px;
  overflow: hidden;
  border: 0;
  padding: 0;
  margin: 0;
  background: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.book-unit-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.book-unit-card:hover .book-unit-card__media img {
  transform: scale(1.03);
}

.book-unit-card__body {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.65rem 1.65rem 0;
  min-height: 0;
}

.book-unit-card__num {
  position: absolute;
  top: 1.1rem;
  right: 1.25rem;
  z-index: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.8rem, 5vw, 3.6rem);
  font-weight: 600;
  line-height: 1;
  color: rgba(12, 14, 18, 0.11);
  pointer-events: none;
}

.book-unit-card__eyebrow,
.book-unit-card__title-link,
.book-unit-card__text,
.book-unit-card__stats,
.book-unit-card__actions {
  position: relative;
  z-index: 1;
}

.book-unit-card__eyebrow {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
}

.book-unit-card__title {
  margin: 0 0 12px;
  font-size: clamp(1.65rem, 2.8vw, 2rem);
  line-height: 1.02;
}

.book-unit-card__title-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.book-unit-card__title-link:hover .book-unit-card__title {
  text-decoration: underline;
}

.book-unit-card__text {
  margin: 0 0 18px;
  font-size: 0.96rem;
  line-height: 1.72;
  color: #4e4e4e;
  font-family: Inter, system-ui, sans-serif;
}

.book-unit-card__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.book-unit-card__stats .property-stat {
  margin: 0;
}

.book-unit-card__actions {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-bottom: 1.65rem;
}

.book-unit-card__actions .btn {
  min-height: var(--pill-card-height);
  padding: 0 var(--pill-card-padding-x);
  font-size: var(--pill-card-font-size);
  box-shadow: none;
  width: 100%;
}

.book-unit-card__actions .btn.secondary {
  background: #fff;
  color: #556b4f;
  border-color: rgba(85, 107, 79, 0.35);
}

/* Gallery modal */
.book-gallery-modal[hidden] {
  display: none;
}

.book-gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.56);
  backdrop-filter: blur(4px);
}

.book-gallery-modal__dialog {
  width: min(100%, 880px);
  max-height: min(92vh, 920px);
  overflow: auto;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
  padding: 24px;
  position: relative;
}

.book-gallery-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 999px;
  background: #fff;
  color: #3d3d3d;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.book-gallery-modal__title {
  margin: 0 32px 14px 0;
  text-align: center;
  font-size: clamp(1.8rem, 3.1vw, 2.4rem);
  line-height: 1.04;
}

.book-gallery-modal__frame {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 22px;
  overflow: hidden;
  background: #ece7de;
  margin-bottom: 12px;
}

.book-gallery-modal__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book-gallery-modal__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #222;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.book-gallery-modal__nav--prev {
  left: 16px;
}

.book-gallery-modal__nav--next {
  right: 16px;
}

.book-gallery-modal__dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 80%;
}

.book-gallery-modal__dot {
  width: 9px;
  height: 9px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  padding: 0;
}

.book-gallery-modal__dot.is-active {
  background: #fff;
}

.book-gallery-modal__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  color: #5a5a5a;
  font-size: 0.96rem;
  font-family: Inter, system-ui, sans-serif;
}

.book-gallery-modal__meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.book-gallery-modal__meta li + li::before {
  content: '•';
  margin-right: 12px;
  color: #8b8379;
}

.book-gallery-modal__description {
  margin: 0 0 18px;
  font-size: 1rem;
  line-height: 1.65;
  color: #333;
  font-family: Inter, system-ui, sans-serif;
}

.book-gallery-modal__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.book-gallery-modal__actions .btn {
  min-height: var(--pill-card-height);
  box-shadow: none;
}

@media (max-width: 980px) {
  .book-unit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .property-page.book-page .property-social-proof {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .book-unit-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    scroll-margin-top: 84px;
  }

  .book-unit-card__media {
    height: 240px;
  }

  .book-unit-card__actions {
    grid-template-columns: 1fr;
  }

  .book-gallery-modal {
    padding: 12px;
  }

  .book-gallery-modal__dialog {
    border-radius: 24px;
    max-height: min(94vh, 760px);
    padding: 16px;
  }

  .book-gallery-modal__title {
    margin: 0 36px 12px 0;
    font-size: clamp(1.45rem, 7.2vw, 2rem);
    padding: 0 10px;
  }

  .book-gallery-modal__nav {
    width: 40px;
    height: 40px;
  }

  .book-gallery-modal__nav--prev {
    left: 10px;
  }

  .book-gallery-modal__nav--next {
    right: 10px;
  }

  .book-gallery-modal__actions {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .book-page .property-hero__cta .btn {
    width: 100%;
  }
}

/* Book hub mobile hero — full-width stat stack, clearer rhythm, premium text links */
@media (max-width: 640px) {
  .book-page .property-hero__content {
    padding-top: 92px;
    padding-bottom: 36px;
  }

  .book-page .property-hero .eyebrow {
    margin-bottom: 14px;
  }

  .book-page .property-hero h1 {
    margin-bottom: 14px;
    max-width: 12ch;
  }

  .book-page .property-hero-trust {
    margin-bottom: 12px;
  }

  .book-page .book-hero-units {
    margin-bottom: 16px;
  }

  /* Unit chips + trust replace the old 3-stat stack above the fold */
  .book-page .property-hero .property-stats {
    display: none;
  }

  .book-page .property-hero .lead {
    max-width: none;
    margin-bottom: 22px;
    -webkit-line-clamp: 4;
  }

  .book-page .property-hero__cta {
    gap: 18px;
    max-width: 100%;
  }

  .book-page .property-hero__links {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-top: 4px;
    padding-top: 0;
  }

  .book-page .property-hero__links a {
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    border-bottom: none;
    padding-bottom: 0;
    color: rgba(255, 255, 255, 0.88);
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 100% 1px;
    opacity: 0.92;
  }

  .book-page .property-hero__links a:hover {
    opacity: 1;
    color: #fff;
    border-bottom-color: transparent;
  }

  .book-page .wrap.section {
    gap: var(--space-28);
    padding-block: var(--space-32);
  }

  .book-page .book-section-head {
    margin-bottom: var(--space-28);
  }
}

/* Compact footer — /book/ only (less scroll, keeps SEO links) */
.pl-site-footer--compact .pl-site-footer__wrap {
  padding: 22px 20px 20px;
}

.pl-site-footer--compact .pl-site-footer__top {
  grid-template-columns: 1.1fr 1fr;
  gap: 20px 24px;
}

.pl-site-footer--compact .pl-site-footer__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
}

.pl-site-footer--compact img {
  height: 42px;
}

.pl-site-footer--compact .pl-site-footer__copy {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.55;
  max-width: 36ch;
}

.pl-site-footer--compact .pl-site-footer__version {
  margin-top: 8px;
}

.pl-site-footer--compact .pl-site-footer__col-heading {
  margin-bottom: 8px;
  letter-spacing: 0.22em;
}

.pl-site-footer--compact .pl-site-footer__links {
  gap: 6px;
  font-size: 14px;
  line-height: 1.5;
}

.pl-site-footer--compact .pl-site-footer__matrix {
  padding: 0 20px 16px;
}

.pl-site-footer--compact .pl-site-footer__matrix-details {
  display: block;
}

.pl-site-footer--compact .pl-site-footer__matrix-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 28px;
  align-items: start;
}

.pl-site-footer--compact .pl-site-footer__matrix-list {
  gap: 5px;
}

.pl-site-footer--compact .pl-site-footer__matrix-list a {
  font-size: 13px;
  line-height: 1.45;
}

.pl-site-footer--compact .pl-site-footer__matrix-toggle {
  display: none;
  list-style: none;
  cursor: pointer;
  margin: 0;
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  text-align: center;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.pl-site-footer--compact .pl-site-footer__matrix-toggle::-webkit-details-marker {
  display: none;
}

.pl-site-footer--compact .pl-site-footer__matrix-toggle::after {
  content: " +";
  font-weight: 400;
  letter-spacing: 0;
}

.pl-site-footer--compact .pl-site-footer__matrix-details[open] .pl-site-footer__matrix-toggle::after {
  content: " −";
}

.pl-site-footer--compact .pl-site-footer__matrix-toggle:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.pl-site-footer--compact .pl-site-footer__matrix-home {
  grid-column: 1 / -1;
  margin: 10px 0 0;
  font-size: 13px;
}

.pl-site-footer--compact .pl-site-footer__matrix-home a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

.pl-site-footer--compact .pl-site-footer__matrix-home a:hover {
  color: #fff;
}

.pl-site-footer--compact .pl-site-footer__meta {
  padding: 0 20px 20px;
}

.pl-site-footer--compact .pl-site-footer__meta p {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .pl-site-footer--compact .pl-site-footer__wrap {
    padding: 28px 20px 22px;
  }

  .pl-site-footer--compact .pl-site-footer__top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .pl-site-footer--compact .pl-site-footer__cols {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pl-site-footer--compact .pl-site-footer__copy {
    max-width: none;
    font-size: 14px;
    line-height: 1.65;
  }

  .pl-site-footer--compact .pl-site-footer__links {
    gap: 10px;
    font-size: 15px;
    line-height: 1.55;
  }

  .pl-site-footer--compact .pl-site-footer__links a[href^="mailto:"] {
    display: block;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.45;
  }

  .pl-site-footer--compact .pl-site-footer__matrix {
    padding: 0 20px 20px;
  }

  .pl-site-footer--compact .pl-site-footer__matrix > .pl-site-footer__col-heading {
    display: none;
  }

  .pl-site-footer--compact .pl-site-footer__matrix-toggle {
    display: block;
    margin: 0;
    padding: 14px 18px;
    font-size: 12px;
    letter-spacing: 0.14em;
  }

  .pl-site-footer--compact .pl-site-footer__matrix-inner {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 14px;
  }

  .pl-site-footer--compact .pl-site-footer__matrix-list {
    gap: 10px;
  }

  .pl-site-footer--compact .pl-site-footer__matrix-list a {
    font-size: 14px;
    line-height: 1.5;
  }

  .pl-site-footer--compact .pl-site-footer__matrix-home {
    margin-top: 6px;
  }

  .pl-site-footer--compact .pl-site-footer__meta {
    padding: 0 20px 24px;
  }

  .pl-site-footer--compact .pl-site-footer__meta p {
    margin-top: 14px;
    line-height: 1.65;
  }
}

@media (min-width: 981px) {
  .pl-site-footer--compact .pl-site-footer__matrix-details > summary {
    display: none;
  }

  /* Keep SEO guide links visible on desktop even if details is closed */
  .pl-site-footer--compact .pl-site-footer__matrix-details .pl-site-footer__matrix-inner,
  .pl-site-footer--compact .pl-site-footer__matrix-details:not([open]) .pl-site-footer__matrix-inner {
    display: grid;
  }

  .pl-site-footer--compact .pl-site-footer__matrix-home {
    display: none;
  }
}

/* Guest email capture — compact premium panel */
.pl-email-capture__hp,
.pl-email-capture .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pl-email-capture {
  padding: var(--space-24) var(--space-28);
  background: linear-gradient(165deg, #ffffff 0%, #f7f4ef 100%);
  border: 1px solid rgba(36, 49, 40, 0.08);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.pl-email-capture__eyebrow {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
}

.pl-email-capture__title {
  margin: 0 0 8px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.55rem, 3vw, 1.9rem);
  line-height: 1.15;
  color: var(--charcoal, #2a2a2a);
}

.pl-email-capture__lead {
  margin: 0 0 var(--space-20);
  max-width: 54ch;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--muted, #6e6e6e);
}

.pl-email-capture__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pl-email-capture__row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}

.pl-email-capture__input {
  flex: 1 1 220px;
  min-width: 0;
  min-height: var(--pill-card-height);
  height: var(--pill-card-height);
  box-sizing: border-box;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(36, 49, 40, 0.16);
  background: #fff;
  font-size: 16px;
  line-height: 1.2;
  color: #2a2a2a;
  outline: none;
}

.pl-email-capture__input:focus {
  border-color: rgba(85, 107, 79, 0.55);
  box-shadow: 0 0 0 3px rgba(85, 107, 79, 0.12);
}

.pl-email-capture__submit {
  flex: 0 0 auto;
  min-height: var(--pill-card-height);
  height: var(--pill-card-height);
  box-sizing: border-box;
  padding: 0 var(--pill-card-padding-x, 22px);
  border: 0;
  border-radius: 999px;
  background: var(--sage, #556b4f);
  color: #fff;
  font-size: var(--pill-card-font-size, 0.9rem);
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.2s ease;
}

.pl-email-capture__submit:hover:not(:disabled) {
  background: var(--sage-dark, #445640);
}

.pl-email-capture__submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.pl-email-capture__consent {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #6a6a6a;
}

.pl-email-capture__consent a {
  color: var(--sage, #556b4f);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pl-email-capture__status {
  margin: 0;
  font-size: 0.88rem;
  color: #6a3a3a;
}

.pl-email-capture__status[hidden],
.pl-email-capture__success[hidden] {
  display: none !important;
}

.pl-email-capture__success {
  margin: 0;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(85, 107, 79, 0.1);
  color: #2f3d2c;
  font-size: 0.98rem;
  line-height: 1.55;
}

.pl-email-capture__success strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.05rem;
}

@media (max-width: 640px) {
  .pl-email-capture {
    padding: var(--space-24);
  }

  .pl-email-capture__row {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  /* Column flex: flex-basis applies to HEIGHT — reset so input stays a single-line pill, not a 220px oval */
  .pl-email-capture__input {
    flex: 0 0 auto;
    width: 100%;
    min-height: var(--pill-card-height);
    height: var(--pill-card-height);
    max-height: var(--pill-card-height);
  }

  .pl-email-capture__submit {
    flex: 0 0 auto;
    width: 100%;
    min-height: var(--pill-card-height);
    height: var(--pill-card-height);
  }
}
