/* frogscooper.dev, Deep Field (from _designs/33-deep-field): scrolling down travels outward. Near stars give way to galaxies and then to
   red-shifted smudges (bg.js, a 2D canvas with parallax), and a redshift gauge on the right reads
   how far you are. The panels are smoked glass over the field; ice-blue light near the top, a
   red-shift orange for the deep end. Syne headings. Loaded after /assets/instrument.css. */
:root {
  --paper: rgba(10, 13, 24, .62); --ink: #eef2fb; --muted: #8590a8; --line: rgba(170, 190, 230, .14); --moss: #a9cbff; --leaf: #a9cbff; --pad: rgba(18, 22, 38, .66);
  --panel: rgba(18, 22, 38, .66); --board: #020308; --deep: #04050c; --soft: #b9c2d6; --red: #ff8a5c;
  --cg-ink: #04050c; --eye: #dfe9ff;
  --f0: rgba(255, 255, 255, .05); --f1: #33436b; --f2: #5d79b8; --f3: #8fb2f2; --f4: #e8f0ff; --dk: #04050c;
  --lang1: #a9cbff; --lang2: #7d8fd6; --lang3: #ff8a5c; --lang4: #c86a8e; --lang5: #5d79b8; --lang6: #2c3350;
  --slab: "Syne", "IBM Plex Sans", sans-serif;
  --r: 14px;
}
html { background: var(--board); }
.bar { background: rgba(2, 3, 8, .55); }
.btn { border-radius: 999px; }
.btn.ink:hover { background: #cfe0ff; }
.seek { border-radius: 999px; background: rgba(169, 203, 255, .08); border-color: rgba(169, 203, 255, .3); }
.filter button, .repo, .pad-groups a { border-radius: 999px; }
.pad-groups a { padding: 5px 11px; }

.d-deep :is(.gh .pfp, .gh .nums, .gh .langs, .gh .who, .gh .side, .shelf, .tabs) {
  backdrop-filter: blur(10px) saturate(1.2); -webkit-backdrop-filter: blur(10px) saturate(1.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.d-deep .gh .nums { background: var(--line); }
.d-deep .gh .nums div { background: rgba(10, 13, 24, .8); }
.d-deep .gh .pfp { border-radius: 50%; border-color: rgba(169, 203, 255, .35); box-shadow: 0 0 40px rgba(120, 160, 255, .25), inset 0 0 0 1px rgba(255, 255, 255, .06); }
/* inner pages: the photo is a round tile its own size (the old opaque page tile hid its overflow) */
.d-deep .page-head .pfp { align-self: start; width: 132px; height: 132px; border-radius: 50%; border-color: rgba(169, 203, 255, .35); box-shadow: 0 0 30px rgba(120, 160, 255, .22); }
.d-deep .page-head .avatar { align-self: start; width: 132px; height: 132px; }
@media (max-width: 760px) { .d-deep .page-head .pfp, .d-deep .page-head .avatar { width: 76px; height: 76px; } }
.d-deep .who h1 { font: 700 36px/1.05 "Unbounded", var(--slab); letter-spacing: -.03em;
  background: linear-gradient(100deg, #ffffff 30%, #a9cbff 70%, #ff8a5c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.d-deep .who .desc { font-size: 17.5px; }
.d-deep .lang-bar { border-radius: 999px; height: 8px; }
.d-deep .gh .nums .big b { color: #fff; text-shadow: 0 0 22px rgba(169, 203, 255, .6); }

.d-deep .tabs { border-radius: 999px; }
.d-deep .tabs a { border-radius: 999px; }
.d-deep .tabs a[aria-current] { background: rgba(169, 203, 255, .14); color: #fff; box-shadow: inset 0 0 0 1px rgba(169, 203, 255, .35); }

.d-deep.page-home .shelf + .shelf { margin-top: 28vh; }   /* room to fly between sections */
.d-deep .sec-head { background: none; border-bottom-color: var(--line); padding: 18px 20px 14px; }
.d-deep .sec-head h2 { font: 800 26px/1 var(--slab); letter-spacing: -.01em; text-transform: none; }
.d-deep .sec-head h2::before { display: none; }
.d-deep #act-h { color: #ffd2bd; }
.d-deep .grid > .card, .d-deep .duo > div { background: rgba(8, 10, 20, .55); border-color: var(--line); border-radius: 12px; }
.d-deep .grid > .card:hover { border-color: rgba(169, 203, 255, .4); }
.d-deep .card h3 { font-family: var(--slab); font-weight: 700; }
.d-deep .cover { border-radius: 8px; }
.d-deep .strip { background: rgba(2, 3, 8, .85); }
.d-deep .duo h3 { color: #ffb39a; text-shadow: 0 0 24px rgba(255, 138, 92, .45); }
.d-deep .pr-tag.merged { background: #ff8a5c; border-color: #ff8a5c; }
.fill { background: #5d79b8; }

/* the redshift gauge (bg.js) */
.zgauge { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 5; display: flex; flex-direction: column; align-items: center; gap: 8px;
  font: 10px/1 var(--mono); color: var(--muted); letter-spacing: .12em; pointer-events: none; }
.zgauge .rail { position: relative; width: 3px; height: 34vh; border-radius: 3px; background: linear-gradient(#a9cbff, #fff 30%, #ffb39a 65%, #c2410c); opacity: .55; }
.zgauge .rail i { position: absolute; left: 50%; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px #fff; }
.zgauge b { color: var(--ink); font-weight: 700; font-size: 12px; letter-spacing: 0; }
@media (max-width: 1180px) { .zgauge { display: none; } }
@media (max-width: 760px) { .d-deep .who h1 { font-size: 27px; } .d-deep.page-home .shelf + .shelf { margin-top: 14vh; } }

/* the home page's short Lilypad: every tool link folds behind "all tools" */
.pad-more { margin-top: 18px; }
.pad-more summary { cursor: pointer; width: max-content; font: 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--leaf); }
.pad-more summary:hover { color: #fff; }
.pad-more[open] summary { margin-bottom: 16px; }
.d-deep .pad-copy p:only-child { margin: 0; }
/* the cbtorrent cover: its logo on the night */
.d-deep .swarm { background: #050816; }
.d-deep .swarm img { display: block; width: 100%; height: 100%; padding: 9% 0; box-sizing: border-box; object-fit: contain; }

/* no tile eyebrows, no section z-labels, no ping on the internship pill */
.d-deep :is(.gh .who, .gh .side, .gh .langs, .page-head .who)::before { content: none; }
.d-deep .seek::before, .d-deep .page-head .crumb { display: none; }

/* phones: one column. The photo moves into the profile card's top-right corner (same grid area,
   drawn over it) and the name block shrinks to sit beside it; the contributions calendar is dropped,
   the stats tiles below carry the same numbers. */
@media (max-width: 760px) {
  .d-deep .prof.gh { grid-template-columns: minmax(0, 1fr); grid-template-areas: "who" "nums" "langs"; }
  .d-deep .gh .side { display: none; }
  .d-deep .gh .pfp { grid-area: who; z-index: 1; justify-self: end; align-self: start; width: var(--pfp-m); height: var(--pfp-m); margin: 18px 14px 0 0; }
  .d-deep .prof.gh { --pfp-m: clamp(104px, 34vw, 140px); }
  .d-deep .gh .who { padding-top: 20px; }
  .d-deep .gh .who-head { flex-direction: column; flex-wrap: nowrap; gap: 10px; min-height: calc(var(--pfp-m) + 2px); padding-right: calc(var(--pfp-m) + 10px); }
  .d-deep .gh .who h1 { font-size: clamp(19px, 5.6vw, 26px); }
  .d-deep .gh .handle { font-size: 11px; margin-top: 6px; }
  .d-deep .gh .who-acts { align-items: flex-start; gap: 7px; }
  .d-deep .gh .seek { font-size: 10.5px; padding: 4px 9px; }
  .d-deep .gh .acts { gap: 6px; }
  .d-deep .gh .acts .btn { font-size: 12px; padding: 5px 12px; }
}
