/* Aisle & Apse (mychurches.info) — own design system, v1.0. Limestone / ink / lapis / gilt (accent moved from verdigris to lapis in v1.0.2, review B1). Token names kept.
   References: metmuseum.org collection pages (tombstone facts beside a large plate), nationalgeographic.com explainer
   graphics (labelled line drawings), getty.edu (restrained palette, serif display over a clean sans). */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Work Sans"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("/assets/fonts/work-sans-latin-wght-normal.woff2") format("woff2"); }

:root {
  --lime: #F3EEE4; --paper: #FBF8F2; --stone: #E4DCCD; --ink: #1F2328; --ink2: #4C5158; --mute: #6B6F73;
  --verd: #2C4A6E; --verd-d: #1F3653; --verd-t: #DFE6EF; --gilt: #9A7428; --rule: #CFC4B0; --hi: #F0D99A;
  --draw: #2B3035; --fill: #FBF8F2; --fill2: #EEE7D9;
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px; --gut: clamp(16px, 4vw, 40px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --lime: #15181B; --paper: #1C2024; --stone: #2A2F34; --ink: #ECE6DA; --ink2: #C3BCAF; --mute: #9C978E;
    --verd: #94B4D8; --verd-d: #B9CFE8; --verd-t: #1E2836; --gilt: #D4B060; --rule: #3A4046; --hi: #5C4A1E;
    --draw: #D9D2C4; --fill: #1C2024; --fill2: #252A2F; color-scheme: dark;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--lime); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: var(--verd); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--verd-d); }
:focus-visible { outline: 2px solid var(--gilt); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--lime); padding: .6rem 1rem; z-index: 9; }
.skip:focus { left: 1rem; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- masthead ---- */
.util { border-bottom: 1px solid var(--rule); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink2); }
.util .wrap { display: flex; justify-content: space-between; gap: 1rem; padding-top: .5rem; padding-bottom: .5rem; flex-wrap: wrap; }
.util a { color: inherit; text-decoration: none; }
.util a:hover { color: var(--verd); }
.util strong { color: var(--verd); font-weight: 600; }
.brand { text-align: center; padding: 1.6rem 0 1.1rem; }
.brand a { color: var(--ink); text-decoration: none; display: inline-flex; flex-direction: column; align-items: center; gap: .2rem; }
.brand__mark { width: 34px; height: 34px; color: var(--verd); }
.brand__name { font: 600 clamp(2rem, 5vw, 2.9rem)/1 var(--serif); letter-spacing: .01em; }
.brand__name i { color: var(--gilt); font-weight: 500; padding: 0 .08em; }
.brand__tag { font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--mute); }
.nav { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }
.nav ul { list-style: none; margin: 0 auto; padding: 0 var(--gut); max-width: var(--wrap); display: flex; justify-content: center; flex-wrap: wrap; }
.nav a { display: block; padding: .8rem 1.05rem; color: var(--ink); text-decoration: none; font-size: .8rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--verd); }
.nav a[aria-current="page"] { border-bottom-color: var(--gilt); color: var(--verd); }

/* ---- type ---- */
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 600; letter-spacing: .005em; line-height: 1.08; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.7rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
.eyebrow { font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gilt); font-weight: 600; margin: 0 0 .9rem; }
.lede { font-size: 1.2rem; color: var(--ink2); max-width: 40em; }
.mute { color: var(--mute); }
.small { font-size: .88rem; }
.prose { max-width: 44em; }
.prose h2 { margin-top: 2rem; font-size: 1.9rem; }
.prose li { margin-bottom: .35rem; }

/* ---- buttons ---- */
.btn { display: inline-block; background: var(--verd); color: #fff; border: 1px solid var(--verd); padding: .85rem 1.4rem; font: 600 .82rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--verd-d); border-color: var(--verd-d); color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn { color: #10201D; } :root:not([data-theme="light"]) .btn:hover { color: #10201D; } }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--lime); border-color: var(--ink); }
.btn--danger { background: transparent; color: #9B2C2C; border-color: #9B2C2C; }
.arrow { font-weight: 600; text-decoration: none; letter-spacing: .04em; }
.arrow::after { content: " \2192"; }

/* ---- hero ---- */
.hero { padding: clamp(2rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3rem); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--verd); }
.hero__acts { display: flex; gap: 1.2rem; align-items: center; flex-wrap: wrap; margin-top: 1.6rem; }
.plate { background: var(--paper); border: 1px solid var(--rule); padding: clamp(.6rem, 2vw, 1.4rem); margin: 0; }
.plate figcaption { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--rule); margin-top: .6rem; padding-top: .55rem; font-size: .78rem; color: var(--mute); letter-spacing: .04em; }
.plate figcaption b { font-family: var(--serif); font-size: 1rem; color: var(--ink); font-weight: 600; letter-spacing: .02em; }

/* ---- drawings ---- */
.fig { display: block; width: 100%; height: auto; }
.fig .draw { fill: none; stroke: var(--draw); stroke-width: 1.6; stroke-linejoin: round; }
.fig .ground { stroke-width: 2.4; }
.fig .wall, .fig .part, .fig .wall-fill, .fig .cap, .fig .tower-base, .fig .door { fill: var(--fill2); }
.fig .room-fill { fill: var(--fill); }
.fig .hole { fill: var(--paper); stroke-dasharray: 3 3; }
.fig .glass, .fig .thin, .fig .rib, .fig .diag { stroke-width: 1; }
.fig .diag { stroke-dasharray: 4 4; }
.fig .vault { stroke-width: 2.6; fill: none; }
.fig .arch { fill: none; }
.fig .roofline { stroke-width: 2; }
.fig .win { fill: var(--paper); }
.fig .louvre { fill: none; stroke-width: 1; }
.fig .rose { fill: var(--paper); }
.fig .ring { fill: none; }
.fig .tym { fill: var(--stone); }
.fig .pier-dot { fill: var(--draw); stroke: none; }
.fig .piers.is-on .pier-dot { fill: var(--gilt); }
.fig .part.is-on { fill: var(--hi); stroke: var(--gilt); stroke-width: 2.6; }
.fig .vault.is-on, .fig .arch.is-on, .fig .ring.is-on { fill: none; stroke: var(--gilt); stroke-width: 3.4; }
.fig .room { font: 600 15px var(--sans); letter-spacing: .3em; fill: var(--mute); stroke: none; }
.fig .room--sm { font-size: 11px; }
.fig .compass { font: 700 14px var(--sans); fill: var(--gilt); stroke: none; }
.fig .lbl line { stroke: var(--gilt); stroke-width: 1; }
.fig .lbl circle { fill: var(--gilt); }
.fig .lbl text { font: 600 15px var(--sans); letter-spacing: .06em; fill: var(--ink); text-transform: uppercase; }
.fig .lbl:hover text, .fig .lbl:focus text { fill: var(--verd); text-decoration: underline; }
.fig .lbl.is-on text { fill: var(--verd); }
.fig .lbl.is-on circle { r: 6; }
@media (max-width: 640px) { .fig .lbl text { font-size: 19px; } .fig .room { font-size: 18px; } }

/* ---- section blocks ---- */
.band { padding: clamp(2.5rem, 6vw, 5rem) 0; border-top: 1px solid var(--rule); }
.band--paper { background: var(--paper); }
.band--ink { background: var(--ink); color: var(--lime); border-top: 0; }
.band--ink h2, .band--ink h3 { color: var(--lime); }
.band--ink a { color: var(--hi); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .band--ink { background: #0E1012; } }
.head2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 2rem; align-items: end; margin-bottom: 2rem; }
.head2 p { margin: 0; color: var(--ink2); }

/* museum index: numbered rows */
.index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.index li { display: grid; grid-template-columns: 4.5rem minmax(0, 1.1fr) minmax(0, 1.6fr) auto; gap: 1.5rem; align-items: baseline; padding: 1.5rem 0; border-bottom: 1px solid var(--rule); }
.index__n { font: 500 2.4rem/1 var(--serif); color: var(--gilt); }
.index h3 { margin: 0; font-size: 1.8rem; }
.index p { margin: 0; color: var(--ink2); }

/* walk from the door */
.walk { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); counter-reset: stop; }
.walk li { position: relative; padding: 1.2rem .9rem 0 0; border-top: 3px solid var(--verd); counter-increment: stop; }
.walk li::before { content: counter(stop, upper-roman); position: absolute; top: -.85rem; left: 0; background: var(--lime); padding-right: .5rem; font: 600 .95rem var(--serif); color: var(--gilt); }
.band--paper .walk li::before { background: var(--paper); }
.walk a { font: 600 1.35rem/1.1 var(--serif); text-decoration: none; color: var(--ink); }
.walk a:hover { color: var(--verd); }
.walk p { font-size: .86rem; color: var(--ink2); margin: .35rem 0 0; }

/* style shelf */
.shelf { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; border-left: 1px solid var(--rule); border-top: 1px solid var(--rule); }
.shelf a { display: flex; flex-direction: column; gap: .5rem; padding: 1.2rem 1rem 1.1rem; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--ink); min-height: 11rem; }
.shelf a:hover { background: var(--paper); }
.shelf a:hover .arch-ico { color: var(--verd); }
.arch-ico { width: 44px; height: 52px; color: var(--ink2); }
.arch-ico path { fill: none; stroke: currentColor; stroke-width: 2.2; }
.shelf b { font: 600 1.18rem/1.1 var(--serif); }
.shelf span { font-size: .78rem; color: var(--mute); letter-spacing: .02em; }

/* price ledger */
.ledger { width: 100%; border-collapse: collapse; }
.ledger th, .ledger td { text-align: left; padding: 1rem .6rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
.ledger thead th { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); font-weight: 600; border-bottom: 1px solid var(--ink); }
.ledger td.amt { font: 600 1.7rem/1 var(--serif); white-space: nowrap; }
.ledger td.amt small { display: block; font: 400 .78rem var(--sans); color: var(--mute); margin-top: .3rem; }
.band--ink .ledger th, .band--ink .ledger td { border-color: #3a4046; }
.band--ink .ledger thead th { color: #b8b1a4; border-color: var(--lime); }
.preview-note { border-left: 3px solid var(--gilt); padding: .8rem 1rem; background: var(--paper); color: var(--ink); margin: 1.2rem 0 0; font-size: .95rem; }
.band--ink .preview-note { background: #2A2F34; color: var(--lime); }
.pricetag { display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: baseline; border: 1px solid var(--rule); border-left: 3px solid var(--verd); background: var(--paper); padding: .75rem 1rem; font-size: .92rem; margin: 1.4rem 0; }
.pricetag b { font-family: var(--serif); font-size: 1.15rem; }

/* tombstone facts */
.tomb { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: .6rem 1.2rem; margin: 0 0 1.5rem; padding: 1rem 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }
.tomb dt { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); padding-top: .2rem; }
.tomb dd { margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.chips a, .chips span { display: inline-block; border: 1px solid var(--rule); padding: .2rem .65rem; font-size: .84rem; text-decoration: none; color: var(--ink); background: var(--paper); }
.chips a:hover { border-color: var(--verd); color: var(--verd); }

/* feature index */
.zones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.4rem 3rem; }
.zone h2 { font-size: 1.7rem; border-bottom: 1px solid var(--ink); padding-bottom: .4rem; }
.zone p { color: var(--ink2); font-size: .9rem; }
.zone ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 1.2rem; }
.zone li { break-inside: avoid; padding: .2rem 0; }
.zone li a { text-decoration: none; color: var(--ink); }
.zone li a:hover { color: var(--verd); text-decoration: underline; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.crumbs { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin: 1.6rem 0 0; }
.crumbs a { color: var(--mute); text-decoration: none; }
.crumbs a:hover { color: var(--verd); }
.pager { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--rule); padding-top: 1rem; margin-top: 2rem; font-size: .92rem; }
.tells { list-style: none; padding: 0; margin: 0 0 1.4rem; counter-reset: t; }
.tells li { counter-increment: t; padding: .6rem 0 .6rem 2.4rem; border-bottom: 1px solid var(--rule); position: relative; }
.tells li::before { content: counter(t); position: absolute; left: 0; top: .45rem; font: 600 1.3rem var(--serif); color: var(--gilt); }

/* finder */
.q { border: 0; margin: 0 0 1.6rem; padding: 0; min-width: 0; }
.q legend { font: 600 1.45rem/1.2 var(--serif); padding: 0; margin-bottom: .25rem; }
.q .hint { font-size: .86rem; color: var(--mute); margin: 0 0 .7rem; }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: .5rem; }
.opt { position: relative; display: block; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt span { display: block; height: 100%; border: 1px solid var(--rule); background: var(--paper); padding: .65rem .8rem; font-size: .92rem; line-height: 1.35; }
.opt input:checked + span { border-color: var(--verd); box-shadow: inset 3px 0 0 var(--verd); background: var(--verd-t); }
.opt input:focus-visible + span { outline: 2px solid var(--gilt); outline-offset: 2px; }
.result { border: 1px solid var(--ink); background: var(--paper); padding: clamp(1rem, 3vw, 2rem); margin-bottom: 2rem; }
.result__top { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.2rem; align-items: center; }
.result__top .arch-ico { width: 60px; height: 70px; color: var(--verd); }
.conf { display: inline-block; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--verd); border: 1px solid var(--verd); padding: .15rem .5rem; margin-bottom: .4rem; }
.rank { list-style: none; margin: 1rem 0 0; padding: 0; }
.rank > li { display: grid; grid-template-columns: 2.2rem minmax(0, 1fr) 3.5rem; gap: .8rem; padding: .55rem 0; border-top: 1px solid var(--rule); align-items: baseline; }
.rank .n { font: 600 1.1rem var(--serif); color: var(--gilt); }
.rank .s { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.rank details { grid-column: 2 / 4; font-size: .85rem; color: var(--ink2); }
.rank summary { cursor: pointer; color: var(--verd); }
.why { margin: .4rem 0 0; padding-left: 1.1rem; }

/* forms */
.form label.f { display: block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink2); margin: 1rem 0 .3rem; font-weight: 600; }
.form input[type=text], .form input[type=date], .form select, .form textarea { width: 100%; font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--rule); border-bottom: 2px solid var(--ink2); padding: .6rem .7rem; border-radius: 0; }
.form textarea { min-height: 6rem; resize: vertical; }
.form .err { color: #9B2C2C; font-size: .86rem; margin: .3rem 0 0; }
.form .row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 1rem; }
.checks { border: 1px solid var(--rule); background: var(--paper); padding: .4rem 1rem 1rem; margin: 1rem 0; }
.checks legend { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--ink2); padding: 0 .3rem; }
.checks h4 { font: 600 1.1rem var(--serif); margin: .9rem 0 .4rem; }
.checks ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 12rem), 1fr)); gap: .1rem .8rem; }
.checks label { display: flex; gap: .45rem; align-items: baseline; font-size: .92rem; padding: .15rem 0; cursor: pointer; }
.flash { border-left: 3px solid var(--verd); background: var(--verd-t); padding: .8rem 1rem; margin: 1rem 0; }
.flash--err { border-left-color: #9B2C2C; background: var(--paper); }
.keybox { font: 600 .95rem/1.4 ui-monospace, "Cascadia Mono", Menlo, monospace; word-break: break-all; background: var(--paper); border: 1px dashed var(--gilt); padding: .7rem .9rem; }

/* notebook */
.life { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 2rem; align-items: start; }
.big { font: 600 clamp(3rem, 8vw, 5rem)/1 var(--serif); color: var(--verd); }
.bars { list-style: none; margin: 0; padding: 0; }
.bars li { display: grid; grid-template-columns: 11rem minmax(0, 1fr) 3.5rem; gap: .8rem; align-items: center; padding: .35rem 0; font-size: .9rem; }
.bars meter { width: 100%; height: .6rem; }
.visits { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.visits li { display: grid; grid-template-columns: 8rem minmax(0, 1fr) auto; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.visits time { font-size: .82rem; color: var(--mute); letter-spacing: .04em; }
.visits b { font: 600 1.3rem var(--serif); }
.danger-zone { border-top: 1px solid var(--rule); margin-top: 2.5rem; padding-top: 1.2rem; }

/* footer */
.foot { background: var(--ink); color: #D8D2C6; padding: 3rem 0 2rem; margin-top: 0; font-size: .9rem; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .foot { background: #0E1012; } }
.foot a { color: #F3EEE4; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.foot h2 { font: 600 1.6rem var(--serif); color: #F3EEE4; margin: 0 0 .5rem; }
.foot h3 { font: 600 .72rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #B8B1A4; margin: 0 0 .6rem; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { padding: .15rem 0; }
.foot li a { text-decoration: none; }
.foot li a:hover { text-decoration: underline; }
.indep { border-top: 1px solid #3A4046; margin-top: 2rem; padding-top: 1.2rem; color: #C9C2B5; font-size: .85rem; max-width: 60rem; }
.foot__base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; font-size: .8rem; color: #A9A396; }

/* field sheet / print */
.sheet { background: #fff; color: #111; border: 1px solid var(--rule); padding: 1.4rem; }
.sheet h2 { font-size: 1.6rem; }
.sheet .cols { columns: 3; column-gap: 1.4rem; font-size: .86rem; }
.sheet .cols h4 { font: 600 1rem var(--serif); margin: .5rem 0 .2rem; break-after: avoid; }
.sheet .cols div { break-inside: avoid; padding: .08rem 0; }
.box { display: inline-block; width: .8rem; height: .8rem; border: 1px solid #111; margin-right: .4rem; vertical-align: -1px; }
.box.on { background: #111; }
.lines { border-bottom: 1px solid #999; height: 1.6rem; }
@media print {
  .util, .nav, .foot__grid, .noprint, .skip, .crumbs { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .brand { padding: .3rem 0; } .brand__mark, .brand__tag { display: none; }
  .foot { background: #fff; color: #000; padding: .5rem 0 0; }
  .indep, .foot__base { color: #333; border-color: #999; }
  .foot a { color: #000; }
  .sheet { border: 0; padding: 0; }
  .band { padding: .5rem 0; border: 0; }
  a { color: #000; text-decoration: none; }
}

/* ---- responsive ---- */
@media (max-width: 1000px) {
  .walk { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 2rem; }
  .shelf { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .zones { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .hero .wrap, .split, .head2, .life { grid-template-columns: minmax(0, 1fr); }
  .index li { grid-template-columns: 3rem minmax(0, 1fr); gap: .4rem 1rem; }
  .index li > p, .index li > a { grid-column: 2; }
  .walk { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zones { grid-template-columns: minmax(0, 1fr); }
  .nav a { padding: .65rem .6rem; font-size: .72rem; letter-spacing: .1em; }
  .tomb { grid-template-columns: minmax(0, 1fr); gap: .1rem; }
  .tomb dd { margin-bottom: .6rem; }
  .visits li { grid-template-columns: minmax(0, 1fr); gap: .2rem; }
  .bars li { grid-template-columns: 7.5rem minmax(0, 1fr) 3rem; }
  .form .row2 { grid-template-columns: minmax(0, 1fr); }
  .sheet .cols { columns: 2; }
  .ledger td.amt { font-size: 1.35rem; }
  .ledger th, .ledger td { padding: .8rem .35rem; }
  .util .wrap { justify-content: center; text-align: center; }
}
.fig .open, .fig .open.is-on { fill: none; }
.band--ink .head2 p { color: #C9C2B5; }
.figparts { margin-top: .8rem; }
.why li { padding: .1rem 0; }
.rank .n { font-size: 1.3rem; line-height: 1; }
.bar { display: block; width: 100%; height: .55rem; }
.bar__track { fill: var(--stone); }
.bar__fill { fill: var(--verd); }

/* ---------- v1.1.0: AdEngine banner (adengine.us) ----------
   One labelled slot between the main content and the footer, on the guide's public pages only (the controllers opt in), on
   a lime band with the site's rule above, so it reads as its own strip in light and dark schemes. The label and the
   reserved height are on the <ins>, and the band's height is the <ins>'s own margin (flow-root keeps it inside the band),
   so when tag.js (or ae-size.js) hides a slot it cannot fill, the label, the space and the band go with it. 110px = 16px
   label + 4px gap + 90px banner; 270px on phones (300x250). display stays in this file and is never !important: tag.js
   hides a slot with style.display='none'. */
.ae-slot { display: flow-root; background: var(--lime); border-top: 1px solid var(--rule); padding: 0 var(--gut); }
.ae-slot ins.adengine { display: block; max-width: 728px; min-height: 110px; margin: 36px auto 40px; text-align: center; text-decoration: none; }
.ae-slot ins.adengine::before { content: "Advertisement"; display: block; margin-bottom: 4px; font: 600 11px/16px var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--ink2); }
.ae-slot ins.adengine a { display: inline-block; vertical-align: top; }
@media (max-width: 767px) { .ae-slot ins.adengine { max-width: 300px; min-height: 270px; margin: 28px auto 32px; } }
/* a slot that stays empty (no ad, or tag.js blocked) drops its labelled landmark too, not only the <ins> */
.ae-slot:has(> ins.adengine[style*="none"]) { display: none; }
@media print { .ae-slot { display: none; } }
