/* profile.css: building and neighborhood profile patterns (v6). Loads after brand.css and uses only its tokens.
   API: .kf-open--building (+ .kf-open-fig), .kf-pull--thesis, .kf-nums (+ --solo), .kf-num, .kf-num-label, .kf-num-fig, .kf-colophon,
   .kf-read (+ .kf-read-item, .kf-read-idx, .kf-read-a), .kf-pair (+ .kf-pair-col), .kf-dir-top, .kf-nearby */

/* ===== building profile opening (v9b) =====
   Scoped to .kf-open--building and .kf-know. One band for every building, photo or not. The photo figure is the first child of What I Know,
   so it never sets the band height. Three modes:
   phones (<700): the figure is a block that overlaps the band by --ov (the band keeps --ov of empty blue under the facts for it).
   tablet (700 to 1279): same overlap, the figure floats right and the h2 and intro flow beside it.
   desktop (>=1280): the band reserves a right column on every page and ends at --band-min; the figure floats right with a negative top
   margin so it starts beside the breadcrumb row and crosses the blue-to-cream edge. v9c: figure margin-bottom sets credit to next heading gap (44 desktop, 32 tablet and phone). --ar (width / height of the file) caps phone height at about 70svh. */
.kf-open--building, .kf-know{ --ov:40px; --band-min:0px; --lift:0px; --photo-h:460px; --pw-cap:360px; --fgap:clamp(28px, 4vw, 48px); }
.kf-open--building{ padding-bottom:calc(26px + var(--ov)); min-height:var(--band-min); }
.kf-open--building .kf-open-in{ max-width:none; }
.kf-open--building > .kf-facts{ margin-top:22px; }
.kf-open-fig{ position:relative; z-index:1; margin:calc(-1 * (var(--pad) + var(--ov))) 0 32px; width:min(100%, 24rem, calc(70svh * var(--ar, 0.667))); }
.kf-open-fig img{ display:block; width:100%; height:auto; }
.kf-open-fig .kf-credit{ margin:0.5rem 0 0; max-width:none; font-size:12px; line-height:1.5; color:var(--ink-soft); }
.kf-open-fig .kf-credit a{ color:var(--ink); text-decoration:underline; text-decoration-color:var(--bronze); text-decoration-thickness:1px; text-underline-offset:0.2em; }
@media (min-width:700px){
  .kf-open--building > .kf-facts{ margin-top:28px; gap:18px 40px; }
  .kf-open--building h1{ max-width:32ch; }
  .kf-open--building .kf-fact--wide{ flex:0 1 auto; max-width:26rem; }
  .kf-open-fig{ float:right; width:min(calc(var(--photo-h) * var(--ar, 0.667)), var(--pw-cap)); margin:calc(-1 * (var(--pad) + var(--ov))) 0 32px var(--fgap); }
  .kf-open-fig--landscape{ width:46%; }
  .kf-know-grid{ clear:both; }
}
@media (min-width:1000px){ .kf-open--building, .kf-know{ --photo-h:520px; --pw-cap:400px; } }
@media (min-width:1280px){
  .kf-open--building, .kf-know{ --photo-h:580px; --pw-cap:420px; --band-min:452px; --lift:calc(var(--band-min) - var(--bar-top-h) - 20px); }
  .kf-open--building{ display:grid; grid-template-columns:minmax(0, 1fr) calc(var(--pw-cap) + var(--fgap)); align-content:start; align-items:start; padding-bottom:32px; }
  .kf-open--building > .kf-open-in, .kf-open--building > .kf-facts{ grid-column:1; }
  .kf-open-fig{ margin-top:calc(-1 * (var(--pad) + var(--lift))); margin-bottom:44px; }
}

/* ===== v9d phones only (below 700px): square building photo and At A Glance facts =====
   Every rule is scoped to .kf-open--building, .kf-know or .kf-open-fig inside the phone query, so 700px and up is untouched. */
@media (max-width:699.98px){
  /* one photo size: square, gutter to gutter. The square is the img box; the credit sits directly under it (credit to h2 stays 32px via the figure margin). */
  .kf-know .kf-open-fig{ width:100%; }
  .kf-know .kf-open-fig img{ width:100%; height:auto; aspect-ratio:1 / 1; object-fit:cover; object-position:var(--mfocus, 50% 50%); }
  /* text-only profiles: no reserve for a photo, the facts flow straight into What I Know */
  .kf-open--building:not(.kf-open--has-photo){ padding-bottom:26px; }
  /* At A Glance: lead row (Completed, Stories, Residences as present) then label and value rows */
  .kf-open--building .kf-facts{ display:grid; grid-auto-flow:row; grid-template-columns:repeat(var(--lead, 3), minmax(0, 1fr)); column-gap:16px; row-gap:0; padding-top:18px; }
  .kf-open--building .kf-fact{ grid-column:1 / -1; display:grid; grid-template-columns:minmax(7.5rem, 32%) minmax(0, 1fr); column-gap:16px; align-items:baseline; padding:10px 0; border-top:1px solid rgb(255 255 255 / 0.14); }
  .kf-open--building .kf-fact .kf-fact-label{ margin:0; }
  .kf-open--building .kf-fact .kf-fact-value{ font-size:1.2rem; line-height:1.3; overflow-wrap:break-word; }
  .kf-open--building .kf-fact.kf-fact--lead{ grid-column:auto; display:block; padding:0 0 18px; border-top:0; }
  .kf-open--building .kf-fact.kf-fact--lead .kf-fact-label{ margin:0 0 6px; }
  .kf-open--building .kf-fact.kf-fact--lead .kf-fact-value{ font-size:clamp(1.5rem, 7vw, 1.9rem); line-height:1.1; }
}

/* Listings button may wrap on narrow phones instead of overflowing */
.kf-listings .kf-btn{ white-space:normal; max-width:100%; text-align:center; }

/* thesis lead: a substantial paragraph, so body sans at reading size. On wide screens it sits beside the "What I Know" heading (balanced, no empty right half). */
.kf-pull--thesis{ font-family:var(--sans); font-weight:400; font-size:1.125rem; line-height:1.6; max-width:var(--measure); margin-bottom:36px; text-wrap:pretty; color:var(--ink); }
.kf-pull--thesis em{ font-style:italic; }
.kf-wrap:has(> .kf-pull--thesis){ display:grid; grid-template-columns:minmax(0, 1fr); }
.kf-wrap:has(> .kf-pull--thesis) > .kf-head{ margin-bottom:16px; }
@media (min-width:960px){
  .kf-wrap:has(> .kf-pull--thesis){ grid-template-columns:minmax(0, 1fr) minmax(0, 42rem); column-gap:clamp(40px, 6vw, 88px); }
  .kf-wrap:has(> .kf-pull--thesis) > *{ grid-column:1 / -1; }
  .kf-wrap:has(> .kf-pull--thesis) > .kf-head{ grid-column:1; grid-row:1; margin-bottom:0; }
  .kf-wrap:has(> .kf-pull--thesis) > .kf-pull--thesis{ grid-column:2; grid-row:1; padding-top:0.35rem; max-width:none; }
}

/* number strip: caps label over a large serif figure, hairline separated */
.kf-nums{ display:grid; grid-auto-flow:column; grid-auto-columns:minmax(0, 1fr); border-top:1px solid var(--rule); border-bottom:1px solid var(--rule); }
.kf-num{ padding:26px 24px 28px; border-left:1px solid var(--rule); }
.kf-num:first-child{ border-left:0; padding-left:0; }
.kf-num-label{ font-size:var(--fs-label-sm); color:var(--bronze); margin:0 0 10px; }
.kf-num-fig{ font-family:var(--serif); font-weight:300; font-size:clamp(2.4rem, 4.2vw, 3.4rem); line-height:1; color:var(--ink); font-variant-numeric:lining-nums; }
@media (max-width:699px){
  .kf-nums{ grid-auto-flow:row; grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .kf-num{ padding:20px 16px 22px; }
  .kf-num:nth-child(odd){ border-left:0; padding-left:0; }
  .kf-num:nth-child(n+3){ border-top:1px solid var(--rule); }
}
.kf-colophon{ margin-top:22px; max-width:var(--measure); font-size:var(--fs-body-sm); line-height:1.55; color:var(--ink-soft); }

/* single figure: number beside the colophon instead of one lone cell across the page */
.kf-nums--solo{ grid-auto-flow:row; grid-template-columns:minmax(0, 16rem) minmax(0, 1fr); align-items:center; }
.kf-nums--solo .kf-num{ border-left:0; padding:26px 0 28px; }
.kf-nums--solo .kf-colophon{ margin:0; padding:26px 0 26px 40px; border-left:1px solid var(--rule); max-width:calc(var(--measure) + 40px); }
@media (max-width:699px){
  .kf-nums--solo{ grid-template-columns:minmax(0, 1fr); }
  .kf-nums--solo .kf-num{ padding:20px 0 16px; }
  .kf-nums--solo .kf-colophon{ padding:16px 0 20px; border-left:0; border-top:1px solid var(--rule); }
}
/* a number strip that ends a white section hands its bottom rule to the next white section's top hairline (one rule, not two) */
.kf-sect:not(.kf-sect--dark):has(+ .kf-sect:not(.kf-sect--dark)) .kf-wrap > .kf-nums:last-child{ border-bottom:0; }
.kf-sect:not(.kf-sect--dark):has(+ .kf-sect:not(.kf-sect--dark)) .kf-wrap > .kf-nums--solo:last-child .kf-num,
.kf-sect:not(.kf-sect--dark):has(+ .kf-sect:not(.kf-sect--dark)) .kf-wrap > .kf-nums--solo:last-child .kf-colophon{ padding-bottom:0; }

/* Kelton's Read: numbered questions, hairline rows, two columns on desktop (dark section) */
.kf-read{ display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); column-gap:clamp(40px, 6vw, 88px); border-top:1px solid var(--line); margin-top:8px; }
.kf-read-item{ padding:24px 0 24px; border-bottom:1px solid var(--line); }
.kf-read-item:nth-last-child(-n+2){ padding-bottom:16px; }
.kf-read-idx{ display:block; font-size:var(--fs-label-sm); color:var(--brass); margin-bottom:12px; }
.kf-read-item h3{ font-size:1.5rem; line-height:1.25; color:var(--white); text-wrap:balance; }
.kf-read-a{ margin-top:14px; font-size:var(--fs-body-sm); line-height:1.6; color:var(--fade); max-width:var(--measure); }
@media (max-width:860px){ .kf-read{ grid-template-columns:minmax(0, 1fr); } }
@media (max-width:699px){ .kf-read-item{ padding:20px 0 18px; } .kf-read-item:nth-last-child(-n+2){ padding-bottom:18px; } .kf-read-item:last-child{ padding-bottom:12px; } .kf-read-item h3{ font-size:1.3rem; } }

/* listings and floor plans: two short blocks side by side in one band */
.kf-pair{ display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); column-gap:clamp(40px, 6vw, 88px); }
.kf-pair-col .kf-head{ margin-bottom:0; max-width:none; }
.kf-pair-col .kf-lead{ max-width:var(--measure); margin-top:14px; }
.kf-pair-col .kf-actions{ margin-top:22px; }
@media (max-width:859px){ .kf-pair{ grid-template-columns:minmax(0, 1fr); row-gap:var(--pad); } }

/* directory block (neighborhood profiles): a link above the rows; nearby links */
.kf-dir-top{ margin:0 0 18px; }
.kf-nearby{ display:flex; flex-wrap:wrap; align-items:center; gap:0.4rem 2rem; }
/* the numbered reads end on a hairline row: trim the dark section's bottom padding so the seam to the next section is not a double gap */
.kf-sect--dark:has(> .kf-wrap > .kf-read){ padding-bottom:calc(var(--pad) * 0.6); }

/* ===== v8 shared building profile template =====
   Order: .kf-open (+ .kf-facts) > What I Know (.kf-know) > Living Around (.kf-places) > Read > Press (.kf-press) > Plans (.kf-plans) > Sources (.kf-sources) > Listings (.kf-listings)
   Facts banner is the last row inside the dark opening; on phones the DOM order is text, banner, photo. */
.kf-address{ margin-top:12px; font-family:var(--sans); font-size:var(--fs-body-sm); line-height:1.5; color:var(--white); }
.kf-open > .kf-facts, .kf-open-in + .kf-facts{ margin-top:22px; }

.kf-facts{ display:grid; grid-auto-flow:row dense; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:18px 20px; margin:0; padding:18px 0 0; border-top:1px solid rgb(255 255 255 / 0.18); }
.kf-fact{ margin:0; min-width:0; }
.kf-fact-label{ margin:0 0 6px; font-size:0.68rem; line-height:1.4; color:var(--fade); }
.kf-fact-value{ margin:0; font-family:var(--serif); font-weight:300; font-size:1.2rem; line-height:1.3; color:var(--white); font-variant-numeric:lining-nums; overflow-wrap:break-word; }
.kf-fact--wide{ grid-column:1 / -1; }
@media (min-width:700px){
  .kf-facts{ display:flex; flex-wrap:wrap; gap:20px 52px; padding-top:20px; }
  .kf-fact{ flex:0 1 auto; }
  .kf-fact--wide{ flex:0 1 20rem; max-width:20rem; }
  .kf-fact-value{ font-size:1.3rem; }
}

/* What I Know: one serif line, then two labeled groups */
.kf-know-intro{ font-family:var(--serif); font-weight:300; font-size:clamp(1.35rem, 2.2vw, 1.7rem); line-height:1.35; color:var(--ink); max-width:36ch; margin:0 0 32px; text-wrap:balance; }
.kf-know-grid{ display:grid; grid-template-columns:minmax(0, 1fr); gap:36px; }
.kf-know-group h3{ font-size:1.35rem; line-height:1.25; color:var(--ink); padding-bottom:14px; border-bottom:1px solid var(--rule); }
.kf-know-item{ padding:16px 0 0; }
.kf-know-item .caps{ display:block; margin:0 0 6px; font-size:var(--fs-label-sm); color:var(--bronze); }
.kf-know-item p{ margin:0; font-size:var(--fs-body-sm); line-height:1.6; color:var(--ink); max-width:var(--measure); }
.kf-know-item a{ color:var(--ink); text-decoration:underline; text-decoration-color:var(--bronze); text-decoration-thickness:1px; text-underline-offset:0.2em; }
@media (min-width:960px){ .kf-know-grid{ grid-template-columns:minmax(0, 1.35fr) minmax(0, 1fr); column-gap:clamp(40px, 6vw, 88px); } }

/* Living Around The Building: destination rows */
.kf-places{ list-style:none; margin:24px 0 0; padding:0; border-top:1px solid var(--rule); }
.kf-place{ display:grid; grid-template-columns:minmax(0, 1fr); gap:4px; padding:16px 0; border-bottom:1px solid var(--rule); }
.kf-place-cat{ font-size:var(--fs-label-sm); color:var(--bronze); }
.kf-place-name{ margin:0; font-family:var(--serif); font-weight:400; font-size:1.25rem; line-height:1.3; color:var(--ink); }
.kf-place-name a{ color:var(--ink); text-decoration:underline; text-decoration-color:var(--bronze); text-decoration-thickness:1px; text-underline-offset:0.22em; }
.kf-place-addr{ margin:0; font-size:var(--fs-body-sm); line-height:1.5; color:var(--ink-soft); }
.kf-place-time{ margin:0; font-size:var(--fs-body-sm); line-height:1.5; color:var(--ink); font-weight:500; }
.kf-place-note{ margin:2px 0 0; font-size:var(--fs-meta); line-height:1.5; color:var(--ink-soft); }
@media (min-width:860px){
  .kf-place{ grid-template-columns:9rem minmax(0, 1fr) 13rem; column-gap:32px; row-gap:4px; align-items:baseline; }
  .kf-place-cat{ grid-column:1; grid-row:1; }
  .kf-place-name{ grid-column:2; grid-row:1; }
  .kf-place-time{ grid-column:3; grid-row:1; text-align:right; }
  .kf-place-addr{ grid-column:2; grid-row:2; }
  .kf-place-note{ grid-column:2; grid-row:3; }
}
.kf-fine{ margin:18px 0 0; font-size:var(--fs-meta); line-height:1.5; color:var(--ink-soft); }
.kf-related{ display:flex; flex-wrap:wrap; align-items:center; gap:0 1.6rem; margin-top:6px; }
.kf-related .caps{ font-size:var(--fs-label-sm); color:var(--bronze); margin-right:0.4rem; }
.kf-related .kf-link{ padding:10px 0; }

/* In The Press */
.kf-press-list{ list-style:none; margin:24px 0 0; padding:0; border-top:1px solid var(--rule); }
.kf-press-item{ display:grid; grid-template-columns:minmax(0, 1fr); gap:6px; padding:18px 0; border-bottom:1px solid var(--rule); }
.kf-press-meta{ margin:0; font-size:var(--fs-label-sm); color:var(--bronze); }
.kf-press-tag{ display:inline-block; margin-left:0.8rem; padding:2px 8px; border:1px solid var(--bronze); font-size:0.65rem; letter-spacing:0.1em; color:var(--ink); }
.kf-press-title{ margin:0; font-family:var(--serif); font-weight:400; font-size:1.25rem; line-height:1.3; }
.kf-press-title a{ color:var(--ink); text-decoration:underline; text-decoration-color:var(--bronze); text-decoration-thickness:1px; text-underline-offset:0.22em; }
.kf-press-why{ margin:0; font-size:var(--fs-body-sm); line-height:1.55; color:var(--ink-soft); max-width:var(--measure); }
@media (min-width:860px){
  .kf-press-item{ grid-template-columns:16rem minmax(0, 1fr); column-gap:32px; }
  .kf-press-meta{ grid-row:1 / span 2; }
}

/* Floor Plans and Listings: compact bands */
.kf-plans, .kf-listings{ padding-top:calc(var(--pad) * 0.8); padding-bottom:calc(var(--pad) * 0.8); }
.kf-plans h2, .kf-listings h2{ font-size:var(--fs-h3); }
.kf-plans .kf-head, .kf-listings .kf-head{ margin-bottom:0; max-width:none; }
.kf-plans .kf-lead, .kf-listings .kf-lead{ max-width:var(--measure); margin-top:10px; }
.kf-plans .kf-actions, .kf-listings .kf-actions{ margin-top:18px; }
.kf-plans-slot[hidden], .kf-listings-feed[hidden]{ display:none; }
@media (min-width:860px){
  .kf-plans > .kf-wrap, .kf-listings > .kf-wrap{ display:flex; justify-content:space-between; align-items:flex-end; column-gap:48px; }
  .kf-plans .kf-actions, .kf-listings .kf-actions{ margin-top:0; flex:0 0 auto; }
}
/* two dark sections in a row (press omitted): the Read's closing row rule is the single hairline between them */
.kf-sect--dark + .kf-sect--dark{ padding-top:calc(var(--pad) * 0.8); }

/* Sources: small, quiet */
.kf-sources{ padding-top:calc(var(--pad) * 0.8); padding-bottom:calc(var(--pad) * 0.8); }
.kf-sources h2{ font-size:1.35rem; line-height:1.25; color:var(--ink); }
.kf-sources .kf-head{ margin-bottom:16px; }
.kf-sources-grid{ display:grid; grid-template-columns:minmax(0, 1fr); gap:22px; }
@media (min-width:860px){ .kf-sources-grid{ grid-template-columns:repeat(4, minmax(0, 1fr)); gap:32px; } }
.kf-sources h3{ font-family:var(--sans); font-weight:500; font-size:var(--fs-label-sm); letter-spacing:var(--track-label); text-transform:uppercase; color:var(--bronze); margin:0 0 8px; }
.kf-sources ul{ list-style:none; margin:0; padding:0; }
.kf-sources li{ margin:0 0 6px; font-size:var(--fs-meta); line-height:1.5; color:var(--ink-soft); }
.kf-sources a{ color:var(--ink); text-decoration:underline; text-decoration-color:var(--bronze); text-decoration-thickness:1px; text-underline-offset:0.2em; }
@media (max-width:699px){ .kf-related .caps{ flex-basis:100%; margin:0 0 2px; } }

/* v8 D: inline links inside Kelton's Read answers (dark band) were browser blue; match the dark-band link style */
.kf-read-a a{ color:var(--white); text-decoration:underline; text-decoration-color:var(--brass); text-decoration-thickness:1px; text-underline-offset:0.2em; }

/* v9b paragraph breathing room: building profiles only (main holds the shared opening). Paragraph to paragraph 16 to 20px, hairlines and section paddings untouched. */
main:has(> .kf-open--building) .kf-know-item{ padding-top:18px; }
main:has(> .kf-open--building) .kf-read-a{ margin-top:18px; }
main:has(> .kf-open--building) .kf-press-why{ margin-top:10px; }
main:has(> .kf-open--building) .kf-sources li{ margin-bottom:16px; }
main:has(> .kf-open--building) .kf-sources li:last-child{ margin-bottom:0; }

/* ===== v10 neighborhood (area) profile =====
   Pattern for the 16 Austin Areas pages. Markup reuses the approved building opening: <section class="kf-open kf-open--building kf-open--area">
   (breadcrumb, one H1, no eyebrow) then <dl class="kf-facts kf-facts--lead" style="--lead:2"> with ZIP Code and Location as lead facts and,
   where the ZIP is shared, a plain row "Shares ZIP With". What I Know is <section class="kf-sect kf-know kf-know--area"> with h2, .kf-know-intro
   and .kf-know-body paragraphs. Every rule below is scoped to .kf-open--area or .kf-know--area, so building pages are unaffected.
   Text only: no photo reserve and no band minimum. The 1280+ grid and its reserved right column are left as on buildings so the facts rule
   ends at the same x, and a future photo needs no relayout.
   Future photo path (no markup until an approved photo exists): the photo figure (.kf-open-fig, with credit when required) becomes the first
   child of the What I Know .kf-wrap, exactly as on buildings; add kf-open--has-photo to the opening; on phones it is a gutter-aligned square
   with a per-image crop through --mfocus on the img; then restore the building band values (--ov:40px, --band-min:452px at 1280+) for that page. */
.kf-open--area{ --ov:0px; --band-min:0px; padding-bottom:26px; min-height:0; }
@media (min-width:700px){
  .kf-open--area{ padding-bottom:32px; }
}
@media (min-width:1280px){
  .kf-open--area{ --band-min:0px; min-height:0; padding-bottom:32px; }
}
@media (max-width:699.98px){
  .kf-open--area .kf-fact.kf-fact--lead.kf-fact--loc .kf-fact-value{ font-size:1.2rem; line-height:1.3; }
  .kf-open--area .kf-fact:not(.kf-fact--lead){ grid-template-columns:repeat(2, minmax(0, 1fr)); }
}
.kf-know--area .kf-know-body p{ margin:0; font-size:var(--fs-body-sm); line-height:1.6; color:var(--ink); max-width:var(--measure); }
.kf-know--area .kf-know-body p + p{ margin-top:16px; }
.kf-know--area .kf-know-body a{ color:var(--ink); text-decoration:underline; text-decoration-color:var(--bronze); text-decoration-thickness:1px; text-underline-offset:0.2em; }
/* ===== end v10 neighborhood (area) profile ===== */
/* v11 area subsections */
.kf-know--area .kf-know-group{ margin-top:40px; }
.kf-know--area .kf-know-group h3{ margin:0; }
.kf-know--area .kf-know-group h3 + p{ margin-top:16px; }
.kf-know--area .kf-know-group .kf-know-links{ margin-top:16px; }
@media (min-width:700px){ .kf-know--area .kf-know-group{ margin-top:48px; } }

/* v12 heading hierarchy
   Tier A: main body h2 (What I Know, Living Around, Read, Press, Plans, Listings). Tier B: subsection titles (know group h3, Read item h3, Sources h2).
   Scoped to main:has(> .kf-open--building), carried by all 32 profile openings. Size only; line-height, color and weight stay as before. */
main:has(> .kf-open--building) .kf-head h2,
main:has(> .kf-open--building) .kf-plans h2,
main:has(> .kf-open--building) .kf-listings h2{ font-size:clamp(31px, calc(1.2rem + 2.2vw), 40px); }
main:has(> .kf-open--building) .kf-know-group h3,
main:has(> .kf-open--building) .kf-read-item h3,
main:has(> .kf-open--building) .kf-sources h2,
main:has(> .kf-open--building) .kf-sources .kf-head h2{ font-size:clamp(23px, calc(1rem + 1.1vw), 27px); }

/* v12 area two column What I Know (areas with sections): intro block, then one block per section; DOM order is reading order */
.kf-know--area .kf-know-intro{ max-width:min(36ch, 100%); }
@media (min-width:960px){
  .kf-know--area .kf-know-cols{ display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); column-gap:56px; row-gap:56px; align-items:start; }
  .kf-know--area .kf-know-cols .kf-know-group{ margin-top:0; }
  .kf-know--area .kf-know-cols .kf-know-intro{ margin-top:0; }
}
/* groups now sit beside the intro block, outside .kf-know-body: restate the v10 paragraph and link styles for them */
.kf-know--area .kf-know-cols .kf-know-group p{ margin:0; font-size:var(--fs-body-sm); line-height:1.6; color:var(--ink); max-width:var(--measure); }
.kf-know--area .kf-know-cols .kf-know-group h3 + p{ margin-top:16px; }
.kf-know--area .kf-know-cols .kf-know-group p + p{ margin-top:16px; }
.kf-know--area .kf-know-cols .kf-know-group .kf-know-links{ margin-top:16px; }
.kf-know--area .kf-know-cols .kf-know-group a{ color:var(--ink); text-decoration:underline; text-decoration-color:var(--bronze); text-decoration-thickness:1px; text-underline-offset:0.2em; }

/* v13 renderer support
   Odd block counts in an area's What I Know (intro plus an even number of sections) render as one stacked column instead of the two column grid,
   and a building whose "What Varies By Residence" list is empty renders Across The Building alone in one column. New class names only. */
.kf-know--area .kf-know-cols.kf-know-cols--stack{ display:block; }
.kf-know--area .kf-know-cols.kf-know-cols--stack .kf-know-group{ margin-top:48px; }
.kf-know--area .kf-know-cols.kf-know-cols--stack .kf-know-block:last-child > p:last-child{ margin-bottom:0; }
.kf-know-grid.kf-know-grid--one{ grid-template-columns:minmax(0, 1fr); }

/* v13 know balance
   Below 960px nothing changes. At 960px and up, a building whose What Varies By Residence text is under 60% of Across The Building stacks the two groups
   (.kf-know-grid--stack), and groups with 3 or more items (.kf-know-group--flow) flow their items in two balanced columns. Groups with 1 or 2 items stay one column. */
.kf-know-grid.kf-know-grid--stack{ grid-template-columns:minmax(0, 1fr); }
@media (min-width:960px){
  .kf-know-grid.kf-know-grid--stack{ row-gap:48px; }
  .kf-know-grid--stack .kf-know-group--flow, .kf-know-grid--one .kf-know-group--flow{ display:block; columns:2; column-gap:56px; }
  .kf-know-grid--stack .kf-know-group--flow h3, .kf-know-grid--one .kf-know-group--flow h3{ column-span:all; }
  .kf-know-grid--stack .kf-know-group--flow .kf-know-item, .kf-know-grid--one .kf-know-group--flow .kf-know-item{ break-inside:avoid; }
}

/* zoomfix: phone width and enlarged text. When the opening band is narrower than 16rem (only at 150 percent text or more on phones; 272px at normal size is 17rem), the At A Glance facts stack to one column so labels and values wrap instead of pushing the page wider. */
@media (max-width:699.98px){
  .kf-open--building{ container: kf-open-b / inline-size; }
}
@container kf-open-b (max-width:16rem){
  .kf-open--building .kf-facts{ grid-template-columns:minmax(0, 1fr); }
  .kf-open--building .kf-fact:not(.kf-fact--lead), .kf-open--area .kf-fact:not(.kf-fact--lead){ grid-template-columns:minmax(0, 1fr); row-gap:4px; }
  .kf-open--building .kf-fact .kf-fact-label{ overflow-wrap:anywhere; }
  .kf-open h1{ hyphens:auto; }
}
