/* =====================================================================
   vision mock: one wall, every section an object pinned to it.
   loads after te.css and only overrides it.
   green rule: money green means "live / on". play, a live link, the clock's second hand.
   ===================================================================== */

/* ---------- the wall keeps going ---------- */
body { background: #040404; }
body::before { content: ""; position: fixed; inset: 0; z-index: -2; background: var(--brick, none) center / 1200px auto repeat; opacity: .55; }
body::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 80% at 50% 40%, #000000a8 0%, #000000d8 60%, #000 100%); }
.sheet, .connect { border-top: 0; position: relative; }
.sheet::before { content: ""; position: absolute; left: 4vw; right: 4vw; top: 0; height: 1px; background: linear-gradient(90deg, transparent, #ffffff1a 20%, #ffffff1a 80%, transparent); }
.kicker { color: #9a9d9f; }

/* reveal: objects settle onto the wall as you reach them */
.rv { opacity: 0; transform: translateY(26px) rotate(var(--rv, 0deg)); transition: opacity .7s ease, transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

/* ---------- 001 bio: a typed sheet clipped to the wall, the plant line pulled out ---------- */
.v-bio { align-items: start; }
.pull { margin: 6vh 0 0; padding: 0 0 0 22px; border-left: 2px solid var(--ink); font: 300 clamp(22px, 2.3vw, 34px)/1.25 Manrope, sans-serif; letter-spacing: -.01em; color: var(--ink); max-width: 17ch; }
.letter { --rv: 2deg; position: relative; background: #e8e5dc; color: #1d1d1d; padding: 54px clamp(24px, 4vw, 60px) 46px; border-radius: 2px; rotate: -.6deg;
  box-shadow: 0 1px 0 #fff8 inset, 0 30px 60px #000c, 0 6px 14px #000a; max-width: 760px;
  background-image: radial-gradient(#0000000d 1px, transparent 1.3px), linear-gradient(180deg, #f0ede5, #e2ded3); background-size: 4px 4px, 100% 100%; }
.letter p { margin: 0 0 1.05em; font: 400 clamp(14px, 1.15vw, 16px)/1.75 "IBM Plex Mono", monospace; color: #1f1f1f; max-width: 62ch; }
.letter p:last-child { margin: 0; }
.form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0 0 30px; border-top: 1.5px solid #1d1d1d; border-bottom: 1.5px solid #1d1d1d; }
.form div { padding: 9px 10px 10px; border-right: 1px solid #1d1d1d44; } .form div:last-child { border-right: 0; }
.form dt { font: 500 9px/1 "IBM Plex Mono", monospace; letter-spacing: .14em; text-transform: uppercase; color: #6b6b6b; margin-bottom: 6px; }
.form dd { margin: 0; font: 500 14px/1.2 Manrope, sans-serif; color: #111; }
.clip { position: absolute; top: -18px; left: 46px; width: 22px; height: 64px; border: 2.5px solid #9a9a9a; border-radius: 12px; border-bottom-color: transparent; box-shadow: 1px 1px 0 #0006; }
.clip::after { content: ""; position: absolute; left: 4px; right: 4px; top: 8px; height: 40px; border: 2.5px solid #b5b5b5; border-radius: 9px; border-top-color: transparent; }

/* ---------- 002 the grind: a punch-clock rack, one time card per job ---------- */
.v-grind { align-items: start; }
.clock { display: grid; justify-items: start; gap: 10px; margin-top: 5vh; }
.clock svg { width: clamp(120px, 11vw, 168px); height: auto; overflow: visible; }
.clock .face { fill: #e8e5dc; stroke: #2a2a2a; stroke-width: 3; filter: drop-shadow(0 10px 18px #000c); }
.clock .ticks line { stroke: #222; stroke-width: 1.2; } .clock .ticks line.q { stroke-width: 3; }
.clock .hh, .clock .mh { stroke: #111; stroke-linecap: round; } .clock .hh { stroke-width: 4.5; } .clock .mh { stroke-width: 3; }
.clock .sh { stroke: #1f8f5c; stroke-width: 1.4; } .clock .pin { fill: #111; }
.tally { margin: 28px 0 0; font: 400 12px/2 "IBM Plex Mono", monospace; color: var(--mute); }
.tally b { font: 300 26px/1 Manrope, sans-serif; color: var(--ink); margin-right: 8px; letter-spacing: -.02em; }
.rack { background: linear-gradient(180deg, #2a2b2c, #1b1c1d); border-radius: 6px; padding: 26px 22px 6px; box-shadow: inset 0 1px 0 #ffffff1c, inset 0 -2px 0 #0008, 0 30px 60px #000c;
  background-image: linear-gradient(180deg, #2b2c2d, #1a1b1c), repeating-linear-gradient(90deg, #ffffff05 0 1px, transparent 1px 3px); background-blend-mode: overlay; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 18px 14px; }
.slot { position: relative; height: 210px; }
.tcard { position: absolute; left: 6px; right: 6px; top: 0; height: 196px; background: #ebe8df; color: #1a1a1a; border-radius: 2px; padding: 9px 10px; display: flex; flex-direction: column; gap: 6px;
  rotate: var(--r); transition: transform .35s cubic-bezier(.2, .7, .2, 1), rotate .35s; box-shadow: 0 4px 10px #0009;
  background-image: repeating-linear-gradient(180deg, transparent 0 19px, #0000001a 19px 20px); background-position: 0 68px; }
.slot { outline: none; cursor: pointer; } .slot:hover .tcard, .slot:focus .tcard { transform: translateY(-86px); rotate: 0deg; z-index: 3; } .slot:hover, .slot:focus { z-index: 3; }
.slot:focus-visible .tcard { box-shadow: 0 0 0 2px #fff, 0 4px 10px #0009; }
.tc-h { display: flex; justify-content: space-between; font: 500 8px/1 "IBM Plex Mono", monospace; letter-spacing: .14em; text-transform: uppercase; color: #555; border-bottom: 1.5px solid #1a1a1a; padding-bottom: 5px; }
.tc-co { font: 500 15px/1.1 Manrope, sans-serif; letter-spacing: -.01em; }
.tc-ti { position: absolute; left: 10px; right: 10px; top: 132px; font: 400 10.5px/1.3 "IBM Plex Mono", monospace; color: #444; }
.tc-rows { display: grid; gap: 1px; margin-top: auto; font: 500 11px/19px "IBM Plex Mono", monospace; }
.tc-rows span { display: flex; justify-content: space-between; } .tc-rows i { font-style: normal; color: #777; text-transform: uppercase; font-size: 8.5px; letter-spacing: .12em; }
.stamp { position: absolute; right: 8px; top: 92px; font: 700 11px/1 "IBM Plex Mono", monospace; letter-spacing: .06em; color: #1a1a1a; border: 2px solid #1a1a1a; padding: 4px 6px; rotate: -9deg; opacity: .72; mix-blend-mode: multiply; }
.pocket { position: absolute; left: 0; right: 0; bottom: 0; height: 84px; border-radius: 3px 3px 4px 4px; z-index: 1;
  background: linear-gradient(180deg, #3a3b3d, #242526 40%, #1c1d1e); box-shadow: inset 0 1px 0 #ffffff26, inset 0 -1px 0 #000, 0 -2px 6px #0008; }
.pocket::after { content: ""; position: absolute; left: 50%; top: 10px; width: 34%; height: 4px; translate: -50% 0; border-radius: 4px; background: #121212; box-shadow: 0 1px 0 #ffffff14; }

/* ---------- 003 the sound: close the gap ---------- */
.music { row-gap: 26px; }

/* ---------- 005 hobbies: prints still developing instead of blank cards ---------- */
.side.front .dev { flex: 1; position: relative; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(120% 90% at 40% 35%, #4a4a48 0%, #2a2a29 45%, #141414 100%); }
.side.front .dev::before { content: ""; position: absolute; inset: 0; opacity: .5; background-image: radial-gradient(#ffffff14 1px, transparent 1.4px); background-size: 3px 3px; }
.side.front .dev::after { content: ""; position: absolute; inset: -20%; background: radial-gradient(closest-side, #ffffff22, transparent); animation: develop 6s ease-in-out infinite; }
.side.front .dev span { position: relative; z-index: 1; font: 400 10px/1 "IBM Plex Mono", monospace; letter-spacing: .3em; text-transform: uppercase; color: #ffffff70; }
@keyframes develop { 0%, 100% { transform: translate(-8%, -6%); opacity: .4; } 50% { transform: translate(8%, 6%); opacity: 1; } }

/* ---------- 006 connect: hardware keys, grouped, live ones lit ---------- */
.v-connect { align-items: start; }
.keys { display: grid; gap: 18px; }
.krow { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; align-items: center; }
.klab { font: 400 11px/1.3 "IBM Plex Mono", monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.kset { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.key { position: relative; display: grid; grid-template-columns: 22px 1fr; grid-template-rows: auto auto; column-gap: 12px; row-gap: 5px; align-items: center; padding: 16px 16px 15px; min-height: 76px;
  border-radius: 10px; background: linear-gradient(180deg, #1c1d1e, #121314); border: 1px solid #ffffff1c; color: var(--ink);
  box-shadow: inset 0 1px 0 #ffffff1a, 0 4px 0 #050505, 0 6px 14px #000c; transition: transform .12s, box-shadow .12s, border-color .2s; }
.key svg { grid-row: 1 / 3; width: 22px; height: 22px; fill: currentColor; transition: fill .2s; }
.key .kn { font: 400 15px/1 Manrope, sans-serif; } .key .ks { font: 400 10px/1.3 "IBM Plex Mono", monospace; color: var(--mute); overflow-wrap: break-word; }
.key .led { position: absolute; top: 10px; right: 10px; width: 6px; height: 6px; border-radius: 50%; background: #2a2a2a; box-shadow: inset 0 1px 1px #000; }
.key.live .led { background: #1f8f5c; box-shadow: 0 0 0 2px #1f8f5c2e, 0 0 8px #1f8f5caa; }
.key.live:hover { border-color: #ffffff40; transform: translateY(-1px); box-shadow: inset 0 1px 0 #ffffff24, 0 5px 0 #050505, 0 10px 18px #000c; }
.key.live:hover svg { fill: var(--brand); }
.key.live:active { transform: translateY(3px); box-shadow: inset 0 1px 0 #ffffff14, 0 1px 0 #050505, 0 2px 6px #000c; }
.key.live:focus-visible { outline: 1px dashed #fff; outline-offset: 4px; }
.key.copied { border-color: #1f8f5c; } .key.copied .ks { color: #4fd69a; }
.key.off { color: #ffffff59; cursor: default; background: linear-gradient(180deg, #151617, #0e0f10); }
.key.off .ks { color: #ffffff38; }

/* ---------- footer: back to the brick, the bookend to the hero ---------- */
.ftr { display: none; }
.v-ftr { position: relative; overflow: hidden; height: min(62vh, 520px); display: grid; align-content: end; }
#wall2 { position: absolute; inset: 0; width: 100%; height: 100%; }
.press { position: absolute; left: 0; right: 0; top: 46%; translate: 0 -50%; text-align: center; font: 800 clamp(64px, 15vw, 230px)/1 Manrope, sans-serif; letter-spacing: .02em; text-transform: uppercase;
  color: #111; text-shadow: -2px -2px 1px #000, 2px 2px 1px #ffffff2a; mix-blend-mode: normal; opacity: .95; }
.ftr-row { position: relative; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 20px 4vw 30px; font: 400 11px/1 "IBM Plex Mono", monospace; color: #a0a0a0; letter-spacing: .04em;
  background: linear-gradient(180deg, transparent, #000c 60%); }
.ftr-row a:hover { color: var(--ink); }

/* ---------- phone ---------- */
@media (max-width: 980px) {
  .pull { margin-top: 18px; max-width: none; }
  .form { grid-template-columns: 1fr 1fr; } .form div:nth-child(2) { border-right: 0; } .form div:nth-child(-n+2) { border-bottom: 1px solid #1d1d1d44; }
  .clock { grid-template-columns: auto 1fr; align-items: center; margin-top: 18px; } .clock svg { width: 96px; }
  .tally { margin-top: 14px; }
  .rack { padding: 22px 14px 4px; }
  .rack { overflow-x: auto; scroll-snap-type: x mandatory; padding-top: 100px; }
  .cards { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 150px; }
  .slot { scroll-snap-align: start; }
  .rack::after { content: "swipe the rack →"; display: block; padding: 10px 0 8px; font: 400 10px/1 "IBM Plex Mono", monospace; color: #888; letter-spacing: .1em; position: sticky; left: 0; }
  .krow { grid-template-columns: 1fr; gap: 10px; } .kset { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ftr-row { justify-content: center; text-align: center; }
  .v-ftr { height: 50vh; min-height: 340px; }
}

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.v-ftr { height: min(70vh, 600px); }

/* ---------- photo-set cards: a collage on the front, click spreads the prints out ---------- */
.collage { flex: 1; position: relative; display: block; background: #1a1a1a; overflow: hidden; }
.collage img { position: absolute; width: 74%; height: auto; object-fit: contain; filter: none; box-shadow: 0 6px 14px #000c; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.collage img:nth-child(1) { left: 2%; top: 6%; transform: rotate(-9deg); }
.collage img:nth-child(2) { right: 0; top: 18%; transform: rotate(7deg); }
.collage img:nth-child(3) { left: 12%; bottom: 4%; transform: rotate(-2deg); }
.card.stack:hover .collage img:nth-child(1) { transform: rotate(-14deg) translate(-6%, -4%); }
.card.stack:hover .collage img:nth-child(2) { transform: rotate(12deg) translate(6%, -2%); }
.card.stack:hover .collage img:nth-child(3) { transform: rotate(0deg) translateY(3%); }

.splay { position: fixed; inset: 0; z-index: 90; overflow-y: auto; overscroll-behavior: contain; background: #000; background: color-mix(in srgb, #000 88%, transparent); backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s; }
.splay.on { opacity: 1; }
.sp-x { position: fixed; top: 18px; right: 18px; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 1px solid #ffffff4d; background: #0d0d0dcc; color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s, transform .2s; }
.sp-x:hover { background: #fff; color: #000; transform: rotate(90deg); } .sp-x:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.sp-x svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; }
.sp-in { max-width: 1240px; margin: 0 auto; padding: 84px 4vw 80px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 4vw; align-items: start; }
.sp-text { position: sticky; top: 84px; } .sp-text h3 { font: 300 clamp(30px, 3.4vw, 48px)/1 Manrope, sans-serif; letter-spacing: -.02em; margin: 10px 0 18px; }
.sp-text p { margin: 0 0 1em; color: #d6d6d6; font-size: 15.5px; line-height: 1.6; max-width: 36ch; }
.sp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 34px 26px; align-items: start; }
.sp-grid figure { margin: 0; transform-origin: 50% 40%; transition: transform .6s cubic-bezier(.2, .8, .2, 1), opacity .4s; }
.sp-grid img { width: 100%; height: auto; display: block; filter: drop-shadow(0 14px 22px #000); }
.sp-grid figcaption { position: static; inset: auto; left: auto; right: auto; bottom: auto; top: auto; translate: none; text-align: left; margin-top: 10px; font: 400 17px/1.2 "Permanent Marker", cursive; color: #e9e6dc; transform: rotate(-1.5deg); }
@media (max-width: 760px) { .sp-in { grid-template-columns: 1fr; padding-top: 76px; } .sp-text { position: static; } .sp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; } .sp-grid figcaption { font-size: 14px; } }
@media (prefers-reduced-motion: reduce) { .sp-grid figure { transition: none; } .splay { transition: none; } }
.sp-grid figure.framed img { background: #ebe8df; padding: 14px; filter: drop-shadow(0 14px 22px #000); }
.card.stack[data-splay="artwork"] .collage img { filter: grayscale(1) contrast(1.05); }
.sp-grid:has(> :nth-child(2):last-child) { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }

/* ---------- hero: the pencil sketch pasted onto the wall, edges dissolving into the brick ---------- */
.hero .paste { --s: min(115vw, calc((100svh - 100px) / .52)); position: absolute; left: 50%; bottom: calc(var(--s) * -.37 + 8px); translate: -50% 0; width: var(--s); height: auto; z-index: 1; pointer-events: none; user-select: none; }
@media (max-width: 760px) { .hero .paste { --s: 235vw; bottom: calc(var(--s) * -.37 + 40px); } }

/* ---------- family: the flip-book album lives here now ---------- */
.v-family { align-items: start; }
.album-wrap { --w: min(54vw, 780px, calc((100svh - 160px) / .9)); position: relative; height: calc(var(--w) * .9 + 70px); }
.album-wrap .album { --w: inherit; top: 24px; left: 50%; }
@media (max-width: 980px) { .album-wrap { --w: 92vw; } .album-wrap .album { top: 12px; } }
.stacks { grid-column: 2; margin-top: 8px; display: grid; gap: 18px; }
@media (max-width: 980px) { .stacks { grid-column: auto; } }

/* ---------- header: one even row, follows you down the page, shows where you are ---------- */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 50; padding: 16px 4vw; gap: 4vw; transition: background .3s, padding .3s, box-shadow .3s; }
.hdr.solid { background: #050505d9; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 10px 4vw; box-shadow: 0 1px 0 #ffffff14; }
.nav { gap: 6px; }
.nav a { gap: 8px; font-size: 14.5px; padding: 8px 12px; border-radius: 999px; color: #d8d8d8; text-decoration: none !important; transition: background .2s, color .2s; white-space: nowrap; }
.nav a svg { width: 19px; height: 19px; flex: none; }
.nav a:hover { background: #ffffff12; color: #fff; }
.nav a.here { background: #ffffff1c; color: #fff; }
.nav a:focus-visible { outline: 1px dashed #fff; outline-offset: 2px; }
section[id] { scroll-margin-top: 76px; }
@media (max-width: 1100px) and (min-width: 981px) { .nav a { padding: 8px 9px; font-size: 13.5px; } .nav a svg { display: none; } }
@media (max-width: 980px) {
  .hdr { padding: 12px 12px 8px; gap: 8px; } .hdr.solid { padding: 8px 12px 6px; }
  .nav { width: 100%; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 2px; }
  .nav a { flex-direction: column; justify-content: center; gap: 5px; padding: 6px 2px; font-size: 10.5px; border-radius: 10px; white-space: normal; text-align: center; line-height: 1.15; }
  .nav a svg { width: 20px; height: 20px; }
  section[id] { scroll-margin-top: 120px; }
}

/* ---------- the stacks run full width under the album ---------- */
.v-family .stacks { grid-column: 1 / -1; margin-top: 4vh; }
.v-family .stacks .board { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 5vw; max-width: 760px; }
@media (max-width: 1100px) { .v-family .stacks .board { gap: 22px 3vw; } }
@media (max-width: 640px) { .v-family .stacks .board { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; } }

/* ---------- hero: the name sprayed on the wall behind him ---------- */
.hero .tag { position: absolute; left: 50%; top: 29%; translate: -50% -50%; rotate: -3deg; z-index: 1; margin: 0; pointer-events: none; user-select: none; white-space: nowrap;
  font: 400 clamp(52px, 11.5vw, 190px)/1 "Rubik Distressed", "Permanent Marker", cursive; letter-spacing: .01em;
  color: #ecece7; opacity: .8;
  text-shadow: 0 0 14px #ffffff2e, 0 0 40px #ffffff18, 4px 6px 0 #000, 7px 9px 0 #0008; }
.hero .paste { z-index: 2; }
.v-ftr { height: min(36vh, 300px); }
@media (max-width: 760px) { .hero .tag { top: 38%; font-size: 17.5vw; } .v-ftr { height: 200px; min-height: 0; } }
