/* Kancherla's · Flat 1106 — site styles (shared by every page made by tools/site/build_site.py) */
:root {
  --walnut-950: #1c120c;
  --walnut-900: #2a1a11;
  --walnut-800: #3a2418;
  --walnut-700: #4f3222;
  --walnut-500: #8a5a3b;
  --walnut-300: #c09a78;
  --sage-700: #5d6a4f;
  --sage-500: #8a9878;
  --sage-200: #d9dfcf;
  --sage-100: #e9ede2;
  --ivory: #f6f0e5;
  --ivory-2: #efe6d6;
  --paper: #fbf8f2;
  --brass: #b8893b;
  --brass-2: #d8b36a;
  --ink: #241912;
  --muted: #6e6056;
  --line: #e3d9ca;
  --line-dark: rgba(246, 240, 229, .16);
  --serif: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --radius: 14px;
  --header: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 64px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 100; background: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.serif { font-family: var(--serif); font-weight: 400; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; margin: 0; }
h2 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.02; }
h3 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.1; }
em { font-style: italic; }
.kicker { font: 600 11.5px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--walnut-500); margin: 0 0 14px; }
.lede { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }

/* ---------------------------------------------------------------- header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header); transition: background .35s var(--ease), box-shadow .35s var(--ease), color .35s; background: rgba(251, 248, 242, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header .bar { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1480px; margin: 0 auto; padding: 0 var(--gutter); }
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; white-space: nowrap; }
.brand b { font: 400 25px/1 var(--serif); letter-spacing: -.01em; }
.brand span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { position: relative; padding: 8px 11px; font-size: 14px; text-decoration: none; border-radius: 999px; color: inherit; opacity: .82; transition: opacity .2s, background .2s; white-space: nowrap; }
.nav a:hover { opacity: 1; background: rgba(138, 90, 59, .1); }
.nav a[aria-current="page"] { opacity: 1; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 1px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--brass); }
.nav a.nav-3d { border: 1px solid currentColor; margin-left: 6px; opacity: .9; }
.menu-btn { display: none; align-items: center; gap: 8px; background: none; border: 1px solid currentColor; border-radius: 999px; padding: 7px 14px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.menu-btn i { display: block; width: 16px; height: 1.5px; background: currentColor; box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor; }
body.on-hero .site-header:not(.solid) { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; color: var(--ivory); }
body.on-hero .site-header:not(.solid) .brand span { color: rgba(246, 240, 229, .75); }
body.on-hero .site-header:not(.solid) .nav a:hover { background: rgba(255, 255, 255, .12); }
.site-header.solid { color: var(--ink); }
.mobile-nav { position: fixed; inset: 0; z-index: 60; background: var(--walnut-900); color: var(--ivory); padding: 22px var(--gutter) 40px; display: flex; flex-direction: column; transform: translateY(-102%); visibility: hidden; transition: transform .5s var(--ease), visibility 0s .5s; overflow-y: auto; }
.mobile-nav.open { transform: none; visibility: visible; transition: transform .5s var(--ease); }
.mobile-nav .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.mobile-nav .close { background: none; border: 1px solid var(--line-dark); color: var(--ivory); border-radius: 999px; padding: 7px 14px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.mobile-nav nav a { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line-dark); font: 400 34px/1.1 var(--serif); text-decoration: none; }
.mobile-nav nav a small { font: 400 12px var(--sans); letter-spacing: .12em; text-transform: uppercase; opacity: .55; }
.mobile-nav nav a[aria-current="page"] { color: var(--brass-2); }
@media (max-width: 1100px) { .nav { display: none; } .menu-btn { display: inline-flex; } }
main { display: block; }
.page-top { padding-top: var(--header); }

/* ---------------------------------------------------------------- buttons, chips */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-size: 15px; font-weight: 500; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s; }
.btn:hover { transform: translateY(-2px); }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-brass { background: var(--brass); color: #fff; }
.btn-brass:hover { background: #a67a30; }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-dark { background: var(--walnut-900); color: var(--ivory); }
.btn-dark:hover { background: var(--walnut-700); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 13px; background: var(--ivory-2); color: var(--walnut-800); white-space: nowrap; }
.tag { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; background: var(--ivory-2); color: var(--walnut-700); white-space: nowrap; }
.tag.t-box { background: #ecdccb; color: #6b3f22; }
.tag.t-frame { background: #efe3c9; color: #7a5a1c; }
.tag.t-panel { background: #e3d6cc; color: #4f3222; }
.tag.t-lighting { background: #f6e7bf; color: #7b5a10; }
.tag.t-removal { background: #f1dcd5; color: #7c3b2a; }
.tag.t-stone, .tag.t-flooring, .tag.t-paint, .tag.t-laminate, .tag.t-wpc { background: var(--sage-100); color: var(--sage-700); }

/* ---------------------------------------------------------------- reveal */
.rv { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------------------------------------------------------------- home: hero */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 600px; max-height: 1100px; overflow: hidden; background: var(--walnut-950); color: var(--ivory); }
.hero .slides, .hero .slide { position: absolute; inset: 0; }
.hero .slide { opacity: 0; transition: opacity 2.2s ease; }
.hero .slide.on { opacity: 1; }
.hero .slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.hero .slide.on img { animation: kenburns 16s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.04) translate3d(0, 0, 0); } to { transform: scale(1.13) translate3d(-1.2%, -1%, 0); } }
@media (prefers-reduced-motion: reduce) { .hero .slide.on img { animation: none; } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 12, 7, .55) 0%, rgba(20, 12, 7, 0) 22%, rgba(20, 12, 7, 0) 42%, rgba(20, 12, 7, .78) 100%), linear-gradient(90deg, rgba(20, 12, 7, .55) 0%, rgba(20, 12, 7, 0) 60%); pointer-events: none; }
.hero .inner { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 0 var(--gutter) clamp(36px, 7vh, 80px); max-width: 1480px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px; }
.hero .kicker { color: var(--brass-2); }
.hero h1 { font-size: clamp(50px, 8.6vw, 132px); line-height: .92; letter-spacing: -.025em; max-width: 11ch; }
.hero h1 em { color: var(--brass-2); }
.hero p.sub { max-width: 46ch; margin: 22px 0 30px; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; color: rgba(246, 240, 229, .86); }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .caption { text-align: right; font-size: 13px; color: rgba(246, 240, 229, .78); max-width: 260px; }
.hero .caption b { display: block; font: 400 21px/1.2 var(--serif); color: var(--ivory); margin-bottom: 4px; }
.hero .dots { display: flex; gap: 8px; justify-content: flex-end; margin-top: 14px; }
.hero .dots button { width: 34px; height: 3px; border: 0; padding: 0; background: rgba(246, 240, 229, .3); cursor: pointer; overflow: hidden; position: relative; }
.hero .dots button.on::after { content: ""; position: absolute; inset: 0; background: var(--brass-2); animation: dotfill 7s linear forwards; transform-origin: left; }
@keyframes dotfill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero .rise { opacity: 0; transform: translateY(30px); animation: rise 1.4s var(--ease) forwards; }
.hero .rise.d2 { animation-delay: .25s; } .hero .rise.d3 { animation-delay: .5s; } .hero .rise.d4 { animation-delay: .75s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (max-width: 760px) { .hero .inner { grid-template-columns: 1fr; } .hero .caption { display: none; } }

/* ---------------------------------------------------------------- home: sections */
.sec { padding: clamp(72px, 11vw, 150px) 0; }
.sec-tight { padding: clamp(56px, 8vw, 100px) 0; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head .lede { margin: 0; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } }
.glance { background: var(--paper); }
.stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.stat { padding: 26px 18px 6px 0; border-right: 1px solid var(--line); margin-right: 18px; }
.stat:last-child { border-right: 0; }
.stat b { display: block; font: 400 clamp(46px, 5.4vw, 78px)/.95 var(--serif); letter-spacing: -.02em; color: var(--walnut-800); }
.stat b sup { font-size: .38em; vertical-align: top; position: relative; top: .35em; margin-left: 3px; color: var(--walnut-500); }
.stat span { display: block; margin-top: 10px; font-size: 14px; color: var(--muted); line-height: 1.4; }
@media (max-width: 1000px) { .stats { grid-template-columns: repeat(3, 1fr); } .stat:nth-child(3n) { border-right: 0; } }
@media (max-width: 560px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 18px; } .stat:nth-child(odd) { border-right: 1px solid var(--line); margin-right: 14px; } }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: clamp(48px, 6vw, 80px); counter-reset: step; }
.step { position: relative; display: block; padding: 26px 24px 28px; background: var(--ivory); border-radius: var(--radius); text-decoration: none; transition: transform .35s var(--ease), background .35s; }
.step:hover { transform: translateY(-4px); background: var(--ivory-2); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font: 400 15px var(--serif); font-style: italic; color: var(--brass); margin-bottom: 26px; }
.step h3 { font-size: 27px; margin-bottom: 8px; }
.step p { margin: 0; font-size: 14.5px; color: var(--muted); }
.step .go { position: absolute; right: 22px; top: 22px; font-size: 18px; color: var(--walnut-500); transition: transform .3s var(--ease); }
.step:hover .go { transform: translate(3px, -3px); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* plan */
.plan-sec { background: var(--walnut-900); color: var(--ivory); position: relative; overflow: hidden; }
.plan-sec .kicker { color: var(--brass-2); }
.plan-sec .lede { color: rgba(246, 240, 229, .72); }
.plan-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.plan-grid .plan-svg { max-height: 78vh; }
@media (max-width: 900px) { .plan-grid { grid-template-columns: 1fr; } }
.plan-svg { width: 100%; height: auto; overflow: visible; }
.plan-svg .room rect { fill: rgba(246, 240, 229, .045); stroke: rgba(246, 240, 229, .14); stroke-width: .06; transition: fill .3s; }
.plan-svg .room text { fill: rgba(246, 240, 229, .82); font: 400 .78px var(--serif); text-anchor: middle; pointer-events: none; }
.plan-svg .room text.dim { font: 500 .42px var(--sans); fill: rgba(246, 240, 229, .45); letter-spacing: .02em; }
.plan-svg a.room:hover rect, .plan-svg a.room:focus rect, .plan-svg a.room.hot rect { fill: rgba(216, 179, 106, .3); }
.plan-svg a.room:hover text, .plan-svg a.room.hot text { fill: #fff; }
.plan-svg .wall { fill: var(--ivory); }
.plan-svg .win { fill: var(--brass-2); opacity: .9; }
.plan-svg .rail { fill: none; stroke: rgba(246, 240, 229, .55); stroke-width: .08; stroke-dasharray: .25 .2; }
.plan-svg .door { fill: none; stroke: rgba(246, 240, 229, .35); stroke-width: .05; }
.plan-svg .entry { fill: var(--brass-2); font: 600 .5px var(--sans); letter-spacing: .12em; text-anchor: middle; }
.plan-list { list-style: none; margin: 0; padding: 0; }
.plan-list li { break-inside: avoid; }
.plan-list a { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-dark); text-decoration: none; transition: color .2s, padding .3s var(--ease); }
.plan-list a:hover, .plan-list a.hot { color: var(--brass-2); padding-left: 6px; }
.plan-list a span { font: 400 22px/1.15 var(--serif); }
.plan-list a small { font-size: 12px; opacity: .55; white-space: nowrap; padding-top: 4px; }
.plan-light .plan-svg .room rect { fill: #fff; stroke: var(--line); }
.plan-light .plan-svg .room text { fill: var(--walnut-800); }
.plan-light .plan-svg .room text.dim { fill: var(--muted); }
.plan-light .plan-svg a.room:hover rect, .plan-light .plan-svg a.room.hot rect { fill: #f3e4c4; }
.plan-light .plan-svg a.room:hover text { fill: var(--walnut-900); }
.plan-light .plan-svg .wall { fill: var(--walnut-800); }
.plan-light .plan-svg .rail { stroke: var(--walnut-500); }
.plan-light .plan-svg .door { stroke: var(--walnut-300); }
.plan-light .plan-svg .entry { fill: var(--walnut-500); }

/* rooms grid */
.rooms-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.room-card { grid-column: span 4; position: relative; display: block; text-decoration: none; color: var(--ink); }
.room-card.big { grid-column: span 6; }
.room-card .ph { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; background: var(--ivory-2); }
.room-card.big .ph { aspect-ratio: 3 / 2; }
.room-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.room-card:hover .ph img { transform: scale(1.05); }
.room-card .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(20, 12, 7, .55)); }
.room-card .ph .no { position: absolute; z-index: 1; left: 18px; bottom: 14px; color: var(--ivory); font: 400 italic 16px var(--serif); }
.room-card .ph .cnt { position: absolute; z-index: 1; right: 14px; bottom: 14px; display: flex; gap: 6px; }
.room-card .ph .cnt span { background: rgba(251, 248, 242, .9); color: var(--walnut-800); font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.room-card .meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 2px 0; }
.room-card h3 { font-size: clamp(25px, 2.3vw, 31px); }
.room-card .meta small { color: var(--muted); font-size: 13px; white-space: nowrap; }
.room-card p { margin: 6px 2px 0; font-size: 14.5px; color: var(--muted); line-height: 1.5; }
@media (max-width: 980px) { .room-card, .room-card.big { grid-column: span 6; } }
@media (max-width: 600px) { .room-card, .room-card.big { grid-column: span 12; } }

/* materials */
.mat-sec { background: var(--walnut-900); color: var(--ivory); }
.mat-sec .kicker { color: var(--brass-2); }
.mat-sec .lede { color: rgba(246, 240, 229, .7); }
.swatches { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.swatch .sw { aspect-ratio: 1; border-radius: 12px; background-size: cover; background-position: center; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); transition: transform .5s var(--ease); }
.swatch:hover .sw { transform: scale(1.03); }
.swatch b { display: block; margin-top: 12px; font: 400 20px/1.15 var(--serif); }
.swatch span { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.45; color: rgba(246, 240, 229, .6); }
@media (max-width: 1000px) { .swatches { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) { .swatches { grid-template-columns: repeat(2, 1fr); } }
.palette-strip { display: flex; height: 10px; border-radius: 99px; overflow: hidden; margin-bottom: clamp(36px, 5vw, 60px); }
.palette-strip i { flex: 1; }

/* walkthrough CTA */
.cta3d { position: relative; min-height: min(84vh, 760px); display: flex; align-items: center; overflow: hidden; color: var(--ivory); background: var(--walnut-950); }
.cta3d img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; transform: scale(1.06); transition: transform 8s linear; }
.cta3d:hover img { transform: scale(1.12); }
.cta3d::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 60%, rgba(20, 12, 7, .78), rgba(20, 12, 7, .15) 70%); }
.cta3d .wrap { position: relative; z-index: 1; }
.cta3d .kicker { color: var(--brass-2); }
.cta3d h2 { font-size: clamp(46px, 7vw, 104px); max-width: 10ch; line-height: .95; }
.cta3d p { max-width: 44ch; color: rgba(246, 240, 229, .82); margin: 20px 0 30px; font-size: 17px; }

/* progress */
.progress-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
@media (max-width: 860px) { .progress-grid { grid-template-columns: 1fr; } }
.ring { position: relative; width: min(300px, 70vw); aspect-ratio: 1; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 7; }
.ring .bg { stroke: var(--ivory-2); }
.ring .fg { stroke: var(--sage-500); stroke-linecap: round; transition: stroke-dashoffset 1.6s var(--ease); }
.ring .ip { stroke: var(--brass-2); stroke-linecap: round; transition: stroke-dashoffset 1.6s var(--ease); }
.ring .val { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring .val b { font: 400 76px/1 var(--serif); color: var(--walnut-800); }
.ring .val span { font-size: 13px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.bars { display: grid; gap: 16px; }
.bar-row { display: grid; grid-template-columns: 170px minmax(0, 1fr) 84px; gap: 14px; align-items: center; font-size: 14.5px; }
.bar-row .tr { height: 8px; border-radius: 99px; background: var(--ivory-2); overflow: hidden; display: flex; }
.bar-row .tr i { display: block; height: 100%; transition: width 1.4s var(--ease); width: 0; }
.bar-row .tr i.d { background: var(--sage-500); }
.bar-row .tr i.p { background: var(--brass-2); }
.bar-row .n { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; font-size: 13px; }
@media (max-width: 520px) { .bar-row { grid-template-columns: 1fr 70px; } .bar-row .tr { grid-column: 1 / -1; grid-row: 2; } }
.legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; font-size: 13px; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 7px; vertical-align: -1px; }

/* downloads */
.files { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.file { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .25s, transform .3s var(--ease), box-shadow .3s; }
.file:hover { border-color: var(--walnut-300); transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(42, 26, 17, .35); }
.file .ext { width: 52px; height: 60px; border-radius: 8px; background: var(--walnut-800); color: var(--ivory); display: grid; place-items: center; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; position: relative; }
.file .ext::after { content: ""; position: absolute; right: 0; top: 0; border-width: 0 13px 13px 0; border-style: solid; border-color: var(--paper) var(--paper) rgba(0, 0, 0, .25) rgba(0, 0, 0, .25); border-radius: 0 0 0 4px; }
.file .ext.pdf { background: #8c3b2a; } .file .ext.xlsx { background: var(--sage-700); } .file .ext.zip { background: var(--walnut-500); }
.file b { display: block; font-weight: 600; font-size: 15px; line-height: 1.3; }
.file span { display: block; font-size: 13px; color: var(--muted); margin-top: 3px; line-height: 1.4; }
.file .dl { font-size: 20px; color: var(--walnut-500); }
.files-empty { padding: 26px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }

/* footer */
.site-footer { background: var(--walnut-950); color: rgba(246, 240, 229, .72); padding: clamp(60px, 8vw, 100px) 0 40px; font-size: 14px; }
.site-footer .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 46px; border-bottom: 1px solid var(--line-dark); }
.site-footer .big { font: 400 clamp(40px, 5vw, 68px)/.95 var(--serif); color: var(--ivory); margin: 0 0 16px; }
.site-footer .big em { color: var(--brass-2); }
.site-footer h4 { margin: 0 0 14px; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-2); font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ivory); }
.site-footer .bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; font-size: 12.5px; opacity: .7; }
@media (max-width: 760px) { .site-footer .top { grid-template-columns: 1fr 1fr; } .site-footer .top > :first-child { grid-column: 1 / -1; } }

/* ---------------------------------------------------------------- inner page header */
.page-head { padding: calc(var(--header) + clamp(40px, 7vw, 96px)) 0 clamp(32px, 4vw, 56px); background: var(--paper); }
.page-head h1 { font-size: clamp(52px, 8vw, 112px); line-height: .95; letter-spacing: -.025em; }
.page-head h1 em { color: var(--walnut-500); }
.page-head .lede { margin-top: 20px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- room page */
.room-hero { position: relative; height: min(84vh, 860px); min-height: 520px; overflow: hidden; background: var(--walnut-950); color: var(--ivory); }
.room-hero img { width: 100%; height: 100%; object-fit: cover; animation: heroin 2.4s var(--ease) both; }
@keyframes heroin { from { transform: scale(1.08); opacity: .4; } to { transform: scale(1); opacity: 1; } }
.room-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 12, 7, .5), rgba(20, 12, 7, 0) 25%, rgba(20, 12, 7, 0) 45%, rgba(20, 12, 7, .82)); }
.room-hero .inner { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding-bottom: clamp(30px, 6vh, 64px); }
.room-hero .kicker { color: var(--brass-2); }
.room-hero h1 { font-size: clamp(56px, 10vw, 150px); line-height: .9; letter-spacing: -.03em; }
.room-hero p { max-width: 54ch; margin: 18px 0 0; color: rgba(246, 240, 229, .86); font-size: clamp(16px, 1.4vw, 19px); }
.room-hero .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.room-hero .chip { background: rgba(251, 248, 242, .14); color: var(--ivory); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(251, 248, 242, .18); }
.subnav { position: sticky; top: var(--header); z-index: 20; background: rgba(251, 248, 242, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-top: 10px; padding-bottom: 10px; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 7px 14px; border-radius: 999px; font-size: 14px; text-decoration: none; color: var(--muted); transition: background .2s, color .2s; }
.subnav a:hover { background: var(--ivory-2); color: var(--ink); }
.subnav a.on { background: var(--walnut-900); color: var(--ivory); }
.rsec { padding: clamp(56px, 7vw, 100px) 0 0; }
.rsec > .wrap > .kicker + h2 { margin-bottom: 14px; }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 80px); }
@media (max-width: 860px) { .intro-grid { grid-template-columns: 1fr; } }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; align-self: start; }
.facts div { background: var(--paper); padding: 18px 20px; }
.facts b { display: block; font: 400 40px/1 var(--serif); color: var(--walnut-800); }
.facts span { font-size: 13px; color: var(--muted); }
.space-list { list-style: none; padding: 0; margin: 26px 0 0; border-top: 1px solid var(--line); }
.space-list li { padding: 12px 0 12px 26px; border-bottom: 1px solid var(--line); position: relative; font-size: 15px; }
.space-list li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 10px; height: 1px; background: var(--brass); }

/* galleries */
.gallery { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.gallery figure { margin: 0; flex: var(--ar, 1.5) 1 calc(var(--ar, 1.5) * 300px); min-width: 0; }
.gallery.g3 figure { flex-basis: calc(var(--ar, 1.5) * 220px); }
.gallery a { display: block; position: relative; overflow: hidden; border-radius: 12px; background: var(--ivory-2); cursor: zoom-in; aspect-ratio: var(--ar, 1.5); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery a:hover img { transform: scale(1.035); }
.gallery figcaption { font-size: 13.5px; color: var(--muted); padding: 10px 2px 4px; line-height: 1.45; }
.gallery .lbl { position: absolute; left: 12px; top: 12px; background: rgba(251, 248, 242, .92); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; color: var(--walnut-800); }
@media (max-width: 560px) { .gallery figure { flex-basis: 100%; } .gallery.g3 figure { flex-basis: calc(var(--ar, 1.5) * 120px); } }
.masonry { columns: 3 260px; column-gap: 14px; margin-top: 28px; }
.masonry figure { break-inside: avoid; margin: 0 0 14px; }
.masonry a { display: block; overflow: hidden; border-radius: 10px; background: var(--ivory-2); cursor: zoom-in; }
.masonry img { width: 100%; height: auto; transition: transform .9s var(--ease); }
.masonry a:hover img { transform: scale(1.03); }
.masonry figcaption { font-size: 13px; color: var(--muted); padding: 8px 2px 2px; line-height: 1.45; }
.masonry figcaption time { display: block; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; opacity: .7; margin-top: 2px; }

/* parts (wall by wall) */
.unit-head { margin: clamp(56px, 6vw, 84px) 0 6px; padding-top: 28px; border-top: 2px solid var(--walnut-900); display: flex; justify-content: space-between; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.unit-head h3 { font-size: clamp(32px, 3.6vw, 46px); }
.unit-head small { color: var(--muted); font-size: 14px; }
.part { margin-top: clamp(36px, 4vw, 56px); }
.part-title { display: flex; gap: 16px; align-items: baseline; margin-bottom: 18px; }
.part-title .pn { font: 400 italic 22px var(--serif); color: var(--brass); min-width: 2.2em; }
.part-title h4 { margin: 0; font: 400 clamp(24px, 2.4vw, 30px)/1.15 var(--serif); }
.part-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 16px; align-items: start; }
.part-grid.solo { grid-template-columns: 1fr; }
@media (max-width: 960px) { .part-grid { grid-template-columns: 1fr; } }
.drawing { position: relative; display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(10px, 1.6vw, 22px); cursor: zoom-in; transition: box-shadow .3s, border-color .3s; }
.drawing:hover { border-color: var(--walnut-300); box-shadow: 0 20px 40px -28px rgba(42, 26, 17, .45); }
.drawing img { width: 100%; height: auto; }
.gallery::after { content: ""; flex: 1000 1 0; }
.drawing .zoom-hint { position: absolute; right: 14px; bottom: 14px; display: inline-flex; gap: 6px; align-items: center; font-size: 12px; font-weight: 600; background: var(--walnut-900); color: var(--ivory); padding: 6px 12px; border-radius: 999px; opacity: .85; }
.side-pics { display: grid; gap: 14px; align-content: start; }
@media (max-width: 960px) { .side-pics { grid-template-columns: 1fr 1fr; } }
.side-pics a { display: block; position: relative; border-radius: 12px; overflow: hidden; background: var(--ivory-2); cursor: zoom-in; }
.side-pics img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .9s var(--ease); }
.side-pics a.portrait img { aspect-ratio: 3 / 3.4; }
.side-pics a:hover img { transform: scale(1.04); }
.side-pics .lbl { position: absolute; left: 10px; bottom: 10px; background: rgba(251, 248, 242, .92); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; color: var(--walnut-800); }

/* items table */
.items { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.items th { text-align: left; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 12px 14px; background: var(--ivory); border-bottom: 1px solid var(--line); }
.items td { padding: 14px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.5; }
.items tr:last-child td { border-bottom: 0; }
.items td.no { font: 400 italic 18px var(--serif); color: var(--walnut-500); width: 44px; }
@media (min-width: 861px) { .items { table-layout: fixed; } .items th:nth-child(1) { width: 52px; } .items th:nth-child(3) { width: 150px; } .items th:nth-child(4) { width: 104px; } .items th:nth-child(5) { width: 92px; } .items th:nth-child(6) { width: 24%; } .items td.desc, .items td.fin { min-width: 0; } .items td.size { white-space: normal; } }
.items td.desc { min-width: 260px; }
.items td.size { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; color: var(--walnut-800); }
.items td.qty { white-space: nowrap; color: var(--muted); font-variant-numeric: tabular-nums; }
.items td.fin { color: var(--muted); font-size: 13px; min-width: 180px; }
.items .fin i { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
@media (max-width: 860px) {
  .items, .items tbody, .items tr, .items td { display: block; width: 100%; }
  .items thead { display: none; }
  .items tr { padding: 14px 16px; border-bottom: 1px solid var(--line); position: relative; }
  .items td { padding: 2px 0; border: 0; min-width: 0 !important; }
  .items td.no { position: absolute; right: 14px; top: 12px; width: auto; }
  .items td.desc { padding-right: 34px; margin-bottom: 6px; }
  .items td.size, .items td.type, .items td.qty { display: inline-block; width: auto; margin-right: 12px; }
  .items td.size { white-space: normal; }
  .items td.fin { margin-top: 4px; }
}
.notes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; margin-top: 14px; }
.note { padding: 20px 22px; border-radius: var(--radius); background: var(--ivory); }
.note.wire { background: #f6ecd2; }
.note.prep { background: #f3e1d8; }
.note.check { background: var(--sage-100); }
.note.out { background: #efebe6; }
.note h5 { margin: 0 0 10px; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--walnut-700); display: flex; align-items: center; gap: 8px; }
.note ul { margin: 0; padding-left: 18px; font-size: 14px; line-height: 1.55; }
.note li + li { margin-top: 5px; }
.also { margin-top: 44px; }
.also h4 { font: 400 26px var(--serif); margin: 0; }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: clamp(70px, 8vw, 120px); }
.pager a { position: relative; display: block; min-height: 190px; border-radius: var(--radius); overflow: hidden; color: var(--ivory); text-decoration: none; background: var(--walnut-900); }
.pager img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; transition: opacity .5s, transform 1.2s var(--ease); }
.pager a:hover img { opacity: .7; transform: scale(1.05); }
.pager span { position: absolute; left: 22px; bottom: 18px; right: 22px; }
.pager small { display: block; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.pager b { font: 400 34px/1.05 var(--serif); }
.pager a.next span { text-align: right; }

/* ---------------------------------------------------------------- drawings page */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button, .filters a { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 15px; font-size: 14px; cursor: pointer; text-decoration: none; color: var(--ink); transition: background .2s, border-color .2s, color .2s; }
.filters button:hover, .filters a:hover { border-color: var(--walnut-300); }
.filters button[aria-pressed="true"] { background: var(--walnut-900); color: var(--ivory); border-color: var(--walnut-900); }
.dgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 18px; margin-top: 10px; }
.dcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s; }
.dcard:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -30px rgba(42, 26, 17, .5); }
.dcard .im { padding: 14px; aspect-ratio: 1500 / 1000; display: grid; place-items: center; border-bottom: 1px solid var(--line); cursor: zoom-in; }
.dcard .im img { max-height: 100%; width: 100%; height: 100%; object-fit: contain; }
.dcard .tx { padding: 14px 18px 18px; }
.dcard .tx small { display: block; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); font-weight: 600; }
.dcard .tx b { display: block; font: 400 21px/1.2 var(--serif); margin-top: 4px; }
.dcard .tx a { font-size: 13px; color: var(--muted); }
.room-block { padding-top: clamp(40px, 5vw, 64px); }
.room-block > header { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.room-block > header h2 { font-size: clamp(32px, 3.6vw, 46px); }
.room-block > header a { font-size: 14px; color: var(--muted); }
.subhead { font: 600 12px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--walnut-500); margin: 26px 0 0; }

/* ---------------------------------------------------------------- tasks */
.t-summary { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: 26px clamp(18px, 3vw, 34px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.t-summary .ring { width: 150px; }
.t-summary .ring .val b { font-size: 42px; }
.t-summary .ring .val span { font-size: 10.5px; }
.t-counts { display: flex; flex-wrap: wrap; gap: clamp(18px, 3vw, 40px); }
.t-counts div b { display: block; font: 400 42px/1 var(--serif); color: var(--walnut-800); }
.t-counts div span { font-size: 13px; color: var(--muted); }
@media (max-width: 600px) { .t-summary { grid-template-columns: 1fr; justify-items: start; } }
.toolbar { position: sticky; top: var(--header); z-index: 15; background: rgba(251, 248, 242, .95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 14px 0; border-bottom: 1px solid var(--line); margin-top: 28px; }
.toolbar .row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.toolbar .row + .row { margin-top: 10px; }
.toolbar input[type=search], .toolbar select { height: 40px; border: 1px solid var(--line); border-radius: 999px; padding: 0 16px; background: #fff; font: inherit; font-size: 14px; color: var(--ink); }
.toolbar input[type=search] { flex: 1 1 240px; min-width: 0; }
.toolbar .spacer { flex: 1; }
.toolbar .count { font-size: 13px; color: var(--muted); }
.t-room { margin-top: 36px; }
.t-room > header { display: flex; align-items: baseline; gap: 16px; justify-content: space-between; flex-wrap: wrap; padding-bottom: 10px; border-bottom: 2px solid var(--walnut-900); }
.t-room h2 { font-size: clamp(28px, 3vw, 38px); }
.t-room h2 a { text-decoration: none; }
.t-room .mini { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.t-room .mini .tr { width: 120px; height: 6px; border-radius: 99px; background: var(--ivory-2); overflow: hidden; display: flex; }
.t-room .mini .tr i.d { background: var(--sage-500); } .t-room .mini .tr i.p { background: var(--brass-2); }
.task { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 13px 4px; border-bottom: 1px solid var(--line); }
.task .st { justify-self: start; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; padding: 3px 10px 3px 8px; border-radius: 999px; background: var(--ivory-2); color: var(--muted); white-space: nowrap; }
.task .st::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid currentColor; }
.task .st.s-in-progress { background: #f6e7bf; color: #7b5a10; }
.task .st.s-in-progress::before { background: linear-gradient(90deg, currentColor 50%, transparent 50%); }
.task .st.s-done { background: var(--sage-100); color: var(--sage-700); }
.task .st.s-done::before { background: currentColor; }
.task .tt { font-size: 15px; line-height: 1.45; }
.task .tt details summary { cursor: pointer; list-style: none; }
.task .tt details summary::-webkit-details-marker { display: none; }
.task .tt details summary::after { content: " +"; color: var(--walnut-300); }
.task .tt details[open] summary::after { content: " −"; }
.task .tt .more { margin-top: 8px; font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.task .tt .more b { color: var(--ink); font-weight: 600; }
.task .meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.task .meta .sz { font-size: 12.5px; font-weight: 600; color: var(--walnut-700); font-variant-numeric: tabular-nums; }
.task .id { font-size: 11.5px; color: var(--walnut-300); font-variant-numeric: tabular-nums; white-space: nowrap; padding-top: 3px; }
@media (max-width: 640px) { .task { grid-template-columns: 1fr; gap: 6px; } .task .id { display: none; } }
.howto { margin-top: 56px; padding: 22px 26px; border-radius: var(--radius); background: var(--ivory); font-size: 14px; color: var(--muted); }
.howto code { background: #fff; padding: 1px 6px; border-radius: 5px; font-size: 13px; color: var(--ink); }

/* ---------------------------------------------------------------- tables (floor plan) */
.size-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.size-table th, .size-table td { text-align: left; padding: 11px 6px; border-bottom: 1px solid var(--line); }
.size-table th { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.size-table td:nth-child(n+2) { font-variant-numeric: tabular-nums; white-space: nowrap; }
.size-table a { text-decoration: none; } .size-table a:hover { text-decoration: underline; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(14px, 2vw, 26px); }

/* ---------------------------------------------------------------- lightbox */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(16, 10, 6, .96); color: var(--ivory); display: none; flex-direction: column; }
.lb.open { display: flex; animation: lbin .3s ease; }
@keyframes lbin { from { opacity: 0; } to { opacity: 1; } }
.lb .stage { position: relative; flex: 1; overflow: hidden; touch-action: none; cursor: grab; }
.lb .stage.drag { cursor: grabbing; }
.lb .stage img { position: absolute; left: 50%; top: 50%; max-width: none; transform-origin: 0 0; user-select: none; -webkit-user-drag: none; }
.lb .stage.paper { background: #fff; }
.lb .bar { display: flex; align-items: center; gap: 12px; padding: 12px var(--gutter); font-size: 14px; }
.lb .bar .cap { flex: 1; min-width: 0; line-height: 1.4; color: rgba(246, 240, 229, .85); }
.lb .bar .cap b { font: 400 19px var(--serif); color: var(--ivory); display: block; }
.lb .bar .n { font-variant-numeric: tabular-nums; opacity: .6; white-space: nowrap; }
.lb button { background: rgba(246, 240, 229, .1); border: 1px solid rgba(246, 240, 229, .18); color: var(--ivory); border-radius: 999px; min-width: 42px; height: 42px; padding: 0 12px; cursor: pointer; font-size: 17px; line-height: 1; }
.lb button:hover { background: rgba(246, 240, 229, .2); }
.lb .nav-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 52px; height: 52px; font-size: 22px; background: rgba(16, 10, 6, .55); }
.lb .prev { left: 14px; } .lb .next { right: 14px; }
.lb .top { position: absolute; top: 12px; right: 12px; z-index: 3; display: flex; gap: 8px; }
.lb .top a { display: inline-flex; align-items: center; height: 42px; padding: 0 14px; border-radius: 999px; background: rgba(16, 10, 6, .55); border: 1px solid rgba(246, 240, 229, .18); font-size: 13px; text-decoration: none; color: var(--ivory); }
@media (max-width: 640px) { .lb .nav-btn { display: none; } .lb .top a { display: none; } }

/* ---------------------------------------------------------------- print */
@media print {
  .site-header, .mobile-nav, .site-footer, .subnav, .toolbar, .lb, .no-print, .pager { display: none !important; }
  body { background: #fff; font-size: 11px; }
  .page-head { padding: 0 0 10px; }
  .page-head h1 { font-size: 28px; }
  .page-head .lede { font-size: 11px; margin-top: 4px; }
  .wrap { max-width: none; padding: 0; }
  .t-summary { border: 0; padding: 0; }
  .t-summary .ring { display: none; }
  .t-counts div b { font-size: 20px; }
  .t-room { margin-top: 14px; break-inside: auto; }
  .t-room > header { border-bottom-width: 1px; padding-bottom: 4px; }
  .t-room h2 { font-size: 17px; }
  .task { grid-template-columns: 74px 1fr 60px; padding: 5px 0; gap: 8px; break-inside: avoid; }
  .task .st { font-size: 9px; padding: 1px 6px; }
  .task .tt { font-size: 10.5px; }
  .task .tt details summary::after { content: ""; }
  .task .tt .more { font-size: 9.5px; margin-top: 2px; }
  .task .tt details:not([open]) .more { display: block; }
  .rv { opacity: 1 !important; transform: none !important; }
  .howto { display: none; }
  @page { margin: 12mm; }
}

/* living & dining is drawn as one L-shaped path */
.plan-svg .room path { fill: rgba(246, 240, 229, .045); stroke: rgba(246, 240, 229, .14); stroke-width: .06; transition: fill .3s; }
.plan-svg a.room:hover path, .plan-svg a.room:focus path, .plan-svg a.room.hot path { fill: rgba(216, 179, 106, .3); }
.plan-light .plan-svg .room path { fill: #fff; stroke: var(--line); }
.plan-light .plan-svg a.room:hover path, .plan-light .plan-svg a.room.hot path { fill: #f3e4c4; }
.photos-page .masonry { columns: 4 220px; }

.lb .top button, .lb .top a { background: rgba(28, 18, 12, .82); border-color: rgba(246, 240, 229, .25); color: var(--ivory); }
.lb .top button:hover, .lb .top a:hover { background: rgba(28, 18, 12, .95); }
@media (max-width: 640px) { .lb .bar { padding: 10px 14px; gap: 8px; font-size: 12.5px; } .lb .bar .cap b { font-size: 16px; } .lb .bar button { min-width: 38px; height: 38px; } .lb .bar .zr { display: none; } }
@media print { .task { grid-template-columns: 74px minmax(0, 1fr) 84px; } .task .id { font-size: 8.5px; text-align: right; } .page-head { background: #fff; } .t-room .mini .tr { display: none; } }
@media (min-width: 861px) { .items td.size { white-space: normal; overflow-wrap: anywhere; } }
@media (max-width: 700px) {
  .toolbar { position: static; }
  .toolbar .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); }
  .toolbar .filters::-webkit-scrollbar { display: none; }
  .toolbar .filters button { flex: none; }
  .toolbar .row:last-child { flex-wrap: wrap; }
}
