@font-face { font-family: Heebo; src: url(media/Heebo-Variable.ttf) format('truetype'); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #06121F;
  --ink-2: #0B1B2C;
  --line: rgba(244, 241, 234, .12);
  --paper: #F4F1EA;
  --muted: rgba(244, 241, 234, .66);
  --lagoon: #7FE3E6;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --gutter: clamp(16px, 5vw, 64px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: Heebo, system-ui, sans-serif; font-weight: 300; line-height: 1.6; -webkit-font-smoothing: antialiased; }
html[lang="he"] [lang="en"], html[lang="en"] [lang="he"] { display: none; }
a { color: inherit; }
b { font-weight: 600; }
img, video { display: block; max-width: 100%; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Top bar: quiet until you scroll. */
.top { position: fixed; inset: 0 0 auto 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 14px var(--gutter); transition: background .5s var(--ease), backdrop-filter .5s; }
.top.solid { background: rgba(6, 18, 31, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.brand { display: flex; gap: 10px; align-items: center; text-decoration: none; font-weight: 300; letter-spacing: .18em; font-size: 15px; direction: ltr; }
.brand img { border-radius: 7px; }
.top nav { display: flex; gap: clamp(12px, 3vw, 28px); align-items: center; font-size: 14px; }
.top nav a { text-decoration: none; color: var(--muted); transition: color .3s; }
.top nav a:hover { color: var(--paper); }
.lang { font: inherit; font-size: 13px; color: var(--paper); background: none; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; cursor: pointer; }
@media (max-width: 560px) { .top nav a { display: none; } }

/* Hero */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.stage, .stage > * { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.stage img, .stage video { object-fit: cover; }
.stage iframe { opacity: 0; transition: opacity 1.4s var(--ease); }
.stage iframe.ready { opacity: 1; }
.hero-shade { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(to top, rgba(6,18,31,.9) 0%, rgba(6,18,31,.6) 30%, rgba(6,18,31,.12) 62%, rgba(6,18,31,0) 75%),
  linear-gradient(to bottom, rgba(6,18,31,.45), rgba(6,18,31,0) 18%); }
.hero-copy { position: relative; z-index: 2; text-align: center; padding: 0 var(--gutter); margin-bottom: clamp(18px, 3vh, 34px); pointer-events: none; }
.hero-copy .actions { pointer-events: auto; }
.eyebrow { display: inline-block; margin: 0 0 12px; padding: 4px 14px; border-radius: 999px; font-size: 13px; letter-spacing: .08em; color: var(--paper); background: rgba(6, 18, 31, .45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
h1 { margin: 0; font-weight: 200; font-size: clamp(56px, 11vw, 132px); letter-spacing: .24em; line-height: 1; direction: ltr; padding-left: .24em; }
.lede { max-width: 36em; margin: 18px auto 0; font-size: clamp(17px, 2.1vw, 21px); color: var(--paper); text-shadow: 0 1px 18px rgba(6,18,31,.6); }
.actions { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 26px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-width: 220px; min-height: 48px; padding: 0 26px; border-radius: 999px; text-decoration: none; font-weight: 400; font-size: 16px; transition: transform .3s var(--ease), background .3s, box-shadow .3s; }
.btn.primary { background: var(--paper); color: var(--ink); box-shadow: 0 10px 30px rgba(0,0,0,.28); }
.btn.primary:hover { transform: translateY(-1px); box-shadow: 0 16px 38px rgba(0,0,0,.34); }
.btn.ghost { color: var(--paper); min-height: 40px; font-size: 15px; }
.btn.ghost:hover { color: var(--lagoon); }
.fine { margin: 2px 0 0; font-size: 12.5px; color: var(--muted); letter-spacing: .02em; }

/* The clock: drag the day. */
.clock { position: relative; z-index: 2; width: min(560px, calc(100% - 2 * var(--gutter))); margin: 0 auto clamp(18px, 3.5vh, 36px); padding: 14px 18px 12px; border-radius: 18px; background: rgba(6, 18, 31, .42); border: 1px solid var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.clock label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; text-align: center; }
.clock-row { display: flex; align-items: center; gap: 14px; direction: ltr; }
.clock output { font-variant-numeric: tabular-nums; font-weight: 400; font-size: 18px; min-width: 3.4em; color: var(--paper); }
.clock input[type=range] { flex: 1; -webkit-appearance: none; appearance: none; height: 28px; background: transparent; cursor: pointer; }
.clock input[type=range]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, #0b1d3a, #1a3050 18%, #f2b27a 27%, #bfe6f2 40%, #eaf6fb 52%, #bfe6f2 64%, #ffae6a 76%, #3a3a66 84%, #0b1d3a); }
.clock input[type=range]::-moz-range-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, #0b1d3a, #1a3050 18%, #f2b27a 27%, #bfe6f2 40%, #eaf6fb 52%, #bfe6f2 64%, #ffae6a 76%, #3a3a66 84%, #0b1d3a); }
.clock input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8px; border-radius: 50%; background: var(--paper); box-shadow: 0 2px 10px rgba(0,0,0,.4); }
.clock input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border: 0; border-radius: 50%; background: var(--paper); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 6px; }
.chips button { font: inherit; font-size: 12.5px; color: var(--muted); background: none; border: 1px solid transparent; border-radius: 999px; padding: 3px 11px; cursor: pointer; transition: color .25s, border-color .25s; }
.chips button:hover, .chips button[aria-pressed="true"] { color: var(--paper); border-color: var(--line); }

/* Sections */
section:not(.hero) { padding: clamp(72px, 12vh, 140px) var(--gutter); max-width: 1180px; margin: 0 auto; }
h2 { font-weight: 200; font-size: clamp(34px, 5vw, 56px); letter-spacing: .01em; margin: 0 0 12px; line-height: 1.15; text-align: center; }
.sub { text-align: center; color: var(--muted); max-width: 40em; margin: 0 auto 44px; font-size: 17px; }
.statement { font-weight: 200; font-size: clamp(24px, 3.4vw, 38px); line-height: 1.35; text-align: center; max-width: 24em; margin: 0 auto 56px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.tiles article { background: var(--ink); padding: 28px 26px 30px; }
.tiles h3, .rarity h3, .steps h3 { font-weight: 400; font-size: 19px; margin: 0 0 6px; }
.tiles p { margin: 0; color: var(--muted); font-size: 15.5px; }
@media (max-width: 820px) { .tiles { grid-template-columns: 1fr; } }

/* Who lives here: from always there to once in a long while. */
.rarity { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rarity li { background: var(--ink-2); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.rarity img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.rarity li > div { padding: 18px 20px 22px; }
.rarity p { margin: 0; color: var(--muted); font-size: 15px; }
.rarity .when { font-size: 12.5px; letter-spacing: .06em; color: var(--lagoon); margin-bottom: 6px; }
.rarity .r3 { grid-column: span 2; }
.rarity .r3 img { aspect-ratio: 21 / 9; }
.rarity li { display: flex; flex-direction: column; }
@media (max-width: 900px) { .rarity { grid-template-columns: 1fr 1fr; } .rarity .r3 { grid-column: span 2; } }
@media (max-width: 600px) { .rarity { grid-template-columns: 1fr; } .rarity .r3 { grid-column: auto; } .rarity .r3 img { aspect-ratio: 16 / 10; } }

.film .frame { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #000; box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.film video { width: 100%; aspect-ratio: 16 / 9; }
.note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 16px; }

.steps { list-style: none; counter-reset: s; margin: 0 auto; padding: 0; max-width: 760px; }
.steps li { counter-increment: s; position: relative; padding: 0 0 26px; padding-inline-start: 56px; }
.steps li::before { content: counter(s); position: absolute; inset-inline-start: 0; top: 2px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-weight: 300; color: var(--lagoon); }
.steps p { margin: 0; color: var(--muted); }
.steps b { color: var(--paper); font-weight: 500; }
.more { max-width: 760px; margin: 8px auto 0; border-top: 1px solid var(--line); padding: 14px 0; }
.more summary { cursor: pointer; font-weight: 400; }
.more p { color: var(--muted); margin: 10px 0 0; }
.terminal { max-width: 760px; margin: 30px auto 0; }
.terminal p { color: var(--muted); font-size: 14px; margin: 0 0 8px; }
pre { margin: 0; background: #030a13; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; overflow-x: auto; font-size: 13.5px; text-align: left; }
.actions.center { margin-top: 44px; }

.foot { border-top: 1px solid var(--line); text-align: center; padding: 40px var(--gutter) 56px; color: var(--muted); font-size: 14px; }
.foot p { margin: 4px 0; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .stage iframe { transition: none; } }

/* Secrets: the rare moments, each a looping clip that plays as it scrolls into view. */
.moments { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.moments li { background: var(--ink-2); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.moments video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #0b1b2c; }
.moments li > div { padding: 18px 20px 22px; }
.moments h3 { font-weight: 400; font-size: 19px; margin: 0 0 6px; }
.moments p { margin: 0; color: var(--muted); font-size: 15px; }
.moments .when { font-size: 12.5px; letter-spacing: .06em; color: var(--lagoon); margin-bottom: 6px; }
.secrets .note a { color: var(--lagoon); text-decoration: none; }
@media (max-width: 700px) { .moments { grid-template-columns: 1fr; } }
.install .note.ig a { color: var(--lagoon); text-decoration: none; }
.install .note.ig a:hover { text-decoration: underline; }
