/* Bespoke Co Living: content pages (Why Us, For Homeowners, FAQs, About Us, Contact Us).
   Mobile first. Uses the colour tokens from style.css. Spacing follows a 4/8px rhythm. */

.pg-page { background: var(--background); color: var(--foreground); }
.pg-page main { display: block; }
.pg-page :focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
.pg-page a, .pg-page button, .pg-page summary, .pg-page label { -webkit-tap-highlight-color: transparent; }
.pg-page button, .pg-page summary, .pg-choice { cursor: pointer; touch-action: manipulation; }

/* type */
.pg-h2 { font-family: "DM Serif Display", Georgia, serif; font-weight: 400; letter-spacing: -.01em;
  font-size: clamp(1.9rem, 1.35rem + 2.2vw, 2.75rem); line-height: 1.1; text-wrap: balance; }
.pg-h3 { font-family: "DM Serif Display", Georgia, serif; font-weight: 400; font-size: 1.3rem; line-height: 1.25; }
.pg-lead { margin-top: 1rem; max-width: 40rem; font-size: 1.0625rem; line-height: 1.65; color: var(--muted-foreground); }
.pg-body { margin-top: 1rem; max-width: 36rem; line-height: 1.7; color: var(--muted-foreground); }
.pg-textlink { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; font-size: .9375rem; font-weight: 600;
  text-decoration: underline; text-decoration-color: color-mix(in oklch, var(--primary) 70%, transparent);
  text-decoration-thickness: 2px; text-underline-offset: 5px; transition: text-decoration-color .2s; }
.pg-textlink:hover { text-decoration-color: currentColor; }
.pg-textlink svg { transition: transform .2s; }
.pg-textlink:hover svg { transform: translateX(3px); }

/* buttons */
.pg-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.pg-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3rem; padding: 0 1.6rem;
  border: 1px solid transparent; border-radius: 999px; font-size: .9375rem; font-weight: 600; line-height: 1.2; text-align: center;
  transition: background-color .2s, border-color .2s, color .2s, transform .1s; }
.pg-btn:active { transform: scale(.98); }
.pg-btn svg { width: 1.05rem; height: 1.05rem; flex-shrink: 0; }
.pg-btn--primary { background: var(--primary); color: var(--primary-foreground); }
.pg-btn--primary:hover { background: var(--primary-hover); }
.pg-btn--ghost { border-color: color-mix(in oklch, var(--ink-foreground) 45%, transparent); color: var(--ink-foreground); }
.pg-btn--ghost:hover { background: color-mix(in oklch, var(--ink-foreground) 12%, transparent); }
.pg-btn--ghost-light { border-color: color-mix(in oklch, var(--ink-foreground) 35%, transparent); color: var(--ink-foreground); }
.pg-btn--ghost-light:hover { background: color-mix(in oklch, var(--ink-foreground) 12%, transparent); }
.pg-btn--outline { border-color: var(--input); background: var(--background); color: var(--foreground); }
.pg-btn--outline:hover { background: var(--secondary); border-color: var(--ring); }
.pg-btn[disabled] { opacity: .5; cursor: not-allowed; }
@media (max-width: 29.999rem) { .pg-hero .pg-actions .pg-btn, .pg-cta .pg-btn { flex: 1 1 100%; } }

/* hero */
.pg-hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end;
  min-height: 34rem; padding: calc(72px + 3.5rem) 0 3.5rem; background: var(--ink); color: var(--ink-foreground); }
.pg-hero--compact { min-height: 24rem; }
.pg-hero-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.pg-hero-shade { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, oklch(18% .004 90 / .88) 0%, oklch(18% .004 90 / .62) 55%, oklch(18% .004 90 / .3) 100%),
              linear-gradient(0deg, oklch(18% .004 90 / .55) 0%, transparent 45%); }
.pg-hero-inner { width: 100%; }
.pg-hero-title { margin-top: 1.1rem; max-width: 46rem; font-family: "DM Serif Display", Georgia, serif; font-weight: 400;
  font-size: clamp(2.4rem, 1.5rem + 4.2vw, 4.25rem); line-height: 1.04; letter-spacing: -.015em; text-wrap: balance; }
.pg-hero-lead { margin-top: 1.25rem; max-width: 38rem; font-size: clamp(1rem, .95rem + .3vw, 1.15rem); line-height: 1.65;
  color: color-mix(in oklch, var(--ink-foreground) 84%, transparent); }
@media (min-width: 48rem) {
  .pg-hero { min-height: 38rem; align-items: center; padding-bottom: 4.5rem; }
  .pg-hero--compact { min-height: 27rem; align-items: flex-end; }
}
@media (prefers-reduced-motion: no-preference) {
  .pg-hero-img { animation: pg-hero-zoom 14s ease-out both; }
  .pg-hero-inner > * { animation: pg-rise .8s cubic-bezier(.22, 1, .36, 1) both; }
  .pg-hero-inner > :nth-child(2) { animation-delay: .06s; }
  .pg-hero-inner > :nth-child(3) { animation-delay: .12s; }
  .pg-hero-inner > :nth-child(4) { animation-delay: .18s; }
}
@keyframes pg-hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes pg-rise { from { opacity: 0; transform: translate3d(0, 16px, 0); } to { opacity: 1; transform: none; } }

/* sections */
.pg-section { padding: 4rem 0; }
.pg-section--tight { padding: 0; }
.pg-section--cream { background: var(--cream); }
.pg-section--sand { background: var(--sand); }
.pg-section--ink { background: var(--ink); color: var(--ink-foreground); }
.pg-section--ink .pg-lead { color: color-mix(in oklch, var(--ink-foreground) 75%, transparent); }
@media (min-width: 64rem) { .pg-section { padding: 6rem 0; } .pg-section--tight { padding: 0; } }
.pg-head { max-width: 44rem; }
.pg-head .pg-h2 { margin-top: .9rem; }
.pg-head--center { margin-inline: auto; text-align: center; }
.pg-head--center .eyebrow { justify-content: center; }
.pg-head + .pg-cards, .pg-head + .pg-steps, .pg-head + .pg-map { margin-top: 2.5rem; }

/* stats band: overlaps the hero edge on larger screens */
.pg-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0; overflow: hidden;
  border: 1px solid var(--border); border-radius: 1.5rem; background: var(--border); transform: translateY(-2rem);
  box-shadow: 0 1px 2px oklch(22% .003 90 / .04), 0 12px 32px oklch(22% .003 90 / .07); }
.pg-stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: .35rem; padding: 1.1rem 1.1rem 1.2rem; background: var(--card); }
.pg-stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
.pg-stat dd { margin: 0; font-family: "DM Serif Display", Georgia, serif; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); line-height: 1;
  font-variant-numeric: tabular-nums; }
.pg-stat dt { font-size: .8125rem; line-height: 1.35; color: var(--muted-foreground); }
@media (min-width: 48rem) {
  .pg-stats { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); grid-template-columns: none; transform: translateY(-3rem); }
  .pg-stat:last-child:nth-child(odd) { grid-column: auto; }
  .pg-stat { padding: 1.5rem 1.4rem; }
}

/* cards */
.pg-cards { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 40rem) { .pg-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .pg-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } .pg-cards--four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pg-card { position: relative; padding: 1.5rem; border: 1px solid var(--border); border-radius: 1.5rem; background: var(--card);
  transition: border-color .25s, box-shadow .25s, transform .25s; }
.pg-card:hover { border-color: color-mix(in oklch, var(--primary) 55%, var(--border));
  box-shadow: 0 2px 4px oklch(22% .003 90 / .04), 0 16px 36px oklch(22% .003 90 / .08); }
.pg-card .pg-h3 { margin-top: 1.1rem; }
.pg-card p { margin-top: .5rem; font-size: .9375rem; line-height: 1.65; color: var(--muted-foreground); }
.pg-card-icon { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; flex-shrink: 0; border-radius: .9rem;
  background: var(--accent); color: oklch(45% .1 80); box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--primary) 40%, transparent); }

/* split layouts */
.pg-split { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 64rem) {
  .pg-split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 4rem; }
  .pg-split--wide { grid-template-columns: minmax(0, 1fr); }
  .pg-split--form { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}
@media (min-width: 80rem) { .pg-split--wide { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; } }
@media (min-width: 64rem) and (max-width: 79.999rem) {
  .pg-split--wide .pg-figure img { aspect-ratio: 21 / 9; }
}
.pg-figure { margin: 0; }
.pg-figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 1.5rem; }
.pg-figure figcaption { margin-top: .7rem; font-size: .8125rem; color: var(--muted-foreground); }
@media (max-width: 63.999rem) { .pg-figure img { aspect-ratio: 16 / 10; } }

/* table -> stacked cards on phones */
.pg-table-wrap { margin-top: 2rem; }
.pg-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .9375rem; }
.pg-table th, .pg-table td { padding: .9rem 1rem; text-align: left; vertical-align: top; }
.pg-table thead th { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-foreground);
  border-bottom: 1px solid var(--border); }
.pg-table tbody th a { display: inline-flex; align-items: center; min-height: 44px; margin: -.6rem 0; font-weight: 600; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; }
.pg-table tbody th a:hover { text-decoration-color: currentColor; }
.pg-table tbody tr + tr > * { border-top: 1px solid var(--border); }
.pg-table td:nth-child(4), .pg-table td:nth-child(5) { font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (min-width: 40rem) {
  .pg-table-wrap { overflow: hidden; border: 1px solid var(--border); border-radius: 1.25rem; background: var(--card); }
}
@media (max-width: 39.999rem) {
  .pg-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .pg-table, .pg-table tbody, .pg-table tr, .pg-table th, .pg-table td { display: block; }
  .pg-table tbody { display: grid; gap: .75rem; }
  .pg-table tr { padding: 1rem 1.1rem; border: 1px solid var(--border); border-radius: 1.1rem; background: var(--card); }
  .pg-table tbody tr + tr > * { border-top: 0; }
  .pg-table th { padding: 0 0 .5rem; font-family: "DM Serif Display", Georgia, serif; font-size: 1.2rem; font-weight: 400; }
  .pg-table td { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; }
  .pg-table td::before { content: attr(data-label); color: var(--muted-foreground); }
}

/* costs */
.pg-costs { display: grid; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.pg-costs li { display: grid; gap: .2rem; padding: 1.15rem 1.25rem; border: 1px solid var(--border); border-radius: 1.1rem; background: var(--card); }
@media (min-width: 40rem) { .pg-costs li { grid-template-columns: minmax(0, 1fr) auto; column-gap: 1.5rem; } .pg-costs-note { grid-column: 1 / -1; } }
.pg-costs-label { font-weight: 600; }
.pg-costs-value { font-weight: 600; font-variant-numeric: tabular-nums; color: oklch(40% .08 80); }
.pg-costs-note { font-size: .875rem; line-height: 1.55; color: var(--muted-foreground); }

/* steps */
.pg-steps { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; counter-reset: step; }
@media (min-width: 40rem) { .pg-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .pg-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; } }
.pg-step { position: relative; padding: 1.5rem; border-radius: 1.5rem; background: var(--card); border: 1px solid var(--border); }
.pg-step-num { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 999px; background: var(--ink);
  color: var(--ink-foreground); font-family: "DM Serif Display", Georgia, serif; font-size: 1.15rem; }
.pg-step .pg-h3 { margin-top: 1rem; }
.pg-step p { margin-top: .5rem; font-size: .9375rem; line-height: 1.65; color: var(--muted-foreground); }

/* CTA: a yellow card on cream, so it never merges with the dark footer below */
.pg-section--cta { padding: 3rem 0 4rem; background: var(--cream); }
@media (min-width: 64rem) { .pg-section--cta { padding: 4rem 0 6rem; } }
.pg-cta { position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 1.5rem; align-items: center;
  padding: 2.25rem 1.5rem; border-radius: 2rem; background: var(--primary); color: var(--primary-foreground);
  box-shadow: 0 2px 4px oklch(22% .003 90 / .06), 0 24px 48px oklch(62% .12 85 / .25); }
.pg-cta::before { content: ""; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(120% 140% at 100% 0%, oklch(92% .12 92) 0%, transparent 55%),
              radial-gradient(90% 120% at 0% 100%, oklch(80% .15 80) 0%, transparent 60%); }
.pg-cta-art { position: absolute; z-index: -1; right: -2.5rem; bottom: -3.5rem; width: 15rem; height: 15rem; color: oklch(22% .003 90 / .09); }
.pg-cta .pg-h2 { max-width: 34rem; }
.pg-cta .pg-lead { color: oklch(22% .003 90 / .75); max-width: 34rem; }
.pg-cta .pg-actions { margin-top: 0; }
.pg-cta .pg-btn--primary { background: var(--ink); color: var(--ink-foreground); }
.pg-cta .pg-btn--primary:hover { background: oklch(32% .004 90); }
.pg-cta .pg-btn--ghost-light, .pg-cta .pg-btn--ghost { border-color: oklch(22% .003 90 / .45); color: var(--primary-foreground); background: transparent; }
.pg-cta .pg-btn--ghost-light:hover, .pg-cta .pg-btn--ghost:hover { background: oklch(22% .003 90 / .08); border-color: var(--primary-foreground); }
.pg-cta .pg-btn:focus-visible { outline-color: var(--ink); }
@media (min-width: 40rem) { .pg-cta { padding: 3rem; } .pg-cta-art { width: 20rem; height: 20rem; right: -3rem; bottom: -5rem; } }
@media (min-width: 64rem) {
  .pg-cta { grid-template-columns: minmax(0, 1fr) auto; gap: 3rem; padding: 3.5rem 4rem; }
  .pg-cta-art { width: 22rem; height: 22rem; right: -1rem; bottom: -8rem; }
}

/* homes lists */
.pg-homes { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.pg-homes li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 1rem;
  padding: .9rem 1.1rem; border: 1px solid var(--border); border-radius: 1rem; background: var(--card); }
.pg-homes-name { font-weight: 600; }
.pg-homes-meta { font-size: .875rem; color: var(--muted-foreground); }
.pg-homes--plain li { padding: .65rem 0; border: 0; border-top: 1px solid var(--border); border-radius: 0; background: transparent; }
.pg-homes--plain li .pg-homes-meta { flex-basis: 100%; }

/* about: map and neighbourhoods */
.pg-map { position: relative; height: 22rem; overflow: hidden; border: 1px solid var(--border); border-radius: 1.5rem; background: var(--muted); z-index: 0; }
@media (min-width: 64rem) { .pg-map { height: 30rem; } }
.pg-nbs { margin-top: 1.5rem; column-gap: 1rem; }
@media (min-width: 40rem) { .pg-nbs { column-count: 2; } }
@media (min-width: 64rem) { .pg-nbs { column-count: 3; } }
.pg-nb { break-inside: avoid; margin-bottom: 1rem; padding: 1.25rem 1.35rem .75rem; border: 1px solid var(--border); border-radius: 1.25rem; background: var(--card); }
.pg-nb header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem .75rem; }
.pg-nb header .pg-textlink { min-height: 44px; font-size: .875rem; }
.pg-nb > p { margin: .1rem 0 .6rem; font-size: .875rem; line-height: 1.55; color: var(--muted-foreground); }

/* FAQs */
.pg-faq-layout { display: grid; gap: 2rem; }
@media (min-width: 64rem) { .pg-faq-layout { grid-template-columns: 18rem minmax(0, 1fr); gap: 3.5rem; align-items: start; } }
.pg-faq-tools { display: grid; gap: .75rem; }
@media (min-width: 64rem) { .pg-faq-tools { position: sticky; top: calc(72px + 1.5rem); } }
.pg-search { position: relative; }
.pg-search > svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted-foreground); pointer-events: none; }
.pg-search .pg-input { padding-left: 2.85rem; }
.pg-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.pg-chip { min-height: 44px; padding: 0 1rem; border: 1px solid var(--border); border-radius: 999px; background: var(--card);
  font-size: .875rem; font-weight: 600; transition: background-color .2s, border-color .2s, color .2s; }
.pg-chip:hover { border-color: var(--ring); }
.pg-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--ink-foreground); }
.pg-faq-count { font-size: .8125rem; color: var(--muted-foreground); min-height: 1.25rem; }
.pg-faq-groups { display: grid; gap: 2.25rem; }
.pg-faq-group[hidden] { display: none; }
.pg-faq-title { margin-bottom: .75rem; }
.pg-faq { display: grid; gap: .6rem; }
.pg-faq-item { border: 1px solid var(--border); border-radius: 1.1rem; background: var(--card); transition: border-color .2s, box-shadow .2s; }
.pg-faq-item[hidden] { display: none; }
.pg-faq-item[open] { border-color: color-mix(in oklch, var(--primary) 60%, var(--border)); box-shadow: 0 10px 28px oklch(22% .003 90 / .06); }
.pg-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.5rem;
  padding: .9rem 1.15rem; list-style: none; border-radius: 1.1rem; }
.pg-faq-item summary::-webkit-details-marker { display: none; }
.pg-faq-item summary:hover .pg-faq-q { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: color-mix(in oklch, var(--foreground) 35%, transparent); }
.pg-faq-q { font-weight: 600; line-height: 1.45; }
.pg-faq-icon { display: inline-grid; place-items: center; width: 2rem; height: 2rem; flex-shrink: 0; border-radius: 999px; background: var(--muted);
  transition: transform .25s cubic-bezier(.22, 1, .36, 1), background-color .2s; }
.pg-faq-item[open] .pg-faq-icon { transform: rotate(180deg); background: var(--primary); }
.pg-faq-a { padding: 0 1.15rem 1.15rem; }
.pg-faq-a p { max-width: 42rem; line-height: 1.7; color: var(--muted-foreground); }
@media (prefers-reduced-motion: no-preference) { .pg-faq-item[open] .pg-faq-a { animation: pg-rise .3s ease-out both; } }
.pg-faq--compact { margin-top: 1.75rem; }
.pg-empty { display: grid; justify-items: start; gap: .6rem; padding: 2rem; border: 1px dashed var(--border); border-radius: 1.25rem; background: var(--card); }
.pg-empty[hidden] { display: none; }
.pg-empty p:not(.pg-h3) { color: var(--muted-foreground); }
mark.pg-hit { background: color-mix(in oklch, var(--primary) 45%, transparent); color: inherit; border-radius: .2rem; padding: 0 .1rem; }

/* forms */
.pg-form { padding: 1.5rem; border: 1px solid var(--border); border-radius: 1.5rem; background: var(--card);
  box-shadow: 0 1px 2px oklch(22% .003 90 / .04), 0 12px 32px oklch(22% .003 90 / .07); }
@media (min-width: 40rem) { .pg-form { padding: 2rem; } }
.pg-form-title { font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); margin-bottom: 1.25rem; }
.pg-form-grid { display: grid; gap: 0 1rem; }
@media (min-width: 40rem) { .pg-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pg-field { margin-bottom: 1.1rem; min-width: 0; }
.pg-label { display: block; margin-bottom: .45rem; font-size: .875rem; font-weight: 600; }
.pg-req { color: oklch(52% .17 30); }
.pg-optional { font-weight: 400; color: var(--muted-foreground); }
.pg-input { display: block; width: 100%; min-height: 3rem; padding: .7rem 1rem; border: 1px solid var(--input); border-radius: .85rem;
  background: var(--background); color: var(--foreground); font: inherit; font-size: 1rem; line-height: 1.4;
  transition: border-color .15s, box-shadow .15s; }
.pg-input:hover { border-color: var(--ring); }
.pg-input:focus { outline: none; border-color: var(--ring); box-shadow: 0 0 0 3px color-mix(in oklch, var(--ring) 30%, transparent); }
select.pg-input { appearance: none; padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23857f75' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 15 5 5 5-5'/%3E%3Cpath d='m7 9 5-5 5 5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center; }
.pg-textarea { min-height: 7.5rem; resize: vertical; }
.pg-input[aria-invalid="true"] { border-color: oklch(55% .19 28); box-shadow: 0 0 0 3px oklch(55% .19 28 / .15); }
.pg-hint { margin-top: .4rem; font-size: .8125rem; line-height: 1.5; color: var(--muted-foreground); }
.pg-error { display: flex; align-items: flex-start; gap: .4rem; margin-top: .45rem; font-size: .8125rem; font-weight: 600; color: oklch(47% .17 28); }
.pg-error[hidden] { display: none; }
.pg-error svg { flex-shrink: 0; margin-top: .1rem; }
.pg-fieldset { margin: 0 0 1.25rem; padding: 0; border: 0; min-width: 0; }
.pg-choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.pg-choice { position: relative; display: inline-flex; }
.pg-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pg-choice span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.05rem; border: 1px solid var(--border);
  border-radius: 999px; font-size: .875rem; font-weight: 600; transition: background-color .2s, border-color .2s, color .2s; }
.pg-choice:hover span { border-color: var(--ring); }
.pg-choice input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--ink-foreground); }
.pg-choice input:focus-visible + span { outline: 2px solid var(--ring); outline-offset: 2px; }
.pg-form-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .5rem; }
@media (max-width: 29.999rem) { .pg-form-actions .pg-btn { flex: 1 1 100%; } }
.pg-form .pg-hint:last-of-type { margin-top: .8rem; }
.pg-form-status { display: flex; gap: .75rem; margin-top: 1rem; padding: 1rem 1.1rem; border-radius: 1rem; font-size: .9375rem; line-height: 1.55;
  background: color-mix(in oklch, var(--success) 12%, var(--background)); color: oklch(33% .06 155);
  border: 1px solid color-mix(in oklch, var(--success) 35%, transparent); }
.pg-form-status[hidden] { display: none; }
.pg-form-status.is-error { background: oklch(96% .03 28); color: oklch(42% .15 28); border-color: oklch(80% .08 28); }
.pg-form-status a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.pg-form .bl-combo > button[role="combobox"], .pg-form .bl-date > button { min-height: 3rem; border-radius: .85rem; font-size: 1rem; }
.pg-form .bl-combo-list { z-index: 30; }

/* contact */
.pg-contact-layout { display: grid; gap: 2rem; }
@media (min-width: 64rem) { .pg-contact-layout { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3.5rem; align-items: start; } }
.pg-contact-cards { display: grid; gap: .75rem; }
.pg-contact-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.15rem 1.25rem; border: 1px solid var(--border); border-radius: 1.25rem;
  background: var(--card); transition: border-color .2s, box-shadow .2s, transform .2s; }
.pg-contact-card:hover { border-color: var(--ring); box-shadow: 0 12px 28px oklch(22% .003 90 / .08); }
.pg-contact-card--primary { background: var(--ink); color: var(--ink-foreground); border-color: var(--ink); }
.pg-contact-card--primary:hover { border-color: var(--primary); }
.pg-contact-card--primary .pg-card-icon { background: #25D366; color: #fff; box-shadow: none; }
.pg-contact-card--primary .pg-contact-note { color: color-mix(in oklch, var(--ink-foreground) 70%, transparent); }
.pg-contact-title { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.pg-contact-value { display: block; margin-top: .15rem; font-family: "DM Serif Display", Georgia, serif; font-size: clamp(1.05rem, .8rem + 1.3vw, 1.3rem); line-height: 1.2; overflow-wrap: break-word; }
.pg-contact-card > span:last-child { min-width: 0; }
.pg-contact-note { display: block; margin-top: .25rem; font-size: .875rem; color: var(--muted-foreground); }
.pg-contact-more { margin-top: .75rem; padding: 1.25rem; border-radius: 1.25rem; background: var(--sand); }
.pg-checklist { display: grid; gap: .6rem; margin: .8rem 0 0; padding: 0; list-style: none; }
.pg-checklist li { display: flex; gap: .55rem; font-size: .9375rem; line-height: 1.5; }
.pg-checklist svg { flex-shrink: 0; margin-top: .2rem; color: oklch(50% .1 80); }
.pg-checklist a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* active nav item */
header nav a[aria-current="page"] > span { transform: scaleX(1); }
#mobile-nav a[aria-current="page"] { color: oklch(52% .12 80); }

/* reveal on scroll (the base .reveal class hides until main.js adds reveal-in) */
@media (prefers-reduced-motion: reduce) {
  .pg-page .reveal { opacity: 1; transform: none; transition: none; }
  .pg-card, .pg-contact-card, .pg-btn, .pg-faq-icon { transition: none; }
}

/* ---------------------------------------------------------------- legal pages */
.lg-hero { padding: calc(72px + 3rem) 0 3rem; background: var(--ink); color: var(--ink-foreground); }
@media (min-width: 64rem) { .lg-hero { padding: calc(72px + 4.5rem) 0 4rem; } }
.lg-updated { display: inline-flex; margin-top: 1.5rem; padding: .35rem .85rem; border-radius: 999px; font-size: .8125rem; font-weight: 600;
  background: color-mix(in oklch, var(--ink-foreground) 12%, transparent); color: color-mix(in oklch, var(--ink-foreground) 85%, transparent); }
.lg-wrap { display: grid; gap: 1.5rem; padding-block: 2rem 5rem; }
@media (min-width: 64rem) { .lg-wrap { grid-template-columns: 17rem minmax(0, 1fr); gap: 4rem; padding-block: 4rem 6rem; } }
.lg-aside { display: grid; gap: 1rem; align-content: start; }
@media (min-width: 64rem) { .lg-aside { position: sticky; top: calc(72px + 1.5rem); max-height: calc(100dvh - 72px - 3rem); overflow-y: auto; } }
.lg-toc { border: 1px solid var(--border); border-radius: 1.1rem; background: var(--cream); }
.lg-toc summary { display: flex; align-items: center; justify-content: space-between; min-height: 3rem; padding: 0 1.1rem;
  font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; list-style: none; }
.lg-toc summary::-webkit-details-marker { display: none; }
.lg-toc summary::after { content: ""; width: .55rem; height: .55rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.lg-toc[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.lg-toc ol { margin: 0; padding: 0 .5rem .6rem; list-style: none; counter-reset: toc; }
.lg-toc li { counter-increment: toc; }
.lg-toc a { display: flex; gap: .6rem; align-items: center; min-height: 2.5rem; padding: .3rem .6rem; border-radius: .6rem;
  font-size: .875rem; color: var(--muted-foreground); transition: background-color .15s, color .15s; }
.lg-toc a::before { content: counter(toc, decimal-leading-zero); font-size: .75rem; font-variant-numeric: tabular-nums; opacity: .7; }
.lg-toc a:hover { background: var(--background); color: var(--foreground); }
.lg-toc a.is-current { background: var(--background); color: var(--foreground); font-weight: 600; box-shadow: inset 3px 0 0 var(--primary); }
.lg-other { font-size: .875rem; color: var(--muted-foreground); }
.lg-other a { font-weight: 600; color: var(--foreground); text-decoration: underline; text-underline-offset: 3px; }
.lg-print { justify-self: start; min-height: 2.75rem; padding: 0 1.1rem; font-size: .875rem; }
@media (max-width: 63.999rem) { .lg-print { display: none; } }
.lg-article { max-width: 44rem; }
.lg-section { padding: 2rem 0; border-top: 1px solid var(--border); scroll-margin-top: calc(72px + 1.25rem); }
.lg-section:first-child { padding-top: 0; border-top: 0; }
.lg-section h2 { display: flex; align-items: baseline; gap: .75rem; font-family: "DM Serif Display", Georgia, serif; font-weight: 400;
  font-size: clamp(1.45rem, 1.2rem + .8vw, 1.85rem); line-height: 1.2; }
.lg-num { flex-shrink: 0; font-family: Manrope, ui-sans-serif, system-ui, sans-serif; font-size: .8125rem; font-weight: 700;
  font-variant-numeric: tabular-nums; color: oklch(50% .1 80); }
.lg-section h3 { margin-top: 1.5rem; font-size: 1rem; font-weight: 700; }
.lg-section p, .lg-section li { font-size: 1rem; line-height: 1.75; color: color-mix(in oklch, var(--foreground) 82%, transparent); }
.lg-section p { margin-top: .85rem; }
.lg-section ul { margin: .85rem 0 0; padding: 0; list-style: none; display: grid; gap: .55rem; }
.lg-section ul li { position: relative; padding-left: 1.4rem; }
.lg-section ul li::before { content: ""; position: absolute; left: .2rem; top: .7rem; width: .45rem; height: .45rem; border-radius: 999px; background: var(--primary); }
.lg-section a { font-weight: 600; color: var(--foreground); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
#summary ul { padding: 1.25rem 1.25rem 1.25rem 1.25rem; border-radius: 1.1rem; background: var(--accent);
  border: 1px solid color-mix(in oklch, var(--primary) 40%, transparent); }
#summary ul li { padding-left: 1.6rem; }
#summary ul li::before { left: 0; top: .45rem; width: 1rem; height: 1rem; border-radius: 0; background: none;
  border-right: 2px solid oklch(50% .1 80); border-bottom: 2px solid oklch(50% .1 80); width: .4rem; height: .75rem; transform: rotate(45deg); }
.lg-contact li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; padding: .85rem 1rem !important;
  border: 1px solid var(--border); border-radius: .9rem; background: var(--card); }
.lg-contact li::before { display: none; }
.lg-contact span { color: var(--muted-foreground); font-size: .875rem; }
.lg-contact a { display: inline-flex; align-items: center; min-height: 44px; }

@media print {
  header, footer, .lg-aside, a[aria-label="Chat with us on WhatsApp"], button[aria-label="Back to top"], .sr-only { display: none !important; }
  .lg-hero { padding: 0 0 1rem; background: none; color: #000; }
  .lg-hero .pg-hero-lead, .lg-updated { color: #333; background: none; padding: 0; }
  .lg-wrap { display: block; padding: 0; }
  .lg-section { break-inside: avoid-page; padding: 1rem 0; }
  .lg-section p, .lg-section li { color: #111; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------------------------------------------------------------- homeowners: condos we manage */
.pg-where { background: var(--background); overflow: hidden; }
.pg-where-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; }
.pg-condos { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(15.5rem, 78%); gap: .9rem; margin: 2rem -1.25rem 0; padding: .25rem 1.25rem 1rem;
  list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 1.25rem; overscroll-behavior-x: contain; scrollbar-width: thin; }
.pg-condos-hint { margin-top: .25rem; font-size: .8125rem; color: var(--muted-foreground); }
@media (min-width: 40rem) {
  .pg-condos { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-columns: auto; margin: 2.5rem 0 0; padding: 0; overflow: visible; gap: 1.25rem; }
  .pg-condos-hint { display: none; }
}
@media (min-width: 64rem) { .pg-condos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 80rem) { .pg-condos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pg-condo { scroll-snap-align: start; min-width: 0; }
.pg-condo-link { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--border); border-radius: 1.4rem;
  background: var(--card); transition: border-color .25s, box-shadow .25s, transform .25s; }
.pg-condo-link:hover { border-color: color-mix(in oklch, var(--primary) 55%, var(--border)); transform: translateY(-3px);
  box-shadow: 0 2px 4px oklch(22% .003 90 / .05), 0 18px 40px oklch(22% .003 90 / .1); }
.pg-condo-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.pg-condo-media img, .pg-condo-noimg { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.22, 1, .36, 1); }
.pg-condo-link:hover .pg-condo-media img { transform: scale(1.05); }
.pg-condo-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, oklch(18% .004 90 / .82) 0%, oklch(18% .004 90 / .1) 55%, transparent 100%); }
.pg-condo-chip { position: absolute; left: .75rem; top: .75rem; z-index: 1; padding: .25rem .65rem; border-radius: 999px;
  background: color-mix(in oklch, var(--background) 94%, transparent); font-size: .75rem; font-weight: 600; color: var(--foreground); }
.pg-condo-name { position: absolute; left: 1rem; right: 1rem; bottom: .85rem; z-index: 1; font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.4rem; line-height: 1.15; color: #fff; text-wrap: balance; }
.pg-condo-body { display: grid; gap: .55rem; padding: .95rem 1rem 1.1rem; }
.pg-condo-stats { display: flex; gap: 1rem; font-size: .875rem; color: var(--muted-foreground); }
.pg-condo-stats strong { font-family: "DM Serif Display", Georgia, serif; font-size: 1.2rem; font-weight: 400; color: var(--foreground); margin-right: .15rem; }
.pg-condo-mrt { display: flex; align-items: center; gap: .4rem; font-size: .8125rem; color: var(--muted-foreground); }
.pg-condo-mrt svg { flex-shrink: 0; color: oklch(55% .12 80); }
@media (prefers-reduced-motion: reduce) { .pg-condo-link, .pg-condo-media img { transition: none; } .pg-condo-link:hover { transform: none; } }

@media (min-width: 40rem) {
  .pg-condo--wide { grid-column: span 2; }
  .pg-condo--wide .pg-condo-media { aspect-ratio: 2.77; }
  .pg-condo--wide .pg-condo-name { font-size: 1.75rem; }
}
