:root {
  --paper: #f3f0e9;
  --paper-2: #e9e4d9;
  --ink: #262623;
  --muted: #6f6d66;
  --hairline: rgba(38, 38, 35, .19);
  --red: #a52d22;
  --red-deep: #752119;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
  --mono: "Roboto Mono", monospace;
  --gutter: clamp(24px, 5vw, 76px);
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-synthesis: none;
  cursor: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--paper); color: var(--ink); transition: background .5s, color .5s; }
a { color: inherit; text-decoration: none; cursor: none; }
button, input { font: inherit; cursor: none; }
button { color: inherit; }
::selection { background: var(--red); color: #fff; }

.paper-noise { position: fixed; inset: 0; z-index: 1000; opacity: .035; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E"); mix-blend-mode: multiply; }
.reading-progress { position: fixed; z-index: 300; left: 0; top: 0; width: 100%; height: 2px; }
.reading-progress span { display: block; width: 0; height: 100%; background: var(--red); }
.cursor-dot { position: fixed; z-index: 1500; width: 9px; height: 9px; left: 0; top: 0; pointer-events: none; border: 1px solid var(--ink); border-radius: 50%; transform: translate(-50%,-50%); transition: width .18s, height .18s, background .18s, border-color .18s; }
.cursor-dot.is-active { width: 34px; height: 34px; background: rgba(165,45,34,.1); border-color: var(--red); }
.scene-night-active .cursor-dot { border-color: #f3f0e9; box-shadow: 0 0 0 1px rgba(17,22,30,.35); }
.scene-night-active .cursor-dot.is-active { border-color: #e37866; background: rgba(227,120,102,.16); }

.site-header { position: fixed; z-index: 200; top: 0; left: 0; right: 0; min-height: 74px; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
.site-header.is-scrolled { border-color: var(--hairline); background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: blur(16px) saturate(110%); }
.brand { justify-self: start; display: inline-flex; align-items: center; gap: 10px; font: 500 20px/1 var(--serif); }
.brand img { width: 29px; height: 29px; object-fit: contain; transition: filter .5s; }
.primary-nav { display: flex; gap: 30px; font-size: 11px; }
.primary-nav a { position: relative; }
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1px; background: currentColor; transition: right .25s; }
.primary-nav a:hover::after { right: 0; }
.header-tools { justify-self: end; display: flex; align-items: center; gap: 8px; }
.social-link { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid transparent; border-radius: 50%; transition: border-color .2s, background .2s; }
.social-link:hover { border-color: var(--hairline); background: color-mix(in srgb, var(--paper) 58%, transparent); }
.social-link svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.subscribe-button { display: flex; align-items: center; gap: 22px; height: 38px; padding: 0 16px; border: 1px solid var(--red); border-radius: 4px; color: #fff; background: var(--red); font-size: 10px; transition: background .2s, transform .2s; }
.subscribe-button:hover { background: var(--red-deep); transform: translateY(-1px); }

.hero { position: relative; height: 600svh; border-bottom: 1px solid var(--hairline); }
.hero-sticky { position: sticky; top: 0; height: 100svh; padding: 116px var(--gutter) 35px; overflow: hidden; color: var(--ink); background: var(--paper); transition: color .8s ease, background .8s ease; }
.hero-sticky::before, .hero-sticky::after { content: ""; position: absolute; z-index: 1; left: 50%; top: 30%; transform: translate(-50%,-50%); border: 1px solid currentColor; border-radius: 50%; opacity: .12; }
.hero-sticky::before { width: 38vw; height: 38vw; }
.hero-sticky::after { width: 18vw; height: 18vw; }
.scene-atmosphere { position: absolute; z-index: 0; inset: 0; pointer-events: none; opacity: var(--night, 0); background: radial-gradient(circle at 60% 72%, rgba(188,111,58,.13), transparent 28%), linear-gradient(#202733, #11161e); transition: opacity .12s linear; }
.hero.is-night .hero-sticky { color: #eee9df; background: #151a22; }
.hero.is-night .title-mark i { background: #151a22; }
.scene-night-active .site-header { color: #eee9df; }
.scene-night-active .site-header.is-scrolled { border-color: rgba(238,233,223,.14); background: rgba(21,26,34,.82); }
.scene-night-active .brand img { filter: invert(1) grayscale(1) brightness(2); }
.hero-title-wrap { position: relative; z-index: 3; width: min(100%, 1120px); margin: 4.5vh auto 0; text-align: center; }
.hero-title-wrap > p { margin: 0 0 -9px; color: var(--red); font: italic 300 clamp(19px,2vw,28px)/1 var(--serif); }
.hero-title-wrap h1 { margin: 0; font: 300 clamp(98px, 15vw, 226px)/.78 var(--serif); letter-spacing: -.07em; }
.title-domain { display: inline-block; max-width: 0; overflow: hidden; opacity: 0; vertical-align: bottom; white-space: nowrap; transition: max-width .65s cubic-bezier(.22,.8,.2,1), opacity .25s ease .08s; }
.hero-title-wrap:hover .title-domain { max-width: 2.35em; opacity: 1; }
.title-mark { position: absolute; width: 120px; height: 17px; right: 7%; bottom: -2px; }
.title-mark span { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--red); transform: rotate(-5deg); }
.title-mark i { position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border: 1px solid var(--red); border-radius: 50%; background: var(--paper); }
.room-scene { position: absolute; z-index: 5; left: 50%; bottom: max(0px, env(safe-area-inset-bottom)); width: min(72vw, 1050px, 112svh); aspect-ratio: 2 / 1; transform: translateX(-50%); transform-origin: center bottom; }
.scene-frame { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; opacity: 0; filter: saturate(.86) contrast(.98); will-change: opacity, transform; transition: filter .5s; }
.scene-01 { opacity: 1; }
.prism-light { position: absolute; z-index: 1; right: 0; bottom: 15%; width: 22%; height: 8%; background: linear-gradient(96deg, transparent 0%, rgba(255,98,78,.13) 30%, rgba(255,194,79,.16) 48%, rgba(58,112,228,.13) 66%, transparent 100%); filter: blur(14px); transform: rotate(-3deg); animation: refract 7s ease-in-out infinite; }
@keyframes refract { 50% { transform: translateX(-16px) rotate(-1deg); opacity: .55; } }
.scene-note { position: absolute; z-index: 3; display: flex; align-items: center; gap: 7px; padding: 7px 9px; border: 1px solid var(--hairline); border-radius: 3px; color: var(--muted); background: color-mix(in srgb, var(--paper) 78%, transparent); backdrop-filter: blur(8px); font: 400 7px/1 var(--mono); text-transform: uppercase; letter-spacing: .05em; opacity: 0; transform: translateY(5px); transition: opacity .25s, transform .25s; }
.scene-note span { color: var(--red); }
.room-scene:hover .scene-note { opacity: 1; transform: translateY(0); }
.note-radio { left: 6%; top: 28%; }.note-machine { left: 64%; top: 21%; transition-delay: .08s; }.note-prism { right: 1%; top: 42%; transition-delay: .16s; }

.section-label { margin: 0; color: var(--red); font: 500 8px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .11em; }
.reveal { opacity:1; transform:translateY(17px); transition:transform .75s ease; }
.reveal.is-visible { transform:translateY(0); }

@media (max-width: 900px) {
  :root { cursor:auto; }.cursor-dot{display:none}a,button,input{cursor:pointer}
  .site-header { grid-template-columns:1fr auto 1fr; }
  .hero { height:550svh; min-height:0; }.hero-sticky{padding:100px var(--gutter) 30px}.hero-title-wrap{margin-top:8vh}.hero-title-wrap h1{font-size:18vw}
}
@media (max-width: 760px) {
  .site-header{min-height:108px;padding:12px 16px 10px;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand tools" "nav nav";gap:8px 12px}
  .brand{grid-area:brand}.primary-nav{grid-area:nav;display:flex;justify-content:center;gap:clamp(24px,9vw,52px);width:100%;padding-top:9px;border-top:1px solid var(--hairline);font-size:10px}.header-tools{grid-area:tools}
  .hero-sticky{padding-top:134px}.hero-title-wrap{margin-top:0}
}
@media (max-width: 600px) {
  .site-header{padding-inline:12px}.brand{gap:7px}.brand span{font-size:clamp(14px,4.2vw,18px)}.brand img{width:24px;height:24px}.header-tools{gap:5px}.social-link{width:30px;height:30px}.subscribe-button{height:34px;padding:0 11px;gap:9px;font-size:9px}
  .hero{height:500svh;min-height:0}.hero-sticky{padding:134px 18px 24px}.hero-title-wrap>p{font-size:17px}.hero-title-wrap h1{font-size:19vw}.scene-note{display:none}.title-mark{display:none}
}
@media (max-width: 360px) {
  .brand{gap:5px}.brand span{font-size:13px}.brand img{width:22px;height:22px}.header-tools{gap:4px}.social-link{width:28px;height:28px}.subscribe-button{padding-inline:8px;gap:4px}
}
@media (min-aspect-ratio: 16/10) {
  .room-scene{bottom:max(0px,env(safe-area-inset-bottom));width:min(72vw,1050px,112svh)}
}
@media (min-aspect-ratio: 4/3) and (max-aspect-ratio: 16/10) {
  .room-scene{bottom:max(0px,env(safe-area-inset-bottom));width:min(92vw,1050px)}
}
@media (min-aspect-ratio: 4/5) and (max-aspect-ratio: 4/3) {
  .room-scene{bottom:max(0px,env(safe-area-inset-bottom));width:min(118vw,1050px)}
}
@media (max-aspect-ratio: 4/5) {
  .room-scene{top:46svh;bottom:auto;width:min(100vw,760px)}
}
@media (prefers-reduced-motion: reduce) {
  html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.reveal{opacity:1;transform:none}.cursor-dot{display:none}:root,a,button,input{cursor:auto}
}
