html { overflow-x: clip; }
body { overflow-x: clip; }

.pillar { min-height: 100svh; padding: 18vh var(--pad) 12vh; overflow: hidden; }
.pillar--intelligence { min-height: 150svh; }
.pillar--intelligence .pillar__word { font-size: clamp(4.4rem, 16vw, 14rem); white-space: nowrap; }
.pillar--intelligence .pillar__secondary { margin-top: 24vh; }
.pillar--design .pillar__word { font-size: clamp(4.8rem, 20vw, 16rem); white-space: nowrap; }
.pillar--design .pillar__copy { max-width: 16rem; margin-top: 4vh; }
.pillar--experience { min-height: 150svh; }
.pillar--experience .pillar__word { font-size: clamp(3.8rem, 13vw, 11rem); white-space: nowrap; }
.experience__heads { position: relative; height: 34vh; margin-top: 6vh; overflow: hidden; }
.experience__heads .display { position: absolute; left: 0; top: 0; width: 100%; margin: 0; }
.pillar__word {
    font-size: clamp(3.4rem, 11vw, 9.5rem);
    line-height: 0.84;
    letter-spacing: -0.06em;
    color: #f4f4f2;
}
.pillar--intelligence,
.pillar--experience { background: #000; }
.pillar .display { font-size: clamp(2.4rem, 6vw, 5.4rem); }
.pillar__watermark,
.x-draw { display: none; }

.work-piece { min-height: 100svh; overflow: hidden; background: #050505; }
.work-piece__media { position: absolute; inset: 0; }
#work-equus-pro .work-piece__media { inset: 0; outline: none; }
.work-piece__media .cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    scale: 1.08;
}
.work-piece.is-type { background: #050505; }
.work-piece.is-type .work-piece__frame { background: transparent; }
.work-piece[data-theme="system"] {
    background:
        linear-gradient(rgba(241, 241, 239, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(241, 241, 239, 0.05) 1px, transparent 1px),
        #07080a;
    background-size: 72px 72px, 72px 72px, auto;
}
.work-piece[data-theme="image"] .work-piece__mid { margin-left: auto; text-align: right; }
.work-piece[data-theme="editorial"] { background: #14110f; }
.work-piece[data-theme="whisper"] { background: #090909; }

.site-footer { text-align: center; padding: 22vh var(--pad) 4rem; }
.site-footer__mark { width: min(22vw, 148px); height: auto; margin: 0 auto 1.6rem; display: block; }
.site-footer__ide,
.site-footer__sig,
.site-footer__world {
    letter-spacing: 0.16em;
    font-size: 0.72rem;
    margin: 0.55rem 0;
}
.site-footer__sig { letter-spacing: 0.22em; }
.site-footer__world { margin-top: 1.6rem; }
.site-footer__nav { display: flex; justify-content: center; gap: 1.2rem; margin-top: 2.4rem; flex-wrap: wrap; }
.site-footer__nav a { text-decoration: none; letter-spacing: 0.14em; font-size: 0.68rem; }

.founder__frame { width: 16vw; height: 22vh; overflow: hidden; margin: 10vh 0 0; }
.founder__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 18%; }

.start {
    display: grid;
    gap: 1rem;
    max-width: 36rem;
    margin: 8vh var(--pad) 18vh;
}
.start label { display: grid; gap: 0.4rem; letter-spacing: 0.14em; font-size: 0.68rem; }
.start input,
.start textarea {
    width: 100%;
    background: transparent;
    color: inherit;
    border: 0;
    border-bottom: 1px solid rgba(241, 241, 239, 0.35);
    padding: 0.7rem 0;
    font: inherit;
    letter-spacing: 0;
    font-size: 1rem;
}
.start__note { color: rgba(241, 241, 239, 0.62); letter-spacing: 0; font-size: 0.95rem; }

.case { background: #050505; color: #f1f1ef; }
.case--missing { min-height: 100svh; padding: 28vh var(--pad); }
.cw { position: relative; min-height: 140svh; background: #000; }
.cw--portal { min-height: 180svh; }
.cw--throne { min-height: 120svh; }
.cw .display { position: relative; z-index: 2; padding: 28vh var(--pad) 0; font-size: clamp(3rem, 8vw, 7rem); }
.cw .micro,
.cw__client { position: relative; z-index: 2; padding: 0 var(--pad); }
.cw__client { margin-top: 1rem; letter-spacing: 0.18em; font-size: 0.72rem; }
.cw__gold {
    position: absolute;
    left: 50%;
    top: 46%;
    width: 18vw;
    height: 18vw;
    margin: -9vw 0 0 -9vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 184, 84, 0.95) 0%, rgba(214, 168, 74, 0.35) 18%, rgba(0, 0, 0, 0) 62%);
    transform: scale(0.22);
    pointer-events: none;
}
.cw__plane {
    position: sticky;
    top: 0;
    width: 16vw;
    height: 14svh;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    z-index: 2;
}
.cw__plane video,
.cw__full,
.cx__full {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 42%;
    display: block;
    background: #000;
}
.cw--throne { position: relative; height: 100svh; min-height: 100svh; overflow: hidden; }
.cw__full {
    position: absolute;
    inset: 0;
    height: 100svh;
    width: 100%;
    transform: scale(1.16);
}
.cw__note,
.cw__space,
.cx__note {
    position: relative;
    z-index: 2;
    max-width: 28rem;
    margin: 8vh var(--pad) 0;
    font-size: clamp(1.15rem, 2vw, 1.6rem);
}
.cw__space {
    position: absolute;
    left: var(--pad);
    bottom: 8vh;
    margin: 0;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    opacity: 0;
}
.case.is-space .cw__space { opacity: 1; }
.cx { position: relative; min-height: 100svh; background: #000; }
.cx__full { height: 100svh; }
.cx__copy {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 18vh var(--pad) 8vh;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72), transparent);
}
.cx--play { padding-top: 18vh; }
.cx--play .display { padding: 0 var(--pad) 4vh; }
.ctype {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 1.4rem;
    padding: 22vh var(--pad) 12vh;
}
.case--system .ctype {
    background:
        linear-gradient(rgba(241, 241, 239, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(241, 241, 239, 0.05) 1px, transparent 1px),
        #07080a;
    background-size: 72px 72px, 72px 72px, auto;
}
.case--image .ctype { align-items: flex-end; text-align: right; background: #080808; }
.case--editorial .ctype { background: #14110f; }
.case--whisper .ctype { background: #090909; }
.case--whisper .display { font-weight: 400; font-size: clamp(2rem, 5vw, 4.2rem); }
.case-next {
    min-height: 70svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 1.5rem;
    padding: 18vh var(--pad) 10vh;
    background: #000;
}
.case-next a { text-decoration: none; }
.case-next .display { font-size: clamp(2.4rem, 7vw, 6rem); }

@media (max-width: 899px) {
    .founder__frame { width: 34vw; height: 24vh; }
    .site-footer__mark { width: min(34vw, 120px); }
    .cw__plane { top: 22vh; }
    .pillar--intelligence .pillar__word,
    .pillar--design .pillar__word,
    .pillar--experience .pillar__word { font-size: 18vw; }
    .experience__heads { height: 26vh; }
}

@media (prefers-reduced-motion: reduce) {
    .founder__frame { width: min(78vw, 640px); height: 62vh; }
    .cw__plane { position: relative; top: auto; width: 100%; height: 70svh; }
    .cw__gold { transform: scale(2.2); }
    .cw__space { opacity: 1; }
}
