:root {
  --bg: #07070a;
  --fg: #ece8f5;
  --fg-2: #a29db8;
  --fg-3: #615c78;
  --line: rgba(236, 232, 245, .1);
  --line-2: rgba(236, 232, 245, .2);
  --accent: #ff6a3d;
  --violet: #8b74ff;
  --gut: clamp(20px, 4vw, 56px);
  --serif: "Instrument Serif", ui-serif, Georgia, serif;
  --sans: "Geist", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 13px/1.6 var(--mono);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--accent); color: var(--bg); }
a { color: inherit; }
.mono { font-family: var(--mono); }

#field {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}
.top, main, .foot { position: relative; z-index: 1; }

/* header */
.top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px var(--gut);
  font-size: 12px;
  color: var(--fg-2);
  pointer-events: none;
  background: linear-gradient(var(--bg) 35%, rgba(7, 7, 10, 0));
}
.top a { pointer-events: auto; text-decoration: none; transition: color .2s; }
.top a:hover { color: var(--fg); }
.mark { color: var(--fg); font-weight: 500; letter-spacing: .02em; }
.mark i {
  display: inline-block;
  width: .55em;
  height: 1em;
  margin-left: 3px;
  vertical-align: -.15em;
  background: var(--accent);
  animation: blink 1.1s steps(1) infinite;
}
.top nav { display: flex; gap: clamp(14px, 2.4vw, 28px); }
@keyframes blink { 50% { opacity: 0; } }

/* hero */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 0 var(--gut);
}
.hero-c { align-self: center; padding-top: 8vh; }
.eyebrow { margin: 0 0 1.2vw .6vw; color: var(--fg-2); font-size: 12px; letter-spacing: .04em; }
.name {
  margin: 0;
  font: 800 clamp(92px, 21vw, 360px)/.84 var(--sans);
  letter-spacing: -.055em;
  color: transparent;
  white-space: nowrap;
}
.no-gl .name { color: var(--fg); }
.hero-foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 22px 0 26px;
  font-size: 12px;
  color: var(--fg-3);
}
.hero-foot b { color: var(--fg-2); font-weight: 500; font-variant-numeric: tabular-nums; }
.hero-foot .t { min-width: 9ch; }
.down { color: var(--fg-2); text-decoration: none; transition: color .2s; }
.down:hover { color: var(--accent); }

/* sections */
.sec {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(0, 3.2fr);
  column-gap: 32px;
  max-width: 1360px;
  margin: 0 auto;
  padding: 22vh var(--gut) 0;
}
.label {
  margin: .9em 0 0;
  color: var(--fg-3);
  font-size: 12px;
  letter-spacing: .04em;
  position: sticky;
  top: 80px;
  align-self: start;
}
.label span { color: var(--accent); margin-right: .6em; }
.body { padding: 4px 0; }
.lede {
  margin: 0;
  font: 400 clamp(36px, 5vw, 76px)/1.02 var(--serif);
  letter-spacing: -.012em;
  text-wrap: balance;
}
.lede em { font-style: italic; color: #ffb796; }
.copy {
  max-width: 34em;
  margin: 28px 0 0;
  font: 400 clamp(17px, 1.5vw, 21px)/1.45 var(--serif);
  color: var(--fg-2);
}
.reveal {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(14px);
  transition: opacity 1.1s var(--ease), filter 1.1s var(--ease), transform 1.1s var(--ease);
}
.reveal.in { opacity: 1; filter: none; transform: none; }

/* now */
.status { margin: 28px 0 0; color: var(--fg-3); font-size: 12px; }
.status b { color: var(--fg); font-weight: 500; }
.status a { color: var(--fg-2); text-decoration: none; border-bottom: 1px solid var(--line-2); transition: color .2s, border-color .2s; }
.status a:hover { color: var(--accent); border-color: var(--accent); }
.status .live { color: var(--accent); }

.days {
  grid-column: 1 / -1;
  list-style: none;
  margin: 72px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 10px;
}
.day {
  appearance: none;
  font: inherit;
  color: inherit;
  text-align: left;
  width: 100%;
  aspect-ratio: 1 / 1.28;
  display: flex;
  flex-direction: column;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
  transition: border-color .35s var(--ease), transform .35s var(--ease);
}
.day .thumb { flex: 1; margin: 9px 9px 0; }
.day .meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 8px 10px 9px;
  font-size: 11px;
  line-height: 1.35;
  min-width: 0;
}
.day .n { color: var(--fg-3); }
.day .tt { color: var(--fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.day[data-state="posted"] .n { color: var(--fg-2); }
.day[data-state="posted"]:hover { border-color: rgba(255, 106, 61, .55); }
.day[data-state="next"] { border-color: rgba(255, 106, 61, .4); }
.day[data-state="next"] .n, .day[data-state="next"] .tt { color: var(--accent); }
.day[data-state="future"] { cursor: default; }
.day[data-state="future"] .tt { color: var(--fg-3); }
.day:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }
.day.nope { animation: nope .4s var(--ease); }
@keyframes nope { 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }
.no-gl .day .thumb {
  background: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 6px);
}

/* elsewhere */
.links { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.links a {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: baseline;
  gap: 16px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.links .k { color: var(--fg-3); font-size: 12px; }
.links .h {
  font: 400 clamp(30px, 4vw, 56px)/1 var(--serif);
  letter-spacing: -.01em;
  transition: color .35s var(--ease), transform .35s var(--ease);
}
.links .arr { color: var(--fg-3); transition: color .35s var(--ease), transform .35s var(--ease); }
.links a:hover .h { color: var(--accent); font-style: italic; transform: translateX(10px); }
.links a:hover .arr { color: var(--accent); transform: translate(3px, -3px); }

/* footer */
.foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  max-width: 1360px;
  margin: 0 auto;
  padding: 26vh var(--gut) 32px;
  font-size: 12px;
  color: var(--fg-3);
}
.foot a { text-decoration: none; color: var(--fg-2); }
.foot a:hover { color: var(--accent); }

/* idea detail */
.idea {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: var(--gut);
}
.idea[hidden] { display: none; }
.idea-bg {
  position: absolute;
  inset: 0;
  background: rgba(7, 7, 10, .82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fade .4s var(--ease);
}
.idea-card {
  position: relative;
  width: min(1120px, 100%);
  max-height: calc(100svh - 2 * var(--gut));
  overflow: auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: #0b0b10;
  border: 1px solid var(--line);
  animation: rise .5s var(--ease);
}
.idea-frame { position: relative; aspect-ratio: 4 / 3; background: var(--bg); overflow: hidden; }
.idea-frame canvas, .idea-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.idea-frame img { object-fit: cover; opacity: 0; transition: opacity 1.4s var(--ease); }
.idea-frame img.on { opacity: 1; }
.idea-text { padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; }
.idea-meta { margin: 0; color: var(--accent); font-size: 12px; }
.idea-text h3 { margin: 14px 0 0; font: 400 clamp(32px, 3.4vw, 50px)/1.02 var(--serif); letter-spacing: -.01em; }
.idea-body { margin-top: 20px; font: 400 18px/1.5 var(--serif); color: var(--fg-2); }
.idea-body p { margin: 0 0 .8em; }
.idea-x { margin-top: auto; padding-top: 24px; font-size: 12px; color: var(--fg-2); text-decoration: none; }
.idea-x:hover { color: var(--accent); }
.idea-x[hidden] { display: none; }
.idea-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(7, 7, 10, .7);
  color: var(--fg-2);
  font-size: 11px;
  padding: 5px 9px;
  cursor: pointer;
}
.idea-close:hover { color: var(--fg); border-color: var(--line-2); }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px) scale(.985); } }
body.locked { overflow: hidden; }

/* responsive */
@media (max-width: 1100px) {
  .days { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .sec { grid-template-columns: 1fr; padding-top: 16vh; }
  .label { position: static; margin: 0 0 28px; }
  .days { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 48px; }
  .day { aspect-ratio: 1 / 1.15; }
  .day .tt { display: none; }
  .day .thumb { margin: 6px 6px 0; }
  .day .meta { padding: 5px 6px 6px; }
  .name { font-size: 39vw; line-height: .82; white-space: normal; }
  .eyebrow { margin-bottom: 4vw; }
  .links a { grid-template-columns: 1fr auto; }
  .links .k { grid-column: 1 / -1; }
  .foot { flex-direction: column; gap: 6px; }
  .idea-card { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition: none; opacity: 1; filter: none; transform: none; }
  .mark i { animation: none; }
}
