/* The page around one live stone cup. Single dark look. */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(fonts/newsreader-latin-opsz-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(fonts/instrument-sans-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(fonts/instrument-sans-latin-500-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
:root {
  color-scheme: dark;
  --slate: #16171A; --paper: #E9E6DF; --paper-dim: #AEABA4;
  --display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --text: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--slate); }
body { background: var(--slate); color: var(--paper); font-family: var(--text); margin: 0; }
a { color: var(--paper); }
a:hover { color: #FFFFFF; }
:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }
.wrap { max-width: 1280px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); padding-block: 0 env(safe-area-inset-bottom, 0px); }
header { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 500; min-width: 0; }
.brand svg { flex: none; }
.write { font-size: 15px; font-weight: 500; text-decoration: none; min-height: 44px; display: flex; align-items: center; white-space: nowrap; }
h1, h2 { margin: 0; font-family: var(--display); font-weight: 400; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: clamp(44px, 5.7vw, 72px); line-height: 1.05; }
h2 { font-size: clamp(40px, 5.2vw, 68px); line-height: 1.05; }
.lead { margin: 0; font-size: 18px; line-height: 1.5; color: var(--paper-dim); max-width: 440px; }
.cta { background: var(--paper); color: var(--slate); padding: 14px 24px; font-size: 15px; font-weight: 500; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; width: fit-content; }
.cta:hover { background: #FFFFFF; color: var(--slate); }
.label { margin: 0; font-size: 14px; letter-spacing: 0.01em; color: var(--paper-dim); }
.say { margin: 0; font-family: var(--display); font-size: clamp(28px, 3.3vw, 42px); line-height: 1.2; letter-spacing: -0.01em; text-wrap: balance; }
.say span { display: block; }
.cta.ghost { background: transparent; color: var(--paper); border: 1px solid rgba(233,230,223,.34); }
.cta.ghost:hover { background: transparent; color: #FFFFFF; border-color: var(--paper); }
.nums { display: flex; flex-direction: column; gap: 22px; width: 100%; }
.nums div { display: flex; align-items: baseline; gap: 18px; min-width: 0; }
.nums b { flex: 0 0 1.8em; font-family: var(--display); font-size: clamp(48px, 6vw, 80px); font-weight: 400; letter-spacing: -0.02em; line-height: 1; }
.nums span { min-width: 0; font-size: 16px; line-height: 1.4; color: var(--paper-dim); }
.phone { display: block; width: min(280px, 100%); height: auto; border-radius: 26px; border: 1px solid rgba(233,230,223,.2); }
.mail { margin: 0; font-size: 16px; color: var(--paper-dim); user-select: all; overflow-wrap: anywhere; }
.stage { position: relative; width: 100%; aspect-ratio: 1; max-width: 100%; touch-action: pan-y; }
.stage svg, .stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.stage svg { padding: 12%; }
.stage canvas { opacity: 0; }
.l1 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.l1 .flow { display: flex; flex-direction: column; min-width: 0; }
.l1 .beat { min-height: 78vh; min-height: 78svh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 20px; }
.l1 .beat.first { min-height: calc(100vh - 84px); min-height: calc(100svh - 84px); gap: 24px; }
.l1 .beat.last { min-height: 64vh; min-height: 64svh; gap: 28px; }
.l1 .slot { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 40px); display: flex; justify-content: center; min-width: 0; }
.l1 .stage { width: min(100%, calc(100vh - 72px), 640px); width: min(100%, calc(100svh - 72px), 640px); }
.fps { position: fixed; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); z-index: 5; padding: 4px 8px; background: var(--paper); color: var(--slate); font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) {
  header { min-height: 64px; }
  .lead { font-size: 16px; }
  .l1 { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .l1 .slot { order: -1; top: env(safe-area-inset-top, 0px); z-index: 2; background: var(--slate); box-shadow: 0 18px 18px -2px var(--slate); }
  .l1 .stage { width: min(100%, 36vh); width: min(100%, 36svh); }
  .l1 .beat { min-height: 44vh; min-height: 44svh; justify-content: flex-start; padding-block: 24px; }
  .l1 .beat.first { min-height: 0; gap: 16px; padding-block: 36px 56px; }
  .l1 .beat.last { min-height: 42vh; min-height: 42svh; }
  .nums { gap: 12px; }
  .phone { width: min(200px, 52vw); }
}
