/* Kern — home. */

.section-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 0.2rem 2rem; margin-bottom: clamp(1.4rem, 2.6vw, 2.2rem); }
.section-head .label { grid-column: 1 / -1; }
.section-head h2 { margin: 0; max-width: 22ch; }
.section-head__aside { margin: 0; color: var(--ink-3); font-size: 0.92rem; }

/* ---------- hero: plate -> room ---------- */
/* An inline script in hero.php sets data-mode before the first paint (home.js repeats it on resize):
   wide  — text on the left, the plate on the right
   stack — text above the plate (tall windows)
   flow  — no room for a plate beside or under the text: nothing is pinned, the plate follows the text */
.hero { position: relative; height: 175vh; height: 175svh; --pad: clamp(0.9rem, 3.4svh, 2.6rem); }
.hero__pin {
	position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
	background: var(--ochre) var(--grain); background-size: 180px;
}

/* the room: one photograph with the chair in it, seen through the sun as it widens into a window.
   home.js places it (object-position) and moves it (transform) so its chair starts under the cut-out. */
.hero__room { position: absolute; inset: 0; clip-path: circle(0 at 50% 50%); pointer-events: none; }
/* the <picture> carries the move; the <img> inside is the whole photograph, sized and placed by home.js
   (uncropped, so there is always more room around the chair while the photograph is still scaled down) */
.hero__room picture { position: absolute; inset: 0; transform-origin: 0 0; will-change: transform; }
.hero__room img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
/* where the photographed chair ends up (set by home.js; used to keep the room card off the chair) */
.hero__spot { position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: none; }

/* the plate and the text share one grid, so they can never overlap */
.hero__layout {
	position: absolute; inset: var(--header-h) 0 0; z-index: 2;
	display: grid; align-items: center;
	grid-template-columns: minmax(0, 1fr) min(calc(100svh - var(--header-h) - 2 * var(--pad)), 56%);
	column-gap: clamp(1.4rem, 4vw, 4rem); row-gap: clamp(0.9rem, 2.6svh, 1.6rem);
	padding-block: var(--pad);
}
.hero__copy { container-type: inline-size; min-width: 0; will-change: transform, opacity; }
.hero__figure { position: relative; align-self: stretch; min-width: 0; min-height: 0; container-type: size; }
.hero__plate { position: absolute; left: 50%; top: 50%; width: min(100cqw, 100cqh); aspect-ratio: 1; translate: -50% -50%; }
.hero__sun {
	position: absolute; inset: 0;
	border-radius: 50%;
	background: var(--rust) var(--grain); background-size: 180px;
	transform: scale(0.72); opacity: 0;
	transition: transform 1.6s var(--ease-out), opacity 1s var(--ease);
}
.hero__chair {
	position: absolute; left: 15%; bottom: 6%; width: 70%; height: auto;
	transform-origin: 0 0;
	opacity: 0; translate: 0 40px;
	transition: opacity 1.2s var(--ease) 0.25s, translate 1.6s var(--ease-out) 0.25s;
}
.hero.is-ready .hero__sun { transform: none; opacity: 1; }
.hero.is-ready .hero__chair { opacity: 1; translate: 0 0; }

.hero__kicker { margin: 0 0 clamp(0.8rem, 2.4svh, 1.4rem); color: var(--ink); }
/* the longest line ("heart of the tree.") is about 6.3em wide: the title shrinks to fit its column */
.hero__title { max-width: 7.2em; margin: 0; font-size: min(var(--fs-hero), 15.4cqi, 11.5svh); line-height: 0.93; letter-spacing: -0.03em; }
.hero__title em { color: var(--walnut); }
.hero__lede { max-width: 27rem; margin: clamp(0.9rem, 3svh, 1.8rem) 0 0; font-size: clamp(1rem, 0.86rem + 0.5vw, var(--fs-l)); line-height: 1.5; color: rgb(var(--ink-rgb) / 0.88); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.6rem; margin: clamp(1rem, 3.4svh, 2rem) 0 0; }

.hero[data-mode='stack'] .hero__layout { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); align-items: start; }
.hero[data-mode='stack'] .hero__title { font-size: min(5.6rem, 15.4cqi, 10svh); }
.hero[data-mode='stack'] .hero__plate { top: auto; bottom: 0; translate: -50% 0; }

.hero[data-mode='flow'] { height: auto; }
.hero[data-mode='flow'] .hero__pin { position: relative; height: auto; }
.hero[data-mode='flow'] .hero__room, .hero[data-mode='flow'] .hero__tag { display: none; }
.hero[data-mode='flow'] .hero__layout { position: relative; inset: auto; grid-template-columns: minmax(0, 1fr); padding-top: calc(var(--header-h) + var(--pad)); padding-bottom: calc(var(--pad) * 1.5); }
.hero[data-mode='flow'] .hero__title { font-size: min(5.6rem, 15.4cqi); }
.hero[data-mode='flow'] .hero__figure { container-type: normal; width: min(100%, 76svh); aspect-ratio: 1; justify-self: center; }
.hero[data-mode='flow'] .hero__plate { inset: 0; width: 100%; translate: none; }

.hero__tag {
	position: absolute; left: var(--gutter); bottom: clamp(1rem, 4svh, 2.6rem); z-index: 4;
	display: flex; align-items: center; gap: 1rem;
	max-width: calc(100% - 2 * var(--gutter));
	padding: 0.8rem 1.2rem 0.8rem 0.9rem;
	border-radius: 16px; background: rgb(var(--light-rgb) / 0.95);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	color: var(--ink); text-decoration: none;
	box-shadow: 0 1px 2px rgb(20 14 10 / 0.12), 0 14px 32px -16px rgb(20 14 10 / 0.4);
	opacity: 0; transform: translateY(14px); pointer-events: none;
	transition: opacity 0.6s var(--ease), transform 0.8s var(--ease-out);
}
/* tall windows: the chair stands at the bottom of the photograph, so the card goes up top */
.hero[data-mode='stack'] .hero__tag { bottom: auto; top: calc(var(--bar-h) + 0.8rem); }
.hero__tag.is-on { opacity: 1; transform: none; pointer-events: auto; }
.hero__tag--right { left: auto; right: var(--gutter); }
.hero .hero__tag--top { bottom: auto; top: calc(var(--bar-h) + 0.8rem); }
.hero__tag-dot { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--rust); box-shadow: 0 0 0 5px rgb(196 102 61 / 0.2); }
.hero__tag-text { display: grid; gap: 0.1rem; min-width: 0; }
.hero__tag-text .label { margin: 0; font-size: 0.64rem; }
.hero__tag-text strong { font: 400 1.2rem / 1.1 var(--serif); }
.hero__tag-text span:last-child { font-size: 0.86rem; color: var(--ink-2); }
.hero__tag > .icon { flex: none; transition: transform 0.5s var(--ease-out); }
.hero__tag:hover > .icon { transform: translateX(4px); }

.hero.is-static { height: auto; }
.hero.is-static .hero__pin { position: relative; }
.hero.is-static .hero__room, .hero.is-static .hero__tag { display: none; }

@media (max-aspect-ratio: 4/5) {
	.hero__tag { bottom: auto; top: calc(var(--bar-h) + 0.8rem); }
}
@media (max-width: 640px) {
	.hero__cta .btn { min-height: 3rem; }
}

/* ---------- intro ---------- */
.intro { padding-block: var(--section); }
.intro__text {
	max-width: 22em; margin: 0;
	font: 300 clamp(1.5rem, 1rem + 1.5vw, 2.5rem) / 1.34 var(--serif);
	font-variation-settings: 'SOFT' 50;
	letter-spacing: -0.022em;
	text-wrap: pretty;
}
.intro__text .word { opacity: 0.16; transition: opacity 0.5s var(--ease); }
.intro__text .word.is-lit { opacity: 1; }
/* The pill clears the tallest ascender and the deepest descender (italic y, p, g) by the same ~0.1em — a
   tight line box inside, the room moved to the bottom where descenders hang — and sits on the sentence's
   baseline. The paragraph's leading leaves the same air between a pill and the lines above and below it,
   so the y of "Every" or the p of "piece" never lands on an outline, nor do two pills on stacked lines. */
.chip-wood {
	display: inline-flex; align-items: center; gap: 0.28em;
	padding: 0 0.48em 0.226em 0.14em; margin-inline: 0.04em 0.06em;
	border: 1px solid var(--line-2); border-radius: 999px;
	font-style: italic; font-variation-settings: 'SOFT' 100;
	white-space: nowrap; vertical-align: baseline; line-height: 0.96;
}
.chip-unit { white-space: nowrap; }
/* narrow columns stack pills on consecutive lines: a little more leading keeps them apart */
@media (max-width: 600px) { .intro__text { line-height: 1.4; } }
.chip-wood__dot { width: 0.78em; height: 0.78em; border-radius: 50%; background: var(--swatch) center / cover; box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.08); }
.intro__facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; margin: clamp(2rem, 4vw, 3.2rem) 0 0; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.intro__facts dt { font: 300 clamp(2rem, 1.5rem + 1.4vw, 3.1rem) / 1 var(--serif); letter-spacing: -0.03em; font-feature-settings: 'tnum', 'lnum'; }
.intro__facts dt small { font: 500 0.9rem var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.intro__facts dd { margin: 0.7rem 0 0; max-width: 15rem; color: var(--ink-2); line-height: 1.45; }
@media (max-width: 800px) { .intro__facts { grid-template-columns: 1fr 1fr; } }

/* ---------- collection plates ---------- */
.collection { padding-block: var(--section); }
.plates {
	list-style: none; margin: 0; padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: clamp(9rem, 13.5vw, 12.5rem);
	grid-template-areas: 'a a b c' 'a a d c' 'e e f f';
	gap: clamp(0.7rem, 1.3vw, 1.3rem);
}
.plate--1 { grid-area: a; } .plate--2 { grid-area: b; } .plate--3 { grid-area: c; }
.plate--4 { grid-area: d; } .plate--5 { grid-area: e; } .plate--6 { grid-area: f; }
.plate__link { position: relative; isolation: isolate; display: block; height: 100%; overflow: hidden; border-radius: 6px; color: var(--ink); text-decoration: none; }
.plate__link.tone--light { color: var(--cream); }
.plate__sun {
	position: absolute; left: 50%; top: 46%; z-index: -1;
	width: min(76%, 38rem); aspect-ratio: 1; border-radius: 50%;
	background: var(--tone-2);
	transform: translate(-50%, -50%) scale(0.2); opacity: 0;
	transition: transform 1.1s var(--ease-out), opacity 0.6s var(--ease);
}
.plate__link img { position: absolute; left: 10%; top: 8%; width: 80%; height: 74%; object-fit: contain; transition: transform 1.1s var(--ease-out); }
.plate--5 .plate__link img, .plate--6 .plate__link img { left: 34%; width: 60%; }
.plate__link:hover .plate__sun { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.plate__link:hover img { transform: translateY(-3%) scale(1.04); }
.plate__text { position: absolute; left: clamp(1rem, 1.6vw, 1.5rem); bottom: clamp(0.9rem, 1.4vw, 1.3rem); display: grid; gap: 0.2rem; }
.plate__name { font: 340 clamp(1.3rem, 1rem + 0.8vw, 1.9rem) / 1 var(--serif); letter-spacing: -0.02em; }
.plate--1 .plate__name { font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.8rem); }
.plate__count { font-size: 0.85rem; font-weight: 500; }
.plate__arrow { position: absolute; right: 1rem; bottom: 1rem; width: 2.8rem; height: 2.8rem; display: grid; place-items: center; border-radius: 50%; background: var(--cream); color: var(--ink); transform: scale(0.6); opacity: 0; transition: 0.5s var(--ease-out); }
.plate__link:hover .plate__arrow { transform: scale(1); opacity: 1; }
@media (max-width: 900px) {
	.plates { grid-template-columns: 1fr 1fr; grid-template-areas: 'a a' 'a a' 'b c' 'd c' 'e e' 'f f'; grid-auto-rows: 11.5rem; }
}

/* ---------- Model 58 ---------- */
.m58 { padding-block: var(--section); }
.m58__inner { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: clamp(2rem, 5.5vw, 6rem); align-items: center; }
.m58__stage { position: relative; isolation: isolate; aspect-ratio: 1 / 1; max-height: var(--fit-h); display: grid; place-items: center; overflow: hidden; border-radius: 6px; transition: background-color 0.9s var(--ease); }
.m58__sun { position: absolute; z-index: -1; width: 74%; aspect-ratio: 1; border-radius: 50%; background: rgb(0 0 0 / 0.07); }
.m58__num { position: absolute; left: clamp(0.8rem, 2vw, 1.6rem); top: 0; z-index: -1; font: 300 clamp(4.5rem, 9vw, 8rem) / 1 var(--serif); letter-spacing: -0.06em; color: rgb(0 0 0 / 0.08); font-variation-settings: 'SOFT' 100; }
.m58__imgs { position: relative; width: min(80%, 90vh); aspect-ratio: 1290 / 1251; max-height: 82%; }
.m58__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity 0.7s var(--ease); }
.m58__img.is-on { opacity: 1; }
.m58__caption { position: absolute; left: 1.2rem; bottom: 1rem; margin: 0; font: italic 400 1rem var(--serif); color: rgb(var(--ink-rgb) / 0.92); }
.m58__title { font-size: var(--fs-h2); margin: 0 0 1.2rem; }
.m58__text { font-size: var(--fs-l); line-height: 1.5; color: var(--ink-2); margin-bottom: 2rem; }
.m58__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.m58__price { flex-basis: 100%; margin: 0; font: 350 1.8rem / 1 var(--serif); }
.m58__lead { display: flex; align-items: center; gap: 0.5rem; margin: 1.4rem 0 0; font-size: 0.9rem; color: var(--ink-2); }
.m58__lead .icon { width: 18px; height: 18px; color: var(--teak); }
@media (max-width: 900px) { .m58__inner { grid-template-columns: 1fr; } }

/* ---------- rail ---------- */
.rail { padding-block: var(--section); overflow: hidden; }
.rail__nav { display: flex; gap: 0.5rem; }
.rail__btn { width: 3.2rem; height: 3.2rem; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; background: none; cursor: pointer; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.rail__btn:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.rail__btn:first-child .icon { transform: scaleX(-1); }
.rail__track {
	--pad: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
	list-style: none; margin: 0;
	display: grid; grid-auto-flow: column; grid-auto-columns: clamp(13.5rem, 20vw, 18.5rem);
	gap: clamp(1rem, 2vw, 1.8rem);
	overflow-x: auto; overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	padding: 0 var(--pad) 0.5rem;
	scroll-padding-inline: var(--pad);
	scrollbar-width: none;
	cursor: grab;
}
.rail__track::-webkit-scrollbar { display: none; }
.rail__track > .card { scroll-snap-align: start; }
.rail__track.is-drag { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.rail__track.is-drag .card__link { pointer-events: none; }
.rail__progress { margin-top: 2.2rem; }
.rail__progress span { position: relative; display: block; height: 2px; background: var(--line); overflow: hidden; }
.rail__progress span::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 22%; background: var(--ink); transform: translateX(calc(var(--t, 0) * 354.5%)); transition: transform 0.2s linear; }

/* ---------- making ---------- */
.making { padding-block: var(--section); background: var(--paper-2); }
.making__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); }
.making__frame { position: sticky; top: calc(var(--bar-h) + 2rem); aspect-ratio: 4 / 5; max-height: calc(100svh - var(--bar-h) - 4rem); margin-inline: auto; overflow: hidden; border-radius: 6px; background: var(--paper-3); }
.making__img { position: absolute; inset: 0; opacity: 0; transform: scale(1.07); transition: opacity 1s var(--ease), transform 1.8s var(--ease-out); }
.making__img.is-active { opacity: 1; transform: none; }
.making__img picture, .making__img img { width: 100%; height: 100%; }
.making__img img { object-fit: cover; }
.making__counter { position: absolute; left: 1rem; bottom: 1rem; padding: 0.45rem 0.85rem; border-radius: 999px; background: var(--cream); font: 500 0.8rem var(--sans); letter-spacing: 0.06em; }
.making__head h2 { margin: 0; }
.making__list { list-style: none; margin: 2.5rem 0 3rem; padding: 0; }
.making__step { padding-block: clamp(2rem, 7vh, 4rem); border-top: 1px solid var(--line-2); opacity: 0.3; transition: opacity 0.7s var(--ease); }
.making__step.is-active { opacity: 1; }
.making__n { font: 500 0.8rem var(--sans); letter-spacing: 0.16em; color: var(--rust-ink); }
.making__step h3 { margin: 0.5rem 0 1rem; font-size: var(--fs-h3); }
.making__step p { max-width: 30rem; margin: 0; font-size: var(--fs-l); line-height: 1.5; color: var(--ink-2); }
.making__mobile-img { display: none; }
@media (max-width: 900px) {
	.making__inner { grid-template-columns: 1fr; }
	.making__media { display: none; }
	.making__step { padding-block: 2.2rem; opacity: 1; }
	.making__mobile-img { display: block; margin-top: 1.4rem; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; }
	.making__mobile-img img { width: 100%; height: 100%; object-fit: cover; }
}

/* ---------- woods ---------- */
.woods { padding-block: var(--section); }
.woods__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 1.2rem 3rem; margin-bottom: clamp(1.4rem, 2.6vw, 2.2rem); }
.woods__head .label { grid-column: 1 / -1; margin-bottom: 0; }
.woods__head h2 { margin: 0; max-width: 20ch; }
.woods__tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.woods__tab { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.4rem 1.15rem 0.4rem 0.4rem; border: 1px solid var(--line-2); border-radius: 999px; background: none; font: 500 0.95rem var(--sans); text-transform: capitalize; cursor: pointer; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.woods__tab:hover { border-color: var(--ink); }
.woods__tab[aria-selected='true'] { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.woods__chip { width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--swatch) center / cover; }
.woods__panel { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
/* the heading, the tabs and the texture fit one screen together */
.woods__texture { aspect-ratio: 4 / 3; max-height: calc(100svh - var(--bar-h) - 12.5rem); overflow: hidden; border-radius: 6px; }
@media (min-width: 1200px) { .woods__head h2 { max-width: none; } }
.woods__texture picture, .woods__texture img { width: 100%; height: 100%; }
.woods__texture img { object-fit: cover; transform: scale(1.02); }
.woods__panel.is-active .woods__texture { animation: wipe 1s var(--ease-out); }
.woods__panel.is-active .woods__text { animation: rise 0.9s var(--ease-out); }
@keyframes wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.woods__text h3 { font-size: var(--fs-h3); margin-bottom: 1rem; }
.woods__text > p:not(.woods__in) { font-size: var(--fs-l); line-height: 1.5; color: var(--ink-2); }
.woods__facts { display: grid; margin: 2rem 0; }
.woods__facts div { display: grid; grid-template-columns: 8rem 1fr; align-items: center; padding-block: 0.85rem; border-top: 1px solid var(--line); }
.woods__facts dt { font: 500 var(--fs-xs) var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.woods__facts dd { margin: 0; font-family: var(--serif); font-size: 1.1rem; font-style: italic; }
.woods__bar { position: relative; display: block; height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.woods__bar::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--v); background: var(--teak); border-radius: 3px; }
.woods__text > .woods__in { font-size: 1rem; color: var(--ink); line-height: 1.8; }
.woods__in .label { display: inline; margin: 0 0.7rem 0 0; }
@media (max-width: 900px) { .woods__head, .woods__panel { grid-template-columns: 1fr; } }

/* ---------- rooms ---------- */
.rooms { padding-block: var(--section); }
.rooms__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: clamp(0.8rem, 1.4vw, 1.4rem); }
/* the heading and all three rooms fit one screen: on a wide, low window the photographs are cropped a little
   wider rather than running past the fold (the dots follow their pieces, js/modules/home.js) */
@media (min-width: 901px) {
	.rooms { container-type: inline-size; }
	.rooms__grid { grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); height: min(calc((100cqi - 1.4rem) * 0.444 + 1.4rem), calc(100svh - var(--bar-h) - 10.5rem)); min-height: 24rem; }
	.rooms__grid .room--2, .rooms__grid .room--3 { aspect-ratio: auto; min-height: 0; }
	.room { overflow: visible; }
}
.room { position: relative; margin: 0; }
.room.room--cap-end figcaption { left: auto; right: 1rem; }
.room.room--cap-top figcaption { top: 0.9rem; bottom: auto; }
.room--1 { grid-row: 1 / 3; }
.room--2, .room--3 { aspect-ratio: 3 / 2; }
.room picture, .room .room__img { width: 100%; height: 100%; border-radius: 6px; }
.room .room__img { object-fit: cover; }
.room figcaption { position: absolute; left: 1rem; bottom: 0.9rem; margin: 0; padding: 0.35rem 0.7rem; border-radius: 999px; background: rgb(var(--ink-rgb) / 0.64); color: var(--cream); font-size: 0.78rem; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.spot { position: absolute; left: var(--x); top: var(--y); z-index: 2; }
.spot__dot { position: relative; width: 2.4rem; height: 2.4rem; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgb(var(--light-rgb) / 0.94); color: var(--ink); cursor: pointer; transform: translate(-50%, -50%); box-shadow: 0 8px 22px rgb(20 14 10 / 0.25); transition: transform 0.45s var(--ease-out), background 0.3s, color 0.3s; }
.spot__dot .icon { width: 18px; height: 18px; }
.spot__dot::before { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid rgb(var(--light-rgb) / 0.8); animation: ring 2.6s var(--ease) infinite; }
@keyframes ring { from { transform: scale(0.85); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.spot.is-open .spot__dot { background: var(--ink); color: var(--cream); transform: translate(-50%, -50%) rotate(45deg); }
.spot__card { position: absolute; left: 1.7rem; top: 50%; display: flex; align-items: center; gap: 0.8rem; min-width: 17rem; padding: 0.55rem 1rem 0.55rem 0.55rem; border-radius: 14px; background: var(--cream); color: var(--ink); text-decoration: none; box-shadow: 0 1px 2px rgb(20 14 10 / 0.12), 0 12px 28px -12px rgb(20 14 10 / 0.35); opacity: 0; visibility: hidden; pointer-events: none; transform: translate(var(--dx, 0px), -40%); transition: opacity 0.35s var(--ease), transform 0.5s var(--ease-out), visibility 0s linear 0.35s; }
.spot--flip .spot__card { left: auto; right: 1.7rem; }
.spot.is-open .spot__card { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(var(--dx, 0px), -50%); transition: opacity 0.35s var(--ease), transform 0.5s var(--ease-out); }
.spot__img { width: 3.8rem; height: 3.8rem; flex: none; display: grid; place-items: center; overflow: hidden; border-radius: 9px; }
.spot__img img { width: 88%; height: 88%; object-fit: contain; }
.spot__text { display: grid; gap: 0.1rem; flex: 1; }
.spot__text strong { font: 400 1.05rem / 1.2 var(--serif); }
.spot__text .price { font-size: 0.85rem; color: var(--ink-2); }
@media (max-width: 900px) {
	.rooms__grid { grid-template-columns: 1fr; }
	.room--1 { grid-row: auto; aspect-ratio: 3 / 2; }
	.spot__card { min-width: 13rem; }
}

/* ---------- archive ---------- */
.archive { padding-block: var(--section); margin-block: clamp(1.5rem, 3vw, 2.5rem); }
.archive__inner { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr); gap: clamp(2rem, 5vw, 5.5rem); align-items: start; }
.archive h2 { color: var(--cream); font-size: var(--fs-h3); max-width: 16ch; }
.archive__intro > p { color: rgb(var(--paper-rgb) / 0.8); }
.archive__intro .btn { margin-top: 1rem; }
.archive__inner { align-items: center; }
.archive__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.8rem, 1.6vw, 1.5rem); }
.archive .card__media { aspect-ratio: 3 / 4; }
.archive .card__meta { grid-template-columns: 1fr; }
.archive .card__price { margin-top: 0.3rem; }
.archive .card__title, .archive .card__price { color: var(--cream); }
.archive .card__sub { color: rgb(var(--paper-rgb) / 0.74); }
.archive .price__sold { color: rgb(var(--paper-rgb) / 0.74); }
@media (max-width: 1000px) { .archive__inner { grid-template-columns: 1fr; } .archive__list { grid-template-columns: 1fr 1fr; } }

/* ---------- visit ---------- */
.visit { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; padding-block: var(--section); }
.visit__photos { position: relative; padding-bottom: 12%; }
.visit__big { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px; }
.visit__small { position: absolute; right: -3%; bottom: 0; width: 34%; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border: 7px solid var(--paper); border-radius: 8px; box-shadow: 0 30px 60px -28px rgb(var(--ink-rgb) / 0.55); }
.visit__big picture, .visit__big img, .visit__small picture, .visit__small img { width: 100%; height: 100%; }
.visit__big img, .visit__small img { object-fit: cover; }
.visit__text h2 { margin-bottom: 1.2rem; }
.visit__text > p:not(.label):not(.visit__cta) { font-size: var(--fs-l); line-height: 1.5; color: var(--ink-2); }
.visit__card { margin: 2rem 0; padding: 1.4rem 1.6rem; border-radius: 12px; background: var(--paper-2); }
.visit__status { display: flex; align-items: center; margin: 0 0 1rem; font-weight: 500; }
.visit__status.is-open .announce__dot { background: var(--green-ok); animation: pulse 2.4s infinite; }
.visit__card address { font-family: var(--serif); font-size: 1.25rem; line-height: 1.35; }
.visit__hours { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.4rem; font-size: 0.95rem; }
.visit__hours li { display: flex; justify-content: space-between; gap: 1rem; }
.visit__hours li span:first-child { flex: none; }
.visit__hours li::after { content: none; }
@media (max-width: 900px) { .visit { grid-template-columns: 1fr; } }

/* ---------- journal ---------- */
.journal-home { padding-block: var(--section) 0; }
