:root {
  --ink: #141326;
  --paper: #f8f8ff;
  --rose: #ff5faa;
  --blue: #1f7cf7;
  --cyan: #6de8ff;
  --sun: #ffe66f;
  --mint: #9ff5d2;
  --grid: rgba(20, 19, 38, 0.12);
}

* {
  box-sizing: border-box;
}

body.memphis-theme {
  margin: 0;
  color: var(--ink);
  font-family: "Trebuchet MS", "Geneva", sans-serif;
  background-color: #bcc8ff;
  background-image:
    radial-gradient(circle at 10% 15%, rgba(255, 95, 170, 0.55) 0 80px, transparent 82px),
    radial-gradient(circle at 90% 75%, rgba(109, 232, 255, 0.75) 0 120px, transparent 122px),
    linear-gradient(0deg, transparent 0 94%, var(--grid) 94% 100%),
    linear-gradient(90deg, transparent 0 94%, var(--grid) 94% 100%),
    linear-gradient(145deg, #d2d9ff 0%, #a9b8ff 40%, #8ec8ff 100%);
  background-size: auto, auto, 24px 24px, 24px 24px, cover;
  min-height: 100vh;
}

.memphis-stage {
  width: min(1040px, calc(100vw - 2rem));
  margin: 1rem auto 2rem;
  border: 4px solid var(--ink);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.8)),
    repeating-linear-gradient(-45deg, rgba(31, 124, 247, 0.12), rgba(31, 124, 247, 0.12) 10px, rgba(255, 95, 170, 0.08) 10px, rgba(255, 95, 170, 0.08) 20px);
  box-shadow: 0 18px 0 rgba(20, 19, 38, 0.2);
  overflow: clip;
}

.container,
.content,
.site-footer {
  width: min(920px, calc(100vw - 4rem));
  margin: 0 auto;
}

.site-header {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  padding: clamp(0.45rem, 1.2vw, 0.9rem) 0;
  background-image: image-set(
    url("/images/header-hero.webp") type("image/webp"),
    url("/images/header-hero.png") type("image/png")
  );
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center top;
  border-bottom: 4px solid var(--ink);
}

.site-header .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(0.7rem, 1.8vw, 1.2rem);
  padding-top: clamp(1.35rem, 3.6vw, 2.7rem);
}

.header-hotspot {
  position: absolute;
  z-index: 0;
  display: block;
  border-radius: 18px;
  background: transparent;
}

.header-hotspot:focus-visible {
  outline: 3px dashed rgba(20, 19, 38, 0.85);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.header-hotspot-elixir {
  left: 1.5%;
  top: 52%;
  width: 27%;
  height: 39%;
}

.header-hotspot-rick {
  left: 71.5%;
  top: 52%;
  width: 27%;
  height: 39%;
}

.brand {
  margin: 0;
  text-align: center;
  font-family: "Arial Black", "Impact", sans-serif;
  font-size: clamp(2rem, 6.4vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: clamp(1px, 0.25vw, 2px);
  text-transform: uppercase;
}

.brand a {
  color: #fffef5;
  text-decoration: none;
  text-shadow: 3px 3px 0 #2f2c5b;
}

.brand-subtitle {
  margin: 0.5rem 0 1rem;
  text-align: center;
  font-weight: 700;
  color: #fcfbff;
  text-shadow: 2px 2px 0 rgba(20, 19, 38, 0.6);
}

.nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 0.55rem;
  justify-content: center;
  flex-wrap: wrap;
}

.site-header nav {
  margin-top: 0;
}

.header-nav-row {
  width: min(920px, 100%);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-top: clamp(0.9rem, 2.6vw, 1.9rem);
}

.header-nav-row nav {
  grid-column: 2;
  justify-self: center;
}

.social-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.24rem;
  grid-column: 3;
  justify-self: end;
  margin-top: 0;
  padding: 0.2rem 0.24rem;
  border: 2px solid rgba(20, 19, 38, 0.85);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  box-shadow: 2px 2px 0 rgba(20, 19, 38, 0.18);
  backdrop-filter: blur(8px);
}

.social-strip-label {
  display: none;
}

.social-link {
  display: grid;
  place-items: center;
  align-items: center;
  padding: 0.18rem;
  width: 1.3rem;
  height: 1.3rem;
  min-width: 1.3rem;
  min-height: 1.3rem;
  border: 2px solid var(--ink);
  border-radius: 50%;
  text-decoration: none;
  color: #17142d;
  background: linear-gradient(180deg, #f9fbff 0%, #dbe7ff 100%);
  box-shadow: 1px 1px 0 rgba(20, 19, 38, 0.2);
}

.social-link:nth-of-type(1) {
  background: linear-gradient(180deg, #fff4b1 0%, #ffd760 100%);
}

.social-link:nth-of-type(2) {
  background: linear-gradient(180deg, #bff3ff 0%, #82d8ff 100%);
}

.social-link:nth-of-type(3) {
  background: linear-gradient(180deg, #ffc7e0 0%, #ff9dcb 100%);
}

.social-link svg {
  width: 0.66rem;
  height: 0.66rem;
  fill: currentColor;
  flex: 0 0 auto;
}

.social-link:hover {
  transform: translateY(-1px);
}

.social-link:focus-visible {
  outline: 3px dashed rgba(20, 19, 38, 0.85);
  outline-offset: 3px;
}

.nav a {
  display: inline-block;
  color: #181634;
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(0.64rem, 1.45vw, 0.82rem);
  letter-spacing: 0.6px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: clamp(0.24rem, 0.65vw, 0.4rem) clamp(0.5rem, 1.2vw, 0.75rem);
  background: linear-gradient(180deg, #fff6b8 0%, #ffd96d 100%);
  box-shadow: 2px 2px 0 rgba(20, 19, 38, 0.32);
}

.nav li:nth-child(2n) a {
  background: linear-gradient(180deg, #b4efff 0%, #86d6ff 100%);
}

.nav li:nth-child(3n) a {
  background: linear-gradient(180deg, #ffc5df 0%, #ffa3cf 100%);
}

.nav a:hover {
  transform: translateY(-1px);
}

.inline-link {
  color: #0f4fba;
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

.inline-link:hover {
  color: #d81b72;
}

.content {
  padding: 1.6rem 0 1.5rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.hero-copy,
.hero-console,
.card,
.terminal-panel,
.about,
.education,
.portfolio,
.blog-list {
  border: 3px solid var(--ink);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 7px 7px 0 rgba(20, 19, 38, 0.22);
}

.hero-copy {
  padding: 1.25rem;
  background:
    radial-gradient(circle at 12% 14%, #ffe66f 0 75px, transparent 77px),
    radial-gradient(circle at 86% 10%, #85f0ff 0 85px, transparent 87px),
    linear-gradient(165deg, #ffffff 0%, #f8f5ff 100%);
}

.hero-kicker {
  display: inline-block;
  margin: 0 0 0.65rem;
  padding: 0.3rem 0.55rem;
  background: #0f1232;
  color: #f7fbff;
  border-radius: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.tagline {
  margin: 0;
  font-family: "Arial Black", "Impact", sans-serif;
  font-size: clamp(1.45rem, 2.2vw, 2.15rem);
  line-height: 1.15;
}

.hero-copy p {
  margin: 0.8rem 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.btn {
  display: inline-block;
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
  border: 2px solid var(--ink);
  text-decoration: none;
  font-weight: 800;
  background: linear-gradient(180deg, #2794ff 0%, #155fc8 100%);
  color: #fff;
  box-shadow: 3px 3px 0 rgba(20, 19, 38, 0.35);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-alt {
  background: linear-gradient(180deg, #ff932f 0%, #eb5e00 100%);
}

.hero-console {
  padding: 1rem;
  background:
    linear-gradient(45deg, rgba(255, 95, 170, 0.18) 0 16px, transparent 16px 32px),
    linear-gradient(-45deg, rgba(31, 124, 247, 0.15) 0 16px, transparent 16px 32px),
    linear-gradient(180deg, #fdfcff 0%, #edf3ff 100%);
  background-size: 32px 32px, 32px 32px, auto;
}

.hero-console h3 {
  margin: 0 0 0.5rem;
  font-family: "Arial Black", "Impact", sans-serif;
  font-size: 1.1rem;
}

.hero-console p {
  margin: 0;
}

.hero-console ul {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
}

.section-banner {
  margin: 0 0 0.75rem;
  padding: 0.45rem 0.8rem;
  display: inline-block;
  border: 3px solid var(--ink);
  border-radius: 10px;
  background: var(--sun);
  font-family: "Arial Black", "Impact", sans-serif;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.expertise {
  margin-bottom: 1.25rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.cards .card {
  display: flex;
  flex-direction: column;
}

.card {
  padding: 0.95rem;
}

.card h4 {
  margin: 0 0 0.45rem;
  font-family: "Arial Black", "Impact", sans-serif;
  font-size: 1rem;
  line-height: 1.2;
  min-height: 2.4em;
}

.card p {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
}

.cards .card p {
  flex-grow: 1;
}

.cards .card .mini-btn {
  margin-top: auto;
}

.card-sky {
  background: linear-gradient(180deg, #b4efff 0%, #8fd9ff 100%);
}

.card-pink {
  background: linear-gradient(180deg, #ffc0dc 0%, #ffa8d0 100%);
}

.card-yellow {
  background: linear-gradient(180deg, #fff2a3 0%, #ffe678 100%);
}

.mini-btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 800;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: #13142a;
  color: #f9fbff;
  padding: 0.35rem 0.6rem;
}

.terminal-panel {
  padding: 0.9rem;
  background:
    linear-gradient(120deg, rgba(31, 124, 247, 0.14), rgba(255, 95, 170, 0.16)),
    #f7f7ff;
}

.terminal-panel h3 {
  margin: 0 0 0.65rem;
  font-family: "Arial Black", "Impact", sans-serif;
  font-size: 1rem;
}

.console-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
}

.console-row input {
  width: 100%;
  border: 2px solid var(--ink);
  border-radius: 8px;
  font: inherit;
  padding: 0.5rem 0.65rem;
  background: #10132f;
  color: #e7f0ff;
}

.console-row input::placeholder {
  color: #94a0cf;
}

.console-row button {
  border: 2px solid var(--ink);
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  color: #1a1832;
  padding: 0.5rem 0.7rem;
  background: linear-gradient(180deg, #ffe66f 0%, #ffcc42 100%);
}

.terminal-panel-secret {
  position: relative;
  overflow: hidden;
}

.signal-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
}

.signal-copy {
  margin: 0 0 0.65rem;
  max-width: 38rem;
  font-size: 0.95rem;
}

.console-row-secret {
  align-items: stretch;
}

.signal-status {
  margin: 0.7rem 0 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: #302b55;
}

.signal-status[data-state="miss"] {
  color: #a22f63;
}

.signal-status[data-state="hit"] {
  color: #0e6789;
}

.after-hours-stage[hidden] {
  display: none;
}

.after-hours-stage {
  display: block;
  margin-bottom: 1.25rem;
}

.after-hours-shell {
  border: 3px solid var(--ink);
  border-radius: 18px;
  box-shadow: 6px 6px 0 rgba(20, 19, 38, 0.2);
  display: grid;
  gap: 0.85rem;
  padding: 1rem 1rem 1.05rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 16%, rgba(255, 248, 110, 0.2), transparent 18%),
    radial-gradient(circle at 92% 22%, rgba(77, 241, 255, 0.18), transparent 19%),
    linear-gradient(118deg, rgba(255, 90, 198, 0.2), transparent 24%),
    linear-gradient(212deg, rgba(72, 241, 255, 0.18), transparent 28%),
    linear-gradient(160deg, #0c0820 0%, #190f36 58%, #08050f 100%);
  color: #f6f3ff;
}

.after-hours-copy {
  display: grid;
  gap: 0.4rem;
}

.after-hours-copy h2 {
  margin: 0;
  font-family: "Arial Black", "Impact", sans-serif;
  font-size: clamp(1.45rem, 2.4vw, 2.05rem);
  color: #fdf2ff;
}

.after-hours-copy p:last-child {
  margin: 0;
}

.after-hours-actions {
  display: flex;
  justify-content: flex-start;
}

.darkmode-player-shell {
  display: grid;
  gap: 0.85rem;
  padding: 0.95rem;
  background:
    radial-gradient(circle at top right, rgba(255, 83, 182, 0.24), transparent 34%),
    radial-gradient(circle at left bottom, rgba(88, 241, 255, 0.22), transparent 36%),
    linear-gradient(160deg, #0c0820 0%, #190f36 58%, #08050f 100%);
  color: #f6f3ff;
}

.darkmode-player-copy h4 {
  margin: 0.15rem 0 0.45rem;
  font-family: "Arial Black", "Impact", sans-serif;
  font-size: 1.2rem;
  color: #fdf2ff;
}

.darkmode-player-copy p {
  margin: 0;
}

.darkmode-kicker {
  display: inline-block;
  margin: 0;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #74fbff;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 800;
}

.darkmode-player-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(135deg, rgba(255, 58, 166, 0.24), rgba(53, 242, 255, 0.2)),
    #0d0a18;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 28px rgba(255, 70, 185, 0.25),
    0 0 40px rgba(66, 235, 255, 0.18);
}

.darkmode-player-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 24%),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0 2px, transparent 2px 5px);
  mix-blend-mode: screen;
}

.darkmode-player-frame iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.mini-btn-darkmode {
  justify-self: start;
  background: linear-gradient(180deg, #ff61d2 0%, #b934cb 100%);
  color: #fff7ff;
  box-shadow: 0 0 18px rgba(255, 97, 210, 0.3);
}

@keyframes neonPulse {
  0%, 100% {
    box-shadow:
      0 0 0 rgba(255, 78, 193, 0),
      0 0 22px rgba(85, 238, 255, 0.2),
      0 0 44px rgba(255, 78, 193, 0.18);
  }

  50% {
    box-shadow:
      0 0 18px rgba(255, 78, 193, 0.2),
      0 0 34px rgba(85, 238, 255, 0.35),
      0 0 58px rgba(255, 78, 193, 0.28);
  }
}

body.memphis-theme.roller-darkmode {
  color: #f9f4ff;
  background-color: #060311;
  background-image:
    radial-gradient(circle at 14% 18%, rgba(255, 241, 112, 0.14) 0 6%, transparent 20%),
    radial-gradient(circle at 86% 16%, rgba(73, 242, 255, 0.12) 0 7%, transparent 21%),
    linear-gradient(125deg, transparent 0 17%, rgba(255, 82, 173, 0.28) 18% 18.6%, transparent 19.2% 48%, rgba(83, 241, 255, 0.22) 49% 49.6%, transparent 50.2% 100%),
    linear-gradient(35deg, transparent 0 14%, rgba(122, 79, 255, 0.24) 14.5% 15.2%, transparent 16% 58%, rgba(255, 228, 101, 0.18) 58.6% 59.2%, transparent 60% 100%),
    radial-gradient(circle at 50% 120%, rgba(255, 97, 210, 0.2), transparent 35%),
    linear-gradient(180deg, #090316 0%, #100424 34%, #14072d 64%, #090312 100%);
  background-size: auto, auto, cover, cover, auto, cover;
  background-position: center, center, center, center, center, center;
  background-attachment: fixed;
}

.roller-darkmode .memphis-stage {
  position: relative;
  background:
    linear-gradient(160deg, rgba(7, 5, 23, 0.92), rgba(18, 8, 37, 0.86)),
    repeating-linear-gradient(135deg, rgba(255, 82, 173, 0.08) 0 12px, rgba(56, 241, 255, 0.05) 12px 24px);
  border-color: #7efbff;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 32px rgba(82, 233, 255, 0.26),
    0 0 62px rgba(255, 51, 170, 0.22);
}

.roller-darkmode .memphis-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(118deg, transparent 0 18%, rgba(255, 247, 90, 0.42) 19% 19.7%, transparent 20.3% 48%, rgba(68, 241, 255, 0.4) 49% 49.6%, transparent 50.2% 100%),
    linear-gradient(38deg, transparent 0 16%, rgba(255, 82, 173, 0.34) 16.5% 17.1%, transparent 17.8% 62%, rgba(129, 90, 255, 0.26) 62.5% 63.2%, transparent 64% 100%);
  opacity: 0.85;
  mix-blend-mode: screen;
}

.roller-darkmode .after-hours-stage {
  display: block;
}

.roller-darkmode [data-after-hours-panel] {
  display: none;
}

.roller-darkmode .after-hours-shell {
  border-color: rgba(126, 251, 255, 0.92);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 22px rgba(88, 239, 255, 0.16),
    7px 7px 0 rgba(5, 4, 14, 0.58);
  animation: neonPulse 4.2s ease-in-out infinite;
}

.roller-darkmode .site-header {
  background-image: image-set(
    url("/images/darkmode.webp") type("image/webp"),
    url("/images/darkmode.png") type("image/png")
  );
  border-bottom-color: #86faff;
}

.roller-darkmode .brand a,
.roller-darkmode .tagline,
.roller-darkmode .hero-console h3,
.roller-darkmode .section-banner,
.roller-darkmode .terminal-panel h3 {
  color: #fff3ff;
  text-shadow:
    0 0 8px rgba(255, 94, 202, 0.65),
    0 0 18px rgba(88, 239, 255, 0.32);
}

.roller-darkmode .nav a,
.roller-darkmode .btn,
.roller-darkmode .btn-alt,
.roller-darkmode .mini-btn,
.roller-darkmode .console-row button {
  border-color: #87fbff;
  color: #fff5ff;
  box-shadow:
    0 0 16px rgba(255, 84, 184, 0.22),
    3px 3px 0 rgba(7, 4, 20, 0.58);
}

.roller-darkmode .nav a {
  background: linear-gradient(180deg, #171130 0%, #2c1d5c 100%);
}

.roller-darkmode .nav li:nth-child(2n) a {
  background: linear-gradient(180deg, #0f2a57 0%, #1552b8 100%);
}

.roller-darkmode .nav li:nth-child(3n) a {
  background: linear-gradient(180deg, #7a1d6d 0%, #b42fc5 100%);
}

.roller-darkmode .nav li:nth-child(4n) a {
  background: linear-gradient(180deg, #0f3f53 0%, #0ca2c9 100%);
}

.roller-darkmode .nav a:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 22px rgba(126, 251, 255, 0.35),
    0 0 26px rgba(255, 84, 184, 0.32),
    3px 3px 0 rgba(7, 4, 20, 0.58);
}

.roller-darkmode .social-strip {
  border-color: rgba(110, 252, 255, 0.7);
  background:
    linear-gradient(135deg, rgba(255, 73, 175, 0.2), rgba(69, 238, 255, 0.18)),
    rgba(8, 6, 22, 0.74);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 20px rgba(255, 67, 177, 0.24),
    0 0 28px rgba(72, 240, 255, 0.18);
}

.roller-darkmode .social-link {
  color: #f8fbff;
  border-color: rgba(255, 255, 255, 0.18);
  background: linear-gradient(135deg, rgba(255, 63, 173, 0.82), rgba(91, 248, 255, 0.4));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 18px rgba(255, 67, 177, 0.24);
}

.roller-darkmode .social-link:nth-of-type(1) {
  background: linear-gradient(135deg, rgba(255, 222, 93, 0.88), rgba(255, 132, 42, 0.62));
  color: #1a1125;
}

.roller-darkmode .social-link:nth-of-type(2) {
  background: linear-gradient(135deg, rgba(78, 244, 255, 0.9), rgba(66, 120, 255, 0.5));
}

.roller-darkmode .social-link:nth-of-type(3) {
  background: linear-gradient(135deg, rgba(255, 88, 184, 0.9), rgba(181, 74, 255, 0.55));
}

.roller-darkmode .social-link:hover {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 24px rgba(255, 67, 177, 0.32),
    0 0 30px rgba(78, 244, 255, 0.2);
}

.roller-darkmode .btn {
  background: linear-gradient(180deg, #27b7ff 0%, #1152ff 100%);
}

.roller-darkmode .btn-alt {
  background: linear-gradient(180deg, #ff7fd9 0%, #ff4a7f 100%);
}

.roller-darkmode .mini-btn,
.roller-darkmode .console-row button {
  background: linear-gradient(180deg, #ff5dc9 0%, #7e3cff 100%);
}

.roller-darkmode .hero-copy,
.roller-darkmode .hero-console,
.roller-darkmode .card,
.roller-darkmode .terminal-panel,
.roller-darkmode .about,
.roller-darkmode .education,
.roller-darkmode .portfolio,
.roller-darkmode .blog-list,
.roller-darkmode .contact-panel {
  position: relative;
  background:
    linear-gradient(160deg, rgba(10, 7, 24, 0.94), rgba(29, 15, 55, 0.88)),
    rgba(11, 8, 21, 0.9);
  color: #f8f3ff;
  border-color: rgba(126, 251, 255, 0.92);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 20px rgba(88, 239, 255, 0.16),
    7px 7px 0 rgba(5, 4, 14, 0.58);
}

.roller-darkmode .hero-copy::after,
.roller-darkmode .hero-console::after,
.roller-darkmode .card::after,
.roller-darkmode .terminal-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(circle at top left, rgba(255, 84, 184, 0.14), transparent 34%),
    radial-gradient(circle at bottom right, rgba(89, 240, 255, 0.12), transparent 36%);
}

.roller-darkmode .hero-kicker,
.roller-darkmode .project-type {
  background: rgba(255, 255, 255, 0.08);
  color: #7efbff;
  border-color: rgba(126, 251, 255, 0.7);
}

.roller-darkmode .inline-link {
  color: #89fbff;
}

.roller-darkmode .inline-link:hover {
  color: #ff83d5;
}

.roller-darkmode .card-sky,
.roller-darkmode .card-pink,
.roller-darkmode .card-yellow {
  background:
    linear-gradient(160deg, rgba(10, 7, 24, 0.94), rgba(29, 15, 55, 0.88)),
    rgba(11, 8, 21, 0.9);
}

.roller-darkmode .section-banner {
  background: linear-gradient(90deg, #ff58c8 0%, #8d4dff 50%, #51f0ff 100%);
  border-color: rgba(255, 255, 255, 0.12);
}

.roller-darkmode .console-row input,
.roller-darkmode .contact-form input,
.roller-darkmode .contact-form textarea {
  background: rgba(10, 9, 28, 0.95);
  color: #f8f3ff;
  border-color: #7efbff;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 12px rgba(89, 240, 255, 0.12);
}

.roller-darkmode .console-row input::placeholder {
  color: rgba(219, 195, 255, 0.7);
}

.roller-darkmode .signal-status {
  color: #7efbff;
}

.roller-darkmode .signal-status[data-state="miss"] {
  color: #ff96d0;
}

.roller-darkmode .signal-status[data-state="hit"] {
  color: #8effc6;
}

.roller-darkmode .site-footer {
  color: #d7d2f0;
}

.roller-darkmode .darkmode-player-shell,
.roller-darkmode .after-hours-shell {
  animation: neonPulse 4.2s ease-in-out infinite;
}

.about,
.education,
.portfolio,
.blog-list,
.contact-panel {
  margin-bottom: 1rem;
  padding: 1rem;
}

.contact-intro {
  margin: 0 0 0.8rem;
}

.contact-flash {
  margin: 0 0 1rem;
  border: 2px solid var(--ink);
  border-radius: 10px;
  padding: 0.6rem 0.75rem;
  background: linear-gradient(180deg, #d5ffe8 0%, #b3ffd6 100%);
  font-weight: 700;
}

.contact-flash-error {
  background: linear-gradient(180deg, #ffd4dc 0%, #ffb7c4 100%);
}

.contact-form {
  display: grid;
  gap: 0.55rem;
}

.contact-form label {
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  border: 2px solid var(--ink);
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  font: inherit;
  background: #ffffff;
  color: var(--ink);
}

.contact-form textarea {
  resize: vertical;
  min-height: 9rem;
}

.captcha-wrap {
  margin-top: 0.3rem;
}

.contact-form .btn {
  justify-self: start;
  margin-top: 0.2rem;
}

.bot-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.timeline-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.timeline-list li {
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: #ffffff;
  padding: 0.65rem 0.75rem;
}

.roller-darkmode .timeline-list li {
  border-color: rgba(126, 251, 255, 0.82);
  background:
    linear-gradient(150deg, rgba(12, 9, 28, 0.96), rgba(32, 16, 60, 0.9)),
    rgba(11, 8, 21, 0.92);
  color: #f6f1ff;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 14px rgba(86, 239, 255, 0.12);
}

.roller-darkmode .timeline-list li strong {
  color: #8effff;
}

.project-grid {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.portfolio-cards {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.portfolio-cards-compact .portfolio-card p {
  font-size: 0.92rem;
}

.portfolio-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.portfolio-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  line-height: 1.2;
  min-height: 2.5em;
}

.portfolio-card p {
  margin: 0 0 0.7rem;
}

.project-type {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 0.55rem;
  padding: 0.25rem 0.5rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.project-meta {
  margin-top: 0.2rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #2c2a47;
}

.project-links {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 0.45rem;
}

.project-group ul {
  margin: 0;
  padding-left: 1.1rem;
}

.project-group li + li {
  margin-top: 0.5rem;
}

.ops-session-board {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.8rem;
}

.ops-session-card {
  border: 3px solid var(--ink);
  border-radius: 18px;
  padding: 0.95rem 1rem;
  box-shadow: 6px 6px 0 rgba(16, 19, 47, 0.18);
}

.ops-session-low {
  background: linear-gradient(135deg, #d7f7ff 0%, #bfeeff 100%);
}

.ops-session-medium {
  background: linear-gradient(135deg, #ffe8a8 0%, #ffd97c 100%);
}

.ops-session-high {
  background: linear-gradient(135deg, #ffc0ca 0%, #ff9cb2 100%);
}

.ops-session-review {
  background: linear-gradient(135deg, #e7ddff 0%, #cfc1ff 100%);
}

.ops-session-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.ops-session-head h4,
.ops-session-head p,
.ops-session-meta,
.ops-session-grid p,
.ops-session-signals,
.ops-session-ua {
  margin: 0;
}

.ops-session-meta {
  font-size: 0.85rem;
  font-weight: 800;
  text-align: right;
}

.ops-session-grid {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 0.9rem;
}

.ops-session-signals,
.ops-session-ua {
  margin-top: 0.7rem;
}

.ops-session-columns {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.ops-session-columns h5 {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
}

.ops-session-list {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.35rem;
}

.ops-session-list li {
  font-size: 0.92rem;
  line-height: 1.35;
}

.ops-session-ua {
  overflow-wrap: anywhere;
  font-size: 0.92rem;
}

.post-grid {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.post-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
}

.post-card h3 a {
  color: inherit;
}

.post-card p {
  margin: 0;
}

.site-footer {
  margin-top: 0.4rem;
  padding: 1rem 0 1.25rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
}

.elixir-heart {
  color: #ff4f87;
}

.easter-egg {
  position: fixed;
  top: 16%;
  left: 50%;
  transform: translateX(-50%);
  width: min(520px, calc(100vw - 2rem));
  background:
    linear-gradient(145deg, rgba(11, 15, 30, 0.96), rgba(18, 29, 46, 0.96)),
    #0e1120;
  border: 3px solid #8cf7d2;
  border-radius: 18px;
  padding: 1.4rem 1.6rem;
  z-index: 1000;
  text-align: left;
  color: #d7fff2;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.38);
}

.easter-egg h2 {
  margin-top: 0;
  margin-bottom: 0.65rem;
  font-size: 1.45rem;
  font-family: "Arial Black", "Impact", sans-serif;
  letter-spacing: 1px;
}

.easter-egg p {
  margin: 0.55rem 0;
  line-height: 1.45;
}

.easter-egg code {
  color: #ffe66f;
}

.easter-egg button {
  border: 2px solid #8cf7d2;
  border-radius: 999px;
  background: linear-gradient(180deg, #1b3952 0%, #112436 100%);
  color: #f3fffb;
  font: inherit;
  font-weight: 800;
  padding: 0.45rem 0.9rem;
}

@media (max-width: 900px) {
  .site-header {
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
  }

  .site-header .container {
    padding-top: 0.95rem;
    gap: 0.75rem;
  }

  .header-nav-row {
    width: 100%;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr 1fr;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-cards {
    grid-template-columns: 1fr 1fr;
  }

  .post-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 640px) {
  .memphis-stage {
    width: calc(100vw - 1rem);
    margin: 0.5rem auto 1rem;
    border-radius: 14px;
  }

  .container,
  .content,
  .site-footer {
    width: calc(100vw - 2rem);
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .portfolio-cards {
    grid-template-columns: 1fr;
  }

  .ops-session-head {
    flex-direction: column;
  }

  .ops-session-grid {
    grid-template-columns: 1fr;
  }

  .ops-session-columns {
    grid-template-columns: 1fr;
  }

  .console-row {
    grid-template-columns: 1fr;
  }

  .site-header {
    background-size: 100% 100%;
    background-position: center top;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
  }

  .site-header .container {
    position: static;
    gap: 0;
    padding-top: 0.7rem;
    padding-bottom: 2.6rem;
  }

  .brand {
    font-size: clamp(1.55rem, 8.5vw, 2.6rem);
    letter-spacing: 1px;
  }

  .nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: center;
    gap: 0.18rem;
  }

  .nav li {
    min-width: 0;
  }

  .site-header nav {
    margin-top: 0;
    width: 100%;
  }

  .header-nav-row {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 5px;
  }

  .header-nav-row nav {
    grid-column: 1;
    justify-self: center;
  }

  .social-strip {
    position: absolute;
    left: 50%;
    bottom: 11px;
    z-index: 2;
    grid-column: auto;
    justify-self: auto;
    transform: translateX(-50%);
    gap: 0.18rem;
    padding: 0.14rem 0.18rem;
  }

  .social-link {
    width: 1.08rem;
    height: 1.08rem;
    min-width: 1.08rem;
    min-height: 1.08rem;
  }

  .social-link svg {
    width: 0.56rem;
    height: 0.56rem;
  }

  .header-hotspot-elixir {
    left: 1.2%;
    top: 54%;
    width: 28%;
    height: 37%;
  }

  .header-hotspot-rick {
    left: 70.8%;
    top: 54%;
    width: 28%;
    height: 37%;
  }

  .nav a {
    display: block;
    width: 100%;
    font-size: 0.42rem;
    letter-spacing: 0.15px;
    border-width: 1px;
    box-shadow: 1px 1px 0 rgba(20, 19, 38, 0.32);
    padding: 0.08rem 0.08rem;
    white-space: nowrap;
    text-align: center;
  }
}
