:root
{
    color: #e1e0cc;
    background: #000;
    font: 16px/1.5 "Segoe UI", Arial, sans-serif;
}
*
{
    box-sizing: border-box;
}
html
{
    scroll-behavior: smooth;
}
body
{
    margin: 0;
}
a, button
{
    color: inherit;
}
button, input, select
{
    font: inherit;
}
button, a
{
    -webkit-tap-highlight-color: transparent;
}
button
{
    cursor: pointer;
}
a:focus-visible, button:focus-visible
{
    outline: 2px solid #e1e0cc;
    outline-offset: 5px;
}
.hero
{
    height: 100svh;
    min-height: 700px;
    padding: 24px;
}
.scene
{
    height: 100%;
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    background: #322c1e;
}
.light-field
{
    position: absolute;
    inset: -5%;
    background: linear-gradient(0deg,#000b,transparent 65%,#0005), url("light-field.svg") center/cover;
    animation: drift 20s alternate infinite ease-in-out;
}
@keyframes drift
{
    to { transform: scale(1.08) translateX(1%); }
}
.grain
{
    position: absolute;
    inset: 0;
    background: url("noise.svg");
    opacity: .35;
    mix-blend-mode: overlay;
    pointer-events: none;
}
nav
{
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 48px;
    white-space: nowrap;
    padding: 14px 32px 18px;
    border-radius: 0 0 24px 24px;
    background: black;
    font-size: 13px;
}
nav a, nav button
{
    color: #e1e0cccc;
    text-decoration: none;
    border: 0;
    background: none;
    padding: 0;
}
nav a:hover, nav button:hover
{
    color: #e1e0cc;
}
.hero-content
{
    position: absolute;
    bottom: 36px;
    inset-inline: 36px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    align-items: end;
    gap: 36px;
}
h1
{
    font-size: 20vw;
    line-height: .85;
    font-weight: 500;
    letter-spacing: -.07em;
    margin: 0;
    position: relative;
    width: fit-content;
}
sup
{
    position: absolute;
    top: .65em;
    right: -.3em;
    font-size: .31em;
    line-height: 1;
}
.intro p
{
    font-size: 14px;
    line-height: 1.3;
    color: #dedbc8ba;
    margin: 0 0 28px;
}
.pill
{
    background: #dedbc8;
    color: black;
    border: 0;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 28px;
    padding: 7px 7px 7px 22px;
    transition: gap .2s;
}
.pill:hover
{
    gap: 36px;
}
.pill span
{
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: black;
    color: #dedbc8;
    font-size: 24px;
}
.about
{
    padding: 90px 24px;
}
.about-card
{
    background: #101010;
    max-width: 1152px;
    padding: 90px 48px;
    text-align: center;
    margin: auto;
}
.label
{
    font-size: 12px;
    letter-spacing: .06em;
    margin: 0 0 40px;
}
.about h2
{
    font-weight: 400;
    font-size: clamp(32px, 5.2vw, 68px);
    letter-spacing: -.055em;
    line-height: .98;
    max-width: 780px;
    margin: auto;
}
em
{
    font-family: Georgia, serif;
    font-weight: 400;
}
.letter-reveal
{
    max-width: 580px;
    margin: 48px auto 0;
    font-size: 16px;
    line-height: 1.7;
    color: #dedbc8;
}
.features
{
    min-height: 100vh;
    padding: 40px 24px 80px;
    background: url("noise.svg");
}
.features header
{
    padding: 0 12px 48px;
}
.features h2
{
    font-size: clamp(24px, 3.2vw, 40px);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -.035em;
}
.features h2 span
{
    color: #777;
}
.grid
{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
}
.grid article
{
    min-height: 480px;
    padding: 28px 24px;
    background: #212121;
    display: flex;
    flex-direction: column;
}
.feature-icon
{
    width: 48px;
    height: 48px;
    padding: 6px;
    color: #b6b5a2;
    border-radius: 10px;
    background: #33332e;
    margin-bottom: 48px;
}
h3
{
    font-size: 21px;
    font-weight: 400;
    line-height: 1.1;
}
h3 small
{
    display: block;
    color: #81817a;
    font-size: 11px;
    margin-bottom: 12px;
}
ul
{
    list-style: none;
    padding: 0;
    font-size: 12px;
    line-height: 1.6;
    color: #a6a6a0;
}
li
{
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}
li::before
{
    content: "";
    position: absolute;
    left: 1px;
    top: 5px;
    width: 9px;
    height: 5px;
    border-left: 1.5px solid #dedbc8;
    border-bottom: 1.5px solid #dedbc8;
    transform: rotate(-45deg);
}
.learn
{
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    padding: 16px 0 0;
    background: none;
    border: 0;
    text-align: left;
    font-size: 13px;
}
.grid .canvas-card
{
    position: relative;
    overflow: hidden;
    justify-content: flex-end;
    background: #151812;
}
.canvas-card h3
{
    z-index: 1;
}
.orb
{
    width: 320px;
    height: 320px;
    position: absolute;
    top: 20px;
    left: -50px;
    border-radius: 50%;
    background: repeating-radial-gradient(ellipse at 30% 30%, #cdc9aa 0 1px, #2d3025 2px 6px);
    box-shadow: inset -50px -50px 70px #000b;
    animation: orbit 25s linear infinite;
}
@keyframes orbit
{
    to { rotate: 360deg; }
}
.word
{
    display: inline-block;
}
.seen .word
{
    animation: rise .75s both cubic-bezier(.16,1,.3,1);
    animation-delay: var(--delay);
}
@keyframes rise
{
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
dialog
{
    background: #171816;
    color: #e1e0cc;
    border: 1px solid #dedbc833;
    border-radius: 24px;
    padding: 40px;
    max-width: 520px;
    width: calc(100% - 32px);
}
dialog::backdrop
{
    background: #000b;
    backdrop-filter: blur(8px);
}
dialog h2
{
    font: 40px/1.1 Georgia, serif;
}
.close
{
    float: right;
    border: 0;
    background: none;
    color: #dedbc8;
    font-size: 28px;
}
label
{
    display: grid;
    gap: 6px;
    font-size: 13px;
    margin: 16px 0;
}
input, select
{
    width: 100%;
    background: #262822;
    color: #e1e0cc;
    border: 1px solid #dedbc844;
    padding: 12px;
    border-radius: 8px;
}
@media (max-width: 1000px)
{
    nav { gap: 24px; }
    .hero-content { grid-template-columns: 1.6fr 1fr; gap: 24px; }
    .grid { grid-template-columns: 1fr 1fr; gap: 8px; }
}
@media (max-width: 640px)
{
    .hero { padding: 16px; }
    .scene { border-radius: 16px; }
    nav { gap: 12px; padding: 14px 12px; font-size: 10px; }
    .hero-content { grid-template-columns: 1fr; inset-inline: 20px; bottom: 28px; gap: 30px; }
    h1 { font-size: 26vw; }
    .intro p { font-size: 12px; max-width: 280px; margin-bottom: 24px; }
    .about { padding: 50px 16px; }
    .about-card { padding: 64px 24px; }
    .letter-reveal { font-size: 13px; }
    .features { padding-inline: 16px; }
    .grid { grid-template-columns: 1fr; gap: 12px; }
    .grid article { min-height: 400px; padding: 28px; }
    .feature-icon { margin-bottom: 24px; }
}
@media (prefers-reduced-motion: reduce)
{
    html { scroll-behavior: auto; }
    .light-field, .orb, .seen .word { animation: none; }
}
