/* Rooms I've lived in: the same "first light, last look" palette as the 3D viewer. */
:root {
  --haze: #dce3e8; --paper: #f7f8f7; --ink: #2e2620; --muted: #5e544c; --line: rgba(46, 38, 32, 0.14);
  --accent: #ff6a13; --r: 10px;
  --ui: 'Schibsted Grotesk', system-ui, sans-serif; --serif: 'Literata', Georgia, serif;
}
* { box-sizing: border-box; }
html { background: var(--haze); color: var(--ink); }
body { margin: 0; font: 16px/1.55 var(--ui); }
a { color: inherit; }
img { height: auto; max-width: 100%; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.page { width: min(100% - 40px, 960px); margin: 0 auto; padding: 56px 0 72px; }
.crumb { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; font-size: 15px; }
.crumb:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
h1 { margin: 8px 0 14px; font: 500 clamp(34px, 6vw, 56px)/1.08 var(--serif); letter-spacing: -0.01em; }
h2 { margin: 56px 0 16px; font: 500 26px/1.2 var(--serif); }
.lede { margin: 0; max-width: 34em; font: 400 18px/1.6 var(--serif); color: var(--muted); }

/* Front page: one row per place, newest first */
.places { list-style: none; margin: 48px 0 0; padding: 0; display: grid; gap: 40px; }
.place { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: end; text-decoration: none; }
.place img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r); background: var(--paper); display: block; transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1); }
.place:hover img { transform: scale(1.01); }
.place h3 { margin: 0 0 12px; font: 500 28px/1.15 var(--serif); }
.place p { margin: 0 0 14px; color: var(--muted); }
.place .go { font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 5px; }
@media (max-width: 720px) { .place { grid-template-columns: 1fr; gap: 14px; } }

/* Place page */
.hero { display: block; margin-top: 32px; }
.hero img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r); display: block; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.btn { min-height: 48px; padding: 0 22px; border-radius: 999px; display: inline-flex; align-items: center; text-decoration: none; font-weight: 600; background: var(--paper); }
.btn.dark { background: var(--ink); color: var(--paper); }
.btn:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.rooms { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.rooms a { display: block; text-decoration: none; }
.rooms img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); display: block; background: var(--paper); }
.rooms span { display: block; padding-top: 10px; font-weight: 500; }
.rooms a:hover span { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.note { margin-top: 48px; color: var(--muted); font-size: 15px; max-width: 36em; }

footer { margin-top: 72px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media (max-width: 600px) { .rooms { grid-template-columns: 1fr 1fr; gap: 14px; } .rooms span { font-size: 15px; } }
button.btn { border: 0; font: inherit; font-weight: 600; color: inherit; cursor: pointer; }
.copied { min-height: 1.5em; margin: 8px 0 0; color: var(--muted); font-size: 15px; }
