/* Hero Rooms page styles. Tokens only; values live in theme.css. */
body { font-size: var(--fs-body); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.01em; }
.brand svg { width: 28px; height: 28px; color: var(--accent); }
.header-cta { display: none; }
@media (min-width: 900px) { .header-cta { display: inline-flex; min-height: 44px; padding: 8px 20px; } }
.nav-mobile { display: flex; gap: 18px; font-size: var(--fs-small); font-weight: 600; }
.nav-mobile a { text-decoration: none; padding-block: 12px; color: var(--muted-strong); }
.nav-mobile a[aria-current] { color: var(--ink); }
@media (min-width: 900px) { .nav-mobile { display: none; } }
@media (max-width: 420px) { .nav-mobile { gap: 12px; } .brand { font-size: 1.125rem; gap: 8px; } }
@media (max-width: 340px) { .brand span { display: none; } }

/* Hero: a plaster wall, edge to edge, with the room drawn as a plan */
.site-header { background: var(--surface-2); }
.hero-room { background: var(--surface-2); min-height: min(86svh, 860px); }
.hero-room .display em { font-style: normal; color: var(--accent-text); }
.hero-plan { color: var(--plan-line); max-width: 520px; width: 100%; justify-self: center; }
.hero-plan .wall { fill: none; stroke: currentColor; stroke-width: 6; stroke-linejoin: round; }
.hero-plan .thin { fill: none; stroke: currentColor; stroke-width: 1.5; }
.hero-plan .dash { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-dasharray: 4 6; opacity: .7; }
.hero-plan .rug { fill: var(--field-1); stroke: none; }
.hero-plan .bed { fill: var(--surface); stroke: currentColor; stroke-width: 1.5; }
.hero-plan .pot { fill: var(--accent); }
.hero-plan .window { stroke: var(--accent); stroke-width: 6; }
.hero-plan text { font-family: var(--font-display); font-size: 13px; letter-spacing: .06em; fill: currentColor; }

/* Signature: dimension tags, like measurements written on a plan */
.dim { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: var(--fs-micro); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.dim::before, .dim::after { content: ""; width: 18px; height: 9px; border: 1.5px solid currentColor; border-top: 0; border-bottom: 0; background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat; }

.hero-room .lead { color: var(--muted-strong); }
.hero-room.hero-compact { min-height: 0; }

/* Article index on the home page and the blog */
.post-list > li { display: grid; gap: 8px 32px; padding-block: 28px; border-top: 1px solid var(--line-strong); }
.post-list > li:last-child { border-bottom: 1px solid var(--line-strong); }
.post-list a { text-decoration: none; }
.post-list a:hover .h3 { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .2em; }
.post-list .h3 { font-weight: 500; }
@media (min-width: 900px) { .post-list > li { grid-template-columns: 10rem minmax(0, 1fr) minmax(0, 1fr); align-items: baseline; } }

.field .h3 { font-weight: 500; }
.field a { color: inherit; }

/* Article */
.article-head { background: var(--surface-2); }
.article-head .display { font-size: clamp(2.2rem, 1.4rem + 3.6vw, 4.4rem); max-width: 20ch; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--muted); font-size: var(--fs-small); }
.crumbs { font-size: var(--fs-small); color: var(--muted); }
.crumbs a { color: var(--muted-strong); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--muted); }
.article-body { display: grid; gap: clamp(32px, 5vw, 80px); }
@media (min-width: 1000px) { .article-body { grid-template-columns: minmax(0, 1fr) 17rem; } .article-aside { position: sticky; top: calc(var(--header-height) + 32px); align-self: start; } }
.prose { font-size: 1.125rem; line-height: 1.7; }
.prose h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); line-height: 1.15; letter-spacing: -0.015em; margin: 2.2em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin-bottom: 1em; }
.prose p + p { margin-top: 0; }
.prose ul > li, .prose ol > li { position: relative; padding-left: 1.6em; margin-bottom: .5em; }
.prose ul > li::before { content: ""; position: absolute; left: .25em; top: .72em; width: .55em; height: .55em; border-radius: 50%; background: var(--accent); }
.prose ol { counter-reset: step; }
.prose ol > li { counter-increment: step; }
.prose ol > li::before { content: counter(step); position: absolute; left: 0; top: 0; font-family: var(--font-display); font-weight: 600; color: var(--accent-text); }
.prose a { color: var(--accent-text); text-decoration-thickness: 1px; text-underline-offset: .18em; }
.prose strong { font-weight: 700; color: var(--ink); }
.prose .callout { margin: 1.6em 0; }
.prose .callout p { margin: 0; }
.partner-note { font-size: var(--fs-small); color: var(--muted-strong); }
.sources { margin-top: 2.5em; padding-top: 1.2em; border-top: 2px solid var(--ink); }
.sources h2 { font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: var(--tr-eyebrow); font-family: var(--font-body); font-weight: 700; color: var(--muted); margin: 0 0 .8em; }
.sources li { font-size: var(--fs-small); padding-left: 0 !important; }
.sources li::before { display: none; }
.aside-list li { padding-block: 12px; border-top: 1px solid var(--line); font-size: var(--fs-small); }
.aside-list a { text-decoration: none; font-weight: 600; }
.aside-list a:hover { text-decoration: underline; }

/* Contact form */
.form { display: grid; gap: 20px; }
.form label { display: grid; gap: 8px; font-weight: 600; font-size: var(--fs-small); }
.form input, .form textarea { width: 100%; min-height: 52px; padding: 14px 16px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); font-size: 1rem; font-weight: 400; }
.form textarea { min-height: 180px; resize: vertical; line-height: 1.5; }
.form input:focus-visible, .form textarea:focus-visible { border-color: var(--accent); }
.form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.6em; font-weight: 600; }
.form-status[data-state="ok"] { color: var(--ink); }
.form-status[data-state="error"] { color: var(--accent-text); }
.form button[disabled] { opacity: .6; cursor: progress; }

.not-found { min-height: 60svh; }
