@layer reset, components, theme, overrides;
/* Neon Muse theme. */
@layer theme {
  @scope (.theme-neon-muse) {
    :scope {
      color-scheme:dark;
      --bg:#090714;
      --panel:#18102b;
      --panel-hover:#21163a;
      --text:#f8f3ff;
      --muted:#aaa0c4;
      --accent:#c64dff;
      --line:rgba(255,255,255,.12);
      --border-radius:14px;
      --font-family:Arial,Helvetica,sans-serif;
      margin:0;
      background:var(--bg);
      color:var(--text);
      font-family:var(--font-family);
    }

    a { color: var(--accent); }
    h1, h2, h3, p { margin-top: 0; }
    h1 { font-size: clamp(62px, 11vw, 100px); line-height: .78; letter-spacing: -.08em; }
    h2 { font-size: clamp(40px, 8vw, 50px); line-height: .85; letter-spacing: -.06em; }
    h3 { font-size: clamp(30px, 5vw, 40px); letter-spacing: -.05em; }

    .site { min-height: 100vh; overflow: hidden; background: radial-gradient(circle at 80% 10%, rgba(185,65,255,.12), transparent 30%), #090714; }
    .site-header {
      position: relative; z-index: 5; padding: 22px clamp(20px, 5vw, 72px); display: flex; justify-content: space-between; align-items: center; gap: 28px;
      border-bottom: 1px solid var(--line); flex-direction:column;
    }

    .brand { color: #FFF; display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; letter-spacing: -.04em; text-decoration: none; }
    .brand span { color: #d45cff; }

    .site-header nav, .site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
    .site-header nav a, .site-footer nav a { text-decoration: none; }
    .site-header nav a { color: #FFF; }

    .follow, .button {
      justify-self: end; padding: 12px 19px; border: 1px solid var(--accent); border-radius: 999px; font-size: 11px; font-weight: 800;
      letter-spacing: .12em; text-decoration: none; text-transform: uppercase; box-shadow: 0 0 30px rgba(210,75,255,.16); color:#FFF;
    }

    /* home */
    .hero { position: relative; display: flex; align-items: center; padding: clamp(70px, 9vw, 140px) clamp(24px, 8vw, 130px); aspect-ratio: 16/9; overflow: hidden; }
    .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 1; }
    .hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #090714c0 3%, #090714c0 43%, #0907141f); }

    .hero-copy { position: relative; z-index: 2;  }
    .hero-copy > p, .drops header p, .collab > p, .index > header p, .post > header > p { color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
    .hero h1 { margin: 16px 0 1px; font-size: clamp(45px, 13vw, 100px); line-height: .72; letter-spacing: -.085em; text-shadow: 0 0 80px rgba(184,82,255,.35); }
    .hero-copy > div { font-size: clamp(17px, 2vw, 24px); line-height: 1.55; letter-spacing: -.085em; text-shadow: 0 0 80px rgba(184,82,255,.35); }
    .hero-copy nav { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 12px; }
    .hero-copy nav a { padding: 10px 15px; border: 1px solid var(--line); border-radius: 999px; font-size: 11px; text-decoration: none; text-transform: uppercase; }

    .portrait { position: absolute; z-index: 1; right: clamp(-70px, 2vw, 40px); bottom: 0; width: min(42vw, 600px); max-height: 86%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 0 70px rgba(176,68,255,.3)); }

    /* cards */
    .card { position: relative; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: #18102b; }
    .card .card-art { width: 100%; height: 100%; display: block; object-fit: cover; opacity: .82; }
    .card .card-title { margin: 10px 0;  color: #fff; line-height: 1.1; letter-spacing: -.045em; }
    .card-lg .card-title { font-weight: 700; font-size: 35px; }
    .post-grid-xl .card { border:none; background: none; }
    .post-grid-xl .card .card-art { opacity: 1; }
    .post-grid-xl .card::after { display:none; }
    .post-grid-xl .post-tags { display:block; margin-top:24px; }

    /* posts */
    .post .card::after { content: ''; pointer-events: none; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(9,7,20,.96)); }
    .post .card-body { position: absolute; z-index: 1; inset: auto 27px 25px; padding: 0; width:auto; }
    .post-grid-xl { padding: 0 12px; }
    .post-grid-xl .card-body { position:relative; inset:unset; max-width: 38rem; margin:24px auto 0; display: flex; align-items: center; }

    /* home */
    .collab { margin: 0 25px 25px; padding: clamp(80px, 12vw, 170px) 25px; border-radius: 30px; background: linear-gradient(135deg, #7c2cff, #d441c7 55%, #fc5b9b); text-align: center; }
    .collab > p { color: #fff; }
    .collab .button { display: inline-block; border-color: #fff; }

    /* grids */
    .drops{ max-width: 1500px; margin: auto; padding: clamp(85px, 11vw, 170px) clamp(20px, 5vw, 70px); }
    .drops > header, .drops > footer { margin-bottom: 35px; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
    .drops h2, .drops h1 { font-size: clamp(52px, 8vw, 110px); line-height: .85; letter-spacing: -.07em; }
    .drops > header > a, .drops > footer > a { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; text-underline-offset: 6px; }
    .drops > footer { margin-bottom:0; margin-top:60px; }

    main.post { padding-bottom: clamp(90px, 12vw, 170px); }
    .post header { max-width: 1100px; margin: auto; padding: clamp(90px, 12vw, 170px) 24px 80px; text-align: center; }
    .post header > div { max-width: 700px; margin: auto; color: #aaa0c4; font-size: clamp(15px, 2vw, 20px); line-height: 1.6; }
    .post .members-only { padding: clamp(30px, 12vw, 100px) 0 0; }
    .post .members-only h3 { margin-bottom:0; }
    .empty { padding: 90px 30px; border: 1px solid var(--line); border-radius: 25px; background: rgba(255,255,255,.035); text-align: center; }
    .empty span { color: var(--accent); font-size: 35px; }
    .empty p { color: #aaa0c4; }
    .share { padding: 20px 24px 100px; display: flex; justify-content: center; gap: 22px; font-size: 11px; text-transform: uppercase; }
    .static-page h2 { font-size: 24px; }

    /* other */
    .pagination { margin-top: 70px; display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; font-size: 11px; text-transform: uppercase; }
    .pagination .disabled { opacity: .3; pointer-events: none; }

    .site-footer { padding: 40px clamp(20px, 5vw, 72px) 20px; border-top: 1px solid var(--line); }
    .site-footer .logo { display: flex; gap: 10px; margin-bottom:40px;}
    .site-footer .logo span { color: var(--accent); }
    .site-footer .sub-footer { display: flex; justify-content: space-between; flex-direction: column; gap: 18px; }
    .site-footer small, .site-footer .credit { font-size:.85em; color: #83799d; }

    /* checkout */
    .checkout-methods { gap: 30px; }
    .checkout-methods h2 { color: var(--panel-hover); letter-spacing: -2px; font-size: 22px; margin-bottom:24px; }
    .checkout-method { background: rgba(255,255,255,.95); }

    .facet-links a { text-decoration: none;  }

    @media (min-width: 768px) {
      .site-header { flex-direction: row; }
      .static-page { display:grid; grid-template-columns:auto 200px; gap:20px; }
      main[data-page-key="contact"] { display: block;}
      .post-grid-sm { grid-template-columns:repeat(1,1fr); }
      .site-footer .sub-footer { flex-direction: row; gap: 38px; }
    }
  }
}
