  @font-face {
    font-family: 'Bleach';
    src: url('/assets/fonts/FontBleach.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
  }

  :root {
    /* ── Palette matched to Bleach background ── */
    --indigo: #dc2626;
    --indigo-dark: #991b1b;
    --indigo-light: #fca5a5;
    --pink: #e11d48;
    --pink-light: #fda4af;
    --cyan: #a8a29e;
    --cyan-light: #d6d3d1;
    --amber: #ea580c;
    --amber-light: #fb923c;
    --bg: #050508;
    --bg2: #0a0a10;
    --bg3: #0f0f16;
    --surface: rgba(255, 255, 255, 0.04);
    --surface-hover: rgba(255, 255, 255, 0.07);
    --border: rgba(255, 255, 255, 0.08);
    --text: #e2e8f0;
    --text-muted: #94a3b8;
    --text-faint: #475569;
    --scrollbar-thumb: var(--indigo);
    --grad1: linear-gradient(135deg, var(--indigo), var(--pink));
    --grad2: linear-gradient(135deg, var(--amber), var(--indigo));
    --grad3: linear-gradient(135deg, var(--amber), var(--pink));
  }

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

  html {
    scroll-behavior: smooth;
    font-size: 17px;
    background: #050508;
    width: 100%;
    overflow-x: hidden;
  }

  body {
    font-family: 'Inter', sans-serif;
    background: transparent;
    color: var(--text);
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
  }

  main {
    width: 100%;
    position: relative;
    z-index: 10;
  }

  .content-wrap {
    width: 100%;
    max-width: 1400px;
    margin-inline: auto;
    padding-inline: clamp(20px, 5vw, 64px);
  }

  /* ── Scrollbar ── */
  ::-webkit-scrollbar {
    width: 6px
  }

  ::-webkit-scrollbar-track {
    background: var(--bg2)
  }

  ::-webkit-scrollbar-thumb {
    background: var(--indigo);
    border-radius: 99px
  }

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

  /* ── Noise overlay ── */
  #noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    opacity: .03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
  }

  /* ── Loading Screen ── */
  #loading {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    transition: opacity .8s ease, visibility .8s ease;
  }

  #loading.hide {
    opacity: 0;
    visibility: hidden
  }

  .loading-initials {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(48px, 10vw, 96px);
    font-weight: 800;
    background: var(--grad1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -2px;
  }

  .loading-bar-wrap {
    width: 220px;
    height: 3px;
    background: rgba(255, 255, 255, .08);
    border-radius: 99px;
    overflow: hidden;
  }

  .loading-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--indigo), var(--pink), var(--cyan));
    border-radius: 99px;
    animation: loadBar 2s ease-out forwards;
  }

  @keyframes loadBar {
    to {
      width: 100%
    }
  }

  .loading-label {
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 500;
  }

  /* ── Top Bar ── */
  nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 500;
    padding: 0 clamp(16px, 4vw, 64px);
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(5, 5, 8, .6);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    border-bottom: 1px solid transparent;
  }

  nav::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--indigo), var(--pink), var(--cyan), transparent);
    background-size: 200% 100%;
    animation: navBorderSlide 4s linear infinite;
    opacity: .6;
  }

  @keyframes navBorderSlide {
    0% {
      background-position: 200% 0
    }

    100% {
      background-position: -200% 0
    }
  }

  .nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
  }

  .nav-logo-img {
    height: 80px;
    width: auto;
    filter: brightness(1.1) drop-shadow(0 0 8px rgba(220, 38, 38, .3));
    transition: filter .3s, transform .3s;
  }

  .nav-logo:hover .nav-logo-img {
    filter: brightness(1.3) drop-shadow(0 0 16px rgba(220, 38, 38, .5));
    transform: scale(1.08);
  }

  .nav-join {
    padding: 9px 22px;
    font-size: 14px;
    font-weight: 600;
    background: var(--grad1);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    letter-spacing: .3px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 0 20px rgba(220, 38, 38, .3);
  }

  .nav-join::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .18), transparent);
    transition: left .4s ease;
  }

  .nav-join:hover {
    transform: scale(1.05);
    box-shadow: 0 0 28px rgba(225, 29, 72, .5)
  }

  .nav-join:hover::after {
    left: 100%
  }

  /* ── Pill Nav ── */
  .pill-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(10, 10, 24, .7);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(220, 38, 38, .22);
    border-radius: 999px;
    padding: 5px 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .4), 0 0 0 1px rgba(220, 38, 38, .08);
  }

  .pill-nav::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(220, 38, 38, .04), transparent);
    animation: pillScan 5s ease-in-out infinite;
    pointer-events: none;
  }

  @keyframes pillScan {
    0% {
      opacity: 0;
      transform: translateX(-100%)
    }

    50% {
      opacity: 1
    }

    100% {
      opacity: 0;
      transform: translateX(100%)
    }
  }

  .pill-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 999px;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .8px;
    text-transform: uppercase;
    transition: color .25s, background .25s, box-shadow .25s, transform .2s;
    position: relative;
    font-family: 'Space Grotesk', sans-serif;
  }

  .pill-item::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--grad1);
    border-radius: 2px;
    transition: width .3s ease, left .3s ease;
  }

  .pill-item:hover {
    color: #fff;
    transform: translateY(-1px);
    text-shadow: 0 0 12px rgba(220, 38, 38, .4);
  }

  .pill-item:hover::after {
    width: 60%;
    left: 20%;
  }

  .pill-item.active {
    background: var(--grad1);
    color: #fff;
    box-shadow: 0 0 20px rgba(220, 38, 38, .45), 0 4px 16px rgba(220, 38, 38, .3);
  }

  .pill-item.active::after {
    display: none
  }

  @media(max-width:600px) {
    .pill-item {
      padding: 9px 14px;
      font-size: 11px
    }
  }

  /* ── Sections ── */
  section {
    position: relative;
    z-index: 10;
    width: 100%
  }

  /* ── Hero ── */
  #hero {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 120px clamp(24px, 6vw, 80px) 80px;
    text-align: center;
  }

  .hero-inner {
    max-width: 1000px;
    margin: 0 auto
  }

  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 99px;
    border: 1px solid rgba(220, 38, 38, .4);
    background: rgba(220, 38, 38, .08);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--indigo-light);
    margin-bottom: 32px;
    animation: fadeUp .8s ease .2s both;
  }

  .hero-badge .dot {
    width: 7px;
    height: 7px;
    background: var(--cyan);
    border-radius: 50%;
    animation: pulse 2s infinite
  }

  @keyframes pulse {

    0%,
    100% {
      box-shadow: 0 0 0 0 rgba(168, 162, 158, .4)
    }

    50% {
      box-shadow: 0 0 0 6px rgba(168, 162, 158, 0)
    }
  }

  .hero-name {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(40px, 9vw, 110px);
    font-weight: 700;
    line-height: .95;
    letter-spacing: 6px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #fff 0%, #fca5a5 35%, #dc2626 65%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 300% 300%;
    animation: shimmer 5s ease infinite;
    position: relative;
    text-shadow: none;
    filter: drop-shadow(0 0 30px rgba(220, 38, 38, .3));
  }

  @keyframes shimmer {
    0% {
      background-position: 0% 50%
    }

    50% {
      background-position: 100% 50%
    }

    100% {
      background-position: 0% 50%
    }
  }

  .hero-sub {
    font-size: clamp(16px, 2.2vw, 22px);
    color: var(--text-muted);
    margin-top: 24px;
    margin-bottom: 44px;
    font-weight: 400;
    line-height: 1.7;
    animation: fadeUp .8s ease .6s both;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-sub span {
    color: var(--cyan);
    font-weight: 600
  }

  .hero-ctas {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeUp .8s ease .8s both;
    margin-bottom: 64px;
  }

  /* ── Bankai Button (Primary) ── */
  .cta-primary {
    position: relative;
    overflow: hidden;
    padding: 16px 44px;
    background: linear-gradient(135deg, #991b1b, #dc2626, #b91c1c);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Space Grotesk', sans-serif;
    transition: transform .25s, box-shadow .25s, filter .25s;
    box-shadow: 0 0 30px rgba(220, 38, 38, .4), 0 0 60px rgba(220, 38, 38, .15);
    animation: bankaiBreathe 3s ease-in-out infinite;
  }

  @keyframes bankaiBreathe {

    0%,
    100% {
      box-shadow: 0 0 30px rgba(220, 38, 38, .4), 0 0 60px rgba(220, 38, 38, .15)
    }

    50% {
      box-shadow: 0 0 40px rgba(220, 38, 38, .6), 0 0 80px rgba(220, 38, 38, .25)
    }
  }

  .cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
    transition: left .5s ease;
  }

  .cta-primary:hover::before {
    left: 150%
  }

  .cta-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 0 50px rgba(220, 38, 38, .7), 0 0 100px rgba(220, 38, 38, .3);
    filter: brightness(1.15);
  }

  /* ── Zanpakutō Button (Secondary) ── */
  .cta-secondary {
    position: relative;
    overflow: hidden;
    padding: 16px 44px;
    border: 1.5px solid rgba(220, 38, 38, .3);
    background: rgba(220, 38, 38, .06);
    color: var(--text);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    letter-spacing: .8px;
    text-transform: uppercase;
    font-family: 'Space Grotesk', sans-serif;
    transition: all .3s ease;
  }

  .cta-secondary::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(220, 38, 38, .6), transparent);
    transform: scaleX(0);
    transition: transform .4s ease;
  }

  .cta-secondary:hover {
    background: rgba(220, 38, 38, .12);
    border-color: rgba(220, 38, 38, .5);
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(220, 38, 38, .2);
    color: #fff;
  }

  .cta-secondary:hover::after {
    transform: scaleX(1)
  }

  /* 3D Floating Card */
  .stats-card-wrap {
    perspective: 1000px;
    animation: fadeUp .8s ease 1s both;
  }

  .stats-card {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 20px;
    padding: 36px 48px;
    display: flex;
    gap: 0;
    justify-content: space-around;
    flex-wrap: wrap;
    backdrop-filter: blur(20px);
    transform-style: preserve-3d;
    transition: transform .1s ease-out;
    box-shadow: 0 20px 80px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .1);
    max-width: 800px;
    margin: 0 auto;
  }

  .stats-card:hover {
    box-shadow: 0 30px 100px rgba(220, 38, 38, .2), inset 0 1px 0 rgba(255, 255, 255, .1)
  }

  .stat-item {
    text-align: center;
    padding: 16px 28px;
    position: relative;
  }

  .stat-item+.stat-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: var(--border);
  }

  .stat-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(28px, 4.5vw, 44px);
    font-weight: 800;
    background: var(--grad1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
  }

  .stat-label {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-top: 8px;
    font-weight: 500
  }

  @keyframes fadeUp {
    from {
      opacity: 0;
      transform: translateY(24px)
    }

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

  /* ── Shared Section Styles ── */
  .section-pad {
    padding: 120px clamp(24px, 6vw, 80px)
  }

  .section-header {
    text-align: center;
    margin-bottom: 72px
  }

  .section-eyebrow {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--indigo-light);
    font-weight: 600;
    margin-bottom: 14px;
  }

  .section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(32px, 5.5vw, 60px);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.1;
  }

  .section-title span {
    background: var(--grad1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .section-desc {
    color: var(--text-muted);
    font-size: 18px;
    margin-top: 14px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7
  }

  .reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .7s ease, transform .7s ease;
    will-change: opacity, transform;
  }

  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
    will-change: auto
  }

  .reveal-delay-1 {
    transition-delay: .1s
  }

  .reveal-delay-2 {
    transition-delay: .2s
  }

  .reveal-delay-3 {
    transition-delay: .3s
  }

  .reveal-delay-4 {
    transition-delay: .4s
  }

  /* ── About ── */
  #about {
    background: transparent
  }

  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
  }

  .about-text p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 18px
  }

  .about-text p strong {
    color: var(--text)
  }

  .about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px
  }

  .about-tag {
    padding: 8px 20px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .5px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-muted);
    transition: border-color .2s, color .2s;
  }

  .about-tag:hover {
    border-color: var(--indigo);
    color: var(--indigo-light)
  }

  .about-tag.t-indigo {
    background: rgba(220, 38, 38, .1);
    color: var(--indigo-light);
    border-color: rgba(220, 38, 38, .3)
  }

  .about-tag.t-indigo:hover {
    background: rgba(220, 38, 38, .18);
    border-color: rgba(220, 38, 38, .5);
    box-shadow: 0 0 14px rgba(220, 38, 38, .2)
  }

  .about-tag.t-pink {
    background: rgba(225, 29, 72, .1);
    color: var(--pink-light);
    border-color: rgba(225, 29, 72, .3)
  }

  .about-tag.t-pink:hover {
    background: rgba(225, 29, 72, .18);
    border-color: rgba(225, 29, 72, .5);
    box-shadow: 0 0 14px rgba(225, 29, 72, .2)
  }

  .about-tag.t-cyan {
    background: rgba(168, 162, 158, .1);
    color: var(--cyan-light);
    border-color: rgba(168, 162, 158, .3)
  }

  .about-tag.t-cyan:hover {
    background: rgba(168, 162, 158, .18);
    border-color: rgba(168, 162, 158, .5);
    box-shadow: 0 0 14px rgba(168, 162, 158, .2)
  }

  .about-tag.t-amber {
    background: rgba(234, 88, 12, .1);
    color: var(--amber-light);
    border-color: rgba(234, 88, 12, .3)
  }

  .about-tag.t-amber:hover {
    background: rgba(234, 88, 12, .18);
    border-color: rgba(234, 88, 12, .5);
    box-shadow: 0 0 14px rgba(234, 88, 12, .2)
  }

  .about-image-box {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
  }

  .about-image-box::before {
    content: '';
    position: absolute;
    inset: 6% 10%;
    border-radius: 50%;
    background:
      radial-gradient(circle, rgba(220, 38, 38, .28) 0%, rgba(168, 162, 158, .18) 26%, rgba(225, 29, 72, .1) 46%, transparent 72%);
    filter: blur(30px);
    pointer-events: none;
  }

  .about-image-box::after {
    content: '';
    position: absolute;
    width: min(100%, 420px);
    height: 420px;
    left: 50%;
    top: 44%;
    transform: translate(-50%, -50%);
    border-radius: 999px;
    background:
      repeating-linear-gradient(180deg, rgba(255, 255, 255, .04) 0 2px, transparent 2px 8px),
      radial-gradient(circle, rgba(255, 255, 255, .06) 0%, transparent 68%);
    opacity: .32;
    filter: blur(8px);
    pointer-events: none;
    z-index: 0;
  }

  .team-logo-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--grad1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: 28px;
    color: #fff;
    box-shadow: 0 0 40px rgba(220, 38, 38, .4);
  }

  .team-photo {
    width: 100%;
    max-width: 460px;
    height: auto;
    border-radius: 0;
    display: block;
    object-fit: contain;
    border: 0;
    position: relative;
    z-index: 1;
    opacity: 1;
    filter: drop-shadow(0 0 30px rgba(220, 38, 38, .16)) drop-shadow(0 0 55px rgba(168, 162, 158, .1));
  }

  .about-meta {
    text-align: center;
    position: relative;
    z-index: 1
  }

  .about-meta h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 6px;
    text-shadow: 0 0 18px rgba(220, 38, 38, .22);
  }

  .about-meta p {
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
  }

  .about-aliases {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 16px
  }

  .alias {
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .5px;
    background: rgba(168, 162, 158, .1);
    color: var(--cyan-light);
    border: 1px solid rgba(168, 162, 158, .2)
  }

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

  /* ── Projects / Battle Record ── */
  #projects {}

  .battle-subsection {
    max-width: 1400px;
    margin: 0 auto
  }

  .battle-subsection-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
  }

  .battle-subsection-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -.5px;
  }

  .battle-subsection-tag {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--text-faint);
    padding: 6px 14px;
    border-radius: 99px;
    background: rgba(220, 38, 38, .08);
    border: 1px solid rgba(220, 38, 38, .15);
    color: var(--indigo-light);
  }

  .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
  }

  .project-card {
    position: relative;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: border-color .3s, transform .3s, box-shadow .3s;
    cursor: default;
    contain: content;
  }

  .project-card-image {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    background: linear-gradient(135deg, rgba(220, 38, 38, .15), rgba(225, 29, 72, .08), rgba(168, 162, 158, .1));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }

  .project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
    z-index: 2;
    position: relative;
  }

  .project-bg-number {
    position: absolute;
    bottom: -15px;
    right: 5px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 140px;
    font-weight: 800;
    line-height: 1;
    color: rgba(255, 255, 255, 0.2);
    pointer-events: none;
    z-index: 1;
    transition: transform .4s ease, color .4s ease;
  }

  .project-card:hover .project-card-image img {
    transform: scale(1.05);
  }

  .project-card:hover .project-bg-number {
    color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05) translateY(-5px);
  }

  .project-card-image .project-emoji-placeholder {
    font-size: 56px;
    line-height: 1;
    opacity: .7;
    filter: drop-shadow(0 0 16px rgba(220, 38, 38, .3));
  }

  .project-card-body {
    padding: 24px 28px 28px;
  }

  .project-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(220, 38, 38, .08), rgba(225, 29, 72, .04), transparent 60%);
    opacity: 0;
    transition: opacity .4s;
    pointer-events: none;
  }

  .project-card:hover {
    border-color: rgba(220, 38, 38, .35);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(220, 38, 38, .15);
  }

  .project-card:hover::before {
    opacity: 1
  }

  /* gradient sweep */
  .project-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .03) 50%, transparent 60%);
    transform: translateX(-100%);
    transition: transform .6s ease;
    pointer-events: none;
  }

  .project-card:hover::after {
    transform: translateX(100%)
  }

  .project-emoji {
    font-size: 36px;
    margin-bottom: 16px;
    display: block;
    line-height: 1
  }

  .project-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px
  }

  .project-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 16px
  }

  .project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
  }

  .project-tag {
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .3px;
    color: var(--text-faint);
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--border);
    transition: transform .2s, box-shadow .2s;
  }

  .project-tag:nth-child(3n+1) {
    color: var(--cyan-light);
    background: rgba(168, 162, 158, .1);
    border-color: rgba(168, 162, 158, .28)
  }

  .project-tag:nth-child(3n+2) {
    color: var(--indigo-light);
    background: rgba(220, 38, 38, .1);
    border-color: rgba(220, 38, 38, .28)
  }

  .project-tag:nth-child(3n) {
    color: var(--amber-light);
    background: rgba(234, 88, 12, .1);
    border-color: rgba(234, 88, 12, .28)
  }

  .project-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .2)
  }

  .project-rank {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 6px;
  }

  .rank-gold {
    background: rgba(234, 88, 12, .12);
    color: var(--amber-light);
    border: 1px solid rgba(234, 88, 12, .2)
  }

  .rank-silver {
    background: rgba(148, 163, 184, .1);
    color: #94a3b8;
    border: 1px solid rgba(148, 163, 184, .15)
  }

  .rank-bronze {
    background: rgba(234, 88, 12, .08);
    color: #fb923c;
    border: 1px solid rgba(234, 88, 12, .15)
  }

  /* ── Members ── */
  #members {
    background: transparent
  }

  .member-groups {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    gap: 64px;
    padding-inline: clamp(20px, 5vw, 64px);
  }

  .member-group {
    position: relative;
  }

  .member-group-header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
  }

  .member-group-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 8px;
  }

  .member-group-copy {
    max-width: 600px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-muted);
  }

  .member-group-tag {
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--indigo-light);
    background: rgba(220, 38, 38, .12);
    border: 1px solid rgba(220, 38, 38, .2);
    white-space: nowrap;
  }

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

  .member-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px;
    text-align: center;
    transition: border-color .3s, transform .3s, box-shadow .3s;
    contain: content;
  }

  .founder-card {
    background: linear-gradient(180deg, rgba(220, 38, 38, .12), rgba(255, 255, 255, .04));
    border-color: rgba(220, 38, 38, .22);
    box-shadow: 0 16px 44px rgba(15, 23, 42, .22);
  }

  .founder-card.founder-profile {
    padding: 24px 24px 28px;
  }

  .member-card:hover {
    border-color: rgba(220, 38, 38, .4);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(220, 38, 38, .12);
  }

  .member-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: 24px;
    color: #fff;
    position: relative;
  }

  .member-avatar::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: var(--grad1);
    z-index: -1;
  }

  .member-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px
  }

  .member-handle {
    font-size: 14px;
    color: var(--indigo-light);
  }

  .member-role {
    margin-top: 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .5px;
    padding: 6px 14px;
    border-radius: 8px;
    display: inline-block;
  }

  .founder-photo {
    width: min(100%, 100%);
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center top;
    border-radius: 18px;
    display: block;
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 22px 44px rgba(2, 6, 23, .34);
    margin: 0 auto 20px;
  }

  .founder-profile .member-name {
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 12px;
  }

  .founder-profile .member-role {
    margin-top: 0;
    font-size: 13px;
    padding: 7px 16px;
  }

  .founder-expertise {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
  }

  .founder-expertise span {
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .4px;
    background: rgba(168, 162, 158, .1);
    border: 1px solid rgba(168, 162, 158, .2);
    color: var(--cyan-light);
  }

  .founder-socials {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
  }

  .founder-socials a {
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: var(--indigo-light);
    background: rgba(220, 38, 38, .1);
    border: 1px solid rgba(220, 38, 38, .18);
    transition: transform .2s ease, border-color .2s ease, color .2s ease;
  }

  .founder-socials a:hover {
    transform: translateY(-2px);
    border-color: rgba(220, 38, 38, .35);
    color: var(--text);
  }

  .role-founder {
    background: rgba(225, 29, 72, .12);
    color: var(--pink-light);
    border: 1px solid rgba(225, 29, 72, .24)
  }

  .role-member,
  .role-active {
    background: rgba(168, 162, 158, .1);
    color: var(--cyan-light);
    border: 1px solid rgba(168, 162, 158, .2)
  }

  .role-former {
    background: rgba(148, 163, 184, .08);
    color: var(--text-faint);
    border: 1px solid var(--border)
  }

  /* ── Gallery ── */
  #gallery {}

  .gallery-grid {
    max-width: 1400px;
    margin: 0 auto;
    column-count: 3;
    column-gap: 0;
  }

  .gallery-card {
    position: relative;
    overflow: hidden;
    break-inside: avoid;
    margin-bottom: 0;
    outline: 1px solid rgba(255, 255, 255, 0.15);
    outline-offset: -1px;
    transition: transform .35s ease, z-index .35s ease, box-shadow .35s ease, outline-color .35s ease;
  }

  .gallery-card:hover {
    transform: scale(1.02);
    z-index: 2;
    outline-color: rgba(220, 38, 38, 0.6);
    box-shadow: 0 22px 54px rgba(220, 38, 38, .4);
  }

  .gallery-card.featured {
    /* Removed grid-span to allow masonry flow */
  }

  .gallery-media {
    width: 100%;
    height: auto;
    display: block;
  }

  /* ── Contact ── */
  #contact {
    background: transparent
  }

  .contact-inner {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center
  }

  .contact-icons-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
  }

  .contact-icon-link {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .04);
    border: 1.5px solid rgba(255, 255, 255, .1);
    color: var(--text-muted);
    transition: all .35s ease;
    text-decoration: none;
  }

  .contact-icon-link svg {
    width: 32px;
    height: 32px;
    transition: transform .3s ease;
  }

  .contact-icon-link:hover {
    color: #fff;
    border-color: rgba(220, 38, 38, .5);
    background: rgba(220, 38, 38, .1);
    box-shadow: 0 0 40px rgba(220, 38, 38, .25), 0 0 80px rgba(220, 38, 38, .1);
    transform: translateY(-4px);
  }

  .contact-icon-link:hover svg {
    transform: scale(1.15);
  }

  /* Stagger colors on hover */
  .contact-icon-link:nth-child(1):hover {
    border-color: rgba(220, 38, 38, .5);
    background: rgba(220, 38, 38, .1);
    box-shadow: 0 0 40px rgba(220, 38, 38, .25);
  }

  .contact-icon-link:nth-child(2):hover {
    border-color: rgba(168, 162, 158, .5);
    background: rgba(168, 162, 158, .08);
    box-shadow: 0 0 40px rgba(168, 162, 158, .2);
  }

  .contact-icon-link:nth-child(3):hover {
    border-color: rgba(225, 29, 72, .5);
    background: rgba(225, 29, 72, .1);
    box-shadow: 0 0 40px rgba(225, 29, 72, .25);
  }

  .contact-icon-link:nth-child(4):hover {
    border-color: rgba(234, 88, 12, .5);
    background: rgba(234, 88, 12, .1);
    box-shadow: 0 0 40px rgba(234, 88, 12, .25);
  }

  /* ── Advisor ── */
  #advisor {
    padding: 80px clamp(16px, 6vw, 80px);
    position: relative;
    overflow: hidden;
    background: transparent;
  }

  .advisor-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(80px, 18vw, 220px);
    font-weight: 900;
    letter-spacing: 12px;
    text-transform: uppercase;
    color: rgba(220, 38, 38, .04);
    pointer-events: none;
    white-space: nowrap;
  }

  .advisor-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, rgba(220, 38, 38, .08), rgba(225, 29, 72, .04), rgba(168, 162, 158, .06));
    border: 1px solid rgba(220, 38, 38, .2);
    border-radius: 24px;
    padding: 36px;
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .3), 0 0 0 1px rgba(220, 38, 38, .06);
    transition: border-color .3s, box-shadow .3s;
  }

  .advisor-inner:hover {
    border-color: rgba(220, 38, 38, .4);
    box-shadow: 0 24px 80px rgba(220, 38, 38, .15), 0 0 0 1px rgba(220, 38, 38, .1);
  }

  .advisor-photo-side img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 18px;
    display: block;
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 16px 44px rgba(2, 6, 23, .3);
  }

  .advisor-text-side {
    display: flex;
    flex-direction: column;
    gap: 8px
  }

  .advisor-label {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--pink-light);
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 6px;
    display: inline-block;
    width: fit-content;
    background: rgba(225, 29, 72, .1);
    border: 1px solid rgba(225, 29, 72, .2);
  }

  .advisor-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 800;
    line-height: 1.2;
    margin-top: 4px;
  }

  .advisor-divider {
    width: 48px;
    height: 3px;
    border-radius: 99px;
    background: var(--grad1);
    margin: 8px 0;
  }

  .advisor-role {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
  }

  .advisor-expertise-label {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-faint);
    font-weight: 600;
    margin-top: 12px;
  }

  .advisor-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
  }

  .advisor-expertise-tag {
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .4px;
    background: rgba(168, 162, 158, .1);
    border: 1px solid rgba(168, 162, 158, .2);
    color: var(--cyan-light);
  }

  @media(max-width:700px) {
    .advisor-inner {
      grid-template-columns: 1fr;
      gap: 28px;
      padding: 24px;
    }

    .advisor-photo-side img {
      max-width: 260px;
      margin: 0 auto;
    }
  }

  /* ── Footer ── */
  footer {
    padding: 32px clamp(16px, 6vw, 80px);
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    z-index: 10;
    position: relative;
  }

  footer .copy {
    font-size: 13px;
    color: var(--text-faint)
  }

  footer .foot-links {
    display: flex;
    gap: 24px
  }

  footer .foot-links a {
    font-size: 13px;
    color: var(--text-faint);
    text-decoration: none;
    transition: color .2s
  }

  footer .foot-links a:hover {
    color: var(--text)
  }

  /* ── Hero cyber grid ── */
  .hero-grid {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(220, 38, 38, .06) 1px, transparent 1px),
      linear-gradient(90deg, rgba(220, 38, 38, .06) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
    pointer-events: none;
    z-index: 0;
  }

  /* ── Hero scan line ── */
  .hero-scanline {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px,
        rgba(0, 0, 0, .06) 2px, rgba(0, 0, 0, .06) 4px);
    pointer-events: none;
    z-index: 0;
    animation: scanMove 8s linear infinite;
  }

  @keyframes scanMove {
    0% {
      background-position: 0 0
    }

    100% {
      background-position: 0 100px
    }
  }

  /* ── Terminal cursor blink ── */
  .blink-cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background: var(--cyan);
    margin-left: 4px;
    vertical-align: text-bottom;
    animation: blink .8s step-end infinite;
  }

  @keyframes blink {

    0%,
    100% {
      opacity: 1
    }

    50% {
      opacity: 0
    }
  }

  /* ── Nav logo glow ── */
  .nav-logo {
    text-shadow: none;
    filter: drop-shadow(0 0 12px rgba(220, 38, 38, .6));
    transition: filter .3s;
  }

  .nav-logo:hover {
    filter: drop-shadow(0 0 20px rgba(225, 29, 72, .7))
  }

  /* ── Stats numbers stronger gradient ── */
  .stat-num {
    filter: drop-shadow(0 0 8px rgba(220, 38, 38, .4));
  }

  /* ── Loading screen enhanced ── */
  .loading-initials {
    animation: fadeUp .6s ease both, pulseGlow 2s ease infinite .6s;
    filter: drop-shadow(0 0 30px rgba(220, 38, 38, .6));
  }

  @keyframes pulseGlow {

    0%,
    100% {
      filter: drop-shadow(0 0 20px rgba(220, 38, 38, .5))
    }

    50% {
      filter: drop-shadow(0 0 45px rgba(225, 29, 72, .7))
    }
  }

  /* ── Section title stronger ── */
  .section-title {
    letter-spacing: -1px !important;
  }

  /* ── About tag hover ── */
  .about-tag:hover {
    background: rgba(220, 38, 38, .12) !important;
    border-color: rgba(220, 38, 38, .5) !important;
    color: var(--indigo-light) !important;
    box-shadow: 0 0 14px rgba(220, 38, 38, .2);
  }

  /* ── Live badge ── */
  #stats-live-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    margin-top: 14px;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--cyan-light);
  }

  .live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 8px rgba(168, 162, 158, .8);
    animation: pulse 2s infinite;
    flex-shrink: 0;
  }

  .live-dot.offline {
    background: #94a3b8;
    box-shadow: none;
    animation: none
  }

  #stats-updated {
    color: var(--text-faint);
    font-weight: 400;
    letter-spacing: 1px;
    font-size: 10px;
  }

  /* ── Hamburger Button ── */
  .hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 8px;
    cursor: pointer;
    padding: 8px;
    z-index: 600;
    transition: border-color .3s;
  }

  .hamburger:hover {
    border-color: rgba(220, 38, 38, .5);
  }

  .hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform .3s ease, opacity .3s ease;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* ── Mobile Menu Overlay ── */
  .mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 499;
    background: rgba(5, 5, 8, .96);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease;
  }

  .mobile-menu.open {
    opacity: 1;
    visibility: visible;
  }

  .mobile-menu-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 8px;
    padding: 80px 24px 40px;
  }

  .mobile-menu-link {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--text-muted);
    padding: 14px 24px;
    border-radius: 12px;
    transition: color .3s, background .3s, transform .3s;
    opacity: 0;
    transform: translateY(20px);
  }

  .mobile-menu.open .mobile-menu-link {
    opacity: 1;
    transform: translateY(0);
  }

  .mobile-menu.open .mobile-menu-link:nth-child(1) { transition-delay: .05s; }
  .mobile-menu.open .mobile-menu-link:nth-child(2) { transition-delay: .1s; }
  .mobile-menu.open .mobile-menu-link:nth-child(3) { transition-delay: .15s; }
  .mobile-menu.open .mobile-menu-link:nth-child(4) { transition-delay: .2s; }
  .mobile-menu.open .mobile-menu-link:nth-child(5) { transition-delay: .25s; }
  .mobile-menu.open .mobile-menu-link:nth-child(6) { transition-delay: .3s; }
  .mobile-menu.open .mobile-menu-cta { transition-delay: .35s; }

  .mobile-menu-link:hover,
  .mobile-menu-link.active {
    color: #fff;
    background: rgba(220, 38, 38, .12);
  }

  .mobile-menu-link.active {
    background: var(--grad1);
    color: #fff;
    box-shadow: 0 0 24px rgba(220, 38, 38, .4);
  }

  .mobile-menu-cta {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 36px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    background: var(--grad1);
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 0 24px rgba(220, 38, 38, .4);
    transition: transform .3s, box-shadow .3s;
    opacity: 0;
    transform: translateY(20px);
  }

  .mobile-menu.open .mobile-menu-cta {
    opacity: 1;
    transform: translateY(0);
  }

  .mobile-menu-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 0 36px rgba(225, 29, 72, .5);
  }

  /* ── Body scroll lock when menu open ── */
  body.menu-open {
    overflow: hidden;
  }

  /* ── mobile ── */
  @media(max-width:600px) {
    .stat-item+.stat-item::before {
      display: none
    }

    .stats-card {
      gap: 8px;
      padding: 24px 16px;
    }

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

    .battle-subsection-header {
      flex-direction: column;
      align-items: flex-start;
      gap: 10px;
    }

    footer {
      flex-direction: column;
      text-align: center;
      gap: 12px;
    }

    footer .foot-links {
      justify-content: center;
      flex-wrap: wrap;
    }
  }

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

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

    .hamburger {
      display: flex;
    }

    .mobile-menu {
      display: block;
    }

    nav {
      padding: 0 16px;
    }

    .nav-logo-img {
      height: 48px;
    }

    .gallery-grid {
      column-count: 2;
    }
  }

  @media(max-width:500px) {
    .gallery-grid {
      column-count: 1;
    }

    .member-group {
      padding: 22px
    }

    .member-group-header {
      flex-direction: column;
      align-items: flex-start;
    }

    .founder-card.founder-profile {
      padding: 20px 20px 24px;
    }

    .founder-profile .member-name {
      font-size: 20px;
    }

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

    .gallery-card,
    .gallery-card.featured {
      min-height: auto;
    }
  }