:root {
  color-scheme: dark;
  --ink: #100c0d;
  --panel: #181213;
  --cream: #f2e9df;
  --muted: #b9aaa2;
  --amber: #d9a977;
  --violet: #a66bd2;
  --line: rgba(242, 233, 223, 0.18);
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--ink); scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--ink); color: var(--cream); font-family: var(--sans); }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }

.entry-page { min-height: 100svh; overflow: hidden; }
.entry-shell { min-height: 100svh; display: grid; place-items: center; background: radial-gradient(circle at 50% 50%, #261a1e 0, #100c0d 58%, #090707 100%); }
.entry-portal { position: relative; width: 100%; height: 100svh; overflow: hidden; isolation: isolate; background: #171012; }
.entry-image { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.82) contrast(1.04); }
.entry-vignette { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(8,6,7,.46), transparent 28%, transparent 62%, rgba(7,5,6,.74)), radial-gradient(circle at 50% 47%, transparent 18%, rgba(9,6,7,.42) 100%); }
.ambient { position: absolute; z-index: 2; border-radius: 50%; filter: blur(44px); opacity: .18; pointer-events: none; animation: breathe 7s ease-in-out infinite alternate; }
.ambient-one { width: 14rem; height: 14rem; left: -7rem; top: 27%; background: var(--violet); }
.ambient-two { width: 12rem; height: 12rem; right: -6rem; bottom: 16%; background: var(--amber); animation-delay: -3s; }
.entry-brand { position: absolute; z-index: 3; top: max(1.4rem, env(safe-area-inset-top)); left: 1.35rem; display: grid; gap: .15rem; text-transform: uppercase; letter-spacing: .18em; }
.entry-brand span { color: var(--muted); font-size: .58rem; }
.entry-brand strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 400; letter-spacing: .12em; }
.hold-wrap { position: absolute; z-index: 4; inset: 0; display: grid; place-content: center; justify-items: center; padding: 1.5rem; text-align: center; }
.eyebrow { margin: 0 0 .8rem; color: #d7c7bd; font-family: var(--serif); font-size: .8rem; font-style: italic; letter-spacing: .08em; }
.hold-button { position: relative; width: 7.5rem; height: 7.5rem; border: 0; border-radius: 50%; padding: 0; background: rgba(20,14,16,.36); color: var(--cream); cursor: pointer; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; backdrop-filter: blur(10px); transition: transform .3s ease, background .3s ease, box-shadow .3s ease; }
.hold-button::before { content: ""; position: absolute; inset: .55rem; border: 1px solid rgba(255,255,255,.19); border-radius: 50%; }
.hold-button:hover, .hold-button:focus-visible { background: rgba(34,23,26,.58); box-shadow: 0 0 3rem rgba(202,143,103,.2); outline: none; }
.hold-button:focus-visible { outline: 1px solid var(--cream); outline-offset: .35rem; }
.hold-button.is-holding { transform: scale(.96); }
.hold-button.is-complete { transform: scale(1.08); background: rgba(110,73,62,.72); }
.hold-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.ring-track, .ring-progress { fill: none; stroke-width: 1.5; }
.ring-track { stroke: rgba(255,255,255,.18); }
.ring-progress { stroke: #f4dfca; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(242,205,171,.7)); }
.hold-copy { position: relative; display: grid; gap: .15rem; line-height: 1; }
.hold-copy small { color: var(--muted); font-size: .58rem; letter-spacing: .15em; text-transform: uppercase; }
.hold-copy strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 400; letter-spacing: .05em; }
.hold-status { min-height: 1rem; margin: .8rem 0 0; color: var(--muted); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; }
.entry-note { position: absolute; z-index: 3; right: 1rem; bottom: max(1rem, env(safe-area-inset-bottom)); margin: 0; color: rgba(242,233,223,.48); font-size: .55rem; letter-spacing: .06em; }
.noscript-link { position: fixed; z-index: 9; left: 50%; bottom: 1rem; transform: translateX(-50%); padding: .7rem 1rem; background: #1d1517; }
.is-leaving .entry-portal { animation: enter-room .34s ease both; }

.room-page { background: linear-gradient(180deg, #0c090a, #171012 52%, #0c090a); }
.room-nav { position: absolute; z-index: 5; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: max(1rem, env(safe-area-inset-top)) 1.1rem 1rem; }
.back-link { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 1px solid var(--line); border-radius: 50%; background: rgba(15,11,12,.36); text-decoration: none; backdrop-filter: blur(8px); }
.room-nav p { display: grid; margin: 0; text-align: right; text-transform: uppercase; letter-spacing: .15em; }
.room-nav span { color: var(--muted); font-size: .5rem; }
.room-nav strong { font-family: var(--serif); font-size: .95rem; font-weight: 400; }
.room-main { max-width: none; margin: 0; }
.room-hero { position: relative; min-height: 100svh; display: grid; align-items: stretch; overflow: hidden; isolation: isolate; }
.room-photo { position: absolute; inset: 0; min-height: 100svh; overflow: hidden; }
.room-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.room-photo-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,5,6,.52), rgba(7,5,6,.1) 28%, rgba(16,12,13,.78) 68%, #100c0d 100%), linear-gradient(90deg, rgba(8,6,7,.14), rgba(8,6,7,.72)); }
.room-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(circle at 82% 18%, rgba(166,107,210,.22), transparent 24rem), radial-gradient(circle at 14% 82%, rgba(217,169,119,.18), transparent 20rem); pointer-events: none; }
.presence { position: absolute; right: 1rem; bottom: 2.5rem; color: rgba(242,233,223,.62); font-size: .55rem; letter-spacing: .12em; text-transform: uppercase; }
.presence::before { content: ""; display: inline-block; width: .35rem; height: .35rem; margin-right: .45rem; border-radius: 50%; background: #cca368; box-shadow: 0 0 .65rem #cca368; }
.room-copy { position: relative; z-index: 2; width: min(100%, 32rem); min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 6.4rem 1.05rem max(1.05rem, env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(12,9,10,.05), rgba(12,9,10,.54) 42%, rgba(12,9,10,.92)); }
.room-copy h1, .section-heading h2 { margin: 0; max-width: 12ch; font-family: var(--serif); font-weight: 400; line-height: .98; letter-spacing: 0; }
.room-copy h1 { font-size: clamp(2.65rem, 11vw, 5.8rem); }
.intro { max-width: 34rem; margin: 1rem 0 1.15rem; color: #e5d8cf; font-family: var(--serif); font-size: .96rem; line-height: 1.72; }
.intro span { display: block; margin-top: .35rem; color: #9f918a; font-family: var(--sans); font-size: .66rem; letter-spacing: .04em; }
.room-note { margin: 0 0 .9rem; padding: .75rem .88rem; border-left: 1px solid rgba(217,169,119,.58); background: linear-gradient(90deg, rgba(217,169,119,.1), rgba(242,233,223,.035)); }
.room-note span { display: block; margin-bottom: .28rem; color: #d9b180; font-size: .56rem; letter-spacing: .13em; text-transform: uppercase; }
.room-note p { margin: 0; color: #cbbab0; font-family: var(--serif); font-size: .78rem; line-height: 1.65; }
.profile { display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem; margin: 0 0 1.5rem; padding: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.profile div { min-width: 0; }
.profile dt { color: #82746e; font-size: .52rem; letter-spacing: .13em; text-transform: uppercase; }
.profile dd { margin: .3rem 0 0; overflow: hidden; color: #d5c8c0; font-family: var(--serif); font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.cta-note { margin: .7rem 0 0; color: #9d8f88; font-size: .56rem; letter-spacing: .08em; text-align: center; }
.hub-links { display: grid; gap: .62rem; margin-top: 1rem; }
.hub-card { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .25rem 1rem; min-height: 3.65rem; padding: .82rem 1rem; border: 1px solid rgba(242,233,223,.18); background: rgba(17,12,14,.78); text-decoration: none; overflow: hidden; backdrop-filter: blur(14px); transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.hub-card::after { content: "↗"; grid-row: 1 / span 2; grid-column: 2; color: rgba(242,233,223,.72); font-size: .9rem; }
.hub-card span { font-family: var(--serif); font-size: 1.05rem; }
.hub-card small { max-width: 24rem; color: rgba(242,233,223,.66); font-size: .66rem; line-height: 1.5; letter-spacing: .02em; }
.hub-card:not(.is-disabled):hover { transform: translateY(-2px); border-color: rgba(242,233,223,.42); background: rgba(30,22,24,.88); }
.hub-card.is-disabled { cursor: not-allowed; opacity: .42; }
.hub-instagram { border-color: rgba(225,48,108,.55); background: linear-gradient(115deg, rgba(64,35,79,.86), rgba(131,58,180,.4), rgba(253,96,64,.22)); }
.hub-x { border-color: rgba(255,255,255,.34); background: linear-gradient(115deg, rgba(7,8,10,.92), rgba(42,48,55,.72)); }
.hub-fanvue { min-height: 3.8rem; border-color: rgba(106, 202, 112, .68); background: linear-gradient(115deg, rgba(3, 9, 6, .96), rgba(10, 25, 14, .92) 52%, rgba(88, 176, 95, .2)); box-shadow: 0 1rem 2.8rem rgba(38, 160, 72, .13); }
.hub-fanvue span { color: #f5fff7; }
.hub-fanvue small { color: rgba(218, 244, 221, .76); }
.hub-fanvue::after { color: #8bdc8f; text-shadow: 0 0 .8rem rgba(86, 184, 96, .46); }
.gallery-section { padding: 2rem 1.1rem 5rem; }
.room-fragments { position: relative; background: radial-gradient(circle at 18% 8%, rgba(166,107,210,.14), transparent 18rem), radial-gradient(circle at 86% 72%, rgba(217,169,119,.12), transparent 18rem); }
.section-heading { margin-bottom: 1.6rem; }
.section-heading h2 { font-size: clamp(2rem, 8vw, 4rem); }
.section-lead { max-width: 30rem; margin: .9rem 0 0; color: #b7a8a1; font-family: var(--serif); font-size: .88rem; line-height: 1.75; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
.gallery figure { position: relative; min-height: 22rem; margin: 0; overflow: hidden; border: 1px solid rgba(242,233,223,.12); background: #1a1415; box-shadow: 0 1.2rem 4rem rgba(0,0,0,.32); }
.gallery img { width: 100%; height: 100%; object-fit: cover; object-position: center 24%; filter: brightness(1.08) saturate(1.02); transition: transform .7s ease, filter .7s ease; }
.gallery figure:hover img { transform: scale(1.025); }
.gallery figcaption { position: absolute; left: .85rem; right: .85rem; bottom: .85rem; padding: .55rem .65rem; color: rgba(242,233,223,.82); background: rgba(12,9,10,.48); border: 1px solid rgba(242,233,223,.12); font-family: var(--serif); font-size: .76rem; line-height: 1.45; backdrop-filter: blur(12px); }
.site-footer { max-width: 86rem; margin: 0 auto; padding: 1.5rem 1.1rem max(1.5rem, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); color: #786b67; font-size: .58rem; line-height: 1.5; letter-spacing: .06em; text-transform: uppercase; }
.site-footer p { margin: .25rem 0; }

@media (min-width: 760px) {
  .entry-portal { width: min(50rem, 60vw); height: min(92svh, 64rem); border: 1px solid rgba(255,255,255,.08); box-shadow: 0 2rem 8rem rgba(0,0,0,.65); }
  .room-hero { min-height: 100svh; align-items: center; justify-items: end; padding: 6rem clamp(2rem, 7vw, 7rem) 4rem; }
  .room-photo { position: absolute; height: 100%; min-height: 0; }
  .room-photo img { object-position: center 24%; }
  .room-photo-shade { background: linear-gradient(90deg, rgba(8,6,7,.12), rgba(8,6,7,.42) 48%, rgba(12,9,10,.92) 100%), linear-gradient(180deg, rgba(8,6,7,.34), transparent 46%, rgba(8,6,7,.64)); }
  .room-copy { min-height: auto; justify-content: center; margin: 0; padding: 2rem; border: 1px solid rgba(242,233,223,.14); background: rgba(14,10,12,.76); box-shadow: 0 2rem 7rem rgba(0,0,0,.5); backdrop-filter: blur(18px); }
  .gallery-section { padding: 7rem clamp(2rem, 5vw, 5rem); }
  .gallery { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .gallery figure { min-height: min(54vw, 40rem); }
  .site-footer { display: flex; justify-content: space-between; padding-inline: clamp(2rem, 5vw, 5rem); }
}

@media (min-width: 1200px) {
  .entry-portal { width: min(42rem, 42vw); }
  .hold-button { width: 8.4rem; height: 8.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ambient { animation: none; }
}

@keyframes breathe { from { transform: scale(.88); opacity: .1; } to { transform: scale(1.14); opacity: .25; } }
@keyframes enter-room { to { opacity: 0; transform: scale(1.025); filter: blur(3px); } }
