:root {
     --bg: #0a0a0b;
     --ink: #ece8e1;
     --mute: #8d887f;
     --dim: #5b5852;
     --line: rgba(236, 232, 225, .10);
     --sand: #cdb48f;
     --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
     --ease: cubic-bezier(.2, .7, .2, 1);
}

* {
     box-sizing: border-box;
     margin: 0;
     padding: 0
}

html {
     background: var(--bg)
}

body {
     background: var(--bg);
     color: var(--ink);
     font-family: var(--mono);
     min-height: 100vh;
     overflow-x: hidden;
     -webkit-font-smoothing: antialiased;
     text-rendering: optimizeLegibility;
}

a {
     color: inherit;
     text-decoration: none
}

button {
     font-family: inherit
}

/* ---------- backdrop: quiet, filmic ---------- */
.bg {
     position: fixed;
     inset: 0;
     z-index: 0;
     pointer-events: none;
     background:
          radial-gradient(70vmax 46vmax at 50% -8%, rgba(205, 180, 143, .085), transparent 70%),
          radial-gradient(50vmax 40vmax at 88% 108%, rgba(120, 140, 145, .07), transparent 70%),
          var(--bg);
}

.bg::after {
     content: "";
     position: absolute;
     inset: 0;
     background: radial-gradient(120% 100% at 50% 40%, transparent 55%, rgba(0, 0, 0, .55));
}

.bg .noise {
     position: absolute;
     inset: 0;
     opacity: .07;
     mix-blend-mode: overlay;
     background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>")
}

/* ---------- cursor (shared) ---------- */
.caret {
     display: inline-block;
     width: .58em;
     height: .92em;
     margin-left: .06em;
     background: var(--ink);
     opacity: .88;
     vertical-align: -.1em;
     animation: blink 1.05s steps(1) infinite;
}

@keyframes blink {
     50% {
          opacity: 0
     }
}

/* ---------- loader ---------- */
#loader {
     position: fixed;
     inset: 0;
     z-index: 100;
     background: var(--bg);
     display: flex;
     align-items: center;
     justify-content: center;
     transition: opacity .9s ease, visibility .9s ease;
}

#loader.hide {
     opacity: 0;
     visibility: hidden
}

.load-line {
     font-size: clamp(1.5rem, 5.6vw, 2.6rem);
     font-weight: 500;
     letter-spacing: -.03em;
     white-space: nowrap
}

.load-line .prompt {
     color: var(--sand);
     margin-right: .7ch;
     font-weight: 400
}

/* ---------- layout ---------- */
main {
     position: relative;
     z-index: 1;
     min-height: 100vh;
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: flex-start;
     padding: clamp(28px, 7vh, 72px) 24px 80px
}

.reveal {
     opacity: 0;
     transform: translateY(14px);
     transition: opacity 1s var(--ease), transform 1s var(--ease)
}

body.ready .reveal {
     opacity: 1;
     transform: none
}

body.ready .reveal.d1 {
     transition-delay: .5s
}

body.ready .reveal.d2 {
     transition-delay: .8s
}

body.ready .reveal.d3 {
     transition-delay: 1.1s
}

/* ---------- photo: arch window, dissolving into the page ---------- */
.arch {
     position: relative;
     width: clamp(210px, 26vw, 290px);
     aspect-ratio: 4/5.1;
     --mx: 0;
     --my: 0;
     opacity: 0;
     transform: translateY(26px) scale(.985);
     filter: blur(10px);
     transition: opacity 1.6s var(--ease), transform 1.6s var(--ease), filter 1.6s var(--ease);
}

body.ready .arch {
     opacity: 1;
     transform: none;
     filter: none
}

.arch-line {
     position: absolute;
     inset: -14px -14px 0;
     border: 1px solid rgba(205, 180, 143, .3);
     border-bottom: none;
     border-radius: 50% 50% 0 0 / 40% 40% 0 0;
     -webkit-mask-image: linear-gradient(to bottom, #000 25%, transparent 82%);
     mask-image: linear-gradient(to bottom, #000 25%, transparent 82%);
     transform: translate(calc(var(--mx)*-6px), calc(var(--my)*-4px));
     transition: transform .5s ease-out;
}

.arch-frame {
     position: absolute;
     inset: 0;
     overflow: hidden;
     border-radius: 50% 50% 22px 22px / 40% 40% 22px 22px;
     -webkit-mask-image: linear-gradient(to bottom, #000 56%, transparent 99%);
     mask-image: linear-gradient(to bottom, #000 56%, transparent 99%);
     background: #111;
}

.shot {
     width: 100%;
     height: 100%;
     object-fit: cover;
     object-position: 50% 22%;
     display: block;
     filter: grayscale(.18) contrast(1.08) saturate(.8) brightness(.93);
}

.tone {
     position: absolute;
     inset: 0;
     pointer-events: none;
     background:
          linear-gradient(180deg, rgba(205, 180, 143, .12), transparent 45%),
          radial-gradient(120% 90% at 50% 30%, transparent 52%, rgba(0, 0, 0, .55));
}

.grain {
     position: absolute;
     inset: 0;
     pointer-events: none;
     opacity: .16;
     mix-blend-mode: overlay;
     background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>")
}

/* a slow glint of light crossing the frame — a nod to the lenses */
.sweep {
     position: absolute;
     inset: -20% -60%;
     pointer-events: none;
     mix-blend-mode: screen;
     background: linear-gradient(105deg, transparent 43%, rgba(255, 240, 215, .14) 50%, transparent 57%);
     transform: translateX(-60%);
     animation: sweep 10s ease-in-out 3s infinite
}

@keyframes sweep {

     0%,
     55% {
          transform: translateX(-60%)
     }

     85%,
     100% {
          transform: translateX(60%)
     }
}

.ph {
     position: absolute;
     inset: 0;
     display: none;
     place-items: center;
     text-align: center;
     color: var(--mute);
     font-size: .78rem;
     line-height: 1.7;
     padding: 2rem
}

.arch.noimg .shot {
     display: none
}

.arch.noimg .ph {
     display: grid
}

/* ---------- title ---------- */
.title {
     position: relative;
     z-index: 2;
     margin-top: clamp(-3.4rem, -6vw, -2.2rem);
     font-size: clamp(2rem, 6.6vw, 4.1rem);
     font-weight: 600;
     letter-spacing: -.05em;
     line-height: 1.1;
     text-align: center;
     white-space: nowrap;
     min-height: 1.1em;
}

.title .t {
     background: linear-gradient(180deg, #f5f1ea, #b7b1a6);
     -webkit-background-clip: text;
     background-clip: text;
     color: transparent
}

.bio {
     max-width: 540px;
     text-align: center;
     color: var(--mute);
     font-size: clamp(.92rem, 2.1vw, 1.04rem);
     line-height: 1.85;
     margin-top: 1.3rem;
     font-weight: 300
}

.bio b {
     color: var(--ink);
     font-weight: 400;
     border-bottom: 1px solid rgba(205, 180, 143, .35)
}

.divider {
     width: 1px;
     height: 44px;
     background: linear-gradient(var(--line), transparent);
     margin: 2.2rem 0 1.4rem
}

/* ---------- stage ---------- */
.stage {
     position: relative;
     width: 100%;
     max-width: 880px;
     display: flex;
     flex-direction: column;
     align-items: center;
     min-height: 330px
}

.big {
     font-size: clamp(1.6rem, 5.2vw, 3.3rem);
     font-weight: 600;
     letter-spacing: -.045em;
     text-align: center;
     line-height: 1.15;
     min-height: 1.15em
}

.big .caret {
     height: .8em;
     vertical-align: -.04em
}

.arrow {
     display: inline-block;
     max-width: 0;
     overflow: hidden;
     vertical-align: bottom;
     opacity: 0;
     color: var(--sand);
     transition: max-width .6s var(--ease), opacity .6s ease, margin-left .6s var(--ease);
}

.arrow.in {
     max-width: 1.4em;
     opacity: 1;
     margin-left: .3em;
     animation: nudge 1.8s ease-in-out 1s infinite alternate
}

@keyframes nudge {
     to {
          margin-left: .55em
     }
}

.fadeable {
     opacity: 0;
     transform: translateY(8px);
     transition: opacity .5s ease, transform .5s var(--ease);
     pointer-events: none
}

.fadeable.in {
     opacity: 1;
     transform: none;
     pointer-events: auto
}

.sub {
     color: var(--mute);
     font-size: .82rem;
     margin-top: .9rem;
     text-align: center;
     letter-spacing: .01em
}

.cta-row {
     display: flex;
     gap: 14px;
     margin-top: 2rem;
     flex-wrap: wrap;
     justify-content: center
}

.cta {
     font-size: .98rem;
     font-weight: 400;
     cursor: pointer;
     color: var(--ink);
     padding: .95rem 1.7rem;
     border-radius: 999px;
     background: rgba(236, 232, 225, .03);
     border: 1px solid rgba(236, 232, 225, .16);
     transition: transform .3s var(--ease), border-color .3s ease, background .3s ease;
}

.cta:hover {
     transform: translateY(-2px);
     border-color: rgba(205, 180, 143, .7);
     background: rgba(205, 180, 143, .07)
}

.cta .k {
     color: var(--dim);
     margin-right: .8ch
}

/* ---------- profile cards ---------- */
.links {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
     gap: 14px;
     width: 100%;
     margin-top: 2.2rem
}

.card {
     display: flex;
     align-items: center;
     gap: 14px;
     padding: 14px 16px;
     border-radius: 20px;
     background: rgba(236, 232, 225, .03);
     border: 1px solid var(--line);
     opacity: 0;
     transform: translateY(14px);
     transition: opacity .7s var(--ease), transform .7s var(--ease), border-color .3s ease, background .3s ease;
}

.links.in .card {
     opacity: 1;
     transform: none;
     transition-delay: var(--d, 0s)
}

.links.settled .card {
     transition-delay: 0s;
     transition-duration: .35s
}

.links.settled .card:hover {
     transform: translateY(-3px);
     border-color: rgba(205, 180, 143, .5);
     background: rgba(236, 232, 225, .05)
}

.pfp {
     width: 50px;
     height: 50px;
     border-radius: 50%;
     flex: none;
     overflow: hidden;
     background: #17171a;
     display: grid;
     place-items: center;
     font-weight: 500;
     font-size: .85rem;
     color: var(--mute);
     box-shadow: 0 0 0 1px rgba(236, 232, 225, .14);
}

.pfp img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     display: block;
     opacity: 0;
     transition: opacity .5s ease
}

.pfp img.ok {
     opacity: 1
}

.meta {
     min-width: 0;
     flex: 1
}

.meta .n {
     font-size: .92rem;
     font-weight: 500
}

.meta .h {
     font-size: .74rem;
     color: var(--mute);
     margin-top: 3px;
     overflow: hidden;
     text-overflow: ellipsis;
     white-space: nowrap
}

.go {
     color: var(--dim);
     transition: transform .3s var(--ease), color .3s ease
}

.card:hover .go {
     transform: translate(3px, -3px);
     color: var(--sand)
}

.back {
     margin-top: 1.8rem;
     background: none;
     border: none;
     color: var(--mute);
     font-size: .82rem;
     cursor: pointer;
     padding: .5rem 1rem;
     border-radius: 999px;
     transition: color .2s ease, background .2s ease, opacity .5s ease, transform .5s var(--ease);
}

.back:hover {
     color: var(--ink);
     background: rgba(236, 232, 225, .05)
}

@media (max-width:520px) {
     .stage {
          min-height: 0
     }

     .links {
          grid-template-columns: 1fr
     }
}

@media (prefers-reduced-motion:reduce) {
     * {
          animation-duration: .01ms !important;
          animation-iteration-count: 1 !important;
          transition-duration: .01ms !important
     }
}