:root{
    --ink:#121212;
    --paper:#FAFAF7;
    --pink:#FF5FA2;
    --blue:#3D5CFF;
    --line: rgba(18,18,18,0.12);
    --max: 1240px;
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
    background:var(--paper);
    color:var(--ink);
    font-family:'Inter', sans-serif;
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
}
h1,h2,h3, .display{
    font-family:'Unbounded', sans-serif;
    line-height:1;
    letter-spacing:-0.01em;
}
a{color:inherit; text-decoration:none;}
ul{list-style:none;}
img,svg{display:block; max-width:100%;}
.wrap{max-width:var(--max); margin:0 auto; padding:0 32px;}
button{font-family:inherit; cursor:pointer; border:none; background:none;}

  /* focus visibility */
a:focus-visible, button:focus-visible{
    outline:2px solid var(--blue);
    outline-offset:3px;
}

@media (prefers-reduced-motion: reduce){
    *{animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; scroll-behavior:auto !important;}
}

  /* ---------- NAV ---------- */
header{
    position:fixed; top:0; left:0; right:0; z-index:100;
    background:rgba(250,250,247,0.88);
    backdrop-filter:blur(8px);
    border-bottom:1px solid var(--line);
}
nav.wrap{
    display:flex; align-items:center; justify-content:space-between;
    height:76px;
}
.logo{
    font-family:'Unbounded', sans-serif;
    font-weight:800;
    font-size:22px;
}
.nav-links{
    display:flex; gap:36px; align-items:center;
    font-size:14px; font-weight:500;
}
.nav-links a{
    position:relative; padding:4px 0;
}
.nav-links a::after{
    content:''; position:absolute; left:0; bottom:0; width:0; height:2px;
    background:var(--ink); transition:width 0.2s ease;
}
.nav-links a:hover::after{ width:100%; }
.nav-links a.active::after{ width:100%; }

  /* ---------- SHOP PAGE ---------- */
.shop-hero{
    padding:150px 0 20px;
    text-align:center;
}
.shop-hero h1{
    font-size:clamp(36px, 5.5vw, 64px);
    font-weight:800;
}
.shop-hero p{
    margin-top:16px;
    font-size:16px;
    color:rgba(18,18,18,0.65);
}
.filter-bar{
    display:flex; justify-content:center; flex-wrap:wrap;
    gap:10px;
    margin-top:36px;
}
.filter-btn{
    font-family:inherit;
    font-size:14px; font-weight:600;
    padding:10px 20px;
    border-radius:999px;
    border:1px solid var(--line);
    background:transparent;
    color:var(--ink);
    transition:background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.filter-btn:hover{ border-color:var(--ink); }
.filter-btn.active{
    background:var(--ink);
    color:var(--paper);
    border-color:var(--ink);
}
.shop-grid-section{ padding:64px 0 110px; }
.grid-note{
    text-align:center;
    margin-top:56px;
    font-size:15px;
    color:rgba(18,18,18,0.6);
}
.grid-note a{
    font-weight:600;
    color:var(--ink);
    border-bottom:1px solid var(--ink);
}
.grid-note a:hover{ color:var(--blue); border-color:var(--blue); }

  /* ---------- ABOUT PAGE ---------- */
.values{ padding:90px 0 110px; }
.values-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:24px;
}
@media (max-width: 780px){
    .values-grid{ grid-template-columns:1fr; }
}
.value-card{
    border:1px solid var(--line);
    border-radius:2px;
    padding:32px 28px;
}
.value-bar{
    width:36px; height:4px; border-radius:2px;
    margin-bottom:22px;
}
.value-bar.pink{ background:var(--pink); }
.value-bar.blue{ background:var(--blue); }
.value-bar.mono{ background:var(--ink); }
.value-card h3{
    font-family:'Unbounded', sans-serif;
    font-size:19px; font-weight:600;
    margin-bottom:10px;
}
.value-card p{
    font-size:15px; line-height:1.7;
    color:rgba(18,18,18,0.68);
}

  /* ---------- POP-UPS PAGE ---------- */
.events-empty{ padding:40px 0 110px; }
.events-empty-card{
    background:var(--ink); color:var(--paper);
    max-width:620px; margin:0 auto;
    padding:64px 44px;
    border-radius:2px;
    text-align:center;
}
.events-empty-card .status{
    justify-content:center;
    margin-bottom:22px;
    font-size:13px;
}
.events-empty-card h2{
    font-size:clamp(26px, 3.6vw, 38px);
    font-weight:700;
    margin-bottom:16px;
}
.events-empty-card p{
    font-size:16px; line-height:1.7;
    color:rgba(250,250,247,0.75);
    max-width:420px;
    margin:0 auto 32px;
}

  /* ---------- CART PAGE ---------- */
.btn-primary.dark{
    background:var(--ink); color:var(--paper);
}
.btn-primary.dark:hover{ background:var(--blue); color:var(--paper); }
.cart-section{ padding:40px 0 120px; }
.cart-empty{
    text-align:center;
    padding:60px 0;
}
.cart-empty p{
    font-size:17px;
    color:rgba(18,18,18,0.65);
    margin-bottom:28px;
}
.cart-items{
    display:flex; flex-direction:column;
    gap:20px;
    margin-bottom:48px;
}
.cart-item{
    display:flex;
    align-items:center;
    gap:20px;
    padding-bottom:20px;
    border-bottom:1px solid var(--line);
}
.cart-item-img{
    width:76px; height:76px;
    object-fit:cover;
    border-radius:2px;
    background:var(--line);
    flex-shrink:0;
}
.cart-item-main{
    flex:1;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
}
.cart-item-top{
    display:flex;
    align-items:center;
    gap:24px;
}
.cart-item-bottom{
    display:flex;
    align-items:center;
    gap:16px;
}
.cart-item-info{ min-width:140px; }
.cart-item-name{
    font-family:'Unbounded', sans-serif;
    font-weight:600;
    font-size:16px;
}
.cart-item-cat{
    font-size:13px;
    color:rgba(18,18,18,0.55);
    margin-top:4px;
}
.cart-item-qty{
    display:flex; align-items:center;
    gap:14px;
    border:1px solid var(--line);
    border-radius:999px;
    padding:6px 14px;
    flex-shrink:0;
}
.qty-btn{
    font-family:inherit; font-size:16px; font-weight:600;
    background:none; border:none; cursor:pointer;
    color:var(--ink);
    line-height:1;
    padding:2px 4px;
}
.qty-btn:hover{ color:var(--blue); }
.qty-value{ font-size:14px; font-weight:600; min-width:14px; text-align:center; }
.cart-item-price{
    font-size:15px; font-weight:600;
    min-width:50px; text-align:right;
}
.cart-item-remove{
    font-size:20px;
    background:none; border:none; cursor:pointer;
    color:rgba(18,18,18,0.4);
    line-height:1;
    padding:4px;
}
.cart-item-remove:hover{ color:var(--pink); }
@media (max-width:640px){
    .cart-item-main{
        flex-direction:column;
        align-items:stretch;
        gap:10px;
    }
    .cart-item-top, .cart-item-bottom{
        justify-content:space-between;
    }
    .cart-item-price{
        text-align:left;
        min-width:0;
    }
}
.cart-summary{
    max-width:360px;
    margin-left:auto;
    text-align:right;
}
.cart-subtotal{
    display:flex; justify-content:space-between;
    font-size:17px; font-weight:600;
    margin-bottom:20px;
    padding-bottom:20px;
    border-bottom:1px solid var(--line);
}
.cart-summary .btn-primary{
    width:100%;
    text-align:center;
}
.cart-note{
    font-size:13px;
    color:rgba(18,18,18,0.5);
    margin-top:14px;
}
.nav-cta{
    background:var(--ink); color:var(--paper);
    padding:10px 20px; border-radius:2px;
    font-size:14px; font-weight:600;
}
.nav-cta:hover{ background:var(--blue); }
.nav-cta.cart-link{
    display:inline-flex; align-items:center; gap:8px;
}
.cart-count{
    background:var(--pink); color:var(--ink);
    font-size:12px; font-weight:700;
    min-width:19px; height:19px;
    border-radius:999px;
    display:inline-flex; align-items:center; justify-content:center;
    padding:0 5px;
    line-height:1;
}
.nav-right{
    display:flex; align-items:center;
    gap:14px;
}
.cart-icon-link{
    position:relative;
    display:inline-flex; align-items:center; justify-content:center;
    width:40px; height:40px;
    color:var(--ink);
    transition:color 0.2s ease;
}
.cart-icon-link:hover{ color:var(--blue); }
.cart-icon{
    width:23px; height:23px;
}
.cart-icon-link .cart-count{
    position:absolute;
    top:0px; right:-2px;
    font-size:10px;
    min-width:16px; height:16px;
    padding:0 4px;
}
.burger{ display:none; width:28px; height:20px; position:relative; }
.burger span{
    position:absolute; left:0; width:100%; height:2px; background:var(--ink);
    transition:transform 0.2s ease, opacity 0.2s ease;
}
.burger span:nth-child(1){ top:0; }
.burger span:nth-child(2){ top:9px; }
.burger span:nth-child(3){ top:18px; }
.burger.open span:nth-child(1){ transform:translateY(9px) rotate(45deg); }
.burger.open span:nth-child(2){ opacity:0; }
.burger.open span:nth-child(3){ transform:translateY(-9px) rotate(-45deg); }

  
.hero{
    position:relative;
    min-height:100vh;
    display:flex; flex-direction:column; justify-content:center;
    padding-top:76px;
    overflow:hidden;
    color:var(--paper);
}
.hero-media{
    position:absolute; inset:0;
    z-index:0;
    overflow:hidden;
    background:var(--ink);
}
.hero-media img{
    width:100%; height:100%;
    object-fit:cover;
    object-position:center;
}
.hero-media::after{
    content:'';
    position:absolute; inset:0;
    background:linear-gradient(180deg, rgba(18,18,18,0.4) 0%, rgba(18,18,18,0.78) 100%);
}
.hero > .wrap{
    position:relative;
    z-index:2;
}
.hero-wordmark-wrap{
    margin-left:-6px;
    line-height:0;
    opacity:0;
    transform:translateY(16px);
    animation:heroRise 0.7s cubic-bezier(.2,.8,.2,1) 0.1s forwards;
}
.hero-wordmark-svg{
    display:block;
    width:100%;
    height:auto;
}
.hero-wordmark-svg text{
    fill:var(--paper);
}
@keyframes heroRise{
    to{ opacity:1; transform:translateY(0); }
}
.hero-sub{
    max-width:520px;
    margin-top:28px;
    font-size:18px;
    line-height:1.6;
    color:rgba(250,250,247,0.82);
}
.hero-actions{
    margin-top:36px;
    display:flex; gap:16px; align-items:center; flex-wrap:wrap;
}
.btn-primary{
    background:var(--paper); color:var(--ink);
    padding:16px 30px; border-radius:2px;
    font-size:15px; font-weight:600;
    transition:background 0.2s ease, color 0.2s ease;
}
.btn-primary:hover{ background:var(--pink); color:var(--ink); }
.btn-ghost{
    padding:16px 8px;
    font-size:15px; font-weight:600;
    color:var(--paper);
    border-bottom:2px solid var(--paper);
}
.btn-ghost.dark{
    color:var(--ink);
    border-bottom-color:var(--ink);
}
.hero-tag{
    position:absolute;
    top:120px; right:32px;
    z-index:2;
    text-align:right;
    font-size:13px;
    color:rgba(250,250,247,0.7);
    max-width:180px;
    line-height:1.5;
}
@media (max-width: 640px){
    .hero-tag{ display:none; }
}

  /* ---------- STRIP ---------- */
.strip{
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
    padding:56px 0;
}
.strip .wrap{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap:40px;
    align-items:start;
}
.strip h2{
    font-size:clamp(24px, 3vw, 34px);
    font-weight:600;
}
.strip p{
    font-size:16px;
    line-height:1.7;
    color:rgba(18,18,18,0.72);
    max-width:440px;
}
@media (max-width: 780px){
    .strip .wrap{ grid-template-columns:1fr; }
}

  /* ---------- SHOP ---------- */
.shop{ padding:110px 0 100px; }
.shop-head{
    display:flex; justify-content:space-between; align-items:flex-end;
    margin-bottom:56px; gap:24px; flex-wrap:wrap;
}
.shop-head h2{
    font-size:clamp(32px, 4vw, 48px);
    font-weight:800;
}
.shop-head p{
    max-width:320px;
    font-size:15px;
    color:rgba(18,18,18,0.6);
}
.grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:24px;
}
@media (max-width: 900px){
    .grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width: 620px){
    .grid{ grid-template-columns:1fr; }
}
.card{
    border-radius:2px;
    position:relative;
    overflow:hidden;
    min-height:440px;
    display:flex; flex-direction:column; justify-content:flex-end;
    background:var(--ink);
}
.card-img{
    position:absolute; inset:0;
    width:100%; height:100%;
    object-fit:cover;
    transition:transform 0.35s ease;
}
.card:hover .card-img{ transform:scale(1.05); }
.card::after{
    content:'';
    position:absolute; inset:0;
    background:linear-gradient(to top, rgba(10,10,10,0.75) 0%, rgba(10,10,10,0.15) 50%, rgba(10,10,10,0) 70%);
    pointer-events:none;
}
.card .cat{
    position:relative; z-index:2;
    align-self:flex-start;
    margin:20px 0 0 20px;
    padding:7px 16px;
    border-radius:999px;
    font-size:12px; font-weight:600;
}
.card .cat.pink{ background:var(--pink); color:var(--ink); }
.card .cat.blue{ background:var(--blue); color:var(--paper); }
.card .cat.mono{ background:var(--ink); color:var(--paper); border:1px solid rgba(250,250,247,0.35); }
.card-info{
    position:relative; z-index:2;
    padding:20px 24px 26px;
    color:var(--paper);
}
.card .name{
    font-family:'Unbounded', sans-serif;
    font-weight:600;
    font-size:20px;
    margin-bottom:6px;
}
.card .meta{
    display:flex; justify-content:space-between; align-items:center;
    font-size:14px;
    flex-wrap:wrap;
    gap:10px;
}
@media (max-width: 420px){
    .card-info{ padding:18px 18px 22px; }
    .card .qty-stepper{ padding:4px 10px; gap:8px; }
    .card .add-cart{ font-size:12px; }
}
.card .status{
    display:flex; align-items:center; gap:7px;
    font-size:13px; font-weight:600;
}
.card .status-dot{
    width:6px; height:6px;
    border-radius:50%;
    background:var(--pink);
    flex-shrink:0;
}
.card .quick{
    font-size:13px; font-weight:600;
    border-bottom:1px solid currentColor;
    padding-bottom:2px;
}
.card .amount{
    font-size:14px; font-weight:600;
}
.card .add-cart{
    font-family:inherit;
    font-size:13px; font-weight:600;
    color:inherit;
    background:none;
    border:none;
    border-bottom:1px solid currentColor;
    padding:0 0 2px;
    cursor:pointer;
    transition:opacity 0.15s ease;
}
.card .add-cart:hover{ opacity:0.7; }
.card .add-cart.added{ color:var(--pink); border-color:var(--pink); }
.card .cart-control{ display:flex; align-items:center; }
.card .qty-stepper{
    display:flex; align-items:center;
    gap:12px;
    border:1px solid currentColor;
    border-radius:999px;
    padding:4px 12px;
}
.card .add-cart[hidden],
.card .qty-stepper[hidden]{
    display:none;
}
.card .qty-stepper .qty-btn{
    font-family:inherit;
    font-size:14px; font-weight:600;
    color:inherit;
    background:none; border:none;
    cursor:pointer;
    line-height:1;
    padding:2px;
}
.card .qty-stepper .qty-btn:hover{ opacity:0.7; }
.card .qty-stepper .qty-value{
    font-size:13px; font-weight:600;
    min-width:10px; text-align:center;
}

  /* ---------- MANIFESTO ---------- */
.manifesto{
    background:var(--ink);
    color:var(--paper);
    padding:120px 0;
}
.manifesto .wrap{
    display:grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap:60px;
}
.manifesto .label{
    font-size:14px; font-weight:600;
    color:rgba(250,250,247,0.55);
}
.manifesto h2{
    font-size:clamp(30px, 4.2vw, 52px);
    font-weight:600;
    line-height:1.15;
    margin-top:14px;
}
.manifesto .copy{
    font-size:16px;
    line-height:1.8;
    color:rgba(250,250,247,0.75);
}
.manifesto .copy p + p{ margin-top:18px; }
  @media (max-width: 780px){
    .manifesto .wrap{ grid-template-columns:1fr; }
}

  /* ---------- CTA STRIP ---------- */
.join{
    background:var(--pink);
    padding:140px 0;
    text-align:center;
}
.join h2{
    font-size:clamp(38px, 6.2vw, 84px);
    font-weight:800;
    max-width:780px;
    margin:0 auto 22px;
    color:var(--ink);
}
.join p{
    color:rgba(18,18,18,0.7);
    max-width:460px;
    margin:0 auto 40px;
    font-size:17px;
}
form.signup{
    display:flex; justify-content:center;
}
.signup-bar{
    display:flex; align-items:center;
    background:var(--paper);
    border-radius:999px;
    padding:6px;
    width:100%; max-width:540px;
    box-shadow:0 12px 30px rgba(18,18,18,0.12);
}
.signup-bar input{
    flex:1; min-width:0;
    font-family:inherit; font-size:16px;
    padding:16px 22px;
    border:none; background:transparent;
    border-radius:999px;
}
.signup-bar input:focus-visible{ outline:2px solid var(--blue); outline-offset:2px; }
.signup-bar button{
    background:var(--ink); color:var(--paper);
    padding:16px 30px; border-radius:999px;
    font-size:15px; font-weight:600;
    white-space:nowrap;
    transition:background 0.2s ease;
}
.signup-bar button:hover{ background:var(--blue); }
@media (max-width: 480px){
    .signup-bar{
        flex-direction:column;
        border-radius:20px;
        padding:10px;
        gap:8px;
    }
    .signup-bar input{ width:100%; text-align:center; }
    .signup-bar button{ width:100%; border-radius:14px; }
}
.join .confirm{
    margin-top:20px; font-size:15px; font-weight:600;
    color:var(--ink);
    display:none;
}

  /* ---------- FOOTER ---------- */
footer{
    border-top:1px solid var(--line);
    padding:56px 0 40px;
}
footer .wrap{
    display:flex; justify-content:space-between; flex-wrap:wrap; gap:32px;
}
.foot-col h3{
    font-size:13px; font-weight:600;
    margin-bottom:14px;
    color:rgba(18,18,18,0.5);
}
.foot-col ul li{ margin-bottom:10px; font-size:14px; }
.foot-col ul li a:hover{ color:var(--blue); }
.foot-bottom{
    margin-top:56px;
    display:flex; justify-content:space-between; align-items:center;
    font-size:13px; color:rgba(18,18,18,0.5);
    flex-wrap:wrap; gap:12px;
}

  /* ---------- MOBILE NAV ---------- */
@media (max-width: 780px){
    .nav-links{
      position:fixed; top:76px; left:0; right:0;
      background:var(--paper);
      flex-direction:column;
      align-items:flex-start;
      padding:24px 32px 32px;
      gap:22px;
      border-bottom:1px solid var(--line);
      visibility:hidden;
      opacity:0;
      transform:translateY(-12px);
      transition:opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
    }
    .nav-links.open{
      visibility:visible;
      opacity:1;
      transform:translateY(0);
      transition:opacity 0.2s ease, transform 0.2s ease;
    }
    .burger{ display:block; }
  }
  /* ---------- AUTH WIDGET ---------- */
.auth-widget{ position:relative; }
.auth-trigger{
    font-family:inherit; font-size:14px; font-weight:600;
    background:none; border:none; cursor:pointer;
    color:var(--ink);
    padding:8px 4px;
    white-space:nowrap;
}
.auth-trigger:hover{ color:var(--blue); }
.auth-panel{
    position:absolute; top:calc(100% + 10px); right:0;
    background:var(--paper);
    border:1px solid var(--line);
    border-radius:4px;
    padding:16px;
    width:240px;
    box-shadow:0 12px 30px rgba(18,18,18,0.12);
    z-index:50;
}
.auth-form{ display:flex; gap:8px; }
.auth-form input{
    flex:1; min-width:0;
    font-family:inherit; font-size:13px;
    padding:10px 12px;
    border:1px solid var(--line);
    border-radius:2px;
}
.auth-form input:focus-visible{ outline:2px solid var(--blue); outline-offset:1px; }
.auth-form button{
    font-family:inherit;
    background:var(--ink); color:var(--paper);
    font-size:13px; font-weight:600;
    padding:10px 14px;
    border:none; border-radius:2px;
    cursor:pointer;
}
.auth-form button:hover{ background:var(--blue); }
.auth-status{
    margin-top:10px; font-size:12px;
    color:rgba(18,18,18,0.6);
}
@media (max-width: 780px){
    .auth-panel{ right:auto; left:0; }
}
.auth-panel-account .account-email{
    font-size:13px; font-weight:600;
    color:var(--ink);
    margin-bottom:12px;
    word-break:break-all;
}
.profile-form{
    display:flex; flex-direction:column;
    gap:8px;
}
.profile-form input{
    font-family:inherit; font-size:13px;
    padding:9px 11px;
    border:1px solid var(--line);
    border-radius:2px;
    width:100%;
}
.profile-form input:focus-visible{ outline:2px solid var(--blue); outline-offset:1px; }
.profile-row{
    display:flex; gap:8px;
}
.profile-row input{ min-width:0; }
.profile-form button{
    font-family:inherit;
    background:var(--ink); color:var(--paper);
    font-size:13px; font-weight:600;
    padding:10px 14px;
    border:none; border-radius:2px;
    cursor:pointer;
    margin-top:4px;
}
.profile-form button:hover{ background:var(--blue); }
.profile-status{
    margin-top:8px; font-size:12px;
    color:rgba(18,18,18,0.6);
}
.sign-out-btn{
    font-family:inherit;
    background:none;
    border:1px solid var(--line);
    color:var(--ink);
    font-size:13px; font-weight:600;
    padding:9px 14px;
    border-radius:2px;
    cursor:pointer;
    width:100%;
    margin-top:14px;
}
.sign-out-btn:hover{ border-color:var(--pink); color:var(--pink); }

/* counter to the right */
@media (min-width:641px){
    .cart-item-top{
        flex:1;
        justify-content:space-between;
    }
    .cart-item-price{ min-width:100px; }
}

/* mobile*/
@media (max-width:640px){
    .cart-item{ gap:14px; }
    .cart-item-img{ width:64px; height:64px; }
    .cart-item-main{ min-width:0; }
    .cart-item-top{ gap:12px; }
    .cart-item-info{ min-width:0; flex:1; }
    .cart-item-name{ font-size:14px; }
    .cart-item-qty{ gap:10px; padding:5px 10px; }
}