*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --rupert-black: #1a1612;
  --rupert-ink: #2d2418;
  --rupert-ink-soft: #6b5d4d;
  --rupert-cream: #fff9f0;
  --rupert-warm: #fff0d8;
  --rupert-sky: #fef3dc;
  --rupert-orange: #f5931e;
  --rupert-orange-bright: #ffb020;
  --rupert-magenta: #c026d3;
  --rupert-magenta-soft: #e879f9;
  --rupert-green: #4ade80;
  --rupert-green-deep: #22c55e;
  --rupert-red: #ef4444;
  --rupert-white: #fffdf8;
  --surface: #fff9f0;
  --surface-dark: #2a2218;
  --rail: 92px;
  --font-display: "Fredoka", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
  --font-mono: "Space Mono", ui-monospace, monospace;
  --radius: 18px;
  --outline: 3px solid var(--rupert-black);
  --shadow: 0 12px 40px rgba(26, 22, 18, 0.18);
  --shadow-hard: 6px 6px 0 var(--rupert-black);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--rupert-ink);
  background: var(--rupert-cream);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
}

.doodle-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 70;
  overflow: hidden;
}

.doodle-stamp {
  position: absolute;
  width: var(--d-size, 14px);
  height: var(--d-size, 14px);
  margin: calc(var(--d-size, 14px) / -2) 0 0 calc(var(--d-size, 14px) / -2);
  background: var(--rupert-orange);
  border-radius: 50%;
  transform: translate(var(--x, 0), var(--y, 0)) scale(0.3);
  animation: doodle-pop var(--d-life, 1s) ease-out forwards;
}

@keyframes doodle-pop {
  0% { opacity: 0; transform: translate(var(--x, 0), var(--y, 0)) scale(0.2); }
  20% { opacity: 0.9; transform: translate(var(--x, 0), var(--y, 0)) scale(1.2); }
  100% { opacity: 0; transform: translate(var(--x, 0), var(--y, 0)) scale(0.6); }
}

@media (prefers-reduced-motion: reduce) {
  .doodle-layer { display: none; }
  .hero-sun,
  .hero-bokeh,
  .hero-ball { animation: none; }
}

/* Left rail */
.rail {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--rail);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  padding: 1.1rem 0.6rem;
  background: var(--rupert-white);
  border-right: var(--outline);
}

.nav-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  color: var(--rupert-black);
}

.nav-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--rupert-black);
  box-shadow: var(--shadow-hard);
  background: var(--rupert-white);
}

.nav-title {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
  list-style: none;
  margin-top: auto;
  margin-bottom: auto;
}

.nav-links a {
  color: var(--rupert-ink-soft);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--rupert-orange); }

.nav-socials {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  writing-mode: horizontal-tb;
  transform: none;
}

.nav-social {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--rupert-black);
  color: var(--rupert-white) !important;
  border: 2px solid var(--rupert-black);
  writing-mode: horizontal-tb;
  transform: none !important;
  transition: background 0.2s, transform 0.2s;
}

.nav-social:hover {
  background: var(--rupert-orange-bright);
  color: var(--rupert-black) !important;
  transform: translateY(-2px) !important;
}

.nav-social-ig:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: var(--rupert-white) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 3px;
  background: var(--rupert-black);
  border-radius: 2px;
}

.app {
  margin-left: var(--rail);
}

/* Hero */
.stage {
  display: grid;
  grid-template-columns: 1.55fr 0.95fr;
  min-height: 100vh;
  min-height: 100dvh;
}

.hero-showcase {
  position: relative;
  margin: 0;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 3.5rem 2rem 5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 75% 15%, rgba(255, 200, 80, 0.55), transparent 55%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(74, 222, 128, 0.25), transparent 50%),
    linear-gradient(165deg, #fff6e8 0%, #ffe8c4 35%, #c8e6a0 72%, #7cb342 100%);
}

.hero-sun {
  position: absolute;
  top: -8%;
  right: -5%;
  width: min(42vw, 320px);
  height: min(42vw, 320px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 220, 100, 0.95) 0%, rgba(255, 176, 32, 0.4) 45%, transparent 70%);
  filter: blur(2px);
  animation: heroSunPulse 6s ease-in-out infinite;
}

@keyframes heroSunPulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.06); opacity: 1; }
}

.hero-grass {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 28%;
  background: linear-gradient(to top, rgba(56, 120, 40, 0.35), transparent);
  pointer-events: none;
}

.hero-bokeh {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  filter: blur(1px);
}

.hero-bokeh-1 { width: 18px; height: 18px; top: 22%; left: 12%; animation: heroFloat 7s ease-in-out infinite; }
.hero-bokeh-2 { width: 12px; height: 12px; top: 38%; right: 18%; animation: heroFloat 5s ease-in-out infinite 1s; }
.hero-bokeh-3 { width: 22px; height: 22px; bottom: 32%; left: 22%; animation: heroFloat 8s ease-in-out infinite 0.5s; }

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(-12px); opacity: 0.85; }
}

.hero-portrait-wrap {
  position: relative;
  z-index: 2;
  width: min(72vw, 420px);
  aspect-ratio: 1;
  animation: heroPortraitIn 1s ease-out both;
}

@keyframes heroPortraitIn {
  from { opacity: 0; transform: scale(0.92) translateY(16px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-ring-outer {
  inset: -14px;
  border: 4px solid var(--rupert-black);
  box-shadow: var(--shadow-hard);
}

.hero-ring-inner {
  inset: -6px;
  border: 3px solid var(--rupert-orange-bright);
  opacity: 0.85;
}

.hero-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid var(--rupert-white);
  box-shadow:
    0 24px 60px rgba(26, 22, 18, 0.28),
    0 0 0 1px rgba(26, 22, 18, 0.08);
  display: block;
}

.hero-ball {
  position: absolute;
  bottom: 6%;
  right: -4%;
  width: 18%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ff6b6b, #dc2626 55%, #991b1b);
  border: 3px solid var(--rupert-black);
  box-shadow: 4px 4px 0 var(--rupert-black);
  animation: heroBallBounce 2.4s ease-in-out infinite;
}

@keyframes heroBallBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-badge {
  position: absolute;
  top: 4%;
  left: -6%;
  font-family: var(--font-mono);
  font-size: clamp(0.72rem, 2vw, 0.88rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--rupert-black);
  background: var(--rupert-orange-bright);
  border: 3px solid var(--rupert-black);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  box-shadow: 4px 4px 0 var(--rupert-black);
  transform: rotate(-8deg);
}

.hero-tagline {
  position: relative;
  z-index: 2;
  margin-top: 1.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--rupert-black);
  text-align: center;
  text-shadow: 3px 3px 0 var(--rupert-orange-bright);
  letter-spacing: 0.02em;
  animation: heroPortraitIn 1s ease-out 0.15s both;
}

.hero-meta {
  position: absolute;
  top: 28px;
  left: 32px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--rupert-black);
  z-index: 3;
}

.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #fff;
  background: var(--rupert-red);
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  border: 2px solid var(--rupert-black);
  letter-spacing: 0.1em;
  font-size: 0.68rem;
  font-weight: 700;
}

.live-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  animation: pulse 1.2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.hero-tape {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  background: var(--rupert-black);
  border-top: 3px solid var(--rupert-black);
  padding: 0.7rem 0;
  z-index: 3;
}

.tape-track {
  display: flex;
  gap: 1.6rem;
  width: max-content;
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  color: var(--rupert-orange-bright);
  animation: marquee 22s linear infinite;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.desk {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3.5rem 2.4rem;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(245, 147, 30, 0.22), transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(192, 38, 211, 0.08), transparent 45%),
    linear-gradient(180deg, var(--rupert-warm), var(--rupert-cream));
  border-left: var(--outline);
}

.desk-kicker {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--rupert-magenta);
  margin-bottom: 0.7rem;
}

.desk-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: var(--rupert-black);
  text-shadow: 4px 4px 0 var(--rupert-orange-bright);
}

.desk-ticker {
  font-family: var(--font-mono);
  font-size: 1.55rem;
  letter-spacing: 0.16em;
  color: var(--rupert-orange);
  margin: 0.55rem 0 1.1rem;
  font-weight: 700;
}

.desk-bio {
  color: var(--rupert-ink-soft);
  font-weight: 700;
  max-width: 28em;
  margin-bottom: 1.5rem;
}

.desk-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.6rem;
}

.desk-stats div {
  padding: 0.7rem 0.75rem;
  border: var(--outline);
  background: var(--rupert-white);
  box-shadow: 4px 4px 0 var(--rupert-black);
}

.desk-stats dt {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rupert-ink-soft);
}

.desk-stats dd {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--rupert-black);
}

.desk-stats .up { color: var(--rupert-green-deep); }

.desk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.92rem;
  text-decoration: none;
  border: 3px solid var(--rupert-black);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--rupert-black);
}

.btn-primary {
  background: var(--rupert-orange-bright);
  color: var(--rupert-black);
  box-shadow: var(--shadow-hard);
}

.btn-ghost {
  background: var(--rupert-white);
  color: var(--rupert-black);
}

.btn-copy {
  background: var(--rupert-green);
  color: var(--rupert-black);
  flex-shrink: 0;
}

.btn-copy.copied {
  background: var(--rupert-orange-bright);
}

/* Content */
main {
  display: grid;
  gap: 1.1rem;
  padding: 1.1rem;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(245, 147, 30, 0.12), transparent 40%),
    radial-gradient(ellipse at 80% 60%, rgba(192, 38, 211, 0.06), transparent 35%),
    var(--rupert-cream);
}

.section-label {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  color: var(--rupert-magenta);
  margin-bottom: 0.55rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3rem);
  line-height: 0.98;
  color: var(--rupert-black);
  margin-bottom: 0.85rem;
}

.section-text {
  color: var(--rupert-ink-soft);
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
  max-width: 38em;
}

.section-text strong { color: var(--rupert-black); }

.about {
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: 3rem;
  align-items: center;
  padding: 2.4rem 2.2rem;
  background: var(--surface);
  border: var(--outline);
  border-radius: 28px;
  box-shadow: var(--shadow-hard);
}

.about-portrait {
  margin: 0;
  display: grid;
  place-items: center;
}

.about-portrait img {
  width: min(100%, 320px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--rupert-black);
  box-shadow: var(--shadow-hard);
  background: var(--rupert-white);
}

.about-copy .section-title {
  margin-bottom: 1.1rem;
}

.about-quote {
  margin: 0.4rem 0 1.3rem;
  padding-left: 1rem;
  border-left: 4px solid var(--rupert-orange);
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.25;
  color: var(--rupert-orange);
}

.about-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
}

.about-chips li {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: var(--rupert-black);
  padding: 0.4rem 0.75rem;
  border: 2px solid var(--rupert-black);
  border-radius: 999px;
  background: var(--rupert-orange-bright);
  font-weight: 700;
}

.lore {
  padding: 0.4rem 0.2rem 0.2rem;
}

.lore-head { margin-bottom: 1rem; }

.lore-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.lore-card {
  padding: 1.35rem 1.2rem;
  background: var(--surface);
  border: var(--outline);
  border-radius: var(--radius);
  min-height: 190px;
  box-shadow: 4px 4px 0 var(--rupert-black);
  transition: transform 0.2s;
}

.lore-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 7px 7px 0 var(--rupert-black);
}

.lore-card span {
  font-family: var(--font-mono);
  color: var(--rupert-orange);
  display: block;
  margin-bottom: 0.55rem;
  font-weight: 700;
}

.lore-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--rupert-black);
  margin-bottom: 0.4rem;
}

.lore-card p {
  color: var(--rupert-ink-soft);
  font-size: 0.95rem;
  font-weight: 600;
}

/* Videos */
.videos {
  padding: 1.6rem 1.4rem 1.8rem;
  background: var(--surface);
  border: var(--outline);
  border-radius: 28px;
  box-shadow: var(--shadow-hard);
}

.videos-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.videos-head .section-title { margin-bottom: 0.35rem; }

.videos-sub {
  color: var(--rupert-ink-soft);
  font-weight: 700;
  font-size: 0.95rem;
  max-width: 34em;
}

.videos-count {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rupert-black);
  background: var(--rupert-orange-bright);
  border: 2px solid var(--rupert-black);
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-weight: 700;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.video-card {
  position: relative;
  margin: 0;
  border: var(--outline);
  border-radius: var(--radius);
  background: var(--rupert-black);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--rupert-black);
  transition: transform 0.2s, box-shadow 0.2s;
  aspect-ratio: 9 / 16;
}

.video-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 7px 7px 0 var(--rupert-magenta);
}

.video-card video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--rupert-black);
}

.video-play-icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 2.4rem;
  color: var(--rupert-white);
  background: rgba(26, 22, 18, 0.25);
  pointer-events: none;
  transition: background 0.2s, opacity 0.2s;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.video-card:hover .video-play-icon {
  opacity: 0;
}

.video-card-featured {
  border-width: 4px;
  box-shadow: 6px 6px 0 var(--rupert-orange);
}

/* Instagram */
.instagram {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.4rem;
  align-items: center;
  padding: 1.6rem 1.4rem;
  background: var(--surface);
  border: var(--outline);
  border-radius: 28px;
  box-shadow: var(--shadow-hard);
}

.instagram-copy {
  padding: 0.5rem 0.5rem 0.5rem 0.8rem;
}

.instagram-embed-wrap {
  border: var(--outline);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--rupert-white);
  box-shadow: 4px 4px 0 var(--rupert-black);
  min-height: 480px;
}

.instagram-embed {
  display: block;
  width: 100%;
  height: 520px;
  border: 0;
  background: var(--rupert-white);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem;
  background: rgba(26, 22, 18, 0.92);
  backdrop-filter: blur(6px);
}

.lightbox[hidden] { display: none !important; }

.lightbox-stage {
  margin: 0;
  max-height: calc(100vh - 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.lightbox-stage video {
  max-width: min(480px, 100%);
  max-height: calc(100vh - 6rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border: 4px solid var(--rupert-white);
  border-radius: 12px;
  background: var(--rupert-black);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.lightbox-stage figcaption {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: var(--rupert-warm);
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: 3px solid var(--rupert-white);
  border-radius: 50%;
  background: transparent;
  color: var(--rupert-white);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.lightbox-close:hover {
  background: var(--rupert-white);
  color: var(--rupert-black);
}

.lightbox-nav {
  width: 48px;
  height: 48px;
  border: 3px solid var(--rupert-white);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--rupert-white);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}

.lightbox-nav:hover {
  background: var(--rupert-orange-bright);
  color: var(--rupert-black);
  border-color: var(--rupert-orange-bright);
}

.community {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.4rem;
  align-items: center;
  padding: 1.2rem;
  background: var(--surface);
  border: var(--outline);
  border-radius: 22px;
  box-shadow: var(--shadow-hard);
}

.community-copy { padding: 1.2rem 1rem 1.2rem 1.3rem; }

.story-link {
  display: inline-block;
  margin-top: 0.35rem;
  font-weight: 800;
  color: var(--rupert-black);
  text-decoration: none;
  border-bottom: 3px solid var(--rupert-orange);
}

.story-link:hover { color: var(--rupert-orange); }

.x-card {
  background: var(--rupert-white);
  border: var(--outline);
  border-radius: 16px;
  padding: 1.15rem 1.2rem 1.1rem;
  color: var(--rupert-black);
  box-shadow: 4px 4px 0 var(--rupert-black);
}

.x-card-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
}

.x-card-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--rupert-black);
  flex-shrink: 0;
}

.x-card-who {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}

.x-card-who strong { font-size: 0.96rem; font-weight: 800; }
.x-card-who span { font-size: 0.86rem; color: var(--rupert-ink-soft); font-weight: 700; }

.x-card-logo {
  margin-left: auto;
  flex-shrink: 0;
}

.x-card-body {
  font-size: 1.05rem;
  line-height: 1.45;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.x-card-media {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 1;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid var(--rupert-black);
  margin-bottom: 0.85rem;
}

.x-card-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.7rem;
  border-radius: 999px;
  background: var(--rupert-black);
  color: var(--rupert-white);
  font-weight: 800;
  font-size: 0.92rem;
  text-decoration: none;
  border: 2px solid var(--rupert-black);
  transition: background 0.2s;
}

.x-card-cta:hover {
  background: var(--rupert-orange-bright);
  color: var(--rupert-black);
}

.terminal-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.1rem;
}

.ca-panel,
.buy-panel {
  padding: 2rem 1.7rem;
  background: var(--surface);
  border: var(--outline);
  border-radius: 22px;
  box-shadow: var(--shadow-hard);
}

.ca-box {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.6rem;
  padding: 1rem;
  background: var(--rupert-white);
  border: var(--outline);
  border-radius: 14px;
}

.ca-address {
  flex: 1;
  font-size: clamp(0.72rem, 2vw, 0.95rem);
  word-break: break-all;
  color: var(--rupert-black);
  font-weight: 700;
}

.ca-address.is-tba {
  font-family: var(--font-mono);
  font-size: clamp(1.4rem, 3.4vw, 2rem);
  letter-spacing: 0.16em;
  text-align: center;
  color: var(--rupert-orange);
}

.copy-toast {
  min-height: 1.4rem;
  margin-top: 0.7rem;
  font-weight: 700;
  color: var(--rupert-green-deep);
  opacity: 0;
  transition: opacity 0.25s;
}

.copy-toast.show { opacity: 1; }

.buy-list {
  list-style: none;
  display: grid;
  gap: 0.7rem;
  margin: 0.4rem 0 1.3rem;
  color: var(--rupert-ink-soft);
  font-weight: 600;
}

.buy-list strong {
  font-family: var(--font-mono);
  color: var(--rupert-orange);
  margin-right: 0.4rem;
}

.chart-dock {
  padding: 1.6rem;
  background: var(--surface);
  border: var(--outline);
  border-radius: 22px;
  box-shadow: var(--shadow-hard);
}

.chart-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1rem;
}

.chart-wrapper {
  border-radius: 16px;
  overflow: hidden;
  border: var(--outline);
  background: var(--rupert-white);
  min-height: 480px;
}

.chart-wrapper.is-tba {
  min-height: 260px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(245, 147, 30, 0.2), transparent 58%),
    var(--rupert-warm);
}

.chart-tba {
  text-align: center;
  color: var(--rupert-black);
  padding: 3rem 1.5rem;
}

.chart-tba-kicker {
  display: block;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--rupert-magenta);
  margin-bottom: 0.5rem;
}

.chart-tba strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  letter-spacing: 0.12em;
  color: var(--rupert-orange);
}

.chart-tba p {
  color: var(--rupert-ink-soft);
  font-weight: 700;
}

.dexscreener-embed {
  width: 100%;
  height: 560px;
  border: 0;
  display: block;
}

.chart-link {
  font-weight: 800;
  color: var(--rupert-black);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid var(--rupert-orange);
}

.chart-link:hover { color: var(--rupert-orange); }

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.6rem 1.4rem 2rem;
  border-top: var(--outline);
  background: var(--rupert-white);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--rupert-black);
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}

.footer-brand span {
  font-size: 0.82rem;
  font-family: var(--font-mono);
  opacity: 0.75;
}

.footer-disclaimer {
  max-width: 38em;
  font-size: 0.78rem;
  opacity: 0.7;
  text-align: right;
  font-weight: 600;
}

@media (max-width: 1100px) {
  .stage { grid-template-columns: 1fr; }
  .hero-showcase { min-height: 52vh; padding: 2.5rem 1.5rem 4.5rem; }
  .hero-portrait-wrap { width: min(55vw, 320px); }
  .lore-grid { grid-template-columns: 1fr 1fr; }
  .about {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.6rem;
    padding: 1.8rem 1.3rem;
  }
  .about-quote { border-left: 0; padding-left: 0; }
  .about-chips { justify-content: center; }
  .about .section-text { margin-inline: auto; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .terminal-row { grid-template-columns: 1fr; }
  .community { grid-template-columns: 1fr; }
  .community-copy { padding: 0.4rem 0.4rem 0; }
  .instagram { grid-template-columns: 1fr; }
  .instagram-copy { padding: 0.4rem 0.4rem 0; }
  .footer { flex-direction: column; text-align: center; }
  .footer-disclaimer { text-align: center; }
}

@media (max-width: 820px) {
  :root { --rail: 0px; }

  .rail {
    width: 100%;
    height: 68px;
    bottom: auto;
    flex-direction: row;
    justify-content: space-between;
    padding: 0.55rem 0.9rem;
    border-right: 0;
    border-bottom: var(--outline);
  }

  .nav-brand { flex-direction: row; }
  .nav-title { writing-mode: horizontal-tb; transform: none; font-size: 1.15rem; }
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    bottom: auto;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--rupert-white);
    padding: 0.4rem 0 1rem;
    border-bottom: var(--outline);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    writing-mode: horizontal-tb;
    transform: none;
    display: block;
    padding: 0.85rem 1.4rem;
    font-size: 0.92rem;
  }

  .nav-socials {
    flex-direction: row;
    justify-content: center;
    padding: 0.75rem;
  }

  .app { margin-left: 0; padding-top: 68px; }
  .desk { padding: 2rem 1.3rem 2.4rem; }
  .lore-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .videos-head { flex-direction: column; align-items: start; }
  .lightbox {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto auto;
    padding: 3.5rem 1rem 1rem;
  }
  .lightbox-nav { display: none; }
  .lightbox-stage { grid-row: 1; }
  .desk-stats { grid-template-columns: 1fr; }
  .ca-box { flex-direction: column; }
  .chart-head { flex-direction: column; align-items: start; }
  .dexscreener-embed,
  .chart-wrapper { min-height: 420px; height: 420px; }
  .dexscreener-embed { height: 420px; }
  .instagram-embed { height: 460px; }
}
