:root { color-scheme: dark; font-family: Arial, Helvetica, sans-serif; background: #050505; color: #ede6da; }
* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; }
body { overflow-x: clip; }
button { font: inherit; color: inherit; }
button:focus-visible { outline: 1px solid #e8bb8e; outline-offset: 10px; border-radius: 2px; }
.experience { height: 100svh; min-height: 520px; }
.stage { position: sticky; top: 0; width: 100%; height: 100svh; min-height: 520px; overflow: hidden; isolation: isolate; background: #050505; }
.wall, .shade { position: absolute; inset: 0; pointer-events: none; }
.wall { background: url('wall.webp') center 45% / cover no-repeat; opacity: .80; }
.shade { background: radial-gradient(ellipse at 50% 50%, transparent 15%, #0004 65%, #000a 100%); }
.brand { position: absolute; z-index: 4; top: max(29px, env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); font-size: 10px; font-weight: 600; letter-spacing: .36em; color: #f1d4b7a6; display: flex; align-items: center; gap: 11px; }
.brand-dot { width: 3px; height: 3px; background: #c18a5b; transform: rotate(45deg); }
.logo { position: absolute; z-index: 2; width: min(85vw, 79svh, 800px); height: min(85vw, 79svh, 800px); top: 50%; left: 50%; transform: translate(-50%, -50%); perspective: 1100px; pointer-events: none; }
.assembled, .shard { display: block; position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.assembled { filter: drop-shadow(4px 9px 5px #000b); }
.shard { visibility: hidden; backface-visibility: visible; will-change: transform; filter: drop-shadow(4px 9px 5px #000b); }
.message { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 30px; text-align: center; z-index: 1; }
h1 { margin: 0; width: 100%; font-weight: 500; }
.eyebrow { display: block; font-size: clamp(10px, 1.25vw, 16px); font-weight: 400; letter-spacing: .29em; margin-bottom: clamp(24px, 4.5vh, 44px); color: #d8c3ae; }
.headline { display: block; font-size: clamp(34px, 6.3vw, 96px); line-height: 1.06; letter-spacing: -.045em; font-weight: 500; }
.metal { color: #e7c9a5; background: linear-gradient(160deg, #fff0d9 5%, #eccba5 40%, #b87d50 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.signature { display: flex; align-items: center; gap: 20px; margin-top: 40px; font-size: 9px; letter-spacing: .42em; color: #a58c75; }
.signature span { width: 27px; height: 1px; background: #a58c7560; }
.scroll-cue { position: absolute; bottom: max(38px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); z-index: 5; }
.scroll-cue button { background: none; border: 0; padding: 10px 16px 0; display: flex; flex-direction: column; align-items: center; gap: 14px; cursor: pointer; white-space: nowrap; }
.scroll-cue span, .restart { font-size: 9px; font-weight: 400; letter-spacing: .22em; color: #c6b09c; }
.scroll-cue svg { color: #d2a77f; }
.restart { display: none; position: absolute; bottom: max(44px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); padding: 10px; background: transparent; border: 0; cursor: pointer; z-index: 5; white-space: nowrap; }
.restart span { margin-left: 14px; font-size: 16px; }
.progress { position: absolute; bottom: 0; height: 2px; width: 100%; background: #ffffff06; z-index: 4; }
.progress div { height: 100%; background: #bd895b; width: 100%; transform: scaleX(0); transform-origin: left; }
/* The complete message remains readable if JavaScript is unavailable. */
html:not(.motion):not(.preparing) .logo { top: 28%; width: min(45vw, 36svh); height: min(45vw, 36svh); }
html:not(.motion):not(.preparing) .message { padding-top: 38svh; }
html:not(.motion):not(.preparing) .headline { font-size: clamp(28px, 5vw, 64px); }
html:not(.motion):not(.preparing) .eyebrow { margin-bottom: 20px; }
html:not(.motion):not(.preparing) .signature { margin-top: 24px; }
html:not(.motion) .scroll-cue, html:not(.motion) .progress { display: none; }
html.preparing .message { opacity: 0; }
html.motion .experience { height: 330svh; }
html.motion .message { opacity: 0; }
html.motion .restart { display: block; opacity: 0; visibility: hidden; }
@media (max-width: 600px) {
  .message { padding: 22px; }
  .eyebrow { font-size: 10px; letter-spacing: .18em; }
  .headline { font-size: clamp(30px, 8.8vw, 52px); line-height: 1.13; }
  .brand { top: max(25px, env(safe-area-inset-top)); font-size: 9px; }
  .signature { margin-top: 32px; }
  .wall { background-size: auto 115%; }
  .scroll-cue { bottom: max(42px, env(safe-area-inset-bottom)); }
}
@media (max-height: 520px) {
  .experience { min-height: 100svh; }
  .stage { min-height: 100svh; }
  .logo { width: 78svh; height: 78svh; }
  .headline { font-size: clamp(28px, 6vw, 48px); }
  .eyebrow { margin-bottom: 16px; }
  .signature { margin-top: 20px; }
  .brand { top: 17px; }
  .scroll-cue { bottom: 17px; }
  .scroll-cue button { gap: 6px; }
}
