/* Landing page only. Everything is scoped under .oh; landing.js loads this file.
   Colors read the global tokens and fall back to the design values. */
.oh {
  --oh-paper: #FAF8F3; --oh-ink: #141413; --oh-ink-2: #4A4843; --oh-muted: #6F6C64;
  --oh-accent: #4A2341; --oh-on-accent: #FAF8F3; --oh-grain: .035;
  --oh-ease: cubic-bezier(.2,.7,.2,1);
  --oh-c-paper: var(--paper, var(--oh-paper));
  --oh-c-ink: var(--ink, var(--oh-ink));
  --oh-c-ink-2: var(--ink-2, var(--oh-ink-2));
  --oh-c-muted: var(--muted, var(--oh-muted));
  --oh-c-accent: var(--accent, var(--oh-accent));
  --oh-c-on-accent: var(--on-accent, var(--oh-on-accent));
  color-scheme: light;
}
/* While the landing is mounted the page itself never scrolls. */
html.oh-on, html.oh-on body { overflow: hidden; }
html.oh-on body { min-height: 0; }
/* Short viewports (a phone on its side): let the page scroll so the hero and footer stay reachable. */
@media (max-height: 480px) {
  html.oh-on, html.oh-on body { overflow: auto; }
  .oh { position: absolute; bottom: auto; height: auto; min-height: 100dvh; }
}

.oh {
  position: fixed; inset: 0; height: 100dvh; overflow: hidden;
  display: flex; flex-direction: column;
  background: var(--oh-c-paper); color: var(--oh-c-ink);
  font-family: Geist, ui-sans-serif, system-ui, sans-serif; font-size: 16px; font-weight: 400; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.oh a { color: var(--oh-c-ink); text-decoration: none; background: none; padding: 0; transition: none; }
.oh a:hover { color: var(--oh-c-ink); text-decoration: none; }
.oh :focus-visible { outline: 2px solid var(--oh-c-accent); outline-offset: 3px; border-radius: 4px; }

.oh-grain { position: absolute; inset: 0; width: 100%; height: 100%; opacity: var(--grain, var(--oh-grain)); pointer-events: none; }

/* Ghost text */
.oh-ghost {
  position: absolute; inset: 0; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 44% 24% at 50% 45%, transparent 55%, #000 90%);
  mask-image: radial-gradient(ellipse 44% 24% at 50% 45%, transparent 55%, #000 90%);
}
.oh-layer { position: absolute; inset: 0; perspective: 900px; }
.oh-cell {
  position: absolute;
  font-family: "Nothing You Could Do", cursive; font-size: 14px; line-height: 1.5;
  color: var(--oh-c-ink); text-wrap: pretty; will-change: transform, opacity, filter;
}
.oh-txt { opacity: .3; }
.oh-c {
  transition:
    opacity 1000ms var(--oh-ease) calc(var(--k) * 14ms),
    filter 1000ms var(--oh-ease) calc(var(--k) * 14ms);
}
.oh-txt.is-out .oh-c, .oh-txt.is-pre .oh-c { opacity: 0; filter: blur(3px); }
.oh-txt.is-pre .oh-c, .oh.is-rm .oh-c { transition: none; }
.oh.is-rm .oh-cell { will-change: auto; }

/* Nav */
.oh-nav { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 28px 40px; }
/* Lockup per the brand kit: mark left, wordmark right, gap 10px, both ink; mark 26px tall, nudged up 4px. */
.oh .oh-lockup { display: inline-flex; align-items: center; gap: 10px; color: var(--oh-c-ink); line-height: 1; }
.oh-lockup-mark { display: block; flex: none; width: 27.75px; height: 26px; margin-top: -4px; }
.oh-lockup-word { font-family: "Young Serif", Georgia, serif; font-weight: 400; font-size: 24px; letter-spacing: -0.02em; line-height: 1; }
.oh-links { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.oh .oh-ul {
  background: linear-gradient(currentColor, currentColor) left bottom / 0% 1px no-repeat;
  transition: background-size 400ms var(--oh-ease);
}
.oh .oh-links .oh-ul { padding-bottom: 2px; }
.oh .oh-ul:hover { background-size: 100% 1px; }

/* Buttons */
.oh .oh-btn {
  display: inline-block; background: var(--oh-c-accent); color: var(--oh-c-on-accent); font-weight: 500; border-radius: 8px;
  transition: background 300ms var(--oh-ease), box-shadow 300ms var(--oh-ease);
}
.oh .oh-btn:hover {
  background: color-mix(in oklab, var(--oh-c-accent), #000 6%); color: var(--oh-c-on-accent);
  box-shadow: 0 1px 0 0 color-mix(in oklab, var(--oh-c-ink) 18%, transparent);
}
.oh .oh-btn-sm { font-size: 14px; padding: 8px 14px; }
.oh .oh-btn-lg { font-size: 15px; padding: 12px 22px; margin-top: 36px; }

/* Hero */
.oh-main { position: relative; flex: 1; display: grid; place-items: center; padding: 0 24px; min-height: 0; }
.oh-hero { display: flex; flex-direction: column; align-items: center; text-align: center; transform: translateY(-4vh); }
.oh .oh-h1 {
  margin: 0; font-family: "Young Serif", Georgia, serif; font-weight: 400; font-size: clamp(36px, 4.8vw, 68px);
  line-height: 1.06; letter-spacing: -0.02em; text-wrap: balance; color: var(--oh-c-ink);
}
.oh .oh-sub { margin: 20px 0 0; font-size: 17px; color: var(--oh-c-ink-2); text-wrap: pretty; }
.oh-h1 { animation: oh-up 600ms var(--oh-ease) both; }
.oh-sub { animation: oh-up 600ms var(--oh-ease) 120ms both; }
.oh-btn-lg { animation: oh-up 600ms var(--oh-ease) 240ms both; }
.oh-try { margin: 14px 0 0; font-size: 14px; animation: oh-up 600ms var(--oh-ease) 320ms both; }
@keyframes oh-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Footer */
.oh .oh-foot {
  position: relative; display: flex; justify-content: center; align-items: center; gap: 10px;
  margin: 0; padding: 0 24px 24px; font-size: 13px; color: var(--oh-c-muted);
}
.oh .oh-foot a, .oh .oh-foot a:hover { color: var(--oh-c-muted); }

@media (prefers-reduced-motion: reduce) {
  .oh-h1, .oh-sub, .oh-btn-lg, .oh-try { animation: none; }
}
@media (max-width: 640px) {
  .oh .oh-btn-sm { display: none; }
  .oh-nav { padding: 20px 20px; }
  .oh-links { gap: 18px; }
}
/* Small phones: the mark alone, so the links fit. The link keeps its aria-label. */
@media (max-width: 360px) {
  .oh-lockup-word { display: none; }
}
/* Phones: Benchmarks drops out of the top nav so the rest fit on one line. */
@media (max-width: 520px) {
  .oh-hide-sm { display: none; }
}
