/* SPDX-License-Identifier: GPL-3.0-or-later */
:root {
      --bg-dark: #0B0B0C;
      --surface-1: #121215;
      --surface-2: #18181C;
      --surface-3: #222227;
      --paper: #F4F4F5;
      --accent: #E05315;
      --accent-hover: #FF6B26;
      --accent-glow: rgba(224, 83, 21, 0.25);
      --text-muted: #9DA3AE;
      --text-dim: #94A3B8;
      --border: #27272A;
      --border-light: #3F3F46;
      --mono: 'Space Mono', monospace;
      --display: 'Unbounded', sans-serif;
      --sans: 'Inter', sans-serif;
      --radius-sm: 6px;
      --radius-md: 10px;
      --radius-lg: 16px;
    }

    *:focus-visible {
      outline: 2px solid var(--accent);
      outline-offset: 3px;
    }



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

    html {
      scroll-behavior: smooth;
    }
    section, [id] {
      scroll-margin-top: 100px;
    }

    body {
      background: var(--bg-dark);
      color: var(--paper);
      font-family: var(--sans);
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
      line-height: 1.6;
    }

    ::selection {
      background: var(--accent);
      color: #fff;
    }

    ::-webkit-scrollbar {
      width: 6px;
    }

    ::-webkit-scrollbar-track {
      background: var(--bg-dark);
    }

    ::-webkit-scrollbar-thumb {
      background: var(--border-light);
      border-radius: 3px;
    }

    ::-webkit-scrollbar-thumb:hover {
      background: var(--accent);
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    img {
      max-width: 100%;
      display: block;
    }

    /* Skip Link */
    .skip-link {
      position: absolute;
      top: -100%;
      left: 16px;
      background: var(--accent);
      color: #fff;
      padding: 8px 16px;
      font-size: 0.75rem;
      z-index: 999;
      border-radius: var(--radius-sm);
      font-family: var(--mono);
    }

    .skip-link:focus {
      top: 12px;
    }

    /* Accessibility: Respect prefers-reduced-motion */
    @media (prefers-reduced-motion: reduce) {
      *, ::before, ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
      }
      .mascot-interactive {
        animation: none !important;
      }
      .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
      }
      .ticker-track {
        animation: none !important;
      }
    }

    /* Top Ticker - Signature Aerospace Orange Banner */
    .ticker {
      background: var(--accent);
      height: 34px;
      overflow: hidden;
      display: flex;
      align-items: center;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 200;
      border-bottom: 1px solid rgba(0, 0, 0, 0.2);
      box-shadow: 0 2px 14px rgba(224, 83, 21, 0.35);
    }

    .ticker-track {
      display: flex;
      align-items: center;
      animation: tickerScroll 34s linear infinite;
      white-space: nowrap;
    }

    .ticker-track:hover {
      animation-play-state: paused;
    }

    @keyframes tickerScroll {
      to {
        transform: translateX(-50%);
      }
    }

    .ticker-item {
      font-family: var(--mono);
      font-size: 0.64rem;
      font-weight: 800;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: #FFFFFF;
      padding: 0;
      margin: 0;
      white-space: nowrap;
      display: inline-flex;
      align-items: center;
      user-select: none;
      text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    }

    .ticker-sep {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      margin: 0 22px;
      flex-shrink: 0;
      user-select: none;
    }

    .ticker-star {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 0.58rem;
      color: #FFFFFF;
      opacity: 0.9;
      text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
      line-height: 1;
    }

    /* Navbar */
    nav {
      position: fixed;
      top: 34px;
      left: 0;
      right: 0;
      z-index: 100;
      background: rgba(11, 11, 12, 0.9);
      backdrop-filter: blur(16px);
      border-bottom: 1px solid var(--border);
    }

    .nav-inner {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 40px;
      height: 56px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .nav-logo {
      font-family: var(--display);
      font-size: 0.9rem;
      font-weight: 800;
      letter-spacing: 0.05em;
      color: var(--paper);
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .nav-logo-badge {
      font-family: var(--mono);
      font-size: 0.55rem;
      padding: 2px 6px;
      background: rgba(224, 83, 21, 0.15);
      color: var(--accent);
      border: 1px solid rgba(224, 83, 21, 0.3);
      border-radius: 4px;
    }

    .nav-links {
      display: flex;
      gap: 28px;
      list-style: none;
    }

    .nav-links a {
      font-family: var(--mono);
      font-size: 0.65rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--text-muted);
      transition: color 0.2s;
      padding: 4px 0;
      position: relative;
    }

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

    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 2px;
      background: var(--accent);
      transform: scaleX(0);
      transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
      transform-origin: right;
    }

    .nav-links a:hover::after {
      transform: scaleX(1);
      transform-origin: left;
    }

    .cmd-btn {
      background: var(--surface-1);
      border: 1px solid var(--border);
      color: var(--text-muted);
      font-family: var(--mono);
      font-size: 0.65rem;
      padding: 6px 12px;
      border-radius: var(--radius-sm);
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 8px;
      transition: all 0.2s;
    }

    .cmd-btn:hover {
      border-color: var(--accent);
      color: var(--paper);
    }

    .cmd-kbd {
      background: var(--bg-dark);
      border: 1px solid var(--border-light);
      padding: 2px 6px;
      border-radius: 4px;
      font-size: 0.55rem;
      color: var(--text-muted);
    }

    @media (max-width: 768px) {
      .nav-links {
        display: none;
      }

      .cmd-btn .cmd-kbd {
        display: none;
      }
    }

    /* Page Layout Wrapper */
    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 40px;
    }

    @media (max-width: 640px) {
      .container {
        padding: 0 20px;
      }
    }

    /* Section Header */
    .section-head {
      display: flex;
      align-items: center;
      gap: 20px;
      margin-bottom: 28px;
      padding-top: 48px;
    }

    .section-num {
      font-family: var(--mono);
      font-size: 0.7rem;
      color: var(--accent);
      font-weight: 700;
      letter-spacing: 0.1em;
    }

    .section-line {
      flex: 1;
      height: 1px;
      background: var(--border);
    }

    .section-title {
      font-family: var(--display);
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--text-muted);
    }

    /* HERO SECTION */
    .hero {
      padding: calc(34px + 56px + 64px) 0 80px;
      border-bottom: 1px solid var(--border);
      position: relative;
    }

    .hero-tag {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 28px;
      font-family: var(--mono);
      font-size: 0.65rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--text-muted);
    }

    .hero-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--accent);
      box-shadow: 0 0 10px var(--accent);
      flex-shrink: 0;
    }

    .hero-tag-line {
      flex: 1;
      height: 1px;
      background: var(--border);
    }

    .hero-tag-end {
      color: var(--accent);
      font-weight: 700;
    }

    .hero-title-box {
      margin-bottom: 36px;
    }

    h1.hero-main-title {
      font-family: var(--display);
      font-weight: 900;
      font-size: clamp(2.8rem, 8.5vw, 7.5rem);
      line-height: 0.95;
      letter-spacing: -0.03em;
      text-transform: uppercase;
      color: var(--paper);
    }

    h1.hero-main-title .accent-letter {
      color: var(--accent);
    }

    .hero-subtitle-outline {
      display: block;
      font-family: var(--display);
      font-weight: 900;
      font-size: clamp(2.8rem, 8.5vw, 7.5rem);
      line-height: 0.95;
      letter-spacing: 0.05em;
      color: transparent;
      -webkit-text-stroke: 1.5px var(--paper);
      padding-left: clamp(12px, 3vw, 40px);
      margin-top: 6px;
    }

    .hero-rule {
      height: 1px;
      background: var(--border);
      margin: 36px 0;
      position: relative;
    }

    .hero-rule::after {
      content: '';
      position: absolute;
      left: 0;
      top: -1px;
      width: 100px;
      height: 3px;
      background: var(--accent);
      box-shadow: 0 0 20px var(--accent-glow);
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1fr 1.1fr 1.2fr;
      gap: 32px;
      align-items: stretch;
    }

    .hero-col {
      padding-right: 24px;
      border-right: 1px solid var(--border);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .hero-col:last-child {
      border-right: none;
      padding-right: 0;
    }

    .hero-col-label {
      font-family: var(--mono);
      font-size: 0.6rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--text-dim);
      margin-bottom: 10px;
    }

    .hero-col-value {
      font-size: 0.85rem;
      color: var(--paper);
      line-height: 1.6;
    }

    .hero-col-value.bold {
      font-family: var(--display);
      font-size: 1.05rem;
      font-weight: 700;
      line-height: 1.4;
    }

    .status-pill {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-family: var(--mono);
      font-size: 0.75rem;
      color: #10B981;
      white-space: nowrap;
    }

    .status-dot-green {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #10B981;
      box-shadow: 0 0 8px #10B981;
      animation: pulseGreen 2s infinite;
    }

    @keyframes pulseGreen {

      0%,
      100% {
        opacity: 1;
      }

      50% {
        opacity: 0.3;
      }
    }

    .hero-links-list {
      display: flex;
      flex-direction: column;
      gap: 8px;
      margin-top: 4px;
    }

    .hero-links-list a {
      font-family: var(--mono);
      font-size: 0.78rem;
      color: var(--paper);
      text-decoration: underline;
      text-decoration-color: var(--border-light);
      text-underline-offset: 4px;
      transition: all 0.2s;
    }

    .hero-links-list a:hover {
      text-decoration-color: var(--accent);
      color: var(--accent-hover);
    }

    .hero-cta-group {
      display: flex;
      gap: 12px;
      margin-top: 24px;
      flex-wrap: wrap;
    }

    @media (max-width: 840px) {
      .hero-grid {
        grid-template-columns: 1fr;
        gap: 24px;
      }

      .hero-col {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding-right: 0;
        padding-bottom: 20px;
      }

      .hero-col:last-child {
        border-bottom: none;
      }
    }

    /* =============================================
       WARM & CUTE INTERACTIVE MASCOT TOOLTIPS & ANIMATIONS
    ============================================= */
    .mascot-interactive {
      cursor: pointer;
      pointer-events: auto !important;
      transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
    }

    .mascot-interactive:hover {
      transform: scale(1.08) translateY(-4px) !important;
      filter: drop-shadow(0 0 18px rgba(224, 83, 21, 0.5)) !important;
    }

    .mascot-interactive:active {
      transform: scale(0.95) !important;
    }

    .mascot-speech-bubble {
      position: absolute;
      bottom: 100%;
      left: 50%;
      transform: translateX(-50%) translateY(4px) scale(0.9);
      opacity: 0;
      pointer-events: none;
      background: rgba(18, 18, 22, 0.88);
      border: 1px solid rgba(224, 83, 21, 0.35);
      color: var(--paper);
      padding: 7px 16px;
      border-radius: 999px; /* Floating organic cloud shape */
      font-family: var(--mono);
      font-size: 0.72rem;
      white-space: nowrap;
      box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65), 0 0 24px rgba(224, 83, 21, 0.22);
      backdrop-filter: blur(16px);
      transition: opacity 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
      z-index: 99;
    }

    .mascot-speech-bubble::after {
      content: '';
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translateX(-50%);
      border-width: 6px 6px 0 6px;
      border-style: solid;
      border-color: rgba(224, 83, 21, 0.5) transparent transparent transparent;
    }

    .b-icon {
      width: 14px;
      height: 14px;
      display: inline-block;
      vertical-align: -2px;
      margin: 0 3px;
      flex-shrink: 0;
    }

    .mascot-interactive-wrap {
      position: relative;
      display: inline-block;
    }

    .hero-mascot-wrap {
      position: absolute;
      right: -45px;
      bottom: -40px;
      z-index: 10;
    }

    .hero-cursor-mascot {
      width: 290px;
      height: 290px;
      animation: floatCute 3.2s ease-in-out infinite;
    }

    @media (max-width: 1120px) {
      .hero-mascot-wrap {
        right: -20px;
        bottom: -32px;
      }
      .hero-cursor-mascot {
        width: 250px;
        height: 250px;
      }
    }

    @media (max-width: 840px) {
      .hero-mascot-wrap {
        position: relative;
        right: auto;
        bottom: auto;
        margin: 16px auto 0;
        display: flex;
        justify-content: center;
      }
      .hero-cursor-mascot {
        width: 220px;
        height: 220px;
      }
    }

    .mascot-interactive-wrap:hover .mascot-speech-bubble {
      opacity: 1;
      transform: translateX(-50%) translateY(-14px) scale(1);
    }

    @keyframes pulseHeart {
      0%, 100% { transform: scale(1); filter: drop-shadow(0 0 4px rgba(224,83,21,0.4)); }
      50% { transform: scale(1.2); filter: drop-shadow(0 0 12px rgba(224,83,21,0.8)); }
    }

    /* MASCOT EMOTIONAL REACTION ANIMATIONS */
    @keyframes mascotWiggle {
      0% { transform: scale(1) rotate(0deg); }
      25% { transform: scale(1.15) rotate(-8deg); }
      75% { transform: scale(1.15) rotate(8deg); }
      100% { transform: scale(1) rotate(0deg); }
    }

    @keyframes mascotPout {
      0% { transform: scale(1) rotate(0); filter: drop-shadow(0 0 25px rgba(255, 60, 60, 0.9)); }
      20% { transform: scale(0.95, 1.05) rotate(-10deg); }
      40% { transform: scale(1.05, 0.95) rotate(10deg); }
      60% { transform: scale(0.95, 1.05) rotate(-6deg); }
      80% { transform: scale(1.05, 0.95) rotate(6deg); }
      100% { transform: scale(1) rotate(0); filter: drop-shadow(0 0 15px rgba(224, 83, 21, 0.5)); }
    }

    @keyframes mascotPat {
      0% { transform: scale(1) translateY(0); }
      30% { transform: scale(1.1, 0.88) translateY(6px); filter: drop-shadow(0 0 25px rgba(255, 120, 180, 0.9)); }
      60% { transform: scale(0.95, 1.05) translateY(-3px); }
      100% { transform: scale(1) translateY(0); filter: drop-shadow(0 0 15px rgba(224, 83, 21, 0.5)); }
    }

    @keyframes patHeartFloat {
      0% { opacity: 1; transform: translateY(0) scale(0.8); }
      100% { opacity: 0; transform: translateY(-45px) scale(1.3); }
    }

    /* MASCOT CLICK MILESTONE POPUP - HIGH CONTRAST & FREE-FLOATING */
    .mascot-milestone-popup {
      position: fixed;
      top: 50%; left: 50%;
      transform: translate(-50%, -50%) scale(0.7);
      background: none !important;
      border: none !important;
      border-radius: 0 !important;
      padding: 0 !important;
      text-align: center;
      z-index: 10000;
      opacity: 0;
      pointer-events: none;
      box-shadow: none !important;
      backdrop-filter: none !important;
      transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 14px;
      width: 90vw;
      max-width: 580px;
    }
    .mascot-milestone-popup.active {
      opacity: 1;
      pointer-events: auto;
      transform: translate(-50%, -50%) scale(1);
    }
    .mascot-milestone-popup img {
      height: 230px !important;
      width: auto;
      animation: floatCute 2.8s ease-in-out infinite;
      filter: drop-shadow(0 20px 40px rgba(0,0,0,0.95)) drop-shadow(0 0 45px rgba(224, 83, 21, 0.9)) !important;
    }
    .mascot-milestone-popup .milestone-title {
      font-family: var(--display);
      font-size: 2.3rem;
      font-weight: 800;
      letter-spacing: -0.02em;
      color: #FFFFFF;
      text-shadow: 0 4px 20px rgba(0,0,0,0.98), 0 0 35px #FF6B2B;
      line-height: 1.1;
    }
    .mascot-milestone-popup .milestone-msg {
      font-family: var(--mono);
      font-size: 1.02rem;
      font-weight: 500;
      color: #FFFFFF;
      line-height: 1.5;
      background: rgba(14, 14, 18, 0.92);
      border: 1px solid rgba(224, 83, 21, 0.55);
      border-radius: 999px;
      padding: 10px 28px;
      backdrop-filter: blur(16px);
      box-shadow: 0 12px 36px rgba(0,0,0,0.85), 0 0 25px rgba(224, 83, 21, 0.3);
      max-width: 520px;
    }
    .mascot-milestone-popup .milestone-counter {
      font-family: var(--mono);
      font-size: 0.76rem;
      font-weight: 600;
      color: #FF9E66;
      background: rgba(22, 22, 28, 0.95);
      border: 1px solid rgba(224, 83, 21, 0.45);
      padding: 5px 18px;
      border-radius: 999px;
      backdrop-filter: blur(12px);
      box-shadow: 0 6px 20px rgba(0,0,0,0.7);
    }

    @keyframes confettiBurst {
      0% { opacity: 1; transform: translateY(0) rotate(0deg); }
      100% { opacity: 0; transform: translateY(-120px) rotate(720deg); }
    }

    /* BUTTON STYLES */
    .btn {
      font-family: var(--mono);
      font-size: 0.65rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      padding: 12px 20px;
      border-radius: var(--radius-sm);
      cursor: pointer;
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      border: 1px solid transparent;
      text-decoration: none;
    }

    .btn-primary {
      background: var(--paper);
      color: var(--bg-dark);
      border-color: var(--paper);
    }

    .btn-primary:hover {
      background: var(--accent);
      color: #fff;
      border-color: var(--accent);
      box-shadow: 0 0 24px var(--accent-glow);
      transform: translateY(-2px);
    }

    .btn-secondary {
      background: var(--surface-1);
      color: var(--paper);
      border-color: var(--border);
    }

    .btn-secondary:hover {
      border-color: var(--paper);
      background: var(--surface-2);
      transform: translateY(-2px);
    }

    /* REVEAL ANIMATION */
    .reveal {
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .reveal.in {
      opacity: 1;
      transform: translateY(0);
    }

    @media (prefers-reduced-motion: reduce) {
      .reveal {
        opacity: 1;
        transform: none;
        transition: none;
      }

      .ticker-track {
        animation: none;
      }
    }

    /* ABOUT SECTION */
    #about {
      border-bottom: 1px solid var(--border);
      padding-bottom: 80px;
    }

    .about-layout {
      display: grid;
      grid-template-columns: 1.15fr 0.85fr;
      gap: 60px;
      align-items: start;
    }

    .about-bio p {
      font-size: 0.9rem;
      line-height: 1.85;
      color: var(--text-muted);
      margin-bottom: 20px;
    }

    .about-bio p strong {
      color: var(--paper);
      font-weight: 600;
    }

    .about-bio p a {
      color: var(--accent);
      text-decoration: underline;
      text-underline-offset: 4px;
    }

    .stats-card-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1px;
      background: var(--border);
      border: 1px solid var(--border);
      border-radius: var(--radius-md) var(--radius-md) 0 0;
      overflow: hidden;
    }

    .stat-box {
      background: var(--surface-1);
      padding: 22px 20px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: flex-start;
      min-height: 110px;
      transition: background 0.2s;
    }

    .stat-box:hover {
      background: var(--surface-2);
    }

    .stat-number {
      font-family: var(--display);
      font-weight: 900;
      font-size: 2.4rem;
      line-height: 1;
      letter-spacing: -0.03em;
      margin-bottom: 6px;
      color: var(--paper);
    }

    .stat-number .highlight {
      color: var(--accent);
    }

    .stat-number-infinity {
      font-family: var(--display);
      font-size: 4.8rem;
      font-weight: 900;
      line-height: 0.75;
      color: var(--accent);
      text-shadow: 0 0 30px var(--accent-glow);
      margin-bottom: 2px;
    }

    .infinity-symbol-badge {
      font-family: var(--display);
      font-size: 2.8rem;
      font-weight: 900;
      line-height: 1;
      color: var(--accent);
      text-shadow: 0 0 24px var(--accent-glow);
      display: inline-block;
      margin-bottom: 8px;
    }

    .stat-label {
      font-family: var(--mono);
      font-size: 0.58rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--text-dim);
      line-height: 1.3;
    }

    .bio-meta-list {
      border: 1px solid var(--border);
      border-top: none;
      border-radius: 0 0 var(--radius-md) var(--radius-md);
      overflow: hidden;
    }

    .bio-meta-row {
      background: var(--surface-1);
      border-bottom: 1px solid var(--border);
      padding: 14px 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      min-height: 48px;
    }

    .bio-meta-row:last-child {
      border-bottom: none;
    }

    .bio-meta-key {
      color: var(--text-dim);
      text-transform: uppercase;
      font-family: var(--mono);
      font-size: 0.62rem;
      letter-spacing: 0.1em;
      flex-shrink: 0;
      line-height: 1.2;
    }

    .bio-meta-val {
      color: var(--paper);
      font-family: var(--mono);
      font-size: 0.72rem;
      font-weight: 600;
      text-align: right;
      line-height: 1.3;
    }

    .bio-meta-val a {
      color: var(--accent);
      text-decoration: underline;
    }

    @media (max-width: 840px) {
      .about-layout {
        grid-template-columns: 1fr;
        gap: 40px;
      }
    }

    /* PROJECTS SECTION */
    #projects {
      border-bottom: 1px solid var(--border);
      padding-bottom: 80px;
    }

    .project-toolbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      margin-bottom: 36px;
      flex-wrap: wrap;
    }

    .filter-pills {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }

    .filter-btn {
      background: var(--surface-1);
      border: 1px solid var(--border);
      color: var(--text-muted);
      font-family: var(--mono);
      font-size: 0.62rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      padding: 8px 16px;
      border-radius: var(--radius-sm);
      cursor: pointer;
      transition: all 0.2s;
    }

    .filter-btn:hover,
    .filter-btn.active {
      background: var(--paper);
      color: var(--bg-dark);
      border-color: var(--paper);
    }

    .search-box {
      position: relative;
    }

    .search-box input {
      background: var(--surface-1);
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      color: var(--paper);
      font-family: var(--mono);
      font-size: 0.72rem;
      padding: 8px 14px 8px 32px;
      outline: none;
      width: 240px;
      transition: border-color 0.2s;
    }

    .search-box input:focus {
      border-color: var(--accent);
    }

    .search-box::before {
      content: '\2315';
      position: absolute;
      left: 12px;
      top: 50%;
      transform: translateY(-50%);
      font-size: 0.8rem;
      color: var(--text-dim);
      pointer-events: none;
    }

    /* Project Cards Grid */
    .projects-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
    }

    .projects-grid:empty::after {
      content: 'No projects found matching criteria.';
      grid-column: 1 / -1;
      text-align: center;
      padding: 60px;
      color: var(--text-dim);
      font-family: var(--mono);
      font-size: 0.8rem;
    }

    .project-card {
      background: var(--surface-1);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      overflow: hidden;
      cursor: pointer;
      transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s, opacity 0.3s;
      display: flex;
      flex-direction: column;
      position: relative;
    }

    .project-card:hover {
      border-color: var(--border-light);
      transform: translateY(-4px);
      box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
    }

    .project-card:focus-visible {
      outline: 2px solid var(--accent);
      outline-offset: 4px;
    }

    /* Featured Card (Full Span) */
    .project-card.featured {
      grid-column: 1 / -1;
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
    }

    .card-cover {
      width: 100%;
      height: 100%;
      min-height: 280px;
      position: relative;
      overflow: hidden;
      background: var(--bg-dark);
      border-right: 1px solid var(--border);
    }

    .card-cover img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: top center;
      transition: transform 0.5s ease;
    }

    .project-card:hover .card-cover img {
      transform: scale(1.04);
    }

    .card-cover-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(18, 18, 21, 0.2) 0%, rgba(18, 18, 21, 0.9) 100%);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding: 20px;
    }

    .card-live-badge {
      align-self: flex-end;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-family: var(--mono);
      font-size: 0.55rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: #10B981;
      background: rgba(16, 185, 129, 0.15);
      border: 1px solid rgba(16, 185, 129, 0.3);
      padding: 4px 10px;
      border-radius: 12px;
    }

    .card-content {
      padding: 28px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .card-meta-top {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 12px;
    }

    .card-number {
      font-family: var(--mono);
      font-size: 0.62rem;
      color: var(--accent);
      font-weight: 700;
    }

    .card-status-text {
      font-family: var(--mono);
      font-size: 0.55rem;
      text-transform: uppercase;
      color: var(--text-dim);
      letter-spacing: 0.08em;
    }

    .card-title {
      font-family: var(--display);
      font-size: 1.25rem;
      font-weight: 800;
      line-height: 1.3;
      margin-bottom: 12px;
      color: var(--paper);
      transition: color 0.2s;
    }

    .project-card:hover .card-title {
      color: var(--accent-hover);
    }

    .card-desc {
      font-size: 0.8rem;
      color: var(--text-muted);
      line-height: 1.7;
      margin-bottom: 20px;
    }

    .card-tags-list {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-bottom: 24px;
    }

    .card-tag {
      font-family: var(--mono);
      font-size: 0.55rem;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--text-muted);
      background: var(--bg-dark);
      border: 1px solid var(--border);
      padding: 4px 9px;
      border-radius: var(--radius-sm);
      transition: all 0.2s;
    }

    .project-card:hover .card-tag {
      border-color: var(--border-light);
      color: var(--paper);
    }

    .card-actions {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }

    .card-btn {
      font-family: var(--mono);
      font-size: 0.6rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding: 8px 14px;
      border-radius: var(--radius-sm);
      border: 1px solid var(--border);
      background: transparent;
      color: var(--paper);
      cursor: pointer;
      transition: all 0.2s;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      text-decoration: none;
    }

    .card-btn:hover {
      border-color: var(--paper);
      background: rgba(255, 255, 255, 0.06);
    }

    .card-btn.btn-accent {
      background: var(--accent);
      border-color: var(--accent);
      color: #fff;
    }

    .card-btn.btn-accent:hover {
      background: var(--accent-hover);
      box-shadow: 0 0 16px var(--accent-glow);
    }

    @media (max-width: 840px) {
      .projects-grid {
        grid-template-columns: 1fr;
      }

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

      .card-cover {
        border-right: none;
        border-bottom: 1px solid var(--border);
        min-height: 220px;
      }
    }

    /* HOW I BUILD (APPROACH) SECTION */
    #approach {
      border-bottom: 1px solid var(--border);
      padding-bottom: 80px;
    }

    .approach-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }

    .approach-card {
      position: relative;
      background: var(--surface-1);
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 36px 30px 28px;
      min-height: 320px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
      overflow: visible;
    }

    .approach-card:hover {
      border-color: rgba(224, 83, 21, 0.4);
      box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
      transform: translateY(-4px);
    }

    .approach-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: var(--border);
      transition: background 0.3s;
    }

    .approach-card:hover::before {
      background: var(--accent);
    }

    .approach-num {
      font-family: var(--display);
      font-weight: 900;
      font-size: 3.5rem;
      line-height: 1;
      color: rgba(255, 255, 255, 0.06);
      position: absolute;
      top: 24px;
      right: 28px;
      pointer-events: none;
      user-select: none;
      z-index: 1;
    }

    .approach-content {
      width: 100%;
      position: relative;
      z-index: 2;
    }

    .approach-title {
      font-family: var(--display);
      font-size: 1.15rem;
      font-weight: 800;
      margin-top: 0;
      margin-bottom: 14px;
      color: var(--paper);
      line-height: 1.35;
      padding-right: 80px; /* Safe distance from the top-right digit */
    }

    .approach-desc {
      font-size: 0.85rem;
      color: var(--text-muted);
      line-height: 1.65;
      max-width: 82%; /* Fills the empty middle space gracefully */
    }

    .approach-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      max-width: 62%;
      margin-top: 24px;
      position: relative;
      z-index: 2;
    }

    .approach-tags span {
      font-family: var(--mono);
      font-size: 0.52rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--accent);
      background: rgba(224, 83, 21, 0.1);
      border: 1px solid rgba(224, 83, 21, 0.2);
      padding: 3px 8px;
      border-radius: 4px;
    }

    @media (max-width: 840px) {
      .approach-grid {
        grid-template-columns: 1fr;
      }
    }

    /* SKILLS SECTION - 7 NATURAL DOMAIN GROUPS */
    #skills {
      border-bottom: 1px solid var(--border);
      padding-bottom: 80px;
    }

    .skills-categories-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 20px;
    }

    .skill-domain-card {
      background: var(--surface-1);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: 22px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    }

    .skill-domain-card:hover {
      border-color: var(--accent);
      transform: translateY(-3px);
      box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
    }

    .skill-domain-header {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 14px;
    }

    .skill-domain-icon {
      font-size: 1.1rem;
      line-height: 1;
    }

    .skill-domain-title {
      font-family: var(--display);
      font-size: 0.85rem;
      font-weight: 700;
      color: var(--paper);
      letter-spacing: -0.01em;
    }

    .skill-pills-wrap {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .skill-tag-pill {
      font-family: var(--mono);
      font-size: 0.62rem;
      letter-spacing: 0.05em;
      color: var(--paper);
      background: var(--surface-2);
      border: 1px solid var(--border-light);
      padding: 5px 10px;
      border-radius: var(--radius-sm);
      transition: all 0.2s ease;
    }

    .skill-domain-card:hover .skill-tag-pill {
      border-color: var(--accent);
      color: var(--accent-hover);
    }

    .skills-columns {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 28px;
    }

    .skills-group-title {
      font-family: var(--mono);
      font-size: 0.65rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 20px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .skills-group-title::before {
      content: '//';
      color: var(--accent);
      font-weight: 700;
    }

    .skill-row {
      background: var(--surface-1);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: 18px 20px;
      margin-bottom: 14px;
      cursor: pointer;
      transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .skill-row:hover {
      background: var(--surface-2);
      border-color: var(--accent);
      transform: translateX(4px);
      box-shadow: 0 8px 24px rgba(224, 83, 21, 0.15);
    }

    .skill-row.highlighted {
      background: rgba(224, 83, 21, 0.12);
      border-color: var(--accent);
      box-shadow: 0 0 0 2px var(--accent), 0 10px 28px rgba(224, 83, 21, 0.25);
    }

    .skill-row .card-tag {
      font-family: var(--mono);
      font-size: 0.6rem;
      letter-spacing: 0.05em;
      color: var(--paper);
      background: var(--bg-dark);
      border: 1px solid var(--border);
      padding: 4px 10px;
      border-radius: var(--radius-sm);
      transition: all 0.2s ease;
    }

    .skill-row:hover .card-tag {
      border-color: var(--accent);
      color: var(--accent-hover);
    }

    .skill-name {
      font-family: var(--display);
      font-size: 0.88rem;
      font-weight: 700;
      color: var(--paper);
    }

    .skill-meta {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-shrink: 0;
    }

    .skill-badge {
      font-family: var(--mono);
      font-size: 0.55rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--accent);
    }

    .skill-bar-track {
      width: 80px;
      height: 4px;
      background: var(--border);
      border-radius: 2px;
      overflow: hidden;
      position: relative;
    }

    .skill-bar-fill {
      position: absolute;
      left: 0;
      top: 0;
      bottom: 0;
      background: var(--paper);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .skill-bar-fill.active {
      transform: scaleX(1);
    }

    @media (max-width: 768px) {
      .skills-columns {
        grid-template-columns: 1fr;
        gap: 36px;
      }
    }

    /* CERTIFICATIONS & HONORS SECTION */
    #certs {
      border-bottom: 1px solid var(--border);
      padding-bottom: 80px;
    }

    .certs-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
    }

    .cert-card {
      background: var(--surface-1);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: 20px;
      transition: all 0.2s ease;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .cert-card:hover {
      border-color: var(--accent);
      transform: translateY(-2px);
    }

    .cert-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 10px;
      margin-bottom: 8px;
    }

    .cert-title {
      font-family: var(--display);
      font-size: 0.85rem;
      font-weight: 700;
      color: var(--paper);
      line-height: 1.3;
    }

    .cert-issuer {
      font-family: var(--mono);
      font-size: 0.6rem;
      color: var(--accent);
      letter-spacing: 0.08em;
      text-transform: uppercase;
      margin-bottom: 6px;
    }

    .cert-desc {
      font-size: 0.75rem;
      color: var(--text-muted);
      line-height: 1.6;
    }

    .cert-date {
      font-family: var(--mono);
      font-size: 0.55rem;
      color: var(--text-dim);
      border: 1px solid var(--border);
      padding: 2px 6px;
      border-radius: 4px;
      flex-shrink: 0;
    }

    @media (max-width: 768px) {
      .certs-grid {
        grid-template-columns: 1fr;
      }
    }

    /* CONTACT SECTION */
    #contact {
      padding-bottom: 80px;
    }

    .contact-layout {
      display: grid;
      grid-template-columns: 1.2fr 0.85fr;
      gap: 32px;
      align-items: stretch;
    }

    .contact-headline {
      font-family: var(--display);
      font-weight: 900;
      font-size: clamp(2.8rem, 6vw, 5.2rem);
      line-height: 0.92;
      letter-spacing: -0.04em;
      text-transform: uppercase;
      margin-bottom: 24px;
    }

    .contact-headline .outline {
      display: block;
      color: transparent;
      -webkit-text-stroke: 1.5px var(--paper);
    }

    .contact-sub {
      font-size: 0.82rem;
      color: var(--text-muted);
      line-height: 1.8;
      margin-bottom: 28px;
    }

    .contact-links-stack {
      display: flex;
      flex-direction: column;
    }

    .contact-link-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 18px 0;
      border-bottom: 1px solid var(--border);
      transition: color 0.2s;
    }

    .contact-link-item:first-child {
      border-top: 1px solid var(--border);
    }

    .contact-link-item:hover {
      color: var(--accent);
    }

    .contact-link-title {
      font-family: var(--display);
      font-size: 1.05rem;
      font-weight: 700;
    }

    .contact-link-sub {
      font-family: var(--mono);
      font-size: 0.6rem;
      color: var(--text-dim);
    }

    /* HERO INFINITY IDEATION BLOCK */
    .hero-infinity-box {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .infinity-symbol-badge {
      font-family: var(--display);
      font-size: 2.5rem;
      font-weight: 900;
      color: var(--accent);
      line-height: 1;
      text-shadow: 0 0 20px var(--accent-glow);
      display: inline-block;
    }

    .hero-infinity-title {
      font-family: var(--display);
      font-size: 0.95rem;
      font-weight: 800;
      color: var(--paper);
      line-height: 1.3;
    }

    .hero-infinity-desc {
      font-size: 0.76rem;
      color: var(--text-muted);
      line-height: 1.6;
      margin-top: 4px;
    }

    /* UNIFIED BADGES CONTAINER */
    .badges-container {
      display: flex;
      flex-direction: column;
      gap: 16px;
      margin-top: 24px;
    }

    .custom-badge-card {
      background: var(--surface-1);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 20px;
      position: relative;
      overflow: hidden;
      transition: border-color 0.2s, transform 0.2s;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
    }

    .custom-badge-card:hover {
      border-color: var(--accent);
      transform: translateY(-2px);
    }

    .badge-left {
      display: flex;
      align-items: center;
      gap: 14px;
    }

    .badge-icon-box {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: var(--bg-dark);
      border: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2rem;
      color: var(--paper);
      flex-shrink: 0;
    }

    .badge-info-title {
      font-family: var(--display);
      font-size: 0.85rem;
      font-weight: 800;
      color: var(--paper);
    }

    .badge-info-sub {
      font-family: var(--mono);
      font-size: 0.6rem;
      color: var(--text-muted);
      margin-top: 2px;
    }

    /* EXECUTIVE BENTO GRID CONTACT LAYOUT */
    .bento-contact-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      margin-top: 32px;
    }

    @media (max-width: 980px) {
      .bento-contact-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 640px) {
      .bento-contact-grid {
        grid-template-columns: 1fr;
      }
    }

    .bento-contact-card {
      background: rgba(255, 255, 255, 0.025);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 18px;
      padding: 26px 22px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      min-height: 250px;
      gap: 16px;
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
      text-decoration: none;
      position: relative;
      overflow: hidden;
    }

    .bento-contact-card.hero-email-card {
      grid-column: span 2;
      background: linear-gradient(135deg, rgba(224, 83, 21, 0.08) 0%, rgba(20, 20, 24, 0.95) 100%);
      border-color: rgba(224, 83, 21, 0.3);
    }

    @media (max-width: 980px) {
      .bento-contact-card.hero-email-card {
        grid-column: span 1;
      }
    }

    .bento-contact-card:hover {
      transform: translateY(-4px);
      background: rgba(255, 255, 255, 0.045);
      border-color: rgba(255, 255, 255, 0.22);
      box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 24px rgba(255, 255, 255, 0.05);
    }

    .bento-contact-card.hero-email-card:hover {
      border-color: var(--accent);
      box-shadow: 0 16px 36px rgba(224, 83, 21, 0.25);
    }

    .bento-contact-card.github:hover {
      border-color: rgba(244, 244, 245, 0.4);
      box-shadow: 0 16px 36px rgba(244, 244, 245, 0.15);
    }

    .bento-contact-card.linkedin:hover {
      border-color: rgba(10, 102, 194, 0.5);
      box-shadow: 0 16px 36px rgba(10, 102, 194, 0.25);
    }

    .bento-contact-card.resume:hover {
      border-color: rgba(224, 83, 21, 0.5);
      box-shadow: 0 16px 36px rgba(224, 83, 21, 0.25);
    }

    .bento-contact-card.credly:hover {
      border-color: rgba(245, 130, 32, 0.5);
      box-shadow: 0 16px 36px rgba(245, 130, 32, 0.25);
    }

    .bento-card-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 14px;
    }

    .bento-card-body {
      flex-grow: 1;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
    }

    .bento-card-title {
      font-family: var(--sans);
      font-size: 1.12rem;
      font-weight: 600;
      color: var(--paper);
      margin-bottom: 6px;
      word-break: break-word;
      line-height: 1.3;
    }

    .bento-card-desc {
      font-family: var(--sans);
      font-size: 0.82rem;
      color: var(--text-muted);
      line-height: 1.5;
      margin-bottom: 14px;
    }

    .bento-pill-btn {
      width: 100%;
      padding: 12px 18px;
      border-radius: 28px;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.12);
      color: var(--paper);
      font-family: var(--sans);
      font-size: 0.82rem;
      font-weight: 600;
      text-align: center;
      transition: all 0.25s ease;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      cursor: pointer;
      text-decoration: none;
    }

    .bento-contact-card:hover .bento-pill-btn {
      background: rgba(224, 83, 21, 0.15);
      color: var(--paper);
      border-color: rgba(224, 83, 21, 0.4);
    }

    .bento-pill-btn:hover {
      background: var(--accent) !important;
      color: #FFFFFF !important;
      border-color: var(--accent) !important;
    }

    /* BRAND LOGO COLORED BUTTONS FOR BENTO CARDS */
    .bento-contact-card.linkedin .bento-pill-btn {
      background: rgba(10, 102, 194, 0.08);
      border-color: rgba(10, 102, 194, 0.35);
      color: #60A5FA;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .bento-contact-card.linkedin:hover .bento-pill-btn,
    .bento-contact-card.linkedin .bento-pill-btn:hover {
      background: #0A66C2 !important;
      color: #FFFFFF !important;
      border-color: #0A66C2 !important;
      box-shadow: 0 4px 20px rgba(10, 102, 194, 0.55), 0 0 10px rgba(10, 102, 194, 0.35) !important;
      transform: translateY(-2px);
    }

    .bento-contact-card.github .bento-pill-btn {
      background: rgba(255, 255, 255, 0.05);
      border-color: rgba(255, 255, 255, 0.18);
      color: #E4E4E7;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .bento-contact-card.github:hover .bento-pill-btn,
    .bento-contact-card.github .bento-pill-btn:hover {
      background: #FFFFFF !important;
      color: #0E1117 !important;
      border-color: #FFFFFF !important;
      box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3), 0 0 10px rgba(255, 255, 255, 0.2) !important;
      transform: translateY(-2px);
    }

    /* Form Card */
    .contact-form-card {
      background: var(--surface-1);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 32px;
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .form-title {
      font-family: var(--display);
      font-size: 0.95rem;
      font-weight: 800;
    }

    .form-group {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .form-group label {
      font-family: var(--mono);
      font-size: 0.58rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--text-dim);
    }

    .form-group input,
    .form-group textarea {
      background: var(--bg-dark);
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      color: var(--paper);
      font-family: var(--mono);
      font-size: 0.78rem;
      padding: 12px 14px;
      outline: none;
      transition: border-color 0.2s;
    }

    .form-group input:focus,
    .form-group textarea:focus {
      border-color: var(--accent);
    }

    .form-group textarea {
      resize: vertical;
      min-height: 100px;
    }

    @media (max-width: 840px) {
      .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
      }
    }

    /* Footer */
    footer {
      border-top: 1px solid var(--border);
      padding: 36px 0;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 16px;
    }

    .foot-brand {
      font-family: var(--display);
      font-weight: 900;
      font-size: 0.9rem;
      letter-spacing: 0.05em;
    }

    .foot-copy {
      font-family: var(--mono);
      font-size: 0.6rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--text-dim);
    }

    /* MODAL DIALOG */
    .modal-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.85);
      backdrop-filter: blur(8px);
      z-index: 500;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.2s ease;
    }

    .modal-overlay.active {
      opacity: 1;
      pointer-events: auto;
    }

    .modal-content-card {
      background: var(--surface-1);
      border: 1px solid var(--border-light);
      border-radius: var(--radius-lg);
      max-width: 780px;
      width: 100%;
      max-height: 85vh;
      overflow-y: auto;
      padding: 36px;
      position: relative;
      transform: translateY(20px) scale(0.96);
      transition: transform 0.2s ease;
    }

    .modal-overlay.active .modal-content-card {
      transform: translateY(0) scale(1);
    }

    .modal-close-btn {
      position: absolute;
      top: 20px;
      right: 20px;
      background: var(--bg-dark);
      border: 1px solid var(--border);
      color: var(--paper);
      width: 34px;
      height: 34px;
      border-radius: 50%;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.1rem;
      transition: border-color 0.2s, color 0.2s;
    }

    .modal-close-btn:hover {
      border-color: var(--accent);
      color: var(--accent);
    }

    /* COMMAND PALETTE */
    .cmd-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.82);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      z-index: 6000;
      display: flex;
      align-items: flex-start;
      justify-content: center;
      padding-top: min(18vh, 140px);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.15s ease;
    }

    .cmd-overlay.active {
      opacity: 1;
      pointer-events: auto;
    }

    .cmd-modal-box {
      background: var(--surface-1);
      border: 1px solid var(--border-light);
      border-radius: var(--radius-lg);
      max-width: 560px;
      width: 100%;
      overflow: hidden;
      box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
      transform: translateY(-16px);
      transition: transform 0.15s ease;
    }

    .cmd-overlay.active .cmd-modal-box {
      transform: translateY(0);
    }

    .cmd-input-field {
      width: 100%;
      background: var(--bg-dark);
      border: none;
      border-bottom: 1px solid var(--border);
      padding: 16px 20px;
      font-family: var(--mono);
      font-size: 0.85rem;
      color: var(--paper);
      outline: none;
      box-sizing: border-box;
    }

    .cmd-input-field::placeholder {
      color: var(--text-dim);
    }

    .cmd-items-list {
      max-height: 320px;
      overflow-y: auto;
      padding: 8px;
    }

    .cmd-item-row {
      padding: 12px 16px;
      border-radius: var(--radius-sm);
      display: flex;
      align-items: center;
      justify-content: space-between;
      cursor: pointer;
      font-family: var(--mono);
      font-size: 0.75rem;
      color: var(--text-muted);
      transition: all 0.1s ease;
      border-left: 3px solid transparent;
    }

    .cmd-item-row:hover,
    .cmd-item-row.selected {
      background: var(--surface-2);
      color: var(--paper);
      border-left: 3px solid var(--accent);
    }

    .cmd-key-tag {
      font-size: 0.58rem;
      color: var(--accent);
      border: 1px solid var(--border);
      padding: 2px 6px;
      border-radius: 4px;
    }



    /* Toast Notification */
    .toast-container {
      position: fixed;
      bottom: 24px;
      right: 24px;
      z-index: 700;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .toast-msg {
      background: var(--paper);
      color: var(--bg-dark);
      font-family: var(--mono);
      font-size: 0.72rem;
      font-weight: 700;
      padding: 12px 18px;
      border-radius: var(--radius-sm);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
      display: flex;
      align-items: center;
      gap: 10px;
      animation: toastSlideIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }

    @keyframes toastSlideIn {
      from {
        opacity: 0;
        transform: translateY(12px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* Canvas Background Particles */
    #particles-bg {
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 0;
      opacity: 0.35;
    }

    /* PERFECTED SLEEPING MASCOT Zzz FLOATING ANIMATION */
    @keyframes sleepZ {
      0% {
        opacity: 0;
        transform: translate(0, 0) scale(0.5) rotate(-6deg);
      }
      25% {
        opacity: 0.95;
        transform: translate(6px, -16px) scale(0.9) rotate(4deg);
      }
      65% {
        opacity: 0.8;
        transform: translate(16px, -36px) scale(1.15) rotate(-4deg);
      }
      100% {
        opacity: 0;
        transform: translate(24px, -56px) scale(1.35) rotate(6deg);
      }
    }

    .zzz-particle {
      position: absolute;
      top: 15px;
      right: 25px;
      font-family: var(--mono);
      font-weight: 800;
      color: var(--accent);
      pointer-events: none;
      user-select: none;
      animation: sleepZ 3.2s cubic-bezier(0.25, 1, 0.5, 1) infinite;
      letter-spacing: 0.05em;
    }

    .zzz-1 {
      font-size: 0.7rem;
      color: var(--text-dim);
      animation-delay: 0s;
    }

    .zzz-2 {
      font-size: 0.88rem;
      color: var(--accent);
      animation-delay: 1.05s;
    }

    .zzz-3 {
      font-size: 1.08rem;
      color: var(--paper);
      animation-delay: 2.1s;
    }

    /* =============================================
       MINI ROH ENTRANCE PRELOADER
    ============================================= */
    .site-preloader {
      position: fixed;
      inset: 0;
      z-index: 999999;
      display: flex;
      align-items: center;
      justify-content: center;
      background: #09090B;
      user-select: none;
      pointer-events: auto;
      transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                  transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .site-preloader.unveiled {
      opacity: 0;
      transform: scale(1.03);
      pointer-events: none;
    }

    .preloader-inner {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0;
    }

    .preloader-mascot-wrap {
      width: 200px;
      height: 200px;
      position: relative;
      filter: drop-shadow(0 16px 32px rgba(224, 83, 21, 0.3));
      animation: preloaderFloat 3s ease-in-out infinite;
      flex-shrink: 0;
    }

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

    .preloader-mascot-video {
      width: 100%;
      height: 100%;
      object-fit: contain;
      /* transparent webm — background shows through */
    }

    .preloader-text-block {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      width: 240px;
      margin-top: 4px;
    }

    .preloader-name {
      font-family: var(--display);
      font-size: 1.5rem;
      font-weight: 800;
      color: var(--paper);
      letter-spacing: -0.02em;
    }

    .preloader-sub {
      font-family: var(--mono);
      font-size: 0.62rem;
      color: #52525B;
      letter-spacing: 0.06em;
      text-align: center;
      margin-bottom: 4px;
    }

    .preloader-laser-track {
      width: 100%;
      height: 2px;
      background: rgba(255, 255, 255, 0.06);
      border-radius: 99px;
      overflow: hidden;
      position: relative;
    }

    .preloader-laser-bar {
      height: 100%;
      width: 0%;
      background: linear-gradient(90deg, #E05315 0%, #FFAA40 100%);
      box-shadow: 0 0 12px rgba(224, 83, 21, 0.7);
      border-radius: 99px;
      transition: width 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .preloader-mono-stat {
      display: flex;
      justify-content: space-between;
      width: 100%;
      font-family: var(--mono);
      font-size: 0.58rem;
      letter-spacing: 0.1em;
      color: #52525B;
      text-transform: uppercase;
    }

    .preloader-mono-counter {
      color: var(--accent);
      font-weight: 700;
    }


    /* =============================================
       CYBERPUNK SCRAMBLE TEXT
    ============================================= */
    .scramble-active {
      color: var(--accent-light) !important;
      text-shadow: 0 0 10px rgba(224, 83, 21, 0.4);
    }

    /* =============================================
       MODAL TABBED ARCHITECTURE & MCP SIMULATOR
    ============================================= */
    .modal-tabs {
      display: flex;
      gap: 6px;
      background: var(--surface-2);
      padding: 4px;
      border-radius: var(--radius-sm);
      margin-bottom: 24px;
      border: 1px solid var(--border);
    }

    .modal-tab-btn {
      flex: 1;
      padding: 8px 12px;
      background: transparent;
      border: none;
      border-radius: 4px;
      font-family: var(--mono);
      font-size: 0.72rem;
      font-weight: 700;
      color: var(--text-muted);
      cursor: pointer;
      transition: all 0.2s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
    }

    .modal-tab-btn:hover {
      color: var(--paper);
    }

    .modal-tab-btn.active {
      background: var(--surface-3);
      color: var(--accent-light);
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
      border: 1px solid rgba(224, 83, 21, 0.3);
    }

    .modal-tab-pane {
      display: none;
      animation: tabFadeIn 0.25s ease forwards;
    }

    .modal-tab-pane.active {
      display: block;
    }

    @keyframes tabFadeIn {
      from { opacity: 0; transform: translateY(6px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* Architecture Flow Diagram */
    .arch-flow-box {
      background: var(--surface-2);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: 20px;
      margin-bottom: 24px;
      overflow-x: auto;
    }

    .arch-flow-svg {
      width: 100%;
      min-width: 520px;
      height: auto;
      display: block;
    }

    /* Code Peeker */
    .code-peeker-box {
      background: #08080A;
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      overflow: hidden;
      margin-bottom: 24px;
    }

    .code-peeker-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 8px 16px;
      background: var(--surface-2);
      border-bottom: 1px solid var(--border);
      font-family: var(--mono);
      font-size: 0.7rem;
      color: var(--text-dim);
    }

    .code-peeker-copy-btn {
      background: transparent;
      border: 1px solid var(--border-light);
      color: var(--text-muted);
      padding: 3px 10px;
      border-radius: 4px;
      font-family: var(--mono);
      font-size: 0.65rem;
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .code-peeker-copy-btn:hover {
      color: var(--paper);
      border-color: var(--accent);
      background: rgba(224, 83, 21, 0.12);
    }

    .code-peeker-pre {
      padding: 16px;
      margin: 0;
      font-family: var(--mono);
      font-size: 0.74rem;
      line-height: 1.65;
      color: #D4D4D8;
      overflow-x: auto;
      background: transparent;
    }

    /* FastMCP Agent Interactive Simulator */
    .mcp-sim-box {
      background: #09090C;
      border: 1px solid rgba(224, 83, 21, 0.3);
      border-radius: var(--radius-md);
      padding: 20px;
      margin-bottom: 24px;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    }

    .mcp-tools-list {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-bottom: 16px;
    }

    .mcp-tool-pill {
      font-family: var(--mono);
      font-size: 0.62rem;
      padding: 4px 10px;
      border-radius: 4px;
      background: rgba(224, 83, 21, 0.12);
      border: 1px solid rgba(224, 83, 21, 0.25);
      color: var(--accent-light);
    }

    .mcp-presets-bar {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-bottom: 12px;
    }

    .mcp-preset-chip {
      font-family: var(--mono);
      font-size: 0.64rem;
      background: var(--surface-2);
      border: 1px solid var(--border);
      color: var(--text-muted);
      padding: 4px 10px;
      border-radius: 4px;
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .mcp-preset-chip:hover {
      color: var(--paper);
      border-color: var(--border-light);
      background: var(--surface-3);
    }

    .mcp-input-row {
      display: flex;
      gap: 8px;
      margin-bottom: 14px;
    }

    .mcp-input-field {
      flex: 1;
      background: var(--surface-1);
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      color: var(--paper);
      font-family: var(--mono);
      font-size: 0.75rem;
      padding: 10px 14px;
      outline: none;
      transition: border-color 0.2s ease;
    }

    .mcp-input-field:focus {
      border-color: var(--accent);
      box-shadow: 0 0 10px rgba(224, 83, 21, 0.2);
    }

    .mcp-run-btn {
      background: var(--accent);
      color: #fff;
      border: none;
      border-radius: var(--radius-sm);
      padding: 10px 18px;
      font-family: var(--mono);
      font-size: 0.75rem;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.2s ease;
      white-space: nowrap;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .mcp-run-btn:hover {
      background: var(--accent-light);
      box-shadow: 0 0 16px rgba(224, 83, 21, 0.4);
    }

    .mcp-terminal-output {
      background: #050507;
      border: 1px solid var(--border);
      border-radius: 6px;
      padding: 14px;
      font-family: var(--mono);
      font-size: 0.7rem;
      line-height: 1.6;
      color: #A1A1AA;
      min-height: 110px;
      max-height: 220px;
      overflow-y: auto;
    }

    .mcp-log-step {
      color: #38BDF8;
      font-weight: 700;
    }

    .mcp-log-success {
      color: #34D399;
      font-weight: 700;
    }

    .mcp-log-json {
      color: #FBBF24;
    }

    /* =============================================
       MINI ROH â€” CHARACTER COMPANION SLIDE PANEL
    ============================================= */

    /* BACKDROP */
    .mr-backdrop {
      position: fixed;
      inset: 0;
      z-index: 9998;
      background: rgba(4, 4, 6, 0.72);
      backdrop-filter: blur(6px);
      -webkit-backdrop-filter: blur(6px);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .mr-backdrop.mr-open {
      opacity: 1;
      pointer-events: auto;
    }

    /* SLIDE PANEL */
    .mr-aside {
      position: fixed;
      top: 0;
      right: 0;
      height: 100dvh;
      width: 400px;
      max-width: 95vw;
      z-index: 9999;
      display: flex;
      flex-direction: column;
      background: rgba(14, 14, 18, 0.96);
      border-left: 1px solid rgba(224, 83, 21, 0.22);
      box-shadow: -24px 0 80px rgba(0, 0, 0, 0.7), -4px 0 0 rgba(224, 83, 21, 0.08);
      transform: translateX(100%);
      transition: transform 0.36s cubic-bezier(0.16, 1, 0.3, 1);
      overflow: hidden;
    }
    .mr-aside.mr-open {
      transform: translateX(0);
    }

    /* CHARACTER STAGE â€” mascot sitting above the panel */
    .mr-stage {
      flex-shrink: 0;
      position: relative;
      display: flex;
      justify-content: center;
      padding-top: 28px;
      padding-bottom: 0;
      background: linear-gradient(180deg, rgba(224, 83, 21, 0.07) 0%, transparent 100%);
      border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    }
    .mr-stage-inner {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
    }
    .mr-mascot {
      width: 150px;
      height: 150px;
      object-fit: contain;
      filter: drop-shadow(0 8px 24px rgba(224, 83, 21, 0.35));
      animation: mrFloat 3.4s ease-in-out infinite;
      transition: opacity 0.18s ease, transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    @keyframes mrFloat {
      0%, 100% { transform: translateY(0) scale(1); }
      50% { transform: translateY(-8px) scale(1.01); }
    }
    .mr-status {
      display: flex;
      align-items: center;
      gap: 6px;
      font-family: var(--mono);
      font-size: 0.62rem;
      color: var(--text-muted);
      padding-bottom: 16px;
    }
    .mr-status-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: #34D399;
      box-shadow: 0 0 6px #34D399;
      animation: mrPulse 2s ease-in-out infinite;
    }
    @keyframes mrPulse {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.5; }
    }

    /* PANEL HEADER */
    .mr-header {
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 14px 20px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    .mr-header-name {
      font-family: var(--display);
      font-size: 1rem;
      font-weight: 800;
      color: var(--paper);
      letter-spacing: -0.01em;
    }
    .mr-header-sub {
      font-family: var(--mono);
      font-size: 0.6rem;
      color: var(--text-muted);
      margin-top: 2px;
    }
    .mr-close {
      width: 32px;
      height: 32px;
      border-radius: 8px;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.08);
      color: var(--text-muted);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.18s ease;
      flex-shrink: 0;
    }
    .mr-close:hover {
      background: rgba(224, 83, 21, 0.15);
      border-color: rgba(224, 83, 21, 0.4);
      color: var(--accent);
    }

    /* CHAT AREA */
    .mr-chat {
      flex: 1;
      overflow-y: auto;
      padding: 16px 16px 8px;
      display: flex;
      flex-direction: column;
      gap: 14px;
      scroll-behavior: smooth;
    }
    .mr-chat::-webkit-scrollbar {
      width: 4px;
    }
    .mr-chat::-webkit-scrollbar-thumb {
      background: rgba(224, 83, 21, 0.25);
      border-radius: 2px;
    }
    .mr-chat::-webkit-scrollbar-track {
      background: transparent;
    }

    /* MESSAGES */
    .mr-msg {
      display: flex;
      gap: 10px;
      align-items: flex-end;
      max-width: 100%;
    }
    .mr-msg-user {
      flex-direction: row-reverse;
      align-self: flex-end;
    }
    .mr-msg-roh {
      flex-direction: row;
      align-self: flex-start;
    }

    /* AVATAR */
    .mr-avatar {
      width: 30px;
      height: 30px;
      border-radius: 50%;
      object-fit: contain;
      flex-shrink: 0;
      background: rgba(224, 83, 21, 0.12);
      border: 1.5px solid rgba(224, 83, 21, 0.25);
      padding: 2px;
      align-self: flex-end;
      transition: transform 0.18s ease;
    }
    .mr-avatar-active {
      animation: mrAvatarBounce 0.7s ease-in-out infinite alternate;
    }
    @keyframes mrAvatarBounce {
      from { transform: translateY(0); }
      to { transform: translateY(-3px); }
    }

    /* BUBBLES */
    .mr-bubble {
      max-width: 88%;
      padding: 11px 14px;
      border-radius: 16px;
      font-size: 0.78rem;
      line-height: 1.6;
      position: relative;
    }
    .mr-msg-roh .mr-bubble {
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.07);
      border-bottom-left-radius: 4px;
      color: var(--paper);
    }
    .mr-msg-user .mr-bubble {
      background: rgba(224, 83, 21, 0.14);
      border: 1px solid rgba(224, 83, 21, 0.28);
      border-bottom-right-radius: 4px;
      color: var(--paper);
    }

    /* BUBBLE CONTENT ELEMENTS */
    .mr-bubble .mr-line {
      margin: 2px 0;
    }
    .mr-bubble .mr-gap {
      height: 6px;
    }
    .mr-bubble .mr-bullet {
      display: flex;
      gap: 7px;
      margin: 3px 0;
    }
    .mr-bubble .mr-dot {
      color: var(--accent);
      font-weight: 700;
      flex-shrink: 0;
      line-height: 1.6;
    }
    .mr-bubble .mr-num {
      display: flex;
      gap: 7px;
      margin: 4px 0 2px;
    }
    .mr-bubble .mr-nnum {
      color: var(--accent);
      font-weight: 700;
      flex-shrink: 0;
      font-family: var(--mono);
    }
    .mr-bubble .mr-quote {
      border-left: 2px solid var(--accent);
      padding-left: 10px;
      color: var(--text-muted);
      font-style: italic;
      margin: 4px 0;
    }
    .mr-bubble strong {
      color: #F4F4F5;
      font-weight: 700;
    }
    .mr-bubble em {
      color: var(--text-muted);
      font-style: italic;
    }
    .mr-bubble code {
      font-family: var(--mono);
      font-size: 0.72rem;
      background: rgba(255, 255, 255, 0.08);
      padding: 1px 5px;
      border-radius: 4px;
      color: #FFAA40;
    }
    .mr-bubble a {
      color: var(--accent);
      text-decoration: underline;
      text-underline-offset: 2px;
    }

    /* THINKING DOTS */
    .mr-thinking-dots {
      display: flex;
      gap: 5px;
      padding: 4px 2px;
    }
    .mr-thinking-dots span {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--accent);
      opacity: 0.6;
      animation: mrDot 1.2s ease-in-out infinite;
    }
    .mr-thinking-dots span:nth-child(2) { animation-delay: 0.2s; }
    .mr-thinking-dots span:nth-child(3) { animation-delay: 0.4s; }
    @keyframes mrDot {
      0%, 80%, 100% { transform: scale(1); opacity: 0.4; }
      40% { transform: scale(1.3); opacity: 1; }
    }

    /* STREAM CURSOR */
    .mr-cursor {
      display: inline-block;
      color: var(--accent);
      animation: mrBlink 0.6s step-end infinite;
      margin-left: 2px;
    }
    @keyframes mrBlink {
      0%, 100% { opacity: 1; }
      50% { opacity: 0; }
    }

    /* QUICK PROMPTS */
    .mr-quick {
      flex-shrink: 0;
      padding: 10px 16px;
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      border-top: 1px solid rgba(255, 255, 255, 0.04);
      background: rgba(0, 0, 0, 0.2);
    }
    .mr-chip {
      background: rgba(224, 83, 21, 0.08);
      border: 1px solid rgba(224, 83, 21, 0.2);
      color: var(--text-muted);
      font-family: var(--mono);
      font-size: 0.62rem;
      padding: 5px 10px;
      border-radius: 99px;
      cursor: pointer;
      transition: all 0.18s ease;
      white-space: nowrap;
    }
    .mr-chip:hover {
      background: rgba(224, 83, 21, 0.2);
      border-color: rgba(224, 83, 21, 0.5);
      color: var(--paper);
    }

    /* INPUT ROW */
    .mr-form {
      flex-shrink: 0;
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 14px 16px;
      border-top: 1px solid rgba(255, 255, 255, 0.06);
      background: rgba(8, 8, 10, 0.6);
    }
    .mr-input {
      flex: 1;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 10px;
      padding: 10px 14px;
      font-family: var(--body);
      font-size: 0.8rem;
      color: var(--paper);
      outline: none;
      transition: border-color 0.2s ease;
    }
    .mr-input:focus {
      border-color: rgba(224, 83, 21, 0.45);
    }
    .mr-input::placeholder {
      color: #52525B;
    }
    .mr-send {
      width: 38px;
      height: 38px;
      border-radius: 10px;
      background: var(--accent);
      border: none;
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      flex-shrink: 0;
      transition: all 0.2s ease;
    }
    .mr-send:hover {
      background: var(--accent-light);
      transform: scale(1.06);
    }
    .mr-send:active {
      transform: scale(0.96);
    }

    /* MOBILE */
    @media (max-width: 540px) {
      .mr-aside {
        width: 100vw;
      }
      .mr-mascot {
        width: 120px;
        height: 120px;
      }
    }

