/* MEMEPUMP. pump.fun's scheme (studio grey, pill white, pill green, ink), Seasats' rhythm:
   one cinematic scene, then pale and ink chapters handing over. */
@font-face { font-family: "Bricolage"; src: url(/assets/fonts/bricolage-grotesque-latin-200-normal.woff2) format("woff2"); font-weight: 200; font-display: swap; }
@font-face { font-family: "Bricolage"; src: url(/assets/fonts/bricolage-grotesque-latin-300-normal.woff2) format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Bricolage"; src: url(/assets/fonts/bricolage-grotesque-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url(/assets/fonts/dm-mono-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url(/assets/fonts/dm-mono-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --studio: #E5E7E6;
  --pill: #F6F4F3;
  --green: #4AC66E;
  --green-deep: #2DB15D;
  --green-light: #81E5A9;
  --neon: #6AFE96;
  --ink: #131815;
  --ink-2: #1D2420;
  --cream: #ede6d6;
  --mute: #8A918D;
  --hair: rgba(19, 24, 21, .14);
  --hair-dark: rgba(237, 230, 214, .16);
  --edge: clamp(18px, 2.4vw, 40px);
  --display: "Bricolage", "Helvetica Neue", Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, Menlo, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--studio); color: var(--ink); -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
html, body { overflow-x: clip; }
body { margin: 0; font: 400 16px/1.55 var(--display); font-weight: 300; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-weight: 300; margin: 0; letter-spacing: -.02em; overflow-wrap: break-word; min-width: 0; }
.quiet { color: var(--mute); }
:focus-visible { outline: 2px solid var(--green-deep); outline-offset: 3px; }

/* masthead: every width */
.masthead { position: fixed; inset: 0 0 auto 0; z-index: 30; display: flex; align-items: center; gap: 18px; padding: 12px var(--edge);
  background: rgba(229, 231, 230, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--hair); }
.brandmark { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 500; font-size: 18px; letter-spacing: -.01em; }
.brandmark img { width: 34px; height: 34px; }
.masthead-links { display: flex; gap: 22px; margin-left: 18px; font-size: 14px; }
.masthead-links a { text-decoration: none; opacity: .72; transition: opacity .2s; }
.masthead-links a:hover { opacity: 1; }
.masthead-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.glyph { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--hair); background: var(--pill); }
.glyph svg { width: 17px; height: 17px; fill: var(--ink); }
.glyph:hover { border-color: var(--green-deep); }
.ca-chip { display: flex; align-items: center; height: 38px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--hair); background: var(--pill); cursor: pointer; line-height: 1.25; }
.ca-chip span { font: 500 14px var(--display); white-space: nowrap; }
.act { height: 38px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--ink); display: inline-flex; align-items: center; font-size: 14px; font-weight: 500; text-decoration: none; cursor: pointer; }
.act-buy { background: var(--green); border-color: var(--green-deep); color: var(--ink); }
.act-buy[aria-disabled="true"] { opacity: .78; }
.act-phantom { background: var(--ink); color: var(--cream); }

.rail { position: fixed; right: 10px; top: 50%; width: 2px; height: 34vh; transform: translateY(-50%); background: var(--hair); z-index: 20; border-radius: 2px; }
.rail i { position: absolute; inset: 0 0 auto 0; height: 0; background: var(--green-deep); border-radius: 2px; }

/* boxed button with an arrow square (Seasats) */
.boxed { display: inline-flex; align-items: stretch; text-decoration: none; border: 1px solid var(--ink); background: var(--pill); cursor: pointer; padding: 0; font: 500 16px var(--display); }
.boxed span { padding: 11px 16px; }
.boxed i { font-style: normal; width: 40px; display: grid; place-items: center; background: var(--ink); color: var(--neon); transition: background .25s, color .25s; }
.boxed:hover i { background: var(--green); color: var(--ink); }
.boxed:disabled { opacity: .5; cursor: progress; }

/* the desk */
.desk { position: relative; height: 340vh; }
.desk-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: radial-gradient(120% 90% at 60% 40%, #F3F4F3 0%, var(--studio) 55%, #D6D9D7 100%); }
#deskCanvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.desk-fallback { position: absolute; inset: 0; }
.desk-fallback img { width: 100%; height: 100%; object-fit: cover; }
.opening { position: absolute; left: 0; right: 0; top: clamp(96px, 15vh, 170px); text-align: center; padding: 0 var(--edge); pointer-events: none; }
.opening a { pointer-events: auto; }
.opening-title { font-size: clamp(42px, 7.4vw, 132px); line-height: .96; font-weight: 300; letter-spacing: -.035em; }
.mask { display: block; overflow: hidden; padding-bottom: .06em; }
.mask > span { display: inline-block; }
.opening-sub { max-width: 560px; margin: 22px auto 22px; font-size: clamp(15px, 1.15vw, 18px); color: #3B433F; }
.perps-line { margin: 18px auto 0; max-width: 520px; background: rgba(246, 244, 243, .82); padding: 6px 10px; font: 400 16px/1.5 var(--display); color: var(--green-deep); }
.desk-caption { position: absolute; left: var(--edge); bottom: 28px; display: flex; gap: 10px; align-items: baseline; max-width: min(560px, 80vw); background: var(--ink); color: var(--cream); padding: 10px 14px; font: 400 16px/1.45 var(--display); }
.desk-caption b { color: var(--neon); font-weight: 500; white-space: nowrap; }
.crane-line { position: absolute; left: 0; right: 0; bottom: 14vh; text-align: center; font-size: clamp(30px, 4.4vw, 76px); font-weight: 300; letter-spacing: -.03em; opacity: 0; color: var(--ink); }

/* moments */
.moments { position: relative; background: var(--pill); padding: 16vh var(--edge) 18vh; }
.moments-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 7vh; border-bottom: 1px solid var(--hair); padding-bottom: 18px; }
.moments-head h2 { font-size: clamp(34px, 4.6vw, 80px); }
.moments-head em { font-style: normal; color: var(--green-deep); }
.moments-head p { font: 400 16px var(--display); color: var(--mute); margin: 0; }
.moments-stage { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: 5vw; align-items: start; }
.moment-lines { list-style: none; margin: 0; padding: 0; }
.moment-lines li { font-size: clamp(20px, 2.15vw, 36px); line-height: 1.2; letter-spacing: -.015em; padding: 16px 0; color: rgba(19, 24, 21, .26); transition: color .45s; cursor: pointer; }
.moment-lines li.on { color: var(--ink); }
.moment-lines li .tagp { font: 400 16px var(--display); color: var(--green-deep); margin-left: 10px; letter-spacing: 0; vertical-align: middle; }
.moment-card { position: sticky; top: 22vh; background: var(--ink); color: var(--cream); min-height: 280px; }
.moment-card .tab { display: inline-block; background: var(--green); color: var(--ink); font: 500 16px var(--display); padding: 6px 10px; }
.moment-card .body { padding: 22px 22px 24px; }
.moment-card h3 { font-size: 30px; line-height: 1.05; margin-bottom: 10px; }
.moment-card .tick { font: 400 17px var(--display); color: var(--neon); }
.moment-card p { margin: 12px 0 16px; color: #C9C3B4; font-size: 15px; }
.moment-card a { font: 400 16px var(--display); color: var(--green-light); }
.moment-card dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0 0 16px; font: 400 16px var(--display); }
.moment-card dt { color: #8D948F; }
.moment-card dd { margin: 0; }

/* three-liner */
.threeliner { background: linear-gradient(180deg, var(--pill) 0%, var(--studio) 100%); padding: 14vh var(--edge) 16vh; text-align: center; }
.threeliner h2 { font-size: clamp(46px, 8.4vw, 150px); line-height: .95; letter-spacing: -.04em; }
.fresh-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 1100px; margin: 9vh auto 0; text-align: left; }
.fresh-tile { background: var(--pill); border: 1px solid var(--hair); padding: 18px; transition: transform .35s ease, border-color .35s; }
.fresh-tile:hover { transform: translateY(-4px); border-color: var(--green-deep); }
.fresh-tile .tk { font: 400 17px var(--display); color: var(--green-deep); }
.fresh-tile h3 { font-size: 24px; margin: 6px 0 8px; }
.fresh-tile p { margin: 0; font-size: 14px; color: #48504C; }

/* staff */
.staff { background: var(--ink); color: var(--cream); padding: 16vh var(--edge) 12vh; }
.staff-copy { max-width: 980px; }
.staff-copy h2 { font-size: clamp(32px, 4.4vw, 76px); line-height: 1.02; }
.staff-copy p { max-width: 640px; color: #B9B3A5; font-size: 17px; margin: 28px 0 0; }
.staff-row { list-style: none; margin: 12vh 0 0; padding: 22px 0 0; border-top: 1px solid var(--hair-dark); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.staff-row b { display: block; font-size: 26px; font-weight: 300; }
.staff-row span { font: 400 16px var(--display); color: var(--green); }
.staff-row p { color: #A9A395; font-size: 14.5px; margin: 12px 0 0; }

/* drafts wall */
.drafts { background: var(--ink-2); color: var(--cream); padding: 12vh var(--edge) 14vh; }
.drafts-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 6vh; }
.drafts-head h2 { font-size: clamp(34px, 4.6vw, 80px); }
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.filters button { border: 1px solid var(--hair-dark); background: transparent; border-radius: 999px; padding: 7px 14px; font: 400 16px var(--display); cursor: pointer; color: var(--cream); }
.filters button[aria-checked="true"] { background: var(--green); color: var(--ink); border-color: var(--green); }
.draft-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1px; background: var(--hair-dark); border: 1px solid var(--hair-dark); }
.draft-wall .quiet { background: var(--ink-2); padding: 24px; margin: 0; }
.draft { background: var(--ink-2); padding: 20px; display: flex; flex-direction: column; gap: 8px; transition: background .3s; }
.draft:hover { background: #232B26; }
.draft .tk { font: 400 17px var(--display); color: var(--neon); }
.draft h3 { font-size: 23px; line-height: 1.1; }
.draft p { margin: 0; font-size: 13.5px; color: #A9A395; flex: 1; }
.draft .src { font: 400 16px var(--display); color: var(--green-light); }
.draft .use { align-self: flex-start; margin-top: 6px; border: 1px solid var(--green); background: transparent; color: var(--green-light); padding: 6px 12px; font: 500 16px var(--display); cursor: pointer; }
.draft .use:hover { background: var(--green); color: var(--ink); }
.draft.done .use { display: none; }
.draft .claimed { font: 400 16px var(--display); color: var(--cream); }

/* pairs */
.pairs { background: var(--studio); padding: 14vh var(--edge); }
.pairs h2 { font-size: clamp(34px, 4.6vw, 80px); text-align: center; margin-bottom: 8vh; }
.pair-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 1240px; margin: 0 auto; }
.pair-card { background: var(--pill); padding: 26px; border: 1px solid var(--hair); transition: transform .35s, box-shadow .35s; }
.pair-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px -24px rgba(19, 24, 21, .35); }
.pair-card img { width: 44px; height: 44px; margin-bottom: 26px; }
.pair-card h3 { font-size: 30px; margin-bottom: 10px; }
.pair-card p { font-size: 15px; color: #48504C; min-height: 5.2em; }
.spec { display: grid; grid-template-columns: 1fr auto; margin: 18px 0 0; font: 400 16px var(--display); }
.spec dt, .spec dd { padding: 8px 0; border-top: 1px solid var(--hair); margin: 0; }
.spec dd { text-align: right; }
.pairs-note { text-align: center; font: 400 16px var(--display); color: var(--mute); margin-top: 28px; }

/* launch */
.launch { background: var(--pill); padding: 14vh var(--edge); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 6vw; align-items: start; }
.launch-name { position: sticky; top: 100px; }
.launch-name h2 { font-size: clamp(64px, 11vw, 200px); line-height: .9; letter-spacing: -.05em; }
.launch-name p { max-width: 440px; color: #48504C; }
#cardCanvas { width: min(340px, 70vw); height: auto; aspect-ratio: 1; margin-top: 28px; border: 1px solid var(--hair); background: var(--studio); }
.launch-form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field legend { font: 400 16px var(--display); color: #48504C; padding: 0; }
.field em { font-style: normal; color: var(--green-deep); }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--hair); background: #fff; padding: 11px 12px; border-radius: 0; font-size: 15px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green-deep); outline: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pair-picks { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.pick { border: 1px solid var(--hair); background: #fff; padding: 7px 12px; font: 500 16px var(--display); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.pick img { width: 18px; height: 18px; border-radius: 50%; }
.pick[aria-checked="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.search-results { list-style: none; margin: 4px 0 0; padding: 0; border: 1px solid var(--hair); background: #fff; }
.search-results button { width: 100%; display: flex; gap: 10px; align-items: center; padding: 9px 12px; border: 0; background: none; cursor: pointer; text-align: left; font-size: 14px; }
.search-results button:hover { background: var(--studio); }
.search-results img { width: 22px; height: 22px; border-radius: 50%; }
.search-results .msg { padding: 10px 12px; font-size: 13.5px; color: var(--mute); }
.search-results .no { color: #B4473B; margin-left: auto; font: 400 16px var(--display); }
.search-results .yes { color: var(--green-deep); margin-left: auto; font: 400 16px var(--display); }
.pair-state, .buy-est, .buy-bal { margin: 0; font-size: 13.5px; color: #48504C; }
.buy-est em { font-style: normal; color: var(--green-deep); }
.buy-bal.bad { color: #B4473B; }
.boxed-go { justify-self: start; background: var(--green); border-color: var(--green-deep); }
.boxed-go span { font-size: 14px; }
.boxed-quiet { justify-self: start; }
.status { margin: 0; min-height: 1.4em; font-size: 14px; }
.status.bad { color: #B4473B; }
.status a { color: var(--green-deep); }

/* board */
.board { background: var(--ink); color: var(--cream); padding: 13vh var(--edge) 15vh; }
.board-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; border-bottom: 1px solid var(--hair-dark); padding-bottom: 18px; }
.board-head h2 { font-size: clamp(34px, 4.6vw, 80px); }
.board-total { font: 400 16px var(--display); color: var(--green-light); margin: 0; }
.board-table { font: 400 16px var(--display); }
.board-row { display: grid; grid-template-columns: 1.3fr 1.6fr .9fr .9fr .9fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--hair-dark); align-items: baseline; }
.board-row.headrow { color: #8D948F; font-size: 11.5px; }
.board-row b { font-weight: 500; color: var(--neon); }
.board-row a { color: var(--green-light); }
.board-row .ev { color: #B9B3A5; font-family: var(--display); font-size: 14px; }
.board-empty { padding: 34px 0; color: #B9B3A5; font-family: var(--display); font-size: 17px; max-width: 620px; }

.foot { background: var(--ink); color: #A9A395; padding: 40px var(--edge) 56px; border-top: 1px solid var(--hair-dark); display: grid; gap: 14px; font-size: 13.5px; }
.foot p { margin: 0; max-width: 820px; }
.foot a { color: var(--green-light); margin-right: 14px; }

/* breakpoints */
@media (max-width: 1100px) {
  .masthead-links { display: none; }
  .staff-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .masthead { flex-wrap: wrap; gap: 8px 10px; padding: 8px 14px; }
  .brandmark span { font-size: 16px; }
  .masthead-tools { width: 100%; margin: 0; gap: 6px; }
  .ca-chip { flex: 1; min-width: 0; }
  .ca-chip span, .ca-chip small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .glyph { width: 34px; height: 34px; }
  .act { height: 36px; padding: 0 12px; }
  .opening { top: 128px; }
  .moments-stage, .launch { grid-template-columns: 1fr; }
  .moment-card { position: relative; top: 0; }
  .fresh-strip, .pair-cards { grid-template-columns: 1fr; }
  .launch-name { position: relative; top: 0; }
  .board-row { grid-template-columns: 1fr 1fr; }
  .board-row.headrow { display: none; }
  .rail { display: none; }
}
@media (max-width: 520px) {
  .staff-row { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .desk-caption { right: var(--edge); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .desk { height: auto; }
  .desk-pin { position: relative; }
  .crane-line { opacity: 1; position: static; padding: 0 0 24px; }
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--neon); margin-right: 7px; animation: blink 1.6s ease-in-out infinite; box-shadow: 0 0 0 2px rgba(106, 254, 150, .25); }
@media (max-width: 520px) {
  .masthead-tools { flex-wrap: wrap; }
  .ca-chip { flex: 1 1 100%; order: -1; }
  .masthead-tools .act-phantom { margin-left: auto; }
  .opening { top: 170px; }
}
