/* ==========================================================================
   MyCabin — Functional zoning: Ogre — Page Pack CSS
   Scoped entirely under .pp-functional-zoning-ogre (Page Pack Spec §5). Every selector in this file
   is nested under that root class. Ported and trimmed from the Claude Design
   export's shared styles.css: only the tokens, shared components (buttons,
   tab pills, FAQ accordion, closing CTA, plain-text hero) and the
   "FUNCTIONAL ZONING: CITY GUIDE" section this one page actually uses. No
   header, navigation, footer, rails, marquees, hub (zn-*) or any other
   page's CSS is included.

   01  Tokens (scoped custom properties, not :root)
   02  Base resets (scoped)
   03  WordPress Flow-layout protection (direct children of pack-owned groups)
   04  Layout, sections, type
   05  Buttons, tab pills, links
   06  Hero, trust strip, quick answer
   07  Primer cards, concepts, TOC, stats
   08  Decision tree
   09  Zone cards + "check your zoning" bar
   10  Map
   11  Permit matrix (core/table)
   12  Process steps + soft CTA bar
   13  District / comparison cards
   14  Costs
   15  Model cards
   16  Why MyCabin (bars, energy chart)
   17  Prose, related cards, sources
   18  FAQ accordion
   19  Closing CTA
   20  Scroll reveal + reduced motion

   Progressive enhancement: everything that frontend.js collapses or hides
   (tree steps/outcomes, FAQ answers, scroll-reveal start state) is gated on
   the `.pp-js` class that frontend.js adds to the root. Without that script
   — including inside the Gutenberg editor, where it never runs — every block
   is simply visible and editable, so no editor.css is needed.
   ========================================================================== */


/* ==========================================================================
   01  TOKENS — scoped to .pp-functional-zoning-ogre, never :root (Page Pack Spec §5).
   ========================================================================== */

.pp-functional-zoning-ogre {
  --pp-ink:         #27272C;
  --pp-bone:        #FFFFFF;
  --pp-surface:     #FBF6F3;
  --pp-wood:        #EDCFB7;
  --pp-sun:         #FFD797;
  --pp-olive:       #6E5C3C;
  --pp-accent:      #917EBC;
  --pp-accent-soft: #CDCBFF;
  --pp-tint:        #E6E6FF;

  --pp-stone:    color-mix(in oklab, var(--pp-ink) 11%, var(--pp-bone));
  --pp-ink-hair: color-mix(in oklab, var(--pp-ink) 7%,  var(--pp-bone));
  --pp-ink-line: color-mix(in oklab, var(--pp-ink) 13%, var(--pp-bone));
  --pp-tint-line:        color-mix(in oklab, var(--pp-accent) 18%, var(--pp-tint));
  --pp-tint-line-strong: color-mix(in oklab, var(--pp-accent) 34%, var(--pp-tint));

  --pp-good:      #4F7A44;
  --pp-good-soft: #E3ECD9;
  --pp-bad:       #B0463F;
  --pp-bad-soft:  #F6DEDE;

  --pp-ink-72:  color-mix(in oklab, var(--pp-ink) 72%, transparent);
  --pp-ink-56:  color-mix(in oklab, var(--pp-ink) 65%, transparent);
  --pp-ink-28:  color-mix(in oklab, var(--pp-ink) 28%, transparent);
  --pp-bone-80: color-mix(in oklab, var(--pp-bone) 80%, transparent);
  --pp-bone-60: color-mix(in oklab, var(--pp-bone) 60%, transparent);
  --pp-bone-line: color-mix(in oklab, var(--pp-bone) 22%, transparent);

  --pp-maxw:   1280px;
  --pp-gutter: clamp(18px, 4vw, 40px);
  --pp-hdr-h:  clamp(58px, 7vw, 74px);

  --pp-r-pill: 999px;
  --pp-r-card: 11px;
  --pp-r-md:   9px;

  --pp-ease:  cubic-bezier(.22, 1, .36, 1);
  --pp-t-med: .25s;

  position: relative;
  background: var(--pp-bone);
  color: var(--pp-ink);
  font-family: "Poppins", "Helvetica Neue", Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: normal;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
}


/* ==========================================================================
   02  BASE RESETS (scoped)
   ========================================================================== */

.pp-functional-zoning-ogre *, .pp-functional-zoning-ogre *::before, .pp-functional-zoning-ogre *::after { box-sizing: border-box; }
/* WordPress core pads every Group that has a background colour (1.25em 2.375em); the design sets its own paddings */
.pp-functional-zoning-ogre .wp-block-group.has-background { padding: 0; }
.pp-functional-zoning-ogre h1, .pp-functional-zoning-ogre h2, .pp-functional-zoning-ogre h3, .pp-functional-zoning-ogre h4, .pp-functional-zoning-ogre p, .pp-functional-zoning-ogre figure, .pp-functional-zoning-ogre ul, .pp-functional-zoning-ogre ol { margin: 0; }
.pp-functional-zoning-ogre h1, .pp-functional-zoning-ogre h2, .pp-functional-zoning-ogre h3, .pp-functional-zoning-ogre h4 {
  font-family: inherit;
  color: inherit;
  line-height: normal;
  text-transform: none;
  font-style: normal;
}
.pp-functional-zoning-ogre a { color: var(--pp-ink); text-decoration: none; }
.pp-functional-zoning-ogre a:hover { color: var(--pp-accent); }
.pp-functional-zoning-ogre img { max-width: 100%; }
.pp-functional-zoning-ogre :focus-visible { outline: 2px solid var(--pp-accent); outline-offset: 3px; border-radius: 4px; }


/* ==========================================================================
   03  WORDPRESS FLOW-LAYOUT PROTECTION
   Every group below is a plain core/group with no explicit `layout`
   attribute, i.e. WordPress renders it with its default "Flow" layout, which
   puts a margin-block-start (sized from the active theme's blockGap) on every
   direct child except the first. Each of these groups already owns its
   children's positioning (CSS grid/flex gaps, or explicit margins declared
   per child below), so that generated margin is neutralised on exactly these
   containers' own direct children — never on anything deeper, never sitewide.
   !important is required because WordPress's generated rule has normal
   specificity (no :where()) — see
   docs/MYCABIN-GUTENBERG-REFERENCE-IMPLEMENTATION.md §5 and
   docs/HOMEPAGE-WORDPRESS-FLOW-MARGIN-FIX-HANDOFF.md. Spacing the design
   really wants between children is declared with !important per child in the
   component sections that follow (same specificity, later in the file).
   ========================================================================== */

.pp-functional-zoning-ogre > *,
.pp-functional-zoning-ogre .pp-section > *,
.pp-functional-zoning-ogre .pp-wrap > *,
.pp-functional-zoning-ogre .pp-hero > *,
.pp-functional-zoning-ogre .pp-hero__text > *,
.pp-functional-zoning-ogre .pp-tags > *,
.pp-functional-zoning-ogre .pp-trust > *,
.pp-functional-zoning-ogre .pp-trust__item > *,
.pp-functional-zoning-ogre .pp-answer-sec > *,
.pp-functional-zoning-ogre .pp-answer > *,
.pp-functional-zoning-ogre .pp-answer__badge > *,
.pp-functional-zoning-ogre .pp-answer__text > *,
.pp-functional-zoning-ogre .pp-grid > *,
.pp-functional-zoning-ogre .pp-card > *,
.pp-functional-zoning-ogre .pp-concept > *,
.pp-functional-zoning-ogre .pp-concept__body > *,
.pp-functional-zoning-ogre .pp-concept__icon > *,
.pp-functional-zoning-ogre .pp-stats > *,
.pp-functional-zoning-ogre .pp-stat > *,
.pp-functional-zoning-ogre .pp-tree > *,
.pp-functional-zoning-ogre .pp-tree__step > *,
.pp-functional-zoning-ogre .pp-tree__result > *,
.pp-functional-zoning-ogre .pp-tree__outcome > *,
.pp-functional-zoning-ogre .pp-tree__meta > *,
.pp-functional-zoning-ogre .pp-tree__metaitem > *,
.pp-functional-zoning-ogre .pp-zone__head > *,
.pp-functional-zoning-ogre .pp-check > *,
.pp-functional-zoning-ogre .pp-check__body > *,
.pp-functional-zoning-ogre .pp-map > *,
.pp-functional-zoning-ogre .pp-map__frame > *,
.pp-functional-zoning-ogre .pp-map__side > *,
.pp-functional-zoning-ogre .pp-map__head > *,
.pp-functional-zoning-ogre .pp-map__legend > *,
.pp-functional-zoning-ogre .pp-map__list > *,
.pp-functional-zoning-ogre .pp-map__item > *,
.pp-functional-zoning-ogre .pp-steps > *,
.pp-functional-zoning-ogre .pp-step > *,
.pp-functional-zoning-ogre .pp-step__body > *,
.pp-functional-zoning-ogre .pp-soft > *,
.pp-functional-zoning-ogre .pp-soft__body > *,
.pp-functional-zoning-ogre .pp-dist__head > *,
.pp-functional-zoning-ogre .pp-cmp__head > *,
.pp-functional-zoning-ogre .pp-rows > *,
.pp-functional-zoning-ogre .pp-row > *,
.pp-functional-zoning-ogre .pp-total > *,
.pp-functional-zoning-ogre .pp-total__body > *,
.pp-functional-zoning-ogre .pp-model > *,
.pp-functional-zoning-ogre .pp-model__media > *,
.pp-functional-zoning-ogre .pp-model__body > *,
.pp-functional-zoning-ogre .pp-model__foot > *,
.pp-functional-zoning-ogre .pp-bars > *,
.pp-functional-zoning-ogre .pp-bar > *,
.pp-functional-zoning-ogre .pp-bar__track > *,
.pp-functional-zoning-ogre .pp-energy > *,
.pp-functional-zoning-ogre .pp-energy__bars > *,
.pp-functional-zoning-ogre .pp-prose > *,
.pp-functional-zoning-ogre .pp-faq-sec > *,
.pp-functional-zoning-ogre .pp-faq-list > *,
.pp-functional-zoning-ogre .pp-faq > *,
.pp-functional-zoning-ogre .pp-related > *,
.pp-functional-zoning-ogre .pp-related__body > *,
.pp-functional-zoning-ogre .pp-related__icon > *,
.pp-functional-zoning-ogre .pp-cta-sec > *,
.pp-functional-zoning-ogre .pp-dark-cta > *,
.pp-functional-zoning-ogre .pp-dark-cta__copy > * {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

/* core/buttons rows are flex containers: WordPress sets their spacing as a
   `gap` shorthand (both axes), so both axes are pinned explicitly here. */
.pp-functional-zoning-ogre .wp-block-buttons { margin: 0 !important; gap: 10px 10px; }
.pp-functional-zoning-ogre .wp-block-buttons > .wp-block-button { margin: 0 !important; }
.pp-functional-zoning-ogre .wp-block-table { margin: 0 !important; }


/* ==========================================================================
   04  LAYOUT, SECTIONS, TYPE
   ========================================================================== */

.pp-functional-zoning-ogre .pp-wrap {
  max-width: var(--pp-maxw);
  margin-inline: auto;
  padding-inline: var(--pp-gutter);
}

/* Vertical padding of normal sections is a native Section — Compact preset
   on the block itself (see content.html); only the "tight" variant is CSS. */
/* In-page anchors land below the sticky header. The source stacks `html`
   scroll-padding (header + 12px) on each section's scroll-margin (header + 8px),
   i.e. 2 x header + 20px; a scoped pack can't set scroll-padding on <html>, so
   the same total is carried on the targets themselves. */
.pp-functional-zoning-ogre .pp-section[id],
.pp-functional-zoning-ogre .pp-faq-sec[id] { scroll-margin-top: calc(var(--pp-hdr-h) * 2 + 20px); }
.pp-functional-zoning-ogre .pp-check[id] { scroll-margin-top: calc(var(--pp-hdr-h) * 2 + 28px); }
.pp-functional-zoning-ogre .wp-block-group.pp-section--tight { padding: clamp(32px, 5vw, 56px) 0; }

.pp-functional-zoning-ogre .pp-h1 {
  font-size: clamp(34px, 8.6vw, 46px);
  line-height: 1.06;
  letter-spacing: -.026em;
  font-weight: 500;
}
.pp-functional-zoning-ogre .pp-h2 {
  font-size: clamp(30px, 6.4vw, 58px);
  line-height: 1.04;
  letter-spacing: -.022em;
  font-weight: 500;
}
.pp-functional-zoning-ogre .pp-h2--xs { font-size: clamp(26px, 4.6vw, 40px); line-height: 1.08; }
.pp-functional-zoning-ogre .pp-h2--p  { font-size: clamp(28px, 4.4vw, 46px); line-height: 1.06; }
.pp-functional-zoning-ogre .pp-em { color: var(--pp-accent); }

.pp-functional-zoning-ogre .pp-lead {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.55;
  color: var(--pp-ink-72);
  font-weight: 300;
}
.pp-functional-zoning-ogre .pp-eyebrow {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--pp-ink-56);
}
.pp-functional-zoning-ogre .pp-eyebrow--soft { color: var(--pp-accent-soft); }

.pp-functional-zoning-ogre .pp-title { margin-top: 10px !important; max-width: 26ch; }
.pp-functional-zoning-ogre .pp-sub {
  margin-top: 14px !important;
  font-size: 15.5px;
  line-height: 1.65;
  font-weight: 300;
  color: var(--pp-ink-72);
  max-width: 64ch;
}
.pp-functional-zoning-ogre .pp-sub strong { font-weight: 500; color: var(--pp-ink); }
.pp-functional-zoning-ogre .pp-h3 {
  margin-top: 8px !important;
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.pp-functional-zoning-ogre .pp-mt { margin-top: clamp(32px, 5vw, 52px) !important; }

.pp-functional-zoning-ogre .pp-grid {
  margin-top: clamp(24px, 4vw, 40px) !important;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
.pp-functional-zoning-ogre .pp-grid > * { min-width: 0; }

.pp-functional-zoning-ogre .pp-card {
  background: var(--pp-bone);
  border: 1px solid var(--pp-stone);
  border-radius: var(--pp-r-card);
  padding: 20px;
}
.pp-functional-zoning-ogre .pp-card__p {
  margin-top: 10px !important;
  font-size: 14.5px;
  line-height: 1.6;
  font-weight: 300;
  color: var(--pp-ink-72);
}
.pp-functional-zoning-ogre .pp-card__p strong { font-weight: 500; color: var(--pp-ink); }
.pp-functional-zoning-ogre .pp-card__eyebrow {
  margin: 14px 0 6px !important;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--pp-accent);
  font-weight: 500;
  line-height: 1.6;
}
.pp-functional-zoning-ogre .pp-num {
  font-size: 28px;
  font-weight: 300;
  letter-spacing: -.03em;
  color: var(--pp-accent-soft);
  line-height: 1;
  padding-bottom: 2px;
}

.pp-functional-zoning-ogre .pp-a {
  color: var(--pp-ink);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--pp-ink-28);
  text-underline-offset: 3px;
  transition: color var(--pp-t-med), text-decoration-color var(--pp-t-med);
}
.pp-functional-zoning-ogre .pp-a:hover { color: var(--pp-accent); text-decoration-color: currentColor; }


/* ==========================================================================
   05  BUTTONS, TAB PILLS, LINKS
   core/button blocks restyled to the source's pill buttons.
   ========================================================================== */

.pp-functional-zoning-ogre .wp-block-button.pp-btn .wp-block-button__link.wp-element-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 38px;
  padding: 0 19px;
  border: 0;
  border-radius: var(--pp-r-pill);
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  text-align: start;
  text-decoration: none;
  cursor: pointer;
  transform: scale(1);
  transition: background var(--pp-t-med), color var(--pp-t-med), border-color var(--pp-t-med), transform .15s var(--pp-ease);
}
.pp-functional-zoning-ogre .wp-block-button.pp-btn .wp-block-button__link.wp-element-button:active { transform: scale(.96); }

.pp-functional-zoning-ogre .wp-block-button.pp-btn-ink .wp-block-button__link.wp-element-button { background: var(--pp-ink); color: var(--pp-bone); }
.pp-functional-zoning-ogre .wp-block-button.pp-btn-ink .wp-block-button__link.wp-element-button:hover { background: var(--pp-accent) !important; color: var(--pp-bone) !important; }

.pp-functional-zoning-ogre .wp-block-button.pp-btn-light .wp-block-button__link.wp-element-button { background: var(--pp-bone); color: var(--pp-ink); }
.pp-functional-zoning-ogre .wp-block-button.pp-btn-light .wp-block-button__link.wp-element-button:hover { background: var(--pp-accent-soft) !important; color: var(--pp-ink) !important; }

.pp-functional-zoning-ogre .wp-block-button.pp-btn-outline .wp-block-button__link.wp-element-button { background: transparent; color: var(--pp-ink); border: 1px solid var(--pp-ink); }
.pp-functional-zoning-ogre .wp-block-button.pp-btn-outline .wp-block-button__link.wp-element-button:hover { background: var(--pp-surface) !important; color: var(--pp-ink) !important; }

.pp-functional-zoning-ogre .wp-block-button.pp-btn-ghost .wp-block-button__link.wp-element-button {
  background: color-mix(in oklab, var(--pp-ink) 30%, transparent);
  color: var(--pp-bone);
  border: 1px solid var(--pp-bone-60);
}
.pp-functional-zoning-ogre .wp-block-button.pp-btn-ghost .wp-block-button__link.wp-element-button:hover {
  background: color-mix(in oklab, var(--pp-bone) 14%, transparent) !important;
  border-color: var(--pp-bone) !important;
  color: var(--pp-bone) !important;
}

/* Long labels wrap instead of overflowing (the source lets the check bar,
   soft CTA bars and the map CTA button wrap). */
.pp-functional-zoning-ogre .pp-check__btn .wp-block-button__link.wp-element-button,
.pp-functional-zoning-ogre .pp-soft__btn .wp-block-button__link.wp-element-button,
.pp-functional-zoning-ogre .pp-map__cta .wp-block-button__link.wp-element-button {
  white-space: normal !important;
  height: auto !important;
  min-height: 38px;
  padding-block: 10px !important;
  text-align: center;
  line-height: 1.3 !important;
}
.pp-functional-zoning-ogre .pp-map__cta .wp-block-button__link.wp-element-button { max-width: 100%; }

/* Tab pill — the TOC chips */
.pp-functional-zoning-ogre .wp-block-button.pp-tab .wp-block-button__link.wp-element-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 14px;
  border-radius: var(--pp-r-pill);
  border: 1px solid var(--pp-ink-line);
  background: var(--pp-bone);
  color: var(--pp-ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: normal;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--pp-t-med), color var(--pp-t-med), border-color var(--pp-t-med);
}
.pp-functional-zoning-ogre .wp-block-button.pp-tab .wp-block-button__link.wp-element-button:hover {
  background: var(--pp-tint) !important;
  border-color: var(--pp-accent-soft) !important;
  color: var(--pp-ink) !important;
}

/* Text link with trailing arrow (model cards) — arrow drawn with a CSS mask
   so the link stays a plain editable link, and the link's ::before stretches
   over the whole card to make the card itself clickable. */
.pp-functional-zoning-ogre .pp-link-arrow { font-size: 16px; font-weight: 500; white-space: nowrap; }
.pp-functional-zoning-ogre .pp-link-arrow a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.pp-functional-zoning-ogre .pp-link-arrow a::before { content: ""; position: absolute; inset: 0; z-index: 2; }
.pp-functional-zoning-ogre .pp-link-arrow a::after {
  content: "";
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8h11M9 4l4 4-4 4' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8h11M9 4l4 4-4 4' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}


/* ==========================================================================
   06  HERO, TRUST STRIP, QUICK ANSWER
   ========================================================================== */

.pp-functional-zoning-ogre .wp-block-group.pp-hero {
  padding: calc(var(--pp-hdr-h) + clamp(28px, 6vw, 48px)) 0 clamp(28px, 4vw, 44px);
}
.pp-functional-zoning-ogre .pp-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  font-size: 13px;
  color: var(--pp-ink-56);
  margin-bottom: 18px !important;
}
.pp-functional-zoning-ogre .pp-crumbs a:hover { color: var(--pp-accent); }
.pp-functional-zoning-ogre .pp-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px !important; }
.pp-functional-zoning-ogre .pp-tag {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 12px;
  border-radius: var(--pp-r-pill);
  background: var(--pp-ink);
  color: var(--pp-bone);
  font-size: 12px;
  letter-spacing: .02em;
}
.pp-functional-zoning-ogre .pp-tag--soft { background: var(--pp-bone); color: var(--pp-ink-72); border: 1px solid var(--pp-ink-line); }
.pp-functional-zoning-ogre .pp-tag--accent { background: var(--pp-tint); color: var(--pp-ink); }

.pp-functional-zoning-ogre .pp-hero__text { max-width: 760px; }
.pp-functional-zoning-ogre .pp-hero .pp-h1 { max-width: 24ch; margin-top: 10px !important; }
.pp-functional-zoning-ogre .pp-hero__text .pp-lead { margin-top: 16px !important; }

.pp-functional-zoning-ogre .pp-trust {
  margin-top: clamp(24px, 3.5vw, 36px) !important;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px 24px;
  padding-top: clamp(20px, 3vw, 28px);
  border-top: 1px solid var(--pp-ink-line);
}
.pp-functional-zoning-ogre .pp-trust__item { display: flex; align-items: center; gap: 14px; }
.pp-functional-zoning-ogre .pp-trust__num {
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--pp-ink);
  min-width: 2.4ch;
}
.pp-functional-zoning-ogre .pp-trust__lbl { font-size: 13px; line-height: 1.4; color: var(--pp-ink-72); font-weight: 300; }
.pp-functional-zoning-ogre .pp-trust__lbl strong { display: block; color: var(--pp-ink); font-weight: 500; font-size: 14px; }

.pp-functional-zoning-ogre .pp-answer-sec { padding: clamp(24px, 4vw, 40px) 0 0; }
.pp-functional-zoning-ogre .wp-block-group.pp-answer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--pp-r-card);
}
.pp-functional-zoning-ogre .pp-answer__badge {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  justify-self: start;
  padding: 10px 16px;
  border: 1px solid var(--pp-bone-line);
  border-radius: var(--pp-r-md);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--pp-accent-soft);
}
.pp-functional-zoning-ogre .pp-answer__badge-v { font-size: 18px; letter-spacing: -.01em; text-transform: none; font-weight: 500; color: var(--pp-bone); }
.pp-functional-zoning-ogre .pp-answer__eyebrow {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--pp-bone-60);
  margin-bottom: 8px !important;
}
.pp-functional-zoning-ogre .pp-answer__h { font-size: clamp(15.5px, 1.9vw, 18px); line-height: 1.55; font-weight: 300; color: var(--pp-bone-80); }
.pp-functional-zoning-ogre .pp-answer__h strong { font-weight: 500; color: var(--pp-bone); }
.pp-functional-zoning-ogre .pp-hl { color: var(--pp-accent-soft); font-weight: 500; }
.pp-functional-zoning-ogre .pp-answer__btn { justify-self: start; }


/* ==========================================================================
   07  PRIMER CARDS, CONCEPTS, TOC, STATS
   ========================================================================== */

.pp-functional-zoning-ogre .pp-concept {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  background: var(--pp-surface);
  border-radius: var(--pp-r-card);
}
.pp-functional-zoning-ogre .pp-concept__icon,
.pp-functional-zoning-ogre .pp-related__icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--pp-tint);
  border-radius: var(--pp-r-md);
  color: var(--pp-ink);
}
.pp-functional-zoning-ogre .pp-concept__icon > *, .pp-functional-zoning-ogre .pp-related__icon > * { margin: 0; }
.pp-functional-zoning-ogre .pp-concept__icon svg, .pp-functional-zoning-ogre .pp-related__icon svg { display: block; }
.pp-functional-zoning-ogre .pp-concept__t { font-size: 16px; font-weight: 500; letter-spacing: -.01em; }
.pp-functional-zoning-ogre .pp-concept__p {
  margin-top: 6px !important;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 300;
  color: var(--pp-ink-72);
}
.pp-functional-zoning-ogre .pp-concept__p strong { font-weight: 500; color: var(--pp-ink); }

.pp-functional-zoning-ogre .wp-block-buttons.pp-toc {
  margin-top: 14px !important;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: stretch;
  gap: 8px 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
  margin-inline: calc(var(--pp-gutter) * -1) !important;
  padding-inline: var(--pp-gutter);
}
.pp-functional-zoning-ogre .pp-toc::-webkit-scrollbar { display: none; }
.pp-functional-zoning-ogre .pp-toc > .wp-block-button { flex: 0 0 auto; }

.pp-functional-zoning-ogre .pp-stats {
  margin-top: clamp(24px, 4vw, 40px) !important;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--pp-ink-line);
  border-bottom: 1px solid var(--pp-ink-line);
}
.pp-functional-zoning-ogre .pp-stat { padding: 20px 16px 20px 0; border-bottom: 1px solid var(--pp-ink-line); }
.pp-functional-zoning-ogre .pp-stat:nth-last-child(-n+2) { border-bottom: 0; }
.pp-functional-zoning-ogre .pp-stat:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--pp-ink-line); }
.pp-functional-zoning-ogre .pp-stat__lbl { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--pp-ink-56); }
.pp-functional-zoning-ogre .pp-stat__val {
  margin-top: 8px !important;
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1.05;
}
.pp-functional-zoning-ogre .pp-stat__delta { margin-top: 6px !important; font-size: 13px; font-weight: 500; color: var(--pp-good); }
.pp-functional-zoning-ogre .pp-stat__note {
  margin-top: 8px !important;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 300;
  color: var(--pp-ink-72);
}


/* ==========================================================================
   08  DECISION TREE
   Steps, outcomes and the reset button are all native blocks. frontend.js
   (which adds `.pp-js`) shows one step/outcome at a time; without it every
   block is visible.
   ========================================================================== */

.pp-functional-zoning-ogre .wp-block-group.pp-tree {
  margin-top: clamp(24px, 4vw, 40px) !important;
  max-width: 860px;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--pp-stone);
  border-radius: var(--pp-r-card);
}
.pp-functional-zoning-ogre .pp-tree__step { margin-bottom: 26px !important; }
.pp-functional-zoning-ogre.pp-js .pp-tree__step--q2:not(.pp-is-shown),
.pp-functional-zoning-ogre.pp-js .pp-tree__step--q3:not(.pp-is-shown),
.pp-functional-zoning-ogre.pp-js .pp-tree__result:not(.pp-is-shown),
.pp-functional-zoning-ogre.pp-js .pp-tree__reset:not(.pp-is-shown),
.pp-functional-zoning-ogre.pp-js .pp-tree__outcome:not(.pp-is-active) { display: none; }

.pp-functional-zoning-ogre .pp-tree__num { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--pp-accent); font-weight: 500; }
.pp-functional-zoning-ogre .pp-tree__q {
  margin-top: 8px !important;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 500;
  letter-spacing: -.015em;
  line-height: 1.25;
}
.pp-functional-zoning-ogre .wp-block-buttons.pp-tree__opts {
  margin-top: 14px !important;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: stretch;
  gap: 8px 8px;
}
.pp-functional-zoning-ogre .wp-block-button.pp-opt .wp-block-button__link.wp-element-button {
  display: inline-block;
  padding: 11px 18px;
  border-radius: var(--pp-r-pill);
  border: 1px solid var(--pp-ink-line);
  background: var(--pp-bone);
  color: var(--pp-ink);
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: normal;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--pp-t-med), border-color var(--pp-t-med), color var(--pp-t-med);
}
.pp-functional-zoning-ogre .wp-block-button.pp-opt .wp-block-button__link.wp-element-button:hover {
  background: var(--pp-tint) !important;
  border-color: var(--pp-accent-soft) !important;
  color: var(--pp-ink) !important;
}
.pp-functional-zoning-ogre .wp-block-button.pp-opt.pp-is-selected .wp-block-button__link.wp-element-button,
.pp-functional-zoning-ogre .wp-block-button.pp-opt.pp-is-selected .wp-block-button__link.wp-element-button:hover {
  background: var(--pp-ink) !important;
  border-color: var(--pp-ink) !important;
  color: var(--pp-bone) !important;
}

.pp-functional-zoning-ogre .pp-tree__result {
  padding: clamp(18px, 3vw, 26px);
  background: var(--pp-tint);
  border: 1px solid var(--pp-tint-line-strong);
  border-radius: var(--pp-r-card);
  margin-bottom: 18px !important;
}
.pp-functional-zoning-ogre .pp-tree__rlabel { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--pp-ink-72); font-weight: 500; }
.pp-functional-zoning-ogre .pp-tree__rh {
  margin-top: 8px !important;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.pp-functional-zoning-ogre .pp-pill-inline {
  display: flex;
  width: fit-content;
  align-items: center;
  height: 26px;
  padding: 0 13px;
  margin-bottom: 12px;
  border-radius: var(--pp-r-pill);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.pp-functional-zoning-ogre .pp-pill-inline--p { background: var(--pp-good-soft); color: var(--pp-good); }
.pp-functional-zoning-ogre .pp-pill-inline--b { background: var(--pp-ink); color: var(--pp-bone); }
.pp-functional-zoning-ogre .pp-pill-inline--c { background: var(--pp-bone); color: var(--pp-ink); border: 1px solid var(--pp-tint-line-strong); }
.pp-functional-zoning-ogre .pp-tree__rdesc {
  margin-top: 12px !important;
  font-size: 15px;
  line-height: 1.65;
  font-weight: 300;
  color: var(--pp-ink-72);
  max-width: 62ch;
}
.pp-functional-zoning-ogre .pp-tree__rdesc strong { font-weight: 500; color: var(--pp-ink); }
.pp-functional-zoning-ogre .pp-tree__meta {
  margin-top: 18px !important;
  padding-top: 16px;
  border-top: 1px solid var(--pp-tint-line-strong);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.pp-functional-zoning-ogre .pp-tree__metaitem { display: flex; flex-direction: column; gap: 3px; }
.pp-functional-zoning-ogre .pp-tree__metalbl { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--pp-ink-56); }
.pp-functional-zoning-ogre .pp-tree__metaval { font-size: 17px; font-weight: 500; letter-spacing: -.01em; }
.pp-functional-zoning-ogre .pp-tree__cta { margin-top: 18px !important; }


/* ==========================================================================
   09  ZONE CARDS + "CHECK YOUR ZONING" BAR
   ========================================================================== */

.pp-functional-zoning-ogre .pp-zone { display: flex; flex-direction: column; }
.pp-functional-zoning-ogre .pp-zone__head { display: flex; align-items: center; gap: 12px; }
.pp-functional-zoning-ogre .pp-zbadge {
  flex: 0 0 auto;
  min-width: 46px;
  height: 40px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--pp-r-md);
  background: var(--pp-tint);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .01em;
}
.pp-functional-zoning-ogre .pp-zone__t, .pp-functional-zoning-ogre .pp-dist__t, .pp-functional-zoning-ogre .pp-cmp__t {
  font-size: clamp(18px, 2vw, 21px);
  font-weight: 500;
  letter-spacing: -.015em;
  line-height: 1.2;
}
.pp-functional-zoning-ogre .pp-zone__t { font-size: 16px; }
.pp-functional-zoning-ogre .pp-zone .pp-card__p { flex: 1; }
.pp-functional-zoning-ogre .pp-status {
  margin-top: 16px !important;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: auto;
  min-height: 27px;
  padding: 0 12px;
  border-radius: var(--pp-r-pill);
  font-size: 12.5px;
  font-weight: 500;
  max-width: 100%;
}
.pp-functional-zoning-ogre .pp-status::before { content: ""; flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pp-functional-zoning-ogre .pp-status--good { background: var(--pp-good-soft); color: var(--pp-good); }
.pp-functional-zoning-ogre .pp-status--warn { background: color-mix(in oklab, var(--pp-sun) 40%, var(--pp-bone)); color: var(--pp-olive); }
.pp-functional-zoning-ogre .pp-status--bad  { background: var(--pp-bad-soft); color: var(--pp-bad); }

.pp-functional-zoning-ogre .pp-check {
  margin-top: clamp(20px, 3vw, 32px) !important;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: clamp(20px, 3vw, 28px);
  background: var(--pp-bone);
  border: 1px solid var(--pp-stone);
  border-radius: var(--pp-r-card);
}
.pp-functional-zoning-ogre .pp-check__t { font-size: clamp(18px, 2vw, 21px); font-weight: 500; letter-spacing: -.015em; }
.pp-functional-zoning-ogre .pp-check__p {
  margin-top: 8px !important;
  font-size: 14.5px;
  line-height: 1.6;
  font-weight: 300;
  color: var(--pp-ink-72);
  max-width: 64ch;
}


/* ==========================================================================
   10  MAP
   The side list is native blocks (name + description paragraphs per place);
   frontend.js lazy-loads Leaflet, drops pins from a coordinate table and
   wires list/pin selection. Numbers on the list badges come from a CSS
   counter, so they also show in the editor. Leaflet's panes/controls use
   z-index 400–1000, so the frame is isolated to keep the map under the
   sticky header.
   ========================================================================== */

.pp-functional-zoning-ogre .pp-map { margin-top: clamp(24px, 4vw, 40px) !important; }
.pp-functional-zoning-ogre .pp-map__frame {
  position: relative;
  z-index: 0;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--pp-stone);
  border-radius: var(--pp-r-card);
  overflow: hidden;
  background: var(--pp-bone);
}
.pp-functional-zoning-ogre .pp-map__canvas { min-height: 340px; background: var(--pp-surface); }
.pp-functional-zoning-ogre .pp-map__canvas.leaflet-container { background: #ddd; }
.pp-functional-zoning-ogre .pp-map__side { display: flex; flex-direction: column; max-height: 320px; border-top: 1px solid var(--pp-stone); }
.pp-functional-zoning-ogre .pp-map__head { padding: 16px 16px 10px; }
.pp-functional-zoning-ogre .pp-map__t { font-size: 17px; font-weight: 500; letter-spacing: -.01em; }
.pp-functional-zoning-ogre .pp-map__hp { margin-top: 6px !important; font-size: 13px; line-height: 1.5; font-weight: 300; color: var(--pp-ink-72); }
.pp-functional-zoning-ogre .pp-map__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding: 10px 16px;
  border-block: 1px solid var(--pp-stone);
  font-size: 12px;
  color: var(--pp-ink-72);
}
.pp-functional-zoning-ogre .pp-map__legend-item { display: inline-flex; align-items: center; gap: 6px; }
.pp-functional-zoning-ogre .pp-map__legend-item::before { content: ""; width: 10px; height: 10px; border-radius: 50%; flex: 0 0 10px; }
.pp-functional-zoning-ogre .pp-map__legend-item--good::before { background: var(--pp-good); }
.pp-functional-zoning-ogre .pp-map__legend-item--mid::before  { background: var(--pp-olive); }
.pp-functional-zoning-ogre .pp-map__legend-item--bad::before  { background: var(--pp-bad); }

.pp-functional-zoning-ogre .pp-map__list { counter-reset: pp-map; padding: 6px; overflow-y: auto; flex: 1; min-height: 0; }
.pp-functional-zoning-ogre .pp-map__item {
  counter-increment: pp-map;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  column-gap: 10px;
  align-items: start;
  margin-bottom: 2px !important;
  padding: 8px 10px;
  border-radius: var(--pp-r-md);
  text-align: left;
}
.pp-functional-zoning-ogre .pp-map__item::before {
  content: counter(pp-map);
  grid-row: 1 / span 2;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  margin-top: 1px;
}
.pp-functional-zoning-ogre .pp-map__item--good::before { background: #4F7A44; }
.pp-functional-zoning-ogre .pp-map__item--warn::before { background: #6E5C3C; }
.pp-functional-zoning-ogre .pp-map__item--bad::before  { background: #B0463F; }
.pp-functional-zoning-ogre .pp-map__item.pp-is-active { background: var(--pp-tint); }
.pp-functional-zoning-ogre.pp-js .pp-map__item { cursor: pointer; }
.pp-functional-zoning-ogre.pp-js .pp-map__item:hover { background: var(--pp-surface); }
.pp-functional-zoning-ogre .pp-map__item:focus-visible { outline: 2px solid var(--pp-accent); outline-offset: -2px; }
.pp-functional-zoning-ogre .pp-map__nm { grid-column: 2; display: block; font-size: 14px; font-weight: 500; line-height: 1.3; }
.pp-functional-zoning-ogre .pp-map__dsc { grid-column: 2; display: block; margin-top: 2px !important; font-size: 12.5px; line-height: 1.45; font-weight: 300; color: var(--pp-ink-72); }
.pp-functional-zoning-ogre .pp-map__note { margin-top: 12px !important; font-size: 12.5px; line-height: 1.55; color: var(--pp-ink-56); font-weight: 300; }
.pp-functional-zoning-ogre .pp-map__cta { margin-top: 16px !important; }

.pp-functional-zoning-ogre .pp-pin {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font: 500 11px/1 "Poppins", sans-serif;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgb(0 0 0 / .3);
}
.pp-functional-zoning-ogre .pp-pin.pp-is-on { transform: scale(1.25); }
.pp-functional-zoning-ogre .pp-pinwrap { background: none; border: 0; }
.pp-functional-zoning-ogre .pp-map .leaflet-container { font-family: "Poppins", sans-serif; font-size: 13px; }
.pp-functional-zoning-ogre .pp-map .leaflet-popup-content { margin: 12px 14px; line-height: 1.5; }
.pp-functional-zoning-ogre .pp-pop-n { display: block; margin-bottom: 4px; font-weight: 500; font-size: 14px; color: var(--pp-ink); }
.pp-functional-zoning-ogre .pp-pop-s { display: inline-block; margin-top: 8px; padding: 2px 10px; border-radius: var(--pp-r-pill); font-size: 12px; font-weight: 500; }


/* ==========================================================================
   11  PERMIT MATRIX — core/table
   A real, editable table on desktop; below 900px it turns into stacked cards
   (frontend.js copies each header label onto its cells as data-label, which
   the ::before below prints). Cell columns are addressed by position.
   ========================================================================== */

.pp-functional-zoning-ogre .wp-block-table.pp-matrix { margin-top: clamp(24px, 4vw, 40px) !important; overflow: visible; }
.pp-functional-zoning-ogre .pp-matrix table { width: 100%; display: block; border-collapse: collapse; border: 0; background: none; table-layout: auto; }
.pp-functional-zoning-ogre .pp-matrix thead { display: none; }
.pp-functional-zoning-ogre .pp-matrix tbody { display: grid; gap: 12px; }
.pp-functional-zoning-ogre .pp-matrix tr { display: block; padding: 16px; background: var(--pp-bone); border: 1px solid var(--pp-stone); border-radius: var(--pp-r-card); }
.pp-functional-zoning-ogre .pp-matrix td {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid var(--pp-ink-hair);
  font-size: 14px;
  line-height: normal;
  font-weight: 400;
  text-align: right;
  color: var(--pp-ink);
}
.pp-functional-zoning-ogre .pp-matrix td:last-child { border-bottom: 0; }
.pp-functional-zoning-ogre .pp-matrix td::before {
  content: attr(data-label);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--pp-ink-56);
  text-align: left;
  flex: 0 0 auto;
}
.pp-functional-zoning-ogre .pp-matrix td:first-child { display: block; padding-top: 0; text-align: left; font-size: 16px; font-weight: 500; }
.pp-functional-zoning-ogre .pp-matrix td:first-child::before { display: none; }
.pp-functional-zoning-ogre .pp-matrix td:nth-child(6) { font-weight: 500; }
.pp-functional-zoning-ogre .pp-size { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 300; color: var(--pp-ink-56); }
.pp-functional-zoning-ogre .pp-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  height: auto;
  padding: 3px 11px;
  border-radius: var(--pp-r-pill);
  font-size: 12px;
  font-weight: 500;
  white-space: normal;
  text-align: center;
  max-width: 100%;
}
.pp-functional-zoning-ogre .pp-pill--p { background: var(--pp-good-soft); color: var(--pp-good); }
.pp-functional-zoning-ogre .pp-pill--b { background: var(--pp-tint); color: var(--pp-ink); }
.pp-functional-zoning-ogre .pp-pill--x { background: var(--pp-bad-soft); color: var(--pp-bad); }
.pp-functional-zoning-ogre .pp-note {
  margin-top: 18px !important;
  padding: 16px 18px;
  background: color-mix(in oklab, var(--pp-sun) 28%, var(--pp-bone));
  border-radius: var(--pp-r-card);
  font-size: 13.5px;
  line-height: 1.65;
  font-weight: 300;
  color: var(--pp-ink-72);
}
.pp-functional-zoning-ogre .pp-note strong { font-weight: 500; color: var(--pp-ink); }


/* ==========================================================================
   12  PROCESS STEPS + SOFT CTA BAR
   ========================================================================== */

.pp-functional-zoning-ogre .pp-steps { margin: clamp(24px, 4vw, 40px) 0 0 !important; max-width: 860px; }
.pp-functional-zoning-ogre .pp-step { position: relative; display: flex; gap: 16px; padding-bottom: 26px; }
.pp-functional-zoning-ogre .pp-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 38px;
  bottom: 4px;
  width: 1px;
  background: var(--pp-ink-line);
}
.pp-functional-zoning-ogre .pp-step__num {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--pp-ink);
  color: var(--pp-bone);
  font-size: 14px;
  font-weight: 500;
}
.pp-functional-zoning-ogre .pp-step__body { min-width: 0; }
.pp-functional-zoning-ogre .pp-step__t {
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 500;
  letter-spacing: -.015em;
  line-height: 1.3;
  padding-top: 5px;
}
.pp-functional-zoning-ogre .pp-step__time {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  height: auto;
  padding: 3px 10px;
  margin-left: 4px;
  border-radius: var(--pp-r-pill);
  background: var(--pp-tint);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  vertical-align: middle;
  white-space: normal;
}
.pp-functional-zoning-ogre .pp-step__p {
  margin-top: 8px !important;
  font-size: 14.5px;
  line-height: 1.65;
  font-weight: 300;
  color: var(--pp-ink-72);
  max-width: 62ch;
}
.pp-functional-zoning-ogre .pp-step__p strong { font-weight: 400; color: inherit; }

.pp-functional-zoning-ogre .wp-block-group.pp-soft {
  margin-top: clamp(16px, 3vw, 28px) !important;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid var(--pp-tint-line-strong);
  border-radius: var(--pp-r-card);
}
.pp-functional-zoning-ogre .pp-soft__t { display: block; font-size: 17px; font-weight: 500; letter-spacing: -.01em; }
.pp-functional-zoning-ogre .pp-soft__s {
  display: block;
  margin-top: 6px !important;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 300;
  color: var(--pp-ink-72);
  max-width: 64ch;
}


/* ==========================================================================
   13  DISTRICT / COMPARISON CARDS
   ========================================================================== */

.pp-functional-zoning-ogre .pp-dist__head,
.pp-functional-zoning-ogre .pp-cmp__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--pp-ink-line);
}
.pp-functional-zoning-ogre .pp-dist__meta { font-size: 12px; line-height: 1.4; text-align: right; color: var(--pp-ink-56); }
.pp-functional-zoning-ogre .pp-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--pp-ink-hair);
  font-size: 13.5px;
}
.pp-functional-zoning-ogre .pp-row:last-child { border-bottom: 0; padding-bottom: 0; }
.pp-functional-zoning-ogre .pp-row__t { color: var(--pp-ink-72); font-weight: 300; min-width: 0; overflow-wrap: anywhere; }
.pp-functional-zoning-ogre .pp-row__d { font-weight: 500; text-align: right; min-width: 0; overflow-wrap: anywhere; max-width: 60%; }
.pp-functional-zoning-ogre .pp-cmp__verdict {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  height: auto;
  padding: 3px 12px;
  border-radius: var(--pp-r-pill);
  background: var(--pp-surface);
  border: 1px solid var(--pp-ink-line);
  font-size: 12px;
  white-space: normal;
  text-align: center;
  max-width: 100%;
}
.pp-functional-zoning-ogre .pp-cmp__verdict--good { background: var(--pp-good-soft); border-color: transparent; color: var(--pp-good); }
.pp-functional-zoning-ogre .pp-cmp--hl { border-color: var(--pp-accent-soft); }


/* ==========================================================================
   14  COSTS
   The source has an empty cost-card grid ahead of the total bar for this
   city (no verifiable fees to list); only its spacing is kept, on the bar.
   ========================================================================== */

.pp-functional-zoning-ogre .wp-block-group.pp-total {
  margin-top: 16px !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(20px, 3vw, 28px);
  border-radius: var(--pp-r-card);
}
.pp-functional-zoning-ogre .pp-section--costs .wp-block-group.pp-total { margin-top: calc(clamp(24px, 4vw, 40px) + 16px) !important; }
.pp-functional-zoning-ogre .pp-total__t { display: block; font-size: 17px; font-weight: 500; }
.pp-functional-zoning-ogre .pp-total__s { display: block; margin-top: 4px !important; font-size: 13.5px; font-weight: 300; color: var(--pp-bone-60); }
.pp-functional-zoning-ogre .pp-total__val {
  font-size: clamp(32px, 5vw, 46px);
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--pp-accent-soft);
}
.pp-functional-zoning-ogre .pp-after {
  margin: 16px 0 20px !important;
  max-width: 72ch;
  font-size: 14.5px;
  line-height: 1.7;
  font-weight: 300;
  color: var(--pp-ink-72);
}
.pp-functional-zoning-ogre .pp-after strong { font-weight: 500; color: var(--pp-ink); }


/* ==========================================================================
   15  MODEL CARDS — the whole card is clickable (see .pp-link-arrow above)
   ========================================================================== */

.pp-functional-zoning-ogre .pp-model {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--pp-bone);
  border: 1px solid var(--pp-stone);
  border-radius: var(--pp-r-card);
  overflow: hidden;
  transition: border-color var(--pp-t-med), box-shadow var(--pp-t-med);
}
.pp-functional-zoning-ogre .pp-model__media { position: relative; aspect-ratio: 3 / 2; background: var(--pp-surface); overflow: hidden; }
.pp-functional-zoning-ogre .pp-model__img { margin: 0; width: 100%; height: 100%; }
.pp-functional-zoning-ogre .pp-model__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pp-functional-zoning-ogre .pp-model__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 12px;
  border-radius: var(--pp-r-pill);
  background: var(--pp-bone);
  font-size: 12px;
}
.pp-functional-zoning-ogre .pp-model__body { display: flex; flex-direction: column; flex: 1; padding: 18px; }
.pp-functional-zoning-ogre .pp-model__t { font-size: 20px; font-weight: 500; letter-spacing: -.015em; }
.pp-functional-zoning-ogre .pp-model__meta { margin-top: 4px !important; font-size: 13px; color: var(--pp-ink-56); }
.pp-functional-zoning-ogre .pp-model__fit { margin-top: 10px !important; font-size: 14px; line-height: 1.55; font-weight: 300; color: var(--pp-ink-72); }
.pp-functional-zoning-ogre .pp-model__foot {
  margin-top: auto !important;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.pp-functional-zoning-ogre .pp-model__price { font-weight: 500; }
@media (hover: hover) {
  .pp-functional-zoning-ogre .pp-model:hover { border-color: var(--pp-accent-soft); box-shadow: 0 14px 34px -18px color-mix(in oklab, var(--pp-ink) 30%, transparent); }
  .pp-functional-zoning-ogre .pp-model:hover .pp-model__t,
  .pp-functional-zoning-ogre .pp-model:hover .pp-model__price,
  .pp-functional-zoning-ogre .pp-model:hover .pp-link-arrow a { color: var(--pp-accent); }
}


/* ==========================================================================
   16  WHY MYCABIN — comparison bars + energy-class chart
   Bar widths and chart bar heights are data-visualisation values, so they
   stay in CSS (modifier classes), not block attributes.
   ========================================================================== */

.pp-functional-zoning-ogre .pp-adv__head {
  margin-top: 6px !important;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1.6;
  color: var(--pp-ink);
}
.pp-functional-zoning-ogre .pp-adv__head span { font-size: 16px; font-weight: 300; letter-spacing: 0; color: var(--pp-ink-56); }
.pp-functional-zoning-ogre .pp-adv__sub {
  margin-top: 6px !important;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 300;
  color: var(--pp-ink-56);
}
.pp-functional-zoning-ogre .pp-bars { margin-top: 18px !important; }
.pp-functional-zoning-ogre .pp-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--pp-ink-hair);
  font-size: 13.5px;
}
.pp-functional-zoning-ogre .pp-bar__lbl { grid-column: 1 / -1; color: var(--pp-ink-72); font-weight: 300; }
.pp-functional-zoning-ogre .pp-bar__lbl strong { font-weight: 500; color: var(--pp-ink); }
.pp-functional-zoning-ogre .pp-bar__track { height: 6px; border-radius: var(--pp-r-pill); background: var(--pp-stone); overflow: hidden; }
.pp-functional-zoning-ogre .pp-bar__fill { height: 100%; border-radius: var(--pp-r-pill); background: var(--pp-accent); }
.pp-functional-zoning-ogre .pp-bar__fill--w100 { width: 100%; }
.pp-functional-zoning-ogre .pp-bar__fill--w20 { width: 20%; }
.pp-functional-zoning-ogre .pp-bar__fill--muted { background: var(--pp-ink-28); }
.pp-functional-zoning-ogre .pp-bar__val { font-weight: 500; min-width: 7ch; text-align: right; }
.pp-functional-zoning-ogre .pp-bar__val--accent { color: var(--pp-accent); }

.pp-functional-zoning-ogre .wp-block-group.pp-energy { margin-top: 18px !important; padding: 18px; border-radius: var(--pp-r-md); }
.pp-functional-zoning-ogre .pp-energy__lbl {
  font-size: 11px;
  line-height: 1.6;
  font-weight: 300;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--pp-ink-56);
}
.pp-functional-zoning-ogre .pp-energy__bars { margin-top: 34px !important; height: 64px; display: flex; gap: 3px; align-items: flex-end; }
.pp-functional-zoning-ogre .pp-energy__bar {
  flex: 1;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 4px 2px;
  border-radius: 4px 4px 0 0;
  background: var(--pp-stone);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  color: var(--pp-ink);
}
.pp-functional-zoning-ogre .pp-energy__bar--aplus { height: 100%; background: var(--pp-good); color: #fff; }
.pp-functional-zoning-ogre .pp-energy__bar--a { height: 90%; background: var(--pp-good); color: #fff; opacity: .85; }
.pp-functional-zoning-ogre .pp-energy__bar--a::after {
  content: "MyCabin";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 6px;
  padding: 3px 10px;
  border-radius: var(--pp-r-pill);
  background: var(--pp-ink);
  color: var(--pp-bone);
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.pp-functional-zoning-ogre .pp-energy__bar--b { height: 76%; background: var(--pp-accent-soft); }
.pp-functional-zoning-ogre .pp-energy__bar--c { height: 62%; background: var(--pp-tint); }
.pp-functional-zoning-ogre .pp-energy__bar--d { height: 48%; background: var(--pp-wood); }
.pp-functional-zoning-ogre .pp-energy__bar--e { height: 36%; background: color-mix(in oklab, var(--pp-wood) 70%, var(--pp-bad)); }
.pp-functional-zoning-ogre .pp-energy__bar--f { height: 26%; background: var(--pp-bad-soft); }
.pp-functional-zoning-ogre .pp-energy__note {
  margin-top: 12px !important;
  font-size: 12.5px;
  line-height: 1.6;
  font-weight: 300;
  color: var(--pp-ink-72);
}


/* ==========================================================================
   17  PROSE, RELATED CARDS, SOURCES
   ========================================================================== */

.pp-functional-zoning-ogre .pp-prose { max-width: 760px; }
.pp-functional-zoning-ogre .pp-prose__h {
  margin: clamp(26px, 4vw, 36px) 0 10px !important;
  font-size: clamp(19px, 2.4vw, 24px);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.25;
}
.pp-functional-zoning-ogre .pp-prose__p {
  margin-top: 14px !important;
  font-size: 15.5px;
  line-height: 1.75;
  font-weight: 300;
  color: var(--pp-ink-72);
}
.pp-functional-zoning-ogre .pp-prose__p strong { font-weight: 500; color: var(--pp-ink); }

.pp-functional-zoning-ogre .pp-related {
  position: relative;
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  background: var(--pp-bone);
  border: 1px solid var(--pp-stone);
  border-radius: var(--pp-r-card);
  transition: border-color var(--pp-t-med);
}
.pp-functional-zoning-ogre .pp-related__t { font-size: 15.5px; font-weight: 500; }
.pp-functional-zoning-ogre .pp-related__t a::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.pp-functional-zoning-ogre .pp-related__d { margin-top: 2px !important; font-size: 13.5px; font-weight: 300; color: var(--pp-ink-72); }
@media (hover: hover) {
  .pp-functional-zoning-ogre .pp-related:hover { border-color: var(--pp-accent-soft); }
  .pp-functional-zoning-ogre .pp-related:hover .pp-related__t a { color: var(--pp-accent); }
}
.pp-functional-zoning-ogre .pp-sources {
  margin-top: clamp(24px, 4vw, 40px) !important;
  padding: 18px 20px;
  border-radius: var(--pp-r-card);
  font-size: 12.5px;
  line-height: 1.75;
  font-weight: 300;
  color: var(--pp-ink-56);
}
.pp-functional-zoning-ogre .pp-sources strong { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 500; color: var(--pp-ink-72); }


/* ==========================================================================
   18  FAQ ACCORDION
   Native heading + paragraph per question (no <button> inside an <h3>);
   frontend.js adds role/aria-expanded/tabindex at runtime and toggles
   .pp-is-open. Without it every answer is simply open.
   ========================================================================== */

.pp-functional-zoning-ogre .wp-block-group.pp-faq-sec {
  padding: clamp(56px, 8vw, 100px) 0;
  border-block: 1px solid var(--pp-tint-line);
}
.pp-functional-zoning-ogre .pp-faq-sec .pp-title { max-width: 28ch; }
.pp-functional-zoning-ogre .pp-faq-list {
  margin-top: clamp(24px, 3.5vw, 36px) !important;
  max-width: 860px;
  border-bottom: 1px solid var(--pp-tint-line-strong);
}
.pp-functional-zoning-ogre .pp-faq { border-top: 1px solid var(--pp-tint-line-strong); }
.pp-functional-zoning-ogre .pp-faq__q {
  position: relative;
  padding: 20px 38px 20px 0;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: normal;
  line-height: normal;
  text-align: left;
  cursor: default;
  transition: color .2s;
}
.pp-functional-zoning-ogre .pp-faq__q::before {
  content: "\2212";
  position: absolute;
  right: 0;
  top: 20px;
  width: 22px;
  font-size: 20px;
  font-weight: 300;
  line-height: 1;
  text-align: right;
  color: var(--pp-ink-56);
}
.pp-functional-zoning-ogre.pp-js .pp-faq__q { cursor: pointer; }
.pp-functional-zoning-ogre.pp-js .pp-faq__q:hover { color: var(--pp-accent); }
.pp-functional-zoning-ogre.pp-js .pp-faq:not(.pp-is-open) .pp-faq__q::before { content: "+"; }
.pp-functional-zoning-ogre.pp-js .pp-faq:not(.pp-is-open) .pp-faq__a { display: none; }
.pp-functional-zoning-ogre .pp-faq__a {
  padding: 0 0 22px;
  font-size: 15.5px;
  line-height: 1.6;
  font-weight: 300;
  color: var(--pp-ink-72);
}


/* ==========================================================================
   19  CLOSING CTA
   ========================================================================== */

.pp-functional-zoning-ogre .pp-dark-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.pp-functional-zoning-ogre .pp-dark-cta__copy { display: flex; flex-direction: column; gap: 12px; flex: 1 1 300px; min-width: 0; }
.pp-functional-zoning-ogre .pp-dark-cta__t {
  font-size: clamp(25px, 7vw, 42px);
  line-height: 1.16;
  letter-spacing: -.03em;
  font-weight: 500;
  color: var(--pp-bone);
}
/* In the source, `.dark-cta p` outranks `.eyebrow--soft`, so this eyebrow renders at
   paragraph size/colour (still uppercase + tracked) — reproduced as rendered. */
.pp-functional-zoning-ogre .pp-dark-cta .pp-eyebrow {
  font-size: clamp(13px, 2.8vw, 15px);
  line-height: 1.65;
  font-weight: 300;
  color: var(--pp-bone-60);
}
.pp-functional-zoning-ogre .pp-dark-cta__p { font-size: clamp(13px, 2.8vw, 15px); line-height: 1.65; font-weight: 300; color: var(--pp-bone-60); }
.pp-functional-zoning-ogre .wp-block-buttons.pp-dark-cta__btns { display: flex; flex-direction: column; align-items: stretch; gap: 10px 10px; width: 100%; }
.pp-functional-zoning-ogre .pp-dark-cta__btns > .wp-block-button { width: 100%; }
.pp-functional-zoning-ogre .pp-dark-cta__btns .wp-block-button__link.wp-element-button { width: 100%; }


/* ==========================================================================
   20  SCROLL REVEAL + REDUCED MOTION
   The hero fades up on load with a plain CSS animation; the other reveal
   blocks start hidden only once frontend.js is running (`.pp-js`) and gain
   `.pp-in-view` the first time they scroll into view.
   ========================================================================== */

@keyframes pp-fade-up {
  from { opacity: 0; transform: translateY(24px) scale(.97); }
  to   { opacity: 1; transform: none; }
}
.pp-functional-zoning-ogre .pp-enter { animation: pp-fade-up .8s var(--pp-ease) both; }
.pp-functional-zoning-ogre .pp-io-fade { transition: opacity .8s var(--pp-ease), transform .8s var(--pp-ease); }
.pp-functional-zoning-ogre.pp-js .pp-io-fade:not(.pp-in-view) { opacity: 0; transform: translateY(24px) scale(.97); }


/* ==========================================================================
   RESPONSIVE — the source's own breakpoints: 640px, 900px, 1100px
   ========================================================================== */

@media (min-width: 640px) {
  .pp-functional-zoning-ogre .pp-trust { grid-template-columns: repeat(3, 1fr); }
  .pp-functional-zoning-ogre .pp-grid--zones, .pp-functional-zoning-ogre .pp-grid--models, .pp-functional-zoning-ogre .pp-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .pp-functional-zoning-ogre .pp-tree__meta { grid-template-columns: repeat(4, 1fr); }
  .pp-functional-zoning-ogre .pp-card { padding: 24px; }
  .pp-functional-zoning-ogre .wp-block-buttons.pp-toc { flex-wrap: wrap; overflow: visible; margin-inline: 0 !important; padding-inline: 0; }
  .pp-functional-zoning-ogre .pp-bar { grid-template-columns: 220px 1fr auto; }
  .pp-functional-zoning-ogre .pp-bar__lbl { grid-column: auto; }
}

@media (min-width: 900px) {
  .pp-functional-zoning-ogre .wp-block-group.pp-answer { grid-template-columns: auto 1fr auto; gap: 28px; }
  .pp-functional-zoning-ogre .pp-answer__btn { justify-self: end; }
  .pp-functional-zoning-ogre .pp-grid--3 { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .pp-functional-zoning-ogre .pp-grid--zones { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .pp-functional-zoning-ogre .pp-grid--models { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .pp-functional-zoning-ogre .pp-grid--2 { gap: 20px; }
  .pp-functional-zoning-ogre .pp-stats { grid-template-columns: repeat(4, 1fr); }
  .pp-functional-zoning-ogre .pp-stat, .pp-functional-zoning-ogre .pp-stat:nth-child(even) { padding: 24px 24px; border-left: 0; border-bottom: 0; border-right: 1px solid var(--pp-ink-line); }
  .pp-functional-zoning-ogre .pp-stat:first-child { padding-left: 0; }
  .pp-functional-zoning-ogre .pp-stat:last-child { border-right: 0; }
  .pp-functional-zoning-ogre .pp-check, .pp-functional-zoning-ogre .wp-block-group.pp-soft, .pp-functional-zoning-ogre .wp-block-group.pp-total { flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; }
  .pp-functional-zoning-ogre .pp-soft__btn, .pp-functional-zoning-ogre .pp-check__btn { flex: 0 0 auto; }
  .pp-functional-zoning-ogre .pp-map__frame { flex-direction: row; }
  .pp-functional-zoning-ogre .pp-map__canvas { flex: 2 1 0; min-height: 460px; }
  .pp-functional-zoning-ogre .pp-map__side { flex: 1 1 0; max-height: 460px; border-top: 0; border-left: 1px solid var(--pp-stone); min-width: 300px; }
  /* The source's table is wider than its container between 900px and ~1050px, which
     makes the whole page scroll sideways; here the table scrolls inside its own
     block instead (identical appearance wherever it fits). */
  .pp-functional-zoning-ogre .wp-block-table.pp-matrix { overflow-x: auto; }
  .pp-functional-zoning-ogre .pp-matrix table { display: table; background: var(--pp-bone); border: 1px solid var(--pp-stone); border-radius: var(--pp-r-card); border-collapse: separate; border-spacing: 0; overflow: hidden; }
  .pp-functional-zoning-ogre .pp-matrix thead { display: table-header-group; background: var(--pp-surface); }
  .pp-functional-zoning-ogre .pp-matrix tbody { display: table-row-group; }
  .pp-functional-zoning-ogre .pp-matrix tr { display: table-row; padding: 0; background: transparent; border: 0; border-radius: 0; }
  .pp-functional-zoning-ogre .pp-matrix th {
    padding: 14px;
    text-align: center;
    font-size: 11px;
    font-weight: 500;
    line-height: normal;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--pp-ink-56);
    border: 0;
    border-bottom: 1px solid var(--pp-stone);
  }
  .pp-functional-zoning-ogre .pp-matrix th:first-child { text-align: left; }
  .pp-functional-zoning-ogre .pp-matrix td { display: table-cell; padding: 16px 14px; text-align: center; border-bottom: 1px solid var(--pp-ink-hair); vertical-align: middle; }
  .pp-functional-zoning-ogre .pp-matrix td::before { display: none; }
  .pp-functional-zoning-ogre .pp-matrix td:first-child { display: table-cell; text-align: left; font-size: 14.5px; min-width: 220px; }
  .pp-functional-zoning-ogre .pp-matrix tr:last-child td { border-bottom: 0; }
  .pp-functional-zoning-ogre .pp-matrix tbody tr:hover td { background: var(--pp-surface); }
  .pp-functional-zoning-ogre .pp-matrix td:nth-child(7) { color: var(--pp-ink-72); white-space: nowrap; }
  .pp-functional-zoning-ogre .pp-pill { white-space: nowrap; }
  .pp-functional-zoning-ogre .wp-block-buttons.pp-dark-cta__btns { display: grid; grid-template-columns: 1fr 1fr; width: auto; }
  .pp-functional-zoning-ogre .pp-dark-cta__btns > .wp-block-button { width: auto; }
}

@media (min-width: 1100px) {
  .pp-functional-zoning-ogre .pp-grid--2 .pp-adv { padding: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .pp-functional-zoning-ogre *, .pp-functional-zoning-ogre *::before, .pp-functional-zoning-ogre *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}


/* ===== v1.0.1 fixes (family F4) ===== */
/* The site theme balances headings (text-wrap: balance), lets text break anywhere (overflow-wrap: break-word) and disables hyphens; the design inherits
   `text-wrap: pretty` from the page. */
.pp-functional-zoning-ogre :where(h1, h2, h3, h4, p, li, .wp-block-heading, .wp-block-button__link) { text-wrap-style: pretty; overflow-wrap: normal; hyphens: manual; }
/* source: <a> buttons align start, <button>s centre */
.pp-functional-zoning-ogre .wp-block-button .wp-block-button__link.wp-element-button { text-align: start; }
.pp-functional-zoning-ogre :is(.pp-check__btn, .pp-soft__btn, .pp-map__cta) .wp-block-button .wp-block-button__link.wp-element-button, .pp-functional-zoning-ogre .pp-tree__reset .wp-block-button .wp-block-button__link.wp-element-button { text-align: center; }
