/* yashraj.si — one stylesheet for every page */
:root {
  --bg: #000000;
  --fg: #ffffff;
  --muted: #8c8c8c;
  --signal: #39ff14;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--fg); text-decoration: none; }
a:hover, a:focus-visible { color: var(--signal); }
a:focus-visible { outline: 1px solid var(--signal); outline-offset: 4px; }

.page {
  min-height: 100vh;
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 140px;
}

/* name, running up the left edge */
.name {
  position: absolute;
  left: 48px;
  top: 50%;
  width: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  transform: translateY(-50%) rotate(-90deg);
  white-space: nowrap;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
}
.name a { min-height: 44px; display: inline-flex; align-items: center; }

/* the centre statement */
.statement {
  margin: 0;
  max-width: 760px;
  text-align: center;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -.02em;
}
.label {
  display: block;
  margin-bottom: 20px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* tabs, stacked on the right edge */
.tabs {
  position: absolute;
  right: 48px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.tabs a { min-height: 44px; display: inline-flex; align-items: center; }
.tabs a[aria-current="page"] { color: var(--signal); }

.copy {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}

/* phones: name on top, tabs along the bottom */
@media (max-width: 760px) {
  .page { flex-direction: column; justify-content: space-between; padding: 32px 20px 72px; gap: 32px; }
  .name, .tabs, .copy { position: static; transform: none; }
  .name { width: auto; font-size: 13px; letter-spacing: .24em; }
  .statement { font-size: clamp(28px, 8vw, 40px); }
  .tabs { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 4px 24px; font-size: 13px; }
  .copy { position: absolute; bottom: 24px; transform: translateX(-50%); }
}

/* ---------- scrolling pages (Assets, property posts) ---------- */
.page.scroll { display: block; overflow: visible; padding: 96px 180px 64px; }
.page.scroll .name, .page.scroll .tabs { position: fixed; }
.page.scroll .copy { position: static; transform: none; text-align: center; margin: 120px 0 0; }
.wrap { max-width: 960px; margin: 0 auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Assets: Upcoming and Treasury side by side */
.columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
.column-title { margin: 0 0 16px; padding-bottom: 16px; border-bottom: 1px solid var(--fg); font-size: 52px; font-weight: 300; letter-spacing: -.03em; }
.entry { display: block; padding: 24px 0; border-bottom: 1px solid #2c2c2c; }
.entry-title { display: block; font-size: 21px; font-weight: 400; letter-spacing: -.01em; }
.entry-summary { display: block; margin-top: 8px; font-size: 15px; line-height: 1.55; color: #cfcfcf; }
.entry-meta { display: block; margin-top: 10px; font-size: 14px; color: #9a9a9a; }
.entry:hover .entry-title, .entry:hover .entry-meta { color: var(--signal); }
.entry-empty { margin: 24px 0 0; font-size: 15px; color: #8c8c8c; }

/* Property post */
.back { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; color: #bdbdbd; }
.post { max-width: 720px; margin: 24px auto 0; }
.post-kicker { margin: 0; font-size: 14px; color: #9a9a9a; }
.post-title { margin: 12px 0 0; font-size: clamp(44px, 6vw, 72px); font-weight: 300; letter-spacing: -.04em; line-height: 1; }
.post-summary { margin: 24px 0 0; font-size: 21px; line-height: 1.5; font-weight: 300; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 40px 0 0; border-top: 1px solid var(--fg); }
.facts div { padding: 16px 0; border-bottom: 1px solid #2c2c2c; }
.facts dt { font-size: 14px; color: #9a9a9a; }
.facts dd { margin: 6px 0 0; font-size: 18px; }
.drawing { margin: 48px 0 0; padding: 24px; border: 1px solid #3a3a3a; }
.drawing img { display: block; width: 100%; height: auto; max-height: 440px; object-fit: contain; }
.prose { margin-top: 40px; font-size: 18px; line-height: 1.7; color: #d6d6d6; }
.prose h2, .prose h3, .prose h4 { color: var(--fg); font-weight: 400; letter-spacing: -.02em; margin: 48px 0 12px; }
.prose h2 { font-size: 30px; } .prose h3 { font-size: 24px; } .prose h4 { font-size: 20px; }
.prose a { text-decoration: underline; text-underline-offset: 4px; }
.prose img { max-width: 100%; height: auto; display: block; margin: 32px 0; }
.prose blockquote { margin: 32px 0; padding-left: 20px; border-left: 1px solid var(--fg); color: var(--fg); }
.prose hr { border: 0; border-top: 1px solid #3a3a3a; margin: 48px 0; }
.prose ul, .prose ol { padding-left: 22px; }

@media (max-width: 760px) {
  .page.scroll { padding: 32px 20px 40px; }
  .page.scroll .name { position: static; text-align: center; margin-bottom: 40px; }
  .page.scroll .tabs { position: static; transform: none; margin-top: 64px; }
  .page.scroll .copy { margin-top: 32px; }
  .columns { grid-template-columns: 1fr; gap: 56px; }
  .column-title { font-size: 40px; }
  .facts { grid-template-columns: 1fr 1fr; }
}
