:root {
  --espresso: #231A15;
  --copper: #B5653A;
  --cream: #F3EADC;
  --steam: #9A918A;
  --serif: "Noto Serif KR", serif;
  --sans: "Noto Sans KR", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--espresso); }
body { background: var(--espresso); color: var(--cream); font-family: var(--sans); font-weight: 300;
       -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }

.nav { position: fixed; inset: 0 0 auto 0; z-index: 300; display: flex; justify-content: space-between;
       align-items: center; padding: 28px 48px; mix-blend-mode: normal;
       background: linear-gradient(rgba(35,26,21,.55), rgba(35,26,21,0)); }
.brand { font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: .04em; }
.brand span { font-family: var(--sans); font-size: 10px; font-weight: 400; letter-spacing: .3em;
              color: var(--steam); margin-left: 14px; vertical-align: middle; }
.nav nav a { font-size: 13px; letter-spacing: .12em; margin-left: 32px; color: var(--cream); opacity: .85; }
.nav nav a:hover { color: var(--copper); opacity: 1; }

/* Scroll world */
.sw-track { position: relative; height: 600vh; }
.sw-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.sw-scene { position: absolute; inset: 0; opacity: 0; z-index: 100; }
.sw-scene.on { opacity: 1; z-index: 120; }
.sw-scene img, .sw-scene video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sw-scene video { opacity: 0; }
.sw-scene.has-clip video { opacity: 1; }
.sw-shade { position: absolute; inset: 0; z-index: 150; pointer-events: none;
            background: radial-gradient(ellipse at center, rgba(35,26,21,0) 40%, rgba(35,26,21,.55) 100%); }

.beat { position: absolute; z-index: 200; opacity: 0; transform: translateY(16px);
        transition: opacity .5s ease, transform .5s ease; pointer-events: none;
        text-shadow: 0 1px 3px rgba(35,26,21,.7), 0 2px 24px rgba(35,26,21,.6); }
.beat.on { opacity: 1; transform: none; pointer-events: auto; }
.eyebrow { font-size: 11px; letter-spacing: .4em; color: var(--cream); opacity: .8; margin-bottom: 20px; }
h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(88px, 11vw, 168px); line-height: 1; letter-spacing: .02em; }
h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 3.4vw, 54px); line-height: 1.35; }
.lede { font-size: clamp(17px, 1.4vw, 22px); margin-top: 18px; }
.sub { font-size: 14px; letter-spacing: .14em; color: var(--copper); margin-top: 18px; font-weight: 500; }
.hint { font-size: 12px; letter-spacing: .2em; color: var(--steam); margin-top: 56px; }

.beat-hero { left: 0; right: 0; top: 50%; margin-top: -150px; text-align: center; }
.beat-hero h1 { text-shadow: 0 4px 40px rgba(35,26,21,.75); }
.beat-left { left: 8vw; bottom: 16vh; }
.beat-right { right: 8vw; bottom: 16vh; text-align: right; }
.beat-temp { left: 8vw; top: 50%; margin-top: -150px; }
.beat-hero::before, .beat-temp::before { content: ""; position: absolute; z-index: -1; inset: -12vh -10vw;
  background: radial-gradient(closest-side, rgba(35,26,21,.62), rgba(35,26,21,0)); }
.big { font-family: var(--serif); font-size: clamp(120px, 14vw, 220px); line-height: 1; color: var(--cream); }
.big span { color: var(--copper); font-size: .45em; vertical-align: top; margin-left: 6px; }

.beat-end { left: 8vw; top: 50%; transform: translateY(-40%); padding: 48px 56px; max-width: 520px;
            background: rgba(35,26,21,.78); border-left: 2px solid var(--copper); backdrop-filter: blur(6px);
            text-shadow: none; }
.beat-end.on { transform: translateY(-50%); }
.beat-end dl { margin: 28px 0 32px; font-size: 15px; }
.beat-end dl div { display: flex; gap: 20px; padding: 10px 0; border-top: 1px solid rgba(154,145,138,.3); }
.beat-end dt { color: var(--steam); width: 40px; flex: none; }
.cta { display: flex; gap: 12px; }
.btn { display: inline-block; padding: 14px 28px; background: var(--copper); color: var(--cream);
       font-size: 14px; font-weight: 500; letter-spacing: .08em; transition: background .2s; }
.btn:hover { background: #c87545; }
.btn.ghost { background: transparent; border: 1px solid var(--steam); }
.btn.ghost:hover { border-color: var(--cream); }

/* Desktop only: small or touch screens get a still poster instead of the scroll world. */
.desktop-only { display: none; }
@media (max-width: 899px), (pointer: coarse) and (hover: none) {
  .sw-track, .nav { display: none; }
  .desktop-only { display: block; position: relative; min-height: 100vh; }
  .desktop-only img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
  .desktop-only > div { position: relative; min-height: 100vh; padding: 0 16px 15vh; display: flex; flex-direction: column;
                        justify-content: flex-end; background: linear-gradient(rgba(35,26,21,0) 30%, rgba(35,26,21,.9)); }
  .desktop-only h1 { font-size: 72px; }
  .desktop-only p { margin-top: 12px; font-size: 16px; }
  .desktop-only .note { color: var(--steam); font-size: 13px; line-height: 1.7; margin-top: 28px; }
}
@media (prefers-reduced-motion: reduce) { .beat { transition: none; } }
