/* illuminatedplumbingfixtures.com: "night bath" design system. EB Garamond (display) + Montserrat (UI), self-hosted, OFL. */
@font-face { font-family: "EB Garamond"; src: url("/assets/fonts/eb-garamond-var.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("/assets/fonts/eb-garamond-italic-var.woff2") format("woff2"); font-weight: 400 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("/assets/fonts/montserrat-var.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }

:root {
  --night: #0a1622; --night-2: #102638; --night-3: #18344b;
  --porcelain: #f6f3ee; --paper: #ffffff; --tile: #ece6dc;
  --ink: #15222e; --ink-2: #4b5966; --ink-3: #6f7b86; --line: #dbd4c8; --line-2: #c9c0b1;
  --glow: #63e6e2; --glow-2: #a8f3ef; --glow-soft: rgba(99, 230, 226, .16);
  --brass: #a87a2f; --brass-2: #d9b46a; --brass-soft: #f4ead6;
  --ok: #17734a; --ok-bg: #e3f3ea; --check: #94600a; --check-bg: #fbf0d9; --stop: #b0281c; --stop-bg: #fbe6e3; --info: #2c5a83; --info-bg: #e5eef6;
  --serif: "EB Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --r: 14px; --r-sm: 9px;
  --shadow: 0 1px 2px rgba(10, 22, 34, .06), 0 12px 32px -12px rgba(10, 22, 34, .22);
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--porcelain); color: var(--ink); font: 400 16px/1.65 var(--sans); font-variant-numeric: lining-nums; overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: var(--night-3); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brass); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
h3 { font-size: 1.45rem; font-weight: 600; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--brass); }
p { margin: 0 0 1em; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--paper); padding: .6rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; }
:focus-visible { outline: 3px solid var(--glow); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 2.5rem); }
.eyebrow { font: 700 .72rem/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--brass); margin: 0 0 1rem; }
.lede { font-size: 1.12rem; color: var(--ink-2); max-width: 46rem; }
.small { font-size: .86rem; color: var(--ink-3); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- header ---------- */
.top { position: relative; z-index: 3; background: var(--porcelain); border-bottom: 1px solid var(--line); }
.is-home .top { background: var(--night); border-bottom-color: rgba(255, 255, 255, .08); }
.top__in { display: flex; align-items: center; gap: 1.4rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.is-home .brand { color: #fff; }
.brand__words { display: flex; flex-direction: column; line-height: 1; }
.brand__a { font: italic 500 1.55rem/1 var(--serif); letter-spacing: -.01em; }
.brand__b { font: 700 .58rem/1.2 var(--sans); letter-spacing: .27em; text-transform: uppercase; margin-top: .3rem; opacity: .8; }
.mark { width: 38px; height: 38px; flex: none; }
.mark__halo { fill: var(--glow-soft); }
.mark__drop { fill: none; stroke: currentColor; stroke-width: 2.2; }
.mark__glow { fill: var(--glow); }
.mark__line { stroke: currentColor; stroke-width: 1.6; }
.nav { display: flex; gap: .2rem; align-items: center; }
.nav a { font: 600 .82rem/1 var(--sans); letter-spacing: .04em; color: var(--ink-2); text-decoration: none; padding: .7rem .75rem; border-radius: 999px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--tile); }
.is-home .nav a { color: rgba(255, 255, 255, .78); }
.is-home .nav a:hover, .is-home .nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .08); }
.passpill { font: 600 .74rem/1.25 var(--sans); text-decoration: none; color: var(--night); background: var(--brass-soft); border: 1px solid var(--brass-2); padding: .5rem .85rem; border-radius: 999px; white-space: nowrap; }
.is-home .passpill { background: rgba(217, 180, 106, .14); color: var(--brass-2); border-color: rgba(217, 180, 106, .45); }
.menu { display: none; }
@media (max-width: 960px) {
  .nav, .top .passpill { display: none; }
  .menu { display: block; position: relative; }
  .menu > summary { list-style: none; cursor: pointer; font: 700 .78rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: .8rem 1rem; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink); }
  .is-home .menu > summary { color: #fff; border-color: rgba(255, 255, 255, .3); }
  .menu > summary::-webkit-details-marker { display: none; }
  .menu__panel { position: absolute; right: 0; top: calc(100% + .6rem); width: min(82vw, 320px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: .6rem; display: grid; }
  .menu__panel a { padding: .85rem .9rem; text-decoration: none; color: var(--ink); font-weight: 600; border-radius: var(--r-sm); }
  .menu__panel a:hover { background: var(--porcelain); }
  .menu__price { margin: .4rem .3rem .2rem; padding: .7rem .8rem; border-radius: var(--r-sm); background: var(--brass-soft); font-size: .85rem; }
}

/* ---------- buttons, forms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; font: 700 .9rem/1 var(--sans); letter-spacing: .02em; text-decoration: none; border: 1.5px solid transparent; border-radius: 999px; padding: 1rem 1.45rem; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn--glow { background: var(--glow); color: var(--night); box-shadow: 0 0 0 6px rgba(99, 230, 226, .14), 0 10px 30px -8px rgba(99, 230, 226, .55); }
.btn--glow:hover { color: var(--night); background: var(--glow-2); }
.btn--ink { background: var(--night); color: #fff; }
.btn--ink:hover { color: #fff; background: var(--night-3); }
.btn--line { border-color: currentColor; color: inherit; background: transparent; }
.btn--small { padding: .65rem 1rem; font-size: .8rem; }
.btn--danger { background: var(--stop); color: #fff; }
.btn--danger:hover { color: #fff; }
.row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
label { display: block; font: 600 .82rem/1.3 var(--sans); color: var(--ink); margin: 0 0 .4rem; }
.hint { display: block; font: 400 .78rem/1.4 var(--sans); color: var(--ink-3); margin-top: .3rem; }
input[type=text], input[type=number], select { width: 100%; font: 500 1rem/1.3 var(--sans); color: var(--ink); background: var(--paper); border: 1.5px solid var(--line-2); border-radius: var(--r-sm); padding: .75rem .85rem; min-height: 48px; }
input:focus, select:focus { border-color: var(--night-3); outline: 3px solid var(--glow-soft); }
.check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 500; }
.check input { width: 20px; height: 20px; margin-top: .1rem; accent-color: var(--night-3); }
fieldset { border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1.2rem 1.2rem; margin: 0 0 1.2rem; background: var(--paper); min-width: 0; }
legend { font: 700 .72rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--brass); padding: 0 .4rem; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
@media (max-width: 640px) { .grid2 { grid-template-columns: 1fr; } .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.err { background: var(--stop-bg); color: var(--stop); border-left: 4px solid var(--stop); padding: .9rem 1rem; border-radius: var(--r-sm); font-weight: 600; }

/* ---------- hero (home) ---------- */
.night { background: radial-gradient(1100px 520px at 78% 18%, rgba(99, 230, 226, .14), transparent 60%), radial-gradient(700px 420px at 8% 92%, rgba(217, 180, 106, .10), transparent 60%), linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%); color: #e9f1f5; }
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding-top: clamp(3rem, 7vw, 6.5rem); padding-bottom: clamp(3rem, 6vw, 5.5rem); }
.hero h1 { color: #fff; }
.hero h1 em { color: var(--glow); }
.hero .lede { color: rgba(233, 241, 245, .82); font-size: 1.18rem; }
.hero__price { margin-top: 1.8rem; font-size: .86rem; color: rgba(233, 241, 245, .7); }
.hero__price strong { color: var(--brass-2); font-weight: 700; }
.hero__art { position: relative; }
.hero__art svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .35)); }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; } .hero__art { max-width: 560px; } }
.scene__wall { fill: #132d42; } .scene__floor { fill: #0d2132; } .scene__tile { stroke: rgba(255, 255, 255, .05); stroke-width: 1; }
.scene__tub { fill: #e9eef1; } .scene__tubshade { fill: #b9c6ce; } .scene__water { fill: rgba(99, 230, 226, .35); }
.scene__zone { fill: rgba(99, 230, 226, .10); stroke: var(--glow); stroke-width: 1.6; stroke-dasharray: 7 6; }
.scene__glow { fill: url(#sceneGlow); } .scene__lamp { fill: var(--glow-2); } .scene__metal { fill: #c8a560; } .scene__metal2 { stroke: #c8a560; stroke-width: 3; fill: none; }
.scene__mirror { fill: #1f4560; stroke: var(--glow); stroke-width: 3; } .scene__x { stroke: #ff6b5e; stroke-width: 4; stroke-linecap: round; }
.scene__ok { fill: #3ad29f; } .scene__label { fill: rgba(233, 241, 245, .92); font: 700 11px var(--sans); letter-spacing: .14em; } .scene__dim { fill: var(--glow); font: 600 12px var(--sans); }
.scene__dimline { stroke: var(--glow); stroke-width: 1.3; }
/* v1.0.2 (truth review hero-labels-390): the art's key repeated as text, and larger in-art labels on phones */
.hero__cap { margin: .9rem 0 0; font-size: .86rem; line-height: 1.55; color: rgba(233, 241, 245, .78); }
.hero__key { font-weight: 700; } .hero__key--x { color: #ff8a7f; } .hero__key--ok { color: #3ad29f; }
.hero__pv { color: rgba(233, 241, 245, .9); font-weight: 600; }
@media (max-width: 640px) { .scene__label { font-size: 16px; letter-spacing: .08em; } .scene__dim { font-size: 17px; } }

/* ---------- bands ---------- */
.band { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.band--paper { background: var(--paper); }
.band--tile { background: var(--tile); }
.band--night { background: linear-gradient(180deg, var(--night-2), var(--night)); color: #e9f1f5; }
.band--night h2, .band--night h3 { color: #fff; }
.band--night .lede { color: rgba(233, 241, 245, .8); }
.head { max-width: 48rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* the zone numerals */
.zonefig { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.zonefig__n { border-top: 2px solid var(--ink); padding-top: 1rem; }
.zonefig__n b { display: block; font: 500 clamp(3.4rem, 8vw, 5.6rem)/1 var(--serif); color: var(--ink); }
.zonefig__n span { display: block; font-size: .92rem; color: var(--ink-2); margin-top: .4rem; }

/* three answers */
.answers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--paper); }
.answers > div { padding: 2rem 1.7rem; border-right: 1px solid var(--line); }
.answers > div:last-child { border-right: 0; }
.answers b { font: italic 500 2.3rem/1 var(--serif); color: var(--brass); display: block; margin-bottom: .8rem; }
@media (max-width: 860px) { .answers { grid-template-columns: 1fr; } .answers > div { border-right: 0; border-bottom: 1px solid var(--line); } }

/* fixture catalogue */
.cat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.cat__col { background: var(--paper); border-radius: var(--r); padding: 1.6rem; border-top: 4px solid var(--line-2); box-shadow: var(--shadow); }
.cat__col--stop { border-top-color: var(--stop); } .cat__col--ok { border-top-color: var(--ok); } .cat__col--free { border-top-color: var(--glow); }
.cat__col h3 { font-size: 1.3rem; }
.cat__col ul { margin: 0; padding: 0; list-style: none; }
.cat__col li { padding: .55rem 0; border-bottom: 1px dashed var(--line); font-size: .93rem; }
.cat__col li:last-child { border-bottom: 0; }
@media (max-width: 900px) { .cat { grid-template-columns: 1fr; } }

/* sample + results */
.sample { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.5rem; align-items: start; }
@media (max-width: 900px) { .sample { grid-template-columns: 1fr; } }
.board { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem; box-shadow: var(--shadow); }
.plan, .section { width: 100%; height: auto; display: block; }
.section { max-width: 520px; margin: 0 auto; }
.d-floor { fill: #fbf9f5; } .d-walls { fill: none; stroke: var(--ink); stroke-width: 2.4; }
.d-zone { fill: rgba(99, 230, 226, .22); stroke: #1aa9a3; stroke-width: 1.2; stroke-dasharray: 4 3; }
.d-zone--over { fill: rgba(99, 230, 226, .34); }
.d-wet { fill: #dbe8ee; stroke: var(--night-3); stroke-width: 1.4; } .d-hatch { stroke: rgba(24, 52, 75, .18); stroke-width: 1.2; } .d-wethatch { stroke: none; }
.d-basin { fill: #fff; stroke: var(--brass); stroke-width: 1.4; } .d-reach { fill: none; stroke: var(--brass); stroke-width: .9; stroke-dasharray: 2 3; }
.d-lab { fill: var(--night-3); font-family: var(--sans); font-weight: 700; letter-spacing: .08em; } .d-lab--wet { fill: var(--night-3); }
.d-dim { fill: var(--ink-3); font-family: var(--sans); font-weight: 600; }
.d-num { fill: #fff; font-family: var(--sans); font-weight: 800; }
.d-fx circle { stroke: #fff; stroke-width: 1.2; } .d-fx--ok circle { fill: var(--ok); } .d-fx--check circle { fill: var(--check); } .d-fx--stop circle { fill: var(--stop); }
.d-floorline { stroke: var(--ink); stroke-width: 2; } .d-ceil { stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 3 3; }
.d-rim { stroke: var(--night-3); stroke-width: 2; } .d-guide { stroke: #1aa9a3; stroke-width: .8; stroke-dasharray: 2 2; }
.legend { display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; font-size: .78rem; color: var(--ink-2); margin: .8rem .2rem 0; padding: 0; list-style: none; }
.legend i { display: inline-block; width: 14px; height: 10px; border-radius: 3px; margin-right: .35rem; vertical-align: -1px; }
.legend .k-zone { background: rgba(99, 230, 226, .35); border: 1px dashed #1aa9a3; } .legend .k-wet { background: #dbe8ee; border: 1px solid var(--night-3); } .legend .k-reach { border: 1px dashed var(--brass); }
.legend .k-ok { background: var(--ok); border-radius: 50%; width: 10px; } .legend .k-check { background: var(--check); border-radius: 50%; width: 10px; } .legend .k-stop { background: var(--stop); border-radius: 50%; width: 10px; }

.verdicts { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; counter-reset: fx; }
.vd { background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--line-2); border-radius: var(--r-sm); padding: 1rem 1.1rem; }
.vd--ok { border-left-color: var(--ok); } .vd--check { border-left-color: var(--check); } .vd--stop { border-left-color: var(--stop); } .vd--info { border-left-color: var(--info); }
.vd__top { display: flex; gap: .7rem; align-items: baseline; flex-wrap: wrap; }
.vd__n { font: 800 .8rem/1 var(--sans); color: #fff; background: var(--ink-2); border-radius: 999px; min-width: 1.6rem; height: 1.6rem; display: inline-grid; place-items: center; }
.vd--ok .vd__n { background: var(--ok); } .vd--check .vd__n { background: var(--check); } .vd--stop .vd__n { background: var(--stop); }
.vd__name { font-weight: 700; }
.vd__kind { font-size: .82rem; color: var(--ink-3); }
.vd__head { font-family: var(--serif); font-size: 1.2rem; line-height: 1.3; margin: .5rem 0 .4rem; }
.vd ul { margin: .3rem 0 0; padding-left: 1.1rem; font-size: .9rem; color: var(--ink-2); }
.vd li { margin: .25rem 0; }
.vd__who { font-size: .82rem; margin-top: .6rem; color: var(--ink-2); }
.vd__who b { color: var(--ink); }
.vd__acts { display: flex; gap: .6rem; margin-top: .7rem; flex-wrap: wrap; }
.chip { display: inline-block; font: 700 .7rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: .38rem .6rem; border-radius: 999px; }
.chip--ok { background: var(--ok-bg); color: var(--ok); } .chip--check { background: var(--check-bg); color: var(--check); } .chip--stop { background: var(--stop-bg); color: var(--stop); } .chip--info { background: var(--info-bg); color: var(--info); } .chip--none { background: var(--tile); color: var(--ink-2); }
.cite { font: 600 .72rem/1 var(--sans); color: var(--night-3); background: var(--info-bg); padding: .22rem .45rem; border-radius: 5px; text-decoration: none; white-space: nowrap; }
.cite:hover { background: var(--glow-soft); color: var(--ink); }
.tag-practice { font-style: italic; }

/* pricing */
.prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; max-width: 900px; }
.price { border-radius: var(--r); padding: 2rem; background: var(--paper); border: 1px solid var(--line); color: var(--ink); }
.band--night .price { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .14); color: #e9f1f5; }
.price--pass { border: 1.5px solid var(--brass-2); box-shadow: 0 0 0 6px rgba(217, 180, 106, .08); }
.price h3 { font-size: 1.6rem; margin-bottom: .3rem; }
.price__amt { font: 500 3.3rem/1 var(--serif); margin: .8rem 0 .2rem; }
.price__amt small { font: 600 .9rem var(--sans); opacity: .75; }
.price__alt { font-weight: 600; margin-bottom: 1rem; }
.price ul { padding-left: 1.1rem; margin: 0 0 1.2rem; }
.price li { margin: .35rem 0; }
.preview { display: inline-block; font: 700 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; background: var(--glow); color: var(--night); padding: .45rem .7rem; border-radius: 999px; }
.price__note { font-size: .85rem; opacity: .8; }
@media (max-width: 760px) { .prices { grid-template-columns: 1fr; } }

/* pro panel, faq */
.pro { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.pro > div { background: var(--paper); border-radius: var(--r); padding: 1.4rem; border: 1px solid var(--line); }
.pro h3 { font-size: 1.2rem; }
@media (max-width: 860px) { .pro { grid-template-columns: 1fr; } }
.faq details { border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.faq summary { cursor: pointer; font: 500 1.25rem/1.3 var(--serif); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::after { content: "+"; font-family: var(--sans); color: var(--brass); font-weight: 600; }
.faq details[open] summary::after { content: "\2212"; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin: .8rem 0 0; color: var(--ink-2); max-width: 52rem; }

/* inner pages */
.pagehead { padding: clamp(2.4rem, 6vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2.2rem); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--porcelain), var(--tile)); }
.pagehead h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.content { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 6vw, 5rem); }
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.9rem; margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose li { margin: .4rem 0; }
.srclist { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.srclist li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 1rem 1.1rem; scroll-margin-top: 1rem; }
.srclist li:target { border-color: var(--glow); box-shadow: 0 0 0 4px var(--glow-soft); }
.srclist b { display: block; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }
.layout2 { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 2rem; align-items: start; }
@media (max-width: 980px) { .layout2 { grid-template-columns: 1fr; } }
.side { position: sticky; top: 1rem; display: grid; gap: 1rem; }
.box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 1.3rem; }
.box--brass { background: var(--brass-soft); border-color: var(--brass-2); }
.box h2, .box h3 { font-size: 1.35rem; }
.keyline { font: 500 .85rem/1.5 var(--sans); background: var(--night); color: var(--glow-2); padding: .8rem 1rem; border-radius: var(--r-sm); word-break: break-all; }
.rooms { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.roomcard { display: block; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 1.3rem; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); }
.roomcard:hover { color: var(--ink); border-color: var(--glow); }
.roomcard b { font: 600 1.3rem/1.2 var(--serif); display: block; margin-bottom: .4rem; }
.tabs { display: flex; gap: .4rem; flex-wrap: wrap; margin: 0 0 1rem; }
.result-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.findings { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .6rem; }
.findings li { display: flex; gap: .7rem; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); padding: .8rem .9rem; font-size: .92rem; }
.msg { padding-top: clamp(3rem, 8vw, 6rem); padding-bottom: clamp(3rem, 8vw, 6rem); max-width: 44rem; }
.foldform summary { cursor: pointer; font-weight: 700; padding: .4rem 0; }

/* footer */
.foot { background: var(--night); color: rgba(233, 241, 245, .78); padding: 3.5rem 0 2rem; font-size: .9rem; }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { color: var(--glow); }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.foot h2 { font: 700 .72rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--brass-2); margin-bottom: 1rem; }
.foot ul { list-style: none; padding: 0; margin: 0; } .foot li { margin: .45rem 0; }
.foot__base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 2.5rem; padding-top: 1.4rem; font-size: .82rem; }
.foot .brand { color: #fff; margin-bottom: 1rem; }
@media (max-width: 860px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot__grid { grid-template-columns: 1fr; } }

/* print: the plan sheet */
@media print {
  .top, .foot, .noprint, .side { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .pagehead { background: none; padding: 0 0 .5rem; }
  .board, .vd, .box { box-shadow: none; break-inside: avoid; }
  .sheet-room { break-before: page; } .sheet-room:first-child { break-before: auto; }
  a { color: inherit; text-decoration: none; }
  .layout2 { display: block; }
}
.mt { margin-top: 1.8rem; }

/* v1.1.0 AdEngine banner (adengine.us). One labelled slot between the main content and the night footer, on the public pages
   only (the controllers opt in). The label, the reserved height and the spacing are all on the <ins>, so when tag.js (or
   ae-size.js) hides a slot it cannot fill, the label and the space go with it and the page closes up exactly as before.
   110px = 16px label + 4px gap + 90px banner; 270px on phones (300x250). Content pages already end with 48-80px of porcelain
   padding and the night footer has no top margin, so the slot adds space below itself only; the home page ends on a white
   band, so there the slot also keeps porcelain above itself. Label: the site's spaced capitals (Montserrat 700) in --ink-2
   on porcelain (6.5:1). display stays in this file and is never !important: tag.js hides a slot with style.display='none'. */
.ae-slot { margin: 0; padding: 0 clamp(1.1rem, 4vw, 2.5rem); }
.ae-slot ins.adengine { display: block; max-width: 728px; min-height: 110px; margin: 0 auto 3.5rem; text-align: center; text-decoration: none; }
.ae-slot ins.adengine::before { content: "Advertisement"; display: block; margin-bottom: 4px; font: 700 11px/16px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.ae-slot ins.adengine a { display: inline-block; vertical-align: top; }
main:has(> .band:last-child) + .ae-slot ins.adengine { margin-top: 3rem; }
.ae-slot:has(> ins.adengine[style*="none"]) { display: none; }
@media (max-width: 767px) { .ae-slot ins.adengine { max-width: 300px; min-height: 270px; margin-bottom: 2.75rem; } main:has(> .band:last-child) + .ae-slot ins.adengine { margin-top: 2.5rem; } }
@media print { .ae-slot { display: none; } }
