:root { --lock: cubic-bezier(0.2, 0.9, 0.1, 1); --hpad: clamp(1.25rem, 4vw, 3.5rem); }
.home { overflow-x: clip; }
.home .mono { font-family: var(--font-mono); }
.home h2, .home h3 { text-wrap: balance; }
.h-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.h-btn {
position: relative; isolation: isolate; overflow: hidden;
display: inline-flex; align-items: center; gap: 0.9rem;
min-height: 3rem; padding: 0 1.25rem;
border: 1px solid var(--line-strong); border-radius: 999px;
font: 500 0.95rem/1 var(--font-sans); color: var(--fg); text-decoration: none;
transition: border-color 300ms var(--lock), color 300ms var(--lock);
}
.h-btn::before {
content: ""; position: absolute; inset: 0; z-index: -1; background: var(--fg);
transform: translateY(101%); transition: transform 420ms var(--lock);
}
.h-btn:hover, .h-btn:focus-visible { color: var(--bg); border-color: var(--fg); }
.h-btn:hover::before, .h-btn:focus-visible::before { transform: translateY(0); }
.h-btn:active { transform: scale(0.98); }
.h-btn__arrow { display: inline-block; transition: transform 420ms var(--lock); }
.h-btn:hover .h-btn__arrow { transform: translateX(0.3rem); }
.h-btn:hover .h-btn__arrow:is([aria-hidden]):first-child { transform: none; }
.h-btn--solid { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.h-btn--solid::before { background: var(--lat); }
.h-btn--solid:hover, .h-btn--solid:focus-visible { color: #050506; border-color: var(--lat); }
a.h-btn[href^="#"]:hover .h-btn__arrow { transform: translateY(0.25rem); }
.h-link { display: inline-flex; gap: 0.35rem; font-weight: 500; color: var(--fg); text-decoration: underline; text-underline-offset: 0.3em; text-decoration-color: var(--line-strong); }
.h-link span { display: inline-block; transition: transform 420ms var(--lock); }
.h-link:hover { text-decoration-color: currentColor; }
.h-link:hover span { transform: translateX(0.3rem); }
.h-hero {
position: relative; min-height: calc(100svh - 6.2rem);
display: grid; align-items: end;
padding: clamp(2rem, 6vh, 5rem) var(--hpad) clamp(2rem, 5vh, 3.5rem);
border-bottom: 1px solid var(--line);
}
.h-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.h-hero__frame { position: relative; z-index: 1; max-width: 92rem; width: 100%; margin-inline: auto; }
.h-kicker { display: flex; align-items: center; gap: 0.6rem; font: 400 0.8rem/1.4 var(--font-mono); letter-spacing: 0.04em; color: var(--fg-muted); margin: 0 0 clamp(1rem, 3vh, 2rem); }
.h-dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--lat); box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--lat) 18%, transparent); }
.h-title {
font-family: var(--font-display); font-weight: 300;
font-size: clamp(3.4rem, 12.2vw, 12.5rem); line-height: 0.86; letter-spacing: -0.05em;
font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 1;
margin: 0 0 clamp(1.5rem, 4vh, 3rem) -0.04em; text-wrap: initial;
}
.h-line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.h-word { display: inline-block; }
.h-key { font-style: italic; font-weight: 340; color: var(--fg); position: relative; }
.h-key::after {
content: ""; position: absolute; left: 0.04em; right: 0.1em; bottom: 0.1em; height: 0.045em;
background: linear-gradient(90deg, var(--curve), var(--lat));
transform-origin: left; transform: scaleX(var(--keyline, 1));
}
.h-hero__foot { display: grid; grid-template-columns: minmax(0, 34rem) auto; gap: 1.5rem 3rem; align-items: end; justify-content: space-between; }
.h-lede { font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.3rem); line-height: 1.5; color: var(--fg-muted); margin: 0; max-width: 34rem; }
.h-lede { text-shadow: 0 0 1.5rem var(--bg), 0 0 0.6rem var(--bg); }
.h-readout {
position: absolute; z-index: 1; top: clamp(1.25rem, 4vh, 2.5rem); right: var(--hpad);
margin: 0; display: grid; gap: 0.35rem; font-size: 0.75rem; text-align: right;
}
.h-readout div { display: flex; gap: 0.8rem; justify-content: flex-end; align-items: baseline; }
.h-readout dt { color: var(--fg-subtle); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.68rem; }
.h-readout dd { margin: 0; color: var(--fg-muted); }
.h-readout div:nth-child(1) dd { color: var(--curve); }
.h-readout div:nth-child(2) dd { color: var(--lat); }
.h-readout [data-keyhex] { color: var(--fg); min-width: 17ch; }
.js-motion .h-word { transform: translateY(105%); }
.js-motion .is-in .h-word { transform: none; transition: transform 1100ms var(--lock); }
.js-motion .is-in .h-line:nth-child(2) .h-word { transition-delay: 70ms; }
.js-motion .is-in .h-line:nth-child(3) .h-word { transition-delay: 140ms; }
.js-motion .h-hero__foot, .js-motion .h-kicker, .js-motion .h-readout { opacity: 0; }
.js-motion .is-in .h-hero__foot, .js-motion .is-in .h-kicker, .js-motion .is-in .h-readout { opacity: 1; transition: opacity 900ms var(--lock) 420ms; }
.h-compose { position: relative; height: 420vh; border-bottom: 1px solid var(--line); }
.h-compose__sticky {
position: sticky; top: 3.75rem; height: calc(100svh - 3.75rem);
display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}
.h-compose__stage { position: relative; border-right: 1px solid var(--line); }
.h-compose__panel { display: flex; flex-direction: column; justify-content: center; gap: 1.75rem; padding: 2rem var(--hpad); }
.h-eyebrow { font: 400 0.8rem/1.4 var(--font-mono) !important; letter-spacing: 0.08em !important; text-transform: uppercase; color: var(--fg-subtle); margin: 0; }
.h-steps { list-style: none; margin: 0; padding: 0; display: grid; }
.h-step { grid-area: 1 / 1; opacity: 0; transform: translateY(1.25rem); transition: opacity 500ms var(--lock), transform 700ms var(--lock); pointer-events: none; }
.h-step[data-active] { opacity: 1; transform: none; pointer-events: auto; }
.h-step__tag { font-size: 0.8rem; color: var(--fg-muted); margin: 0 0 0.9rem; }
.h-step[data-step="curve"] .h-step__tag { color: var(--curve); }
.h-step[data-step="lattice"] .h-step__tag { color: var(--lat); }
.h-step__title { font-family: var(--font-display); font-weight: 320; font-size: clamp(2rem, 1.2rem + 2.6vw, 3.6rem); line-height: 0.98; letter-spacing: -0.035em; margin: 0 0 1rem; }
.h-step__text { color: var(--fg-muted); font-size: 1.05rem; line-height: 1.58; max-width: 32rem; margin: 0; }
.h-break { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.h-break__btn {
display: inline-flex; align-items: center; gap: 0.6rem; min-height: 2.75rem; padding: 0 1rem;
border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--fg);
font: 500 0.88rem/1 var(--font-sans); cursor: pointer;
transition: border-color 300ms var(--lock), background-color 300ms var(--lock), transform 200ms var(--lock);
}
.h-break__btn:hover { border-color: var(--fg); }
.h-break__btn:active { transform: scale(0.97); }
.h-break__sw { width: 1.6rem; height: 0.9rem; border-radius: 999px; border: 1px solid currentColor; position: relative; }
.h-break__sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: calc(0.9rem - 6px); height: calc(0.9rem - 6px); border-radius: 50%; background: currentColor; transition: transform 380ms var(--lock); }
.h-break__btn[data-break="curve"] { color: var(--curve); }
.h-break__btn[data-break="lattice"] { color: var(--lat); }
.h-break__btn[aria-pressed="true"] { background: color-mix(in srgb, currentColor 14%, transparent); border-color: currentColor; }
.h-break__btn[aria-pressed="true"] .h-break__sw::after { transform: translateX(0.7rem); }
.h-break__status { flex-basis: 100%; font-size: 0.82rem; color: var(--fg-muted); margin: 0.4rem 0 0; }
.h-break__status[data-state="open"] { color: #ff7a70; }
.h-rule {
padding: clamp(5rem, 16vh, 11rem) var(--hpad);
display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2rem;
border-bottom: 1px solid var(--line);
}
.h-rule__text {
grid-column: 1 / -1; font-family: var(--font-display); font-weight: 300;
font-size: clamp(2.6rem, 8.4vw, 8.6rem); line-height: 0.92; letter-spacing: -0.048em; margin: 0 0 0 -0.04em;
}
.h-rule__a, .h-rule__b { display: block; }
.h-rule__b { font-style: italic; color: var(--lat); padding-left: 0.9em; }
.h-rule__body { grid-column: 7 / span 5; margin-top: clamp(1rem, 4vh, 3rem); font-size: 1.1rem; line-height: 1.6; color: var(--fg-muted); }
.h-rule__body p { margin: 0 0 1.25rem; }
.h-sechead { padding: clamp(4rem, 12vh, 8rem) var(--hpad) clamp(2rem, 5vh, 3.5rem); max-width: 92rem; margin-inline: auto; }
.h-sechead h2 { font-size: clamp(2.2rem, 1rem + 4.4vw, 5.2rem); line-height: 0.95; letter-spacing: -0.042em; font-weight: 320; margin: 0 0 1rem -0.03em; }
.h-sechead p { color: var(--fg-muted); font-size: 1.05rem; max-width: 34rem; margin: 0; }
.h-sechead--split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1.5rem 4rem; align-items: end; }
.h-sechead--split h2 { margin-bottom: 0; }
.h-core { border-bottom: 1px solid var(--line); }
.h-index { list-style: none; margin: 0; padding: 0 0 clamp(3rem, 8vh, 6rem); }
.h-index__row {
position: relative; isolation: isolate;
display: grid; grid-template-columns: 9rem minmax(0, 1.2fr) minmax(0, 1.6fr) 2rem; gap: 2rem; align-items: baseline;
padding: 1.6rem var(--hpad); border-top: 1px solid var(--line); text-decoration: none; color: var(--fg);
}
.h-index li:last-child .h-index__row { border-bottom: 1px solid var(--line); }
.h-index__row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bg-raised); clip-path: inset(0 100% 0 0); transition: clip-path 520ms var(--lock); }
.h-index__row:hover::before, .h-index__row:focus-visible::before { clip-path: inset(0 0 0 0); }
.h-index__spec { font-size: 0.78rem; color: var(--fg-subtle); }
.h-index__name { font-family: var(--font-display); font-size: clamp(1.5rem, 1rem + 1.4vw, 2.3rem); font-weight: 340; letter-spacing: -0.03em; line-height: 1.05; transition: transform 520ms var(--lock); }
.h-index__one { color: var(--fg-muted); font-size: 0.98rem; line-height: 1.55; }
.h-index__go { justify-self: end; color: var(--fg-subtle); transition: transform 520ms var(--lock), color 300ms; }
.h-index__row:hover .h-index__name { transform: translateX(0.6rem); }
.h-index__row:hover .h-index__go { transform: translateX(0.4rem); color: var(--lat); }
.h-index__row:hover .h-index__spec { color: var(--lat); }
.h-figure { border-bottom: 1px solid var(--line); padding-bottom: clamp(3rem, 8vh, 6rem); }
.h-figure .figure-slot { margin: 0 var(--hpad); }
.h-figure figcaption { font: 400 0.8rem/1.5 var(--font-mono); color: var(--fg-subtle); margin-top: 1rem; }
.h-labs { border-bottom: 1px solid var(--line); }
.h-ledger { list-style: none; margin: 0; padding: 0 0 clamp(3rem, 8vh, 6rem); }
.h-ledger__row a {
display: grid; grid-template-columns: 4rem minmax(0, 1fr) minmax(0, 1.5fr) 9rem; gap: 2rem; align-items: baseline;
padding: 1.35rem var(--hpad); border-top: 1px solid var(--line); text-decoration: none; color: var(--fg);
transition: background-color 300ms var(--lock);
}
.h-ledger__row:last-child a { border-bottom: 1px solid var(--line); }
.h-ledger__row a:hover { background: var(--bg-raised); }
.h-ledger__id { color: var(--curve); font-size: 0.85rem; }
.h-ledger__title { font-weight: 500; font-size: 1.1rem; transition: transform 520ms var(--lock); }
.h-ledger__row a:hover .h-ledger__title { transform: translateX(0.5rem); }
.h-ledger__q { color: var(--fg-muted); font-size: 0.95rem; line-height: 1.55; }
.h-ledger__st { justify-self: end; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.35rem 0.6rem; border: 1px dashed var(--labs); color: var(--labs); border-radius: 999px; white-space: nowrap; }
.h-ledger__st[data-status="watching"] { border-color: var(--fg-subtle); color: var(--fg-muted); }
.h-ladder { border-bottom: 1px solid var(--line); padding-bottom: clamp(4rem, 10vh, 7rem); }
.h-gates { list-style: none; margin: 0 var(--hpad); padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); position: relative; }
.h-gates::before { content: ""; position: absolute; left: 0; right: 0; top: 0.55rem; height: 1px; background: linear-gradient(90deg, var(--labs), var(--lat)); transform-origin: left; transform: scaleX(var(--gates, 1)); }
.h-gate { position: relative; padding: 2.2rem 1.25rem 0 0; }
.h-gate::before { content: ""; position: absolute; top: 0; left: 0; width: 1.1rem; height: 1.1rem; border: 1px solid var(--fg-subtle); background: var(--bg); transform: rotate(45deg) scale(0.7); transition: background-color 400ms var(--lock); }
.h-gate:last-child::before { border-color: var(--lat); background: var(--lat); }
.h-gate__k { display: block; font-size: 0.9rem; color: var(--fg); margin-bottom: 0.5rem; }
.h-gate:last-child .h-gate__k { color: var(--lat); }
.h-gate__d { display: block; color: var(--fg-muted); font-size: 0.9rem; line-height: 1.5; }
.h-ai { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2rem 5rem; align-items: end; padding: clamp(5rem, 14vh, 9rem) var(--hpad); border-bottom: 1px solid var(--line); }
.h-ai__title { font-size: clamp(2.6rem, 1rem + 5.6vw, 6.6rem); line-height: 0.92; letter-spacing: -0.048em; font-weight: 300; margin: 0 0 0 -0.04em; }
.h-ai__title em { color: var(--curve); font-style: italic; }
.h-ai__body { color: var(--fg-muted); font-size: 1.08rem; line-height: 1.6; }
.h-ai__body p { margin: 0 0 1.25rem; }
.h-join { padding: clamp(5rem, 14vh, 9rem) var(--hpad) 0; overflow: hidden; }
.h-join h2 { font-size: clamp(2.6rem, 1rem + 5.6vw, 6.6rem); line-height: 0.92; letter-spacing: -0.048em; font-weight: 300; margin: 0 0 1.25rem -0.04em; }
.h-join > p { color: var(--fg-muted); font-size: 1.08rem; max-width: 36rem; margin: 0 0 2rem; }
.h-wordmark {
margin: clamp(3rem, 10vh, 6rem) 0 -0.17em -0.05em; white-space: nowrap;
font-family: var(--font-display); font-weight: 300; font-size: 27vw; line-height: 0.8; letter-spacing: -0.06em;
color: transparent; -webkit-text-stroke: 1px var(--line-strong); user-select: none;
}
.h-wordmark span { color: var(--lat); -webkit-text-stroke: 0; font-style: italic; }
@media (max-width: 900px) {
.h-hero { min-height: calc(100svh - 7rem); }
.h-hero__foot { grid-template-columns: 1fr; }
.h-readout { display: none; }
.h-compose { height: 400vh; }
.h-compose__sticky { grid-template-columns: 1fr; grid-template-rows: minmax(0, 0.9fr) auto; }
.h-compose__stage { border-right: 0; border-bottom: 1px solid var(--line); }
.h-compose__panel { justify-content: flex-start; gap: 1rem; padding: 1.25rem var(--hpad) 1.5rem; }
.h-step__title { font-size: 1.9rem; margin-bottom: 0.6rem; }
.h-step__text { font-size: 0.95rem; line-height: 1.5; }
.h-rule__body { grid-column: 1 / -1; }
.h-rule__b { padding-left: 0.4em; }
.h-sechead--split, .h-ai { grid-template-columns: 1fr; }
.h-index__row { grid-template-columns: 1fr 1.5rem; gap: 0.4rem 1rem; padding-block: 1.25rem; }
.h-index__spec { grid-column: 1 / -1; }
.h-index__one { grid-column: 1 / -1; font-size: 0.92rem; }
.h-index__go { grid-row: 2; grid-column: 2; }
.h-ledger__row a { grid-template-columns: 3rem 1fr; gap: 0.4rem 1rem; }
.h-ledger__q, .h-ledger__st { grid-column: 2; justify-self: start; }
.h-gates { grid-template-columns: 1fr; margin-left: calc(var(--hpad) + 0.5rem); }
.h-gates::before { left: 0.55rem; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: linear-gradient(180deg, var(--labs), var(--lat)); }
.h-gate { padding: 0 0 1.75rem 2.25rem; }
}
@media (prefers-reduced-motion: reduce) {
.home *, .home *::before, .home *::after { transition: none !important; animation: none !important; }
.h-compose { height: auto; }
.h-compose__sticky { position: relative; top: 0; height: auto; min-height: 80svh; }
.h-steps { gap: 2rem; }
.h-step { grid-area: auto; opacity: 1; transform: none; pointer-events: auto; }
}
.h-count { display: flex; align-items: center; gap: 0.6rem; font-size: 0.8rem; color: var(--fg-subtle); }
.h-count [data-count] { color: var(--fg); }
.h-count i { flex: 0 0 8rem; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.h-count b { position: absolute; inset: 0; background: linear-gradient(90deg, var(--curve), var(--lat)); transform-origin: left; transform: scaleX(var(--p, 0)); }
.js-motion [data-reveal] .h-sechead h2,
.js-motion [data-reveal] .h-rule__a, .js-motion [data-reveal] .h-rule__b,
.js-motion [data-reveal] .h-ai__title, .js-motion [data-reveal] > h2 {
clip-path: inset(0 0 100% 0); transform: translateY(0.35em);
transition: clip-path 1100ms var(--lock), transform 1100ms var(--lock);
}
.js-motion [data-reveal] .h-rule__b { transition-delay: 120ms; }
.js-motion [data-reveal].is-in .h-sechead h2,
.js-motion [data-reveal].is-in .h-rule__a, .js-motion [data-reveal].is-in .h-rule__b,
.js-motion [data-reveal].is-in .h-ai__title, .js-motion [data-reveal].is-in > h2 { clip-path: inset(-0.2em -0.2em -0.3em -0.2em); transform: none; }
.js-motion [data-reveal] .h-index li, .js-motion [data-reveal] .h-ledger__row, .js-motion [data-reveal] .h-gate {
opacity: 0; transform: translateY(1.2rem);
transition: opacity 700ms var(--lock), transform 900ms var(--lock);
transition-delay: calc(var(--n, 0) * 60ms + 150ms);
}
.js-motion [data-reveal].is-in .h-index li, .js-motion [data-reveal].is-in .h-ledger__row, .js-motion [data-reveal].is-in .h-gate { opacity: 1; transform: none; }
.js-motion [data-reveal] .h-gates::before { transform: scaleX(0); transition: transform 1600ms var(--lock) 200ms; }
.js-motion [data-reveal].is-in .h-gates::before { transform: scaleX(1); }
.js-motion [data-reveal].is-in .h-gate::before { background: var(--fg-subtle); transition-delay: calc(var(--i) * 220ms + 400ms); }
.h-wordmark { background: linear-gradient(90deg, var(--fg) 0 50%, transparent 50% 100%); background-size: 200% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; }
.js-motion [data-reveal].is-in .h-wordmark { background-position: 0 0; transition: background-position 2200ms var(--lock) 300ms; }
@media (max-width: 900px) { .js-motion [data-reveal] .h-gates::before { transform: scaleY(0); transform-origin: top; } .js-motion [data-reveal].is-in .h-gates::before { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .h-wordmark { background-position: 0 0; } }
