:root {
    --cream: #F3EBDA;
    --paper: #FFF8EA;
    --ink: #1E1612;
    --walnut: #2E1F18;
    --trim: #5A3A26;
    --amber: #F2A33A;
    --orange: #EC7A2C;
    --red: #D2472A;
    --muted: #5E4F45;
    --line: rgba(30,22,18,.16);
    --grotesk: 'Inter Tight','Helvetica Neue',Arial,sans-serif;
    --mono: 'IBM Plex Mono',ui-monospace,Menlo,monospace;
    box-sizing: border-box;
    padding-top: env(safe-area-inset-top,0px);
    padding-bottom: env(safe-area-inset-bottom,0px)
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --cream: #F3EBDA
    }
}

:root[data-theme="dark"] {
    --cream: #F3EBDA
}

:root[data-theme="light"] {
    --cream: #F3EBDA
}

*, *::before, *::after {
    box-sizing: border-box
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--grotesk);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden
}

button {
    font: inherit
}

:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 3px
}
/* header (same as the approved header: logo, Menu, Start) */
.hdr {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px clamp(14px,3vw,36px);
    background: color-mix(in srgb,var(--cream) 88%,transparent);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px)
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    text-decoration: none
}

.mono {
    width: 62px;
    height: auto;
    display: block
}

.logo span {
    font-weight: 800;
    font-style: italic;
    font-size: 1.02rem;
    letter-spacing: -.03em
}

.hdr .right {
    display: flex;
    gap: 10px
}

.mk {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 46px;
    padding: 0 18px;
    border-radius: 99px;
    background: var(--walnut);
    color: var(--cream);
    font-weight: 700;
    text-decoration: none
}

.st {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 46px;
    padding: 0 20px;
    border-radius: 99px;
    background: var(--amber);
    color: var(--ink);
    font-weight: 800;
    text-decoration: none
}

@media (max-width:640px) {
    .logo span {
        display: none
    }

    .st .full {
        display: none
    }
}

@media (min-width:641px) {
    .st .short {
        display: none
    }
}


.hdr {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none
}

.note {
    position: fixed;
    left: 50%;
    bottom: calc(12px + env(safe-area-inset-bottom,0px));
    transform: translateX(-50%);
    z-index: 90;
    margin: 0;
    padding: 6px 12px;
    border-radius: 99px;
    background: var(--walnut);
    color: var(--cream);
    font-size: .74rem;
    white-space: nowrap
}

    .note b {
        color: var(--amber)
    }

.wrap {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 clamp(18px,4vw,56px)
}

.kick {
    margin: 0 0 .6em;
    font-family: var(--mono);
    font-weight: 600;
    font-size: .85rem;
    color: var(--red)
}

.sec-h {
    margin: 0;
    font-weight: 800;
    font-size: clamp(2.2rem,5vw,4.4rem);
    line-height: .94;
    letter-spacing: -.05em
}

.ph {
    color: var(--red);
    font-family: var(--mono);
    font-size: .9em
}

/* 1. still hero */
.hero {
    position: sticky;
    top: 0;
    z-index: 0;
    min-height: 100svh;
    display: block;
    padding: calc(150px + env(safe-area-inset-top,0px)) clamp(18px,5vw,72px) 80px;
    background-color: var(--cream);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><g fill='none' stroke-width='6' stroke-opacity='.06'><path d='M0 22A22 22 0 0 0 22 0' stroke='%23D2472A'/><path d='M0 38A38 38 0 0 0 38 0' stroke='%23EC7A2C'/><path d='M0 54A54 54 0 0 0 54 0' stroke='%23F2A33A'/><path d='M120 98A22 22 0 0 0 98 120' stroke='%23D2472A'/><path d='M120 82A38 38 0 0 0 82 120' stroke='%23EC7A2C'/><path d='M120 66A54 54 0 0 0 66 120' stroke='%23F2A33A'/></g></svg>");
    background-size: 120px 120px
}

.hero-in {
    max-width: 1320px;
    margin: 0 auto;
    width: 100%
}

.h-tags {
    display: flex;
    gap: 6px;
    margin: 0 0 clamp(20px,3vw,34px);
    font-family: var(--mono);
    font-weight: 600;
    font-size: .8rem
}

    .h-tags span:first-child {
        padding: 2px 7px;
        border: 1.5px solid var(--ink);
        border-radius: 5px
    }

    .h-tags span:last-child {
        padding: 3px 8px;
        border-radius: 5px;
        background: var(--ink);
        color: var(--cream)
    }

.title {
    margin: 0;
    max-width: min(100%,1150px);
    font-weight: 800;
    font-size: clamp(2.1rem,4.4vw,4.6rem);
    line-height: 1.04;
    letter-spacing: -.045em
}

.h-tags.in {
    display: inline-flex;
    flex-direction: column;
    gap: 3px;
    margin: 0 .6em 0 0;
    vertical-align: .55em;
    font-size: .8rem;
    letter-spacing: 0;
    line-height: 1.2
}

.fill {
    margin: 0;
    max-width: 22ch;
    font-weight: 800;
    font-size: clamp(2.2rem,5.2vw,5.2rem);
    line-height: 1.02;
    letter-spacing: -.045em
}

    .fill .dim {
        color: rgba(30,22,18,.18)
    }

.h-stripes {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: clamp(22px,3vw,34px)
}

    .h-stripes i {
        display: block;
        height: 6px;
        width: min(340px,60%)
    }

        .h-stripes i:nth-child(1) {
            background: var(--amber)
        }

        .h-stripes i:nth-child(2) {
            background: var(--orange)
        }

        .h-stripes i:nth-child(3) {
            background: var(--red)
        }

.h-cue {
    margin: 22px 0 0;
    font-family: var(--mono);
    font-size: .78rem;
    color: var(--muted)
}

/* 2. rising sheet */
.sheet {
    position: relative;
    z-index: 2;
    background: var(--paper);
    border-radius: 28px 28px 0 0;
    box-shadow: 0 -24px 50px rgba(46,31,24,.14)
}

.tab {
    position: absolute;
    left: clamp(18px,5vw,72px);
    top: -44px;
    height: 44px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 20px;
    border-radius: 14px 14px 0 0;
    background: var(--paper);
    font-family: var(--mono);
    font-weight: 600;
    font-size: .82rem
}

    .tab b {
        color: var(--red)
    }

/* story: picture pans inside its own frame */
.story {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    gap: clamp(24px,6vw,110px);
    align-items: start;
    padding: clamp(60px,8vw,110px) 0 0
}

.st-frame {
    position: relative;
    height: min(92vh,860px);
    border-radius: 18px;
    overflow: hidden;
    background: #e9dcc2;
    box-shadow: 0 24px 50px rgba(46,31,24,.18)
}

.st-img {
    position: absolute;
    left: -2%;
    top: -14%;
    width: 112%;
    height: 128%;
    object-fit: cover;
    will-change: transform
}

.st-frame .ph-tag {
    z-index: 2
}

.st-text {
    position: sticky;
    top: 30vh
}

.st-p {
    margin: 0;
    max-width: 26ch;
    font-weight: 700;
    font-size: clamp(1.4rem,2.3vw,2.1rem);
    line-height: 1.18;
    letter-spacing: -.03em
}

@media (max-width:900px) {
    .story {
        grid-template-columns: minmax(0,1fr)
    }

    .st-frame {
        height: 70vh
    }

    .st-text {
        position: static
    }
}
/* 3. founder's log */
.log {
    display: grid;
    grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr);
    gap: clamp(24px,5vw,72px);
    align-items: center;
    padding: clamp(80px,10vw,130px) 0 clamp(60px,8vw,100px)
}

.portrait {
    position: relative;
    justify-self: center;
    width: min(100%,420px)
}

.frame {
    position: relative;
    padding: 14px;
    border-radius: 24px 24px 14px 14px;
    background: linear-gradient(90deg,#efe4cc,#fbf5e8 40%,#e6dac2);
    border: 4px solid var(--trim);
    box-shadow: 0 30px 50px rgba(46,31,24,.25);
    transform: rotate(-2deg)
}

    .frame img {
        display: block;
        width: 100%;
        aspect-ratio: 4/5;
        object-fit: cover;
        border-radius: 12px
    }

    .frame .plate {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 12px;
        font-family: var(--mono);
        font-size: .74rem
    }

        .frame .plate b {
            color: var(--red)
        }

.ph-tag {
    position: absolute;
    left: 24px;
    top: 24px;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(30,22,18,.75);
    color: #ffd79a;
    font-family: var(--mono);
    font-size: .7rem
}

.crt {
    position: relative;
    padding: 14px;
    border-radius: 22px;
    background: #231a15;
    box-shadow: 0 30px 50px rgba(46,31,24,.3)
}

.crt-in {
    position: relative;
    min-height: 340px;
    padding: clamp(18px,3vw,30px);
    border-radius: 14px;
    background: radial-gradient(ellipse at 50% 40%,#f9b54c,#e07a22 75%,#b8601c);
    color: #3b1703;
    font-family: var(--mono);
    font-weight: 500;
    font-size: clamp(.9rem,1.2vw,1.02rem);
    line-height: 1.65;
    overflow: hidden
}

    .crt-in::after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: radial-gradient(ellipse at 25% 15%,rgba(255,255,255,.25),transparent 40%),repeating-linear-gradient(to bottom,rgba(60,20,0,.16) 0 1px,transparent 1px 3px);
        box-shadow: inset 0 0 40px rgba(60,20,0,.5)
    }

.crt-head {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: .78rem;
    letter-spacing: .06em;
    margin-bottom: 14px;
    border-bottom: 1px dashed rgba(59,23,3,.4);
    padding-bottom: 8px
}

.typed p {
    margin: 0 0 .9em
}

.cursor {
    display: inline-block;
    width: .6em;
    height: 1.1em;
    background: #3b1703;
    vertical-align: -.2em;
    animation: blink 1s steps(1) infinite
}

@keyframes blink {
    50% {
        opacity: 0
    }
}

.sig {
    margin-top: 14px;
    font-family: 'Mrs Saint Delafield',cursive;
    font-size: clamp(2.4rem,4vw,3.4rem);
    color: #1f3a7a;
    line-height: 1
}

    .sig small {
        display: block;
        font-family: var(--mono);
        font-size: .72rem;
        color: #3b1703;
        margin-top: 4px
    }

.ex {
    display: inline-block;
    font-family: var(--mono);
    font-size: .7rem;
    color: var(--red);
    border: 1px dashed var(--red);
    border-radius: 6px;
    padding: 2px 8px
}

/* 4. mission timeline (horizontal) */
.tl {
    position: relative;
    height: 100svh;
    overflow: hidden;
    background: var(--walnut);
    color: var(--cream)
}

.tl-head {
    position: absolute;
    left: clamp(18px,4vw,56px);
    top: calc(90px + env(safe-area-inset-top,0px));
    z-index: 2
}

    .tl-head .kick {
        color: var(--amber)
    }

    .tl-head .sec-h {
        color: var(--cream)
    }

.track {
    position: absolute;
    left: 0;
    top: 50%;
    display: flex;
    align-items: center;
    gap: clamp(24px,4vw,60px);
    padding: 0 clamp(18px,4vw,56px) 0 clamp(18px,40vw,520px);
    transform: translateY(-30%)
}

.rail {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 4px;
    background: repeating-linear-gradient(90deg,var(--amber) 0 12px,transparent 12px 22px);
    opacity: .5
}

.ms {
    position: relative;
    flex: none;
    width: clamp(240px,26vw,340px);
    padding: 22px;
    border-radius: 16px;
    background: var(--cream);
    color: var(--ink);
    box-shadow: 0 20px 40px rgba(0,0,0,.35)
}

    .ms:nth-child(even) {
        transform: translateY(-34%)
    }

    .ms:nth-child(odd) {
        transform: translateY(34%)
    }

    .ms .yr {
        font-family: var(--mono);
        font-weight: 600;
        font-size: .82rem;
        color: var(--red)
    }

    .ms h3 {
        margin: .3em 0 .25em;
        font-weight: 800;
        font-size: 1.5rem;
        letter-spacing: -.035em;
        line-height: 1.05
    }

    .ms p {
        margin: 0;
        color: var(--muted);
        line-height: 1.5;
        font-size: .95rem
    }

    .ms::after {
        content: "";
        position: absolute;
        left: 50%;
        width: 14px;
        height: 14px;
        margin-left: -7px;
        border-radius: 50%;
        background: var(--amber);
        box-shadow: 0 0 0 4px var(--walnut),0 0 14px var(--amber)
    }

    .ms:nth-child(odd)::after {
        top: -38px
    }

    .ms:nth-child(even)::after {
        bottom: -38px
    }

.rocket {
    position: absolute;
    left: 0;
    top: 50%;
    width: 46px;
    margin-top: -23px;
    z-index: 3;
    transform: rotate(90deg)
}

/* 5. the dynasty code */
.code {
    padding: clamp(80px,10vw,130px) 0
}

.checks {
    list-style: none;
    margin: 34px 0 0;
    padding: 0;
    display: grid;
    gap: 0
}

.chk {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: clamp(14px,2vw,28px);
    align-items: start;
    padding: clamp(18px,2.6vw,28px) 0;
    border-top: 1px solid var(--line)
}

.box {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 3px solid var(--trim);
    background: var(--cream)
}

    .box svg {
        position: absolute;
        inset: 4px
    }

    .box path {
        fill: none;
        stroke: var(--red);
        stroke-width: 5;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-dasharray: 1;
        stroke-dashoffset: 1
    }

.chk h3 {
    margin: 0;
    font-weight: 800;
    font-size: clamp(1.5rem,3vw,2.6rem);
    letter-spacing: -.04em;
    line-height: 1;
    color: rgba(30,22,18,.25);
    transition: color .4s
}

.chk.done h3 {
    color: var(--ink)
}

.chk p {
    margin: .4em 0 0;
    max-width: 58ch;
    color: var(--muted);
    line-height: 1.55
}

/* 6. crew manifest */
.crew {
    padding: clamp(60px,8vw,110px) 0;
    background: var(--cream)
}

.badges {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 18px;
    margin-top: 34px
}

@media (max-width:1000px) {
    .badges {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }
}

@media (max-width:560px) {
    .badges {
        grid-template-columns: minmax(0,1fr)
    }
}

.badge {
    perspective: 1000px;
    height: 400px;
    cursor: pointer
}

.b-in {
    position: relative;
    height: 100%;
    transition: transform .7s cubic-bezier(.2,.8,.2,1);
    transform-style: preserve-3d
}

.badge:hover .b-in, .badge.flip .b-in, .badge:focus-visible .b-in {
    transform: rotateY(180deg)
}

.face {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 18px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    background: var(--paper);
    border: 3px solid var(--trim);
    box-shadow: 0 18px 30px rgba(46,31,24,.18)
}

    .face.back {
        transform: rotateY(180deg);
        background: var(--walnut);
        color: var(--cream);
        justify-content: center
    }

.f-top {
    display: flex;
    justify-content: space-between;
    font-family: var(--mono);
    font-size: .7rem;
    color: var(--muted)
}

    .f-top b {
        color: var(--red)
    }

.pic {
    position: relative;
    margin: 14px 0;
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    background: #e9dcc2
}

    .pic img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block
    }

    .pic svg {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%
    }

        .pic svg.patch {
            position: absolute;
            inset: auto;
            right: 10px;
            bottom: 10px;
            width: 64px;
            height: 64px;
            filter: drop-shadow(0 4px 6px rgba(0,0,0,.3))
        }

.face h3 {
    margin: 0;
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -.03em
}

.face .role {
    font-family: var(--mono);
    font-size: .76rem;
    color: var(--muted);
    margin-top: 4px
}

.back .q {
    font-family: var(--mono);
    font-size: .72rem;
    color: var(--amber);
    margin-bottom: 10px
}

.back p {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.45;
    font-weight: 700
}

.back small {
    margin-top: 16px;
    font-family: var(--mono);
    font-size: .7rem;
    opacity: .6
}

/* 7. ground stations */
.ground {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    gap: clamp(24px,5vw,72px);
    align-items: center;
    padding: clamp(80px,10vw,130px) 0
}

.gscr {
    position: relative;
    aspect-ratio: 1;
    max-width: 560px;
    width: 100%;
    justify-self: center;
    padding: 16px;
    border-radius: 50%;
    background: #231a15;
    box-shadow: 0 30px 60px rgba(46,31,24,.3)
}

.gscr-in {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 45%,#2c1d15,#0f0805 72%);
    overflow: hidden
}

    .gscr-in::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 50%;
        background: repeating-linear-gradient(to bottom,rgba(0,0,0,.25) 0 1px,transparent 1px 3px),radial-gradient(ellipse at 30% 25%,rgba(255,255,255,.12),transparent 45%);
        pointer-events: none
    }

.gscr svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%
}

.stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 28px
}

.stat {
    padding-top: 14px;
    border-top: 3px solid var(--amber)
}

    .stat:nth-child(2) {
        border-color: var(--orange)
    }

    .stat:nth-child(3) {
        border-color: var(--red)
    }

    .stat:nth-child(4) {
        border-color: var(--trim)
    }

    .stat b {
        display: block;
        font-weight: 800;
        font-size: clamp(2.4rem,4.6vw,3.8rem);
        letter-spacing: -.05em;
        line-height: 1
    }

    .stat span {
        color: var(--muted)
    }

.legend {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

    .legend span {
        padding: 6px 12px;
        border-radius: 99px;
        background: var(--cream);
        box-shadow: inset 0 0 0 1px var(--line);
        font-weight: 700;
        font-size: .85rem
    }

        .legend span::before {
            content: "● ";
            color: var(--amber)
        }

        .legend span.hq::before {
            color: var(--red)
        }

/* 8. join */
.join {
    padding: clamp(70px,9vw,120px) 0;
    text-align: center;
    background: var(--walnut);
    color: var(--cream)
}

    .join .kick {
        color: var(--amber)
    }

    .join .sec-h {
        color: var(--cream)
    }

    .join p {
        margin: 1em auto 0;
        max-width: 46ch;
        color: rgba(243,235,218,.75);
        line-height: 1.55
    }

.btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 28px
}

.btn {
    display: inline-flex;
    align-items: center;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 99px;
    font-weight: 800;
    text-decoration: none
}

    .btn.a {
        background: var(--amber);
        color: var(--ink)
    }

    .btn.c {
        background: transparent;
        color: var(--cream);
        box-shadow: inset 0 0 0 2px var(--cream)
    }

.foot {
    padding: 50px 20px;
    text-align: center;
    color: var(--muted)
}

@media (max-width:900px) {
    .log, .ground {
        grid-template-columns: minmax(0,1fr)
    }

    .crt-in {
        min-height: 0
    }

    .tl {
        height: auto;
        overflow: visible;
        padding: 80px 0 60px
    }

    .tl-head {
        position: static;
        padding: 0 18px 30px
    }

    .track {
        position: static;
        transform: none;
        flex-direction: column;
        padding: 0 18px;
        gap: 18px
    }

    .ms, .ms:nth-child(even), .ms:nth-child(odd) {
        width: 100%;
        transform: none
    }

        .ms::after, .rail, .rocket {
            display: none
        }
}

@media (prefers-reduced-motion: reduce) {
    .cursor {
        animation: none
    }

    .b-in {
        transition: none
    }
}
/* ===== Crew: TTD-1000 instant camera ===== */
.cam {
    position: relative;
    height: 100svh;
    overflow: hidden;
    background: var(--cream);
    background-image: radial-gradient(ellipse 45% 55% at 26% 46%,rgba(242,163,58,.18),transparent 70%)
}

.cam-head {
    position: absolute;
    left: clamp(18px,4vw,56px);
    top: calc(90px + env(safe-area-inset-top,0px));
    z-index: 7;
    max-width: 34ch
}

.cam-sub {
    margin: 12px 0 0;
    color: var(--muted);
    line-height: 1.5
}

.flash {
    position: absolute;
    inset: 0;
    z-index: 20;
    background: #fff7e6;
    opacity: 0;
    pointer-events: none
}

.camera {
    position: absolute;
    z-index: 5;
    left: clamp(18px,6vw,110px);
    top: 36%;
    width: min(34vw,440px);
    filter: drop-shadow(0 26px 30px rgba(46,31,24,.35))
}

    .camera svg {
        display: block;
        width: 100%;
        height: auto
    }

.prints {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none
}

.print {
    position: absolute;
    margin: 0;
    width: min(17vw,230px);
    padding: 12px 12px 0;
    background: #FBF8F1;
    border-radius: 3px;
    pointer-events: auto;
    box-shadow: 0 1px 0 rgba(0,0,0,.04),0 14px 26px rgba(46,31,24,.28);
    transition: box-shadow .3s
}

    .print::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 3px;
        pointer-events: none;
        background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='p'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23p)' opacity='.06'/></svg>")
    }

.shot {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: #2b1a10
}

    .shot img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: sepia(.12) saturate(1.05) contrast(1.02)
    }

    .shot::after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: linear-gradient(115deg,rgba(255,170,90,.18),transparent 30%),radial-gradient(ellipse at 50% 50%,transparent 60%,rgba(40,20,5,.35))
    }

.dev {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: radial-gradient(ellipse at 50% 45%,#4a3020,#20140c)
}

.stamp {
    position: absolute;
    right: 6%;
    bottom: 5%;
    z-index: 3;
    font-family: var(--mono);
    font-weight: 600;
    font-size: max(9px,.72rem);
    color: #ff8a3c;
    text-shadow: 0 0 4px rgba(255,120,40,.7);
    letter-spacing: .06em
}

.cap {
    padding: 9% 2% 12%;
    text-align: left
}

    .cap b {
        display: block;
        font-family: 'Caveat',cursive;
        font-weight: 700;
        font-size: clamp(1.3rem,1.9vw,1.75rem);
        line-height: 1;
        color: #22314f
    }

    .cap span {
        display: block;
        margin-top: 5px;
        font-family: var(--mono);
        font-size: max(9px,.66rem);
        color: var(--muted);
        letter-spacing: .03em
    }

.print.blank .shot {
    display: grid;
    place-items: center;
    background: #efe2c4
}

    .print.blank .shot p {
        margin: 0;
        padding: 14%;
        text-align: center;
        font-family: 'Caveat',cursive;
        font-weight: 700;
        font-size: clamp(1.4rem,2vw,1.9rem);
        line-height: 1.1;
        color: #22314f
    }

.print.blank .cap a {
    display: inline-flex;
    margin-top: 2px;
    padding: 7px 12px;
    border-radius: 99px;
    background: var(--amber);
    color: var(--ink);
    font-family: var(--grotesk);
    font-weight: 800;
    font-size: .8rem;
    text-decoration: none
}

.print:hover {
    box-shadow: 0 1px 0 rgba(0,0,0,.04),0 24px 40px rgba(46,31,24,.35)
}

@media (max-width:900px) {
    .cam-head {
        top: calc(76px + env(safe-area-inset-top,0px))
    }

    .cam-sub {
        display: none
    }

    .camera {
        left: 50%;
        top: 22%;
        width: min(66vw,300px);
        margin-left: calc(min(66vw,300px) / -2)
    }

    .print {
        width: min(42vw,190px);
        padding: 9px 9px 0
    }
}
/* reduced motion: a simple row of prints, no camera sequence */
.cam.static {
    height: auto;
    padding: 120px 18px 60px
}

    .cam.static .camera, .cam.static .flash {
        display: none
    }

    .cam.static .cam-head {
        position: static;
        margin-bottom: 24px
    }

    .cam.static .prints {
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: 18px
    }

    .cam.static .print {
        position: relative;
        left: auto !important;
        top: auto !important
    }

    .cam.static .dev {
        display: none
    }

/* values: a clean stack; the tuned word lights up, the description and dial needles line up with it */
.vals {
    position: relative;
    height: 100svh;
    overflow: hidden;
    background: var(--paper)
}

.v-head {
    position: absolute;
    left: clamp(64px,9vw,150px);
    right: clamp(64px,9vw,150px);
    top: calc(88px + env(safe-area-inset-top,0px));
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 20px
}

    .v-head .kick {
        margin: 0
    }

.v-title {
    margin: 0;
    font-weight: 800;
    font-size: clamp(1.2rem,1.8vw,1.6rem);
    letter-spacing: -.03em
}

.v-stage {
    position: absolute;
    left: clamp(64px,9vw,150px);
    right: clamp(64px,9vw,150px);
    top: calc(150px + env(safe-area-inset-top,0px));
    bottom: 4vh;
    display: grid;
    grid-template-columns: minmax(0,1.25fr) minmax(0,1fr);
    gap: 40px
}

.v-words {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%
}

.vw {
    font-weight: 800;
    font-size: min(8.6vw,calc((100svh - 190px) / 5.6));
    line-height: 1;
    letter-spacing: -.055em;
    color: rgba(30,22,18,.12);
    transition: color .35s
}

    .vw.on {
        color: var(--ink)
    }

.v-descs {
    position: relative
}

.vd {
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
    max-width: 30ch;
    font-weight: 700;
    font-size: clamp(1.05rem,1.5vw,1.35rem);
    line-height: 1.35;
    letter-spacing: -.015em;
    opacity: 0;
    transition: opacity .35s
}

    .vd.on {
        opacity: 1
    }

.vf {
    display: block;
    margin-bottom: .5em;
    font-family: var(--mono);
    font-weight: 600;
    font-size: .72rem;
    letter-spacing: .08em;
    color: var(--red)
}

.dial {
    position: absolute;
    top: calc(150px + env(safe-area-inset-top,0px));
    bottom: 4vh;
    width: 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between
}

    .dial.l {
        left: 16px;
        align-items: flex-start
    }

    .dial.r {
        right: 16px;
        align-items: flex-end
    }

    .dial i {
        display: block;
        height: 1.5px;
        width: 14px;
        background: rgba(30,22,18,.3);
        transition: width .15s,background .15s
    }

        .dial i.big {
            background: var(--ink)
        }

.needle {
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    margin-top: -1.5px;
    background: var(--red);
    box-shadow: 0 0 8px rgba(210,71,42,.6);
    top: 0
}

@media (max-width:900px) {
    .v-head {
        flex-direction: column;
        gap: 4px;
        left: 48px;
        right: 48px
    }

    .v-stage {
        left: 48px;
        right: 48px;
        grid-template-columns: minmax(0,1fr);
        grid-template-rows: auto 1fr;
        top: calc(170px + env(safe-area-inset-top,0px))
    }

    .v-words {
        height: auto;
        gap: 2px
    }

    .vw {
        font-size: clamp(2.2rem,11vw,3.4rem)
    }

    .vd {
        top: 0 !important
    }

    .dial {
        top: calc(170px + env(safe-area-inset-top,0px))
    }
}

.vals.static {
    height: auto;
    padding: 110px 24px 60px
}

    .vals.static .v-head, .vals.static .v-stage {
        position: static;
        display: block
    }

    .vals.static .vw {
        color: var(--ink)
    }

    .vals.static .vd {
        position: static;
        opacity: 1;
        margin: 0 0 1.2em
    }

    .vals.static .dial {
        display: none
    }

.pv {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    border-radius: 12px;
    background: #2b1a10
}

.pv-img {
    position: absolute;
    left: -8%;
    top: -16%;
    width: 116%;
    height: 132%;
    object-fit: cover;
    will-change: transform
}

/* velocity tilt targets */
.st-frame, .gscr, .log .sec-h, .ground .sec-h, .cam-head .sec-h {
    transform: skewY(var(--skew,0deg));
    transform-origin: 50% 50%;
    will-change: transform
}

html.lenis, html.lenis body {
    height: auto
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important
}

.lenis.lenis-stopped {
    overflow: hidden
}

.title .dim, .fill .dim {
    color: rgba(30,22,18,.18)
}
/* founder's log: portrait and screen line up edge to edge */
.log{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);grid-template-rows:auto auto auto;row-gap:14px;align-items:stretch}
.log > div:last-child{display:contents}
.log > div:last-child > .kick{grid-column:1/-1;grid-row:1;margin:0}
.log #log-h{grid-column:1/-1;grid-row:2;margin-bottom:clamp(14px,2vw,26px)}
.log .portrait{grid-column:1;grid-row:3;width:100%;justify-self:stretch;display:flex}
.log .frame{transform:none;display:flex;flex-direction:column;width:100%}
.log .frame .pv{flex:1;aspect-ratio:auto;min-height:300px}
.log .crt{grid-column:2;grid-row:3;margin-top:0!important;display:flex;flex-direction:column}
.log .crt-in{flex:1}
.log > div:last-child > p:last-child{grid-column:2;grid-row:4;margin:0}
@media (max-width:900px){
  .log{grid-template-columns:minmax(0,1fr)}
  .log .portrait,.log .crt{grid-column:1}
  .log .portrait{grid-row:3}.log .crt{grid-row:4}
  .log .frame .pv{min-height:0;aspect-ratio:4/5}
}
/* the portrait photo is oversized inside its window so it can drift without showing an edge */
.frame .pv-img {
    width: 116%;
    height: 132%;
    max-width: none;
    aspect-ratio: auto;
    border-radius: 0
}
