@font-face { font-family: Camel; font-weight: 300; font-display: block; src: url(assets/camel-light.woff2) format('woff2'); }
@font-face { font-family: Camel; font-weight: 400; font-display: block; src: url(assets/camel-regular.woff2) format('woff2'); }
@font-face { font-family: Camel; font-weight: 700; font-display: block; src: url(assets/camel-bold.woff2) format('woff2'); }

:root {
  --cream: #EADFCC;
  --sand: #BFA988;
  --olive: #787349;
  --clay: #B27C68;
  --cocoa: #5F3B29;
  --deep: #2E1C13;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; background: var(--deep); overflow: hidden; }
body { font-family: Camel, 'Segoe UI', Tahoma, sans-serif; -webkit-font-smoothing: antialiased; }
canvas#stage { position: fixed; inset: 0; width: 100%; height: 100%; display: block; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }

/* section page that opens from the intro */
.section {
  position: fixed; inset: 0; z-index: 5;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  padding: 32px 24px; text-align: center;
  background: var(--cream); color: var(--cocoa);
  opacity: 0; pointer-events: none; transform: scale(1.03);
  transition: opacity .6s ease, transform .6s ease;
}
.section.open { opacity: 1; pointer-events: auto; transform: none; }
.section .tag { width: 46px; height: 6px; border-radius: 3px; background: var(--accent, var(--clay)); }
.section h1 { font-weight: 700; font-size: clamp(34px, 7vw, 64px); line-height: 1.2; }
.section p { font-weight: 400; font-size: clamp(16px, 2.6vw, 20px); color: #7a5a48; max-width: 32ch; line-height: 1.8; }
.section button {
  margin-top: 10px; font: 700 17px Camel, sans-serif; color: var(--cream); background: var(--cocoa);
  border: 0; border-radius: 999px; padding: 10px 30px; cursor: pointer;
}
.section button:hover { background: var(--deep); }

.replay {
  position: fixed; bottom: 14px; left: 14px; z-index: 4;
  font: 400 14px Camel, sans-serif; color: var(--cream); opacity: .55;
  background: none; border: 1px solid rgba(234, 223, 204, .35); border-radius: 999px; padding: 4px 14px; cursor: pointer;
}
.replay:hover { opacity: .9; }
