/* toadguy345: grey room, white cards, giant black type, one chrome shape per card. Black, white, chrome. */
:root {
  --bg: #ececec;
  --card: #ffffff;
  --ink: #0a0a0a;
  --dim: #8a8a8a;
  --chrome: linear-gradient(160deg, #fafafa 0%, #a4a4a4 20%, #262626 38%, #e2e2e2 54%, #6a6a6a 70%, #f4f4f4 86%, #8c8c8c 100%);
  --cw: min(540px, 82vw);           /* card width */
  --ch: calc(var(--cw) * .6);       /* card height */
  --gap: 18px;
  --font: 'Inter Tight', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body { background: var(--bg); color: var(--ink); font: 400 12px/1.4 var(--font); overflow: hidden; cursor: crosshair; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; cursor: crosshair; }
::selection { background: var(--ink); color: #fff; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* top: breadcrumb left, tick scrubber centered */
.top { position: fixed; inset: 0 0 auto; height: 108px; display: flex; align-items: center; justify-content: center; z-index: 5; }
.logo { position: absolute; left: 22px; top: 22px; width: 64px; height: 64px; display: grid; place-items: center; }
.logo svg { position: absolute; inset: 0; width: 100%; height: 100%; font: 800 11.5px 'Alexandria', var(--font); fill: var(--ink); }
.logo img { width: 30px; position: relative; transition: transform .4s cubic-bezier(.3,1.8,.5,1); }
.logo:hover img { transform: rotate(-12deg) scale(1.12); }
.where { position: absolute; left: 98px; top: 47px; color: var(--dim); transition: color .15s; }
.where:hover { color: var(--ink); }
.now { position: absolute; right: 28px; top: 47px; border: 0; background: none; font: 400 12px var(--font); color: var(--ink); cursor: crosshair; }
.now[hidden] { display: none; }
.scrub { display: flex; align-items: center; gap: 5px; height: 16px; }
.scrub i { width: 1px; height: 14px; background: #9a9a9a; transition: background .15s; }
.scrub i.at { width: 20px; height: 17px; background: url(img/hat.png) center/contain no-repeat; margin: 0 -1px; transition: none; }
.scrub i:hover { background: var(--ink); }

/* the strip of cards */
.strip {
  position: fixed; inset: 0; display: flex; align-items: center; gap: var(--gap);
  overflow-x: auto; overflow-y: hidden; padding: 0 calc(50vw - var(--cw) / 2); scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.strip::-webkit-scrollbar { display: none; }
.item { flex: 0 0 var(--cw); display: flex; flex-direction: column; gap: 8px; animation: rise .5s cubic-bezier(.2,.8,.2,1) both; }
.item:nth-child(2) { animation-delay: .04s; } .item:nth-child(3) { animation-delay: .08s; } .item:nth-child(4) { animation-delay: .12s; }
.item:nth-child(5) { animation-delay: .16s; } .item:nth-child(6) { animation-delay: .2s; } .item:nth-child(7) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.label { color: #555; display: flex; justify-content: space-between; }
.label span:last-child { color: var(--dim); }

.card { position: relative; height: var(--ch); background: var(--card); overflow: hidden; display: block; }
.card .word {
  position: absolute; left: var(--x, -4%); top: 50%; transform: translateY(-50%);
  font-weight: 500; font-size: calc(var(--ch) * var(--s, .82)); letter-spacing: -.045em; line-height: .8; white-space: nowrap;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.card:hover .word { transform: translateY(-50%) translateX(-3%); }
.shape { position: absolute; background: var(--chrome); transition: transform .5s cubic-bezier(.2,.8,.2,1); transform: scale(calc(1 + var(--lvl, 0) * .35)); }
.card:hover .shape { transform: scale(calc(1.06 + var(--lvl, 0) * .35)); }
.shape.circle { border-radius: 50%; }
.shape.ring { border-radius: 50%; -webkit-mask: radial-gradient(circle, transparent 0 52%, #000 52.5% 70%, transparent 70.5%); mask: radial-gradient(circle, transparent 0 52%, #000 52.5% 70%, transparent 70.5%); }
.shape.tri { clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.shape.half { border-radius: 999px 999px 0 0; }
.shape.diamond { clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.bars { position: absolute; display: flex; align-items: flex-end; gap: 6%; }
.bars span { flex: 1; background: var(--chrome); height: var(--h); transition: height .12s; }

/* personal shapes: SUNBEAM's sun, CRYSTAL CRUSHER's shard, Dusk's setting sun */
.shape.sun { border-radius: 50%; animation: turn 30s linear infinite;
  -webkit-mask: radial-gradient(circle, #000 0 26%, transparent 26.5%), repeating-conic-gradient(#000 0 7deg, transparent 7deg 20deg);
  mask: radial-gradient(circle, #000 0 26%, transparent 26.5%), repeating-conic-gradient(#000 0 7deg, transparent 7deg 20deg); }
@keyframes turn { to { rotate: 360deg; } }
.shape.arrow { clip-path: polygon(50% 0, 100% 45%, 70% 45%, 70% 100%, 30% 100%, 30% 45%, 0 45%); }
.shape.shard { clip-path: polygon(38% 0, 100% 30%, 76% 100%, 8% 74%, 0 22%); }
.shape.dusk { -webkit-mask: radial-gradient(circle at 50% 62%, #000 0 33%, transparent 33.5%) top / 100% 62% no-repeat, repeating-linear-gradient(#000 0 7%, transparent 7% 16%) bottom / 100% 36% no-repeat;
  mask: radial-gradient(circle at 50% 62%, #000 0 33%, transparent 33.5%) top / 100% 62% no-repeat, repeating-linear-gradient(#000 0 7%, transparent 7% 16%) bottom / 100% 36% no-repeat; }

/* the real toad hat */
.card .hat { position: absolute; left: 30%; top: 6%; height: 104%; width: auto; transform-origin: 50% 90%; transition: transform .6s cubic-bezier(.3,1.6,.5,1); }
.card:hover .hat { transform: rotate(-6deg) translateY(-3%); }
.chrome3d { position: absolute; right: 0; top: 0; width: 64%; height: 100%; }
.chrome3d .holo { position: absolute; right: 12%; top: 50%; translate: 0 -50%; height: 78%; width: auto; transition: transform .2s ease-out; }
.chrome-ready .chrome3d .holo { display: none; }
.chrome-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* thumbnail cards (videos) */
.card img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .4s, transform .6s cubic-bezier(.2,.8,.2,1); }
.card:hover img { filter: none; transform: scale(1.03); }

/* text cards (about me) */
.card .text { position: absolute; left: 7%; right: 9%; bottom: 9%; z-index: 1; font-size: calc(var(--ch) * .085); font-weight: 500; line-height: 1.12; letter-spacing: -.025em; }

/* links card */
.card .list { position: absolute; left: 7%; bottom: 9%; display: flex; flex-direction: column; gap: 2px; font-size: calc(var(--ch) * .085); font-weight: 500; letter-spacing: -.02em; z-index: 1; }
.card .list a { transition: color .15s; }
.card .list a:hover { color: var(--dim); }

/* genre player: snippet ticks + progress */
.ticks { position: absolute; right: 5%; bottom: 7%; display: flex; gap: 6px; z-index: 2; }
.ticks button { width: 22px; height: 22px; border: 1px solid #cfcfcf; background: #fff; font: 500 10px var(--font); color: var(--dim); cursor: crosshair; }
.ticks button.on { border-color: var(--ink); color: var(--ink); }
.prog { position: absolute; left: 0; bottom: 0; height: 3px; width: calc(var(--p, 0) * 100%); background: var(--ink); z-index: 2; }
.state { position: absolute; left: 5%; bottom: 7%; font-size: 11px; color: var(--dim); z-index: 2; }
.playing .state { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  .item { animation: none; }
  .card .word, .shape, .card img { transition: none; }
}
@media (max-width: 600px) {
  .top { height: 96px; align-items: flex-end; padding-bottom: 6px; }
  .logo { left: 12px; top: 10px; width: 52px; height: 52px; }
  .logo img { width: 24px; }
  .where { left: 72px; top: 28px; }
  .now { right: 16px; top: 28px; }
}
@media (prefers-reduced-motion: reduce) { .shape.sun { animation: none; } }

/* ===== long pages (About me, Contact me): black, giant white type, scroll up and down ===== */
body.long { background: #070707; color: #f2f2f2; }
body.long .logo svg { fill: #f2f2f2; }
body.long .where { color: #8a8a8a; }
body.long .where:hover, body.long .now { color: #f2f2f2; }
body.long .scrub i { background: #4a4a4a; }
body.long .top { background: linear-gradient(#070707 40%, #07070700); }
body.long ::selection { background: #f2f2f2; color: #070707; }

.page { position: fixed; inset: 0; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; }
.page::-webkit-scrollbar { display: none; }

.page .hero { position: relative; height: 100vh; display: flex; align-items: flex-end; overflow: hidden; padding-bottom: 6vh; }
.page .giant { font-weight: 500; font-size: 19vw; letter-spacing: -.06em; line-height: .78; white-space: nowrap; margin-left: 0; position: relative; z-index: 1; will-change: transform; }
.page .orb { position: absolute; right: 8vw; top: 18vh; width: 34vw; aspect-ratio: 1; border-radius: 50%; background: var(--chrome); opacity: .9; animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { translate: 0 -3vh; } }
.page .hint { position: absolute; left: 50%; bottom: 2.5vh; translate: -50% 0; font-size: 12px; color: #8a8a8a; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.page .hint::after { content: ''; width: 1px; height: 34px; background: linear-gradient(#8a8a8a, transparent); animation: drip 1.6s ease-in-out infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

.page .block { max-width: 1100px; margin: 0 auto; padding: 16vh 6vw 4vh; }
.page .num { display: block; font-size: 12px; color: #8a8a8a; margin-bottom: 10px; }
.page .big { font-weight: 500; font-size: clamp(56px, 11vw, 170px); letter-spacing: -.055em; line-height: .86; }
.page .copy { margin-top: 28px; max-width: 30ch; font-size: clamp(20px, 2.6vw, 34px); line-height: 1.15; letter-spacing: -.02em; color: #cfcfcf; }

/* sections use the full width: heading left, words right, lists across the bottom */
.page .block { display: grid; grid-template-columns: 1.15fr 1fr; column-gap: 6vw; align-items: end; max-width: 1400px; }
.page .block > .num { grid-column: 1 / -1; }
.page .block > .copy { margin-top: 0; max-width: 34ch; padding-bottom: .6em; }
.page .block > .rows, .page .block > .tools { grid-column: 1 / -1; }

/* talents: one big numbered list, each line goes chrome on hover */
.page .talents { max-width: 1400px; margin: 0 auto; padding: 16vh 6vw 0; }
.page .talents ol { list-style: none; margin-top: 18px; border-top: 1px solid #262626; columns: 2; column-gap: 6vw; }
.page .talents li { break-inside: avoid; display: flex; align-items: baseline; gap: 18px; padding: 14px 0; border-bottom: 1px solid #262626;
  font-size: clamp(30px, 4.4vw, 70px); font-weight: 500; letter-spacing: -.045em; line-height: 1; transition: padding .3s cubic-bezier(.2,.8,.2,1); }
.page .talents li small { font-size: 12px; letter-spacing: 0; color: #8a8a8a; font-weight: 400; }
.page .talents li:hover { padding-left: 12px; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* open to collabs */
.page .open { max-width: 1400px; margin: 0 auto; padding: 20vh 6vw 0; }
.page .open .big { background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .08em; }

.page .rows { margin-top: 48px; border-top: 1px solid #262626; }
.page .rows a { display: grid; grid-template-columns: 1fr auto 28px; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid #262626; font-size: clamp(18px, 2vw, 26px); transition: padding .3s cubic-bezier(.2,.8,.2,1), color .2s; }
.page .rows a span:nth-child(2) { font-size: 12px; color: #8a8a8a; }
.page .rows a b { font-weight: 400; color: #8a8a8a; transition: transform .3s; }
.page .rows a:hover { padding-left: 14px; }
.page .rows a:hover b { transform: translateX(4px); color: #f2f2f2; }

.page .tools { list-style: none; margin-top: 36px; }
.page .tools li { font-size: clamp(40px, 7vw, 110px); font-weight: 500; letter-spacing: -.05em; line-height: 1; padding: 10px 0; border-bottom: 1px solid #262626; transition: color .3s; }
.page .tools li:hover { background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }

.page .ribbon { overflow: hidden; padding: 6vh 0; white-space: nowrap; }
.page .ribbon span { display: inline-block; font-size: 9vw; font-weight: 500; letter-spacing: -.04em; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; will-change: transform; }

.page .contact { max-width: 1100px; margin: 0 auto; padding: 6vh 6vw 0; display: flex; flex-direction: column; }
.page .contact a, .page .contact button {
  position: relative; display: flex; flex-direction: column; gap: 4px; text-align: left; padding: 26px 0; border: 0; border-bottom: 1px solid #262626;
  background: none; color: inherit; font: inherit; cursor: crosshair; overflow: hidden;
}
.page .contact small { font-size: 12px; color: #8a8a8a; position: relative; z-index: 1; }
.page .contact span { font-size: clamp(34px, 6.4vw, 96px); font-weight: 500; letter-spacing: -.05em; line-height: 1; position: relative; z-index: 1; transition: color .3s; overflow-wrap: anywhere; }
.page .contact a::before, .page .contact button::before { content: ''; position: absolute; inset: 0; background: var(--chrome); transform: scaleY(0); transform-origin: bottom; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.page .contact a:hover::before, .page .contact button:hover::before { transform: scaleY(1); }
.page .contact a:hover span, .page .contact button:hover span, .page .contact a:hover small, .page .contact button:hover small { color: #070707; }

.page .next { display: flex; justify-content: space-between; align-items: baseline; max-width: 1100px; margin: 18vh auto 0; padding: 0 6vw 14vh; font-size: clamp(48px, 9vw, 140px); font-weight: 500; letter-spacing: -.055em; }
.page .next b { font-weight: 400; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.page .next:hover b { transform: translateX(16px); }

.page .reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
.page .reveal.in { opacity: 1; transform: none; }

@media (max-width: 760px) {
  .page .block { grid-template-columns: 1fr; }
  .page .block > .copy { margin-top: 24px; }
  .page .talents ol { columns: 1; }
}
@media (max-width: 600px) {
  .page .giant { font-size: 24vw; white-space: normal; line-height: .82; }
  .page .orb { width: 60vw; right: -10vw; top: 16vh; }
  .page .block { padding-top: 12vh; }
}
@media (prefers-reduced-motion: reduce) {
  .page .reveal { opacity: 1; transform: none; transition: none; }
  .page .orb, .page .hint::after { animation: none; }
}

/* page-mode transition: circle wipe with the toad hat in the middle */
.wipe { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; pointer-events: all; }
.wipe img { width: 84px; opacity: 0; }
