/* =========================================================
   STUX SECURITY — "Security, Shrink-Wrapped."
   Design tokens
   ========================================================= */
:root{
  /* Palette */
  --ink-navy:      #171335;
  --ink-navy-2:    #211c4a;
  --cardboard:     #FFF7E8;
  --cardboard-2:   #FFEFD1;
  --blister-pink:  #FF3E7F;
  --blister-pink-dark: #D81C5C;
  --toy-yellow:    #FFC93C;
  --bubble-blue:   #3EC6FF;
  --mint-circuit:  #33D6A6;
  --line:          rgba(23,19,53,0.14);
  --shadow-hard:   6px 6px 0 rgba(23,19,53,0.9);
  --shadow-hard-sm:4px 4px 0 rgba(23,19,53,0.9);

  /* Type */
  --font-display: 'Fredoka', system-ui, sans-serif;
  --font-body: 'Space Grotesk', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *,*::before,*::after{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

body{
  margin:0;
  background: var(--cardboard);
  color: var(--ink-navy);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4{
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p{ margin: 0 0 1em; }
a{ color: inherit; }
img,svg{ display:block; max-width:100%; }
button{ font-family: inherit; cursor:pointer; }

.container{
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--ink-navy);
  border: 2px solid var(--ink-navy);
  background: var(--toy-yellow);
  box-shadow: var(--shadow-hard-sm);
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  font-family: var(--font-display);
  font-weight:600;
  font-size: 16px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2.5px solid var(--ink-navy);
  text-decoration:none;
  box-shadow: var(--shadow-hard);
  transition: transform .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translate(-2px,-2px); box-shadow: 8px 8px 0 rgba(23,19,53,0.9); }
.btn:active{ transform: translate(1px,1px); box-shadow: 2px 2px 0 rgba(23,19,53,0.9); }
.btn:focus-visible{ outline: 3px solid var(--ink-navy); outline-offset: 3px; }

.btn--primary{ background: var(--blister-pink); color:#fff; }
.btn--secondary{ background: var(--cardboard); color: var(--ink-navy); }
.btn--dark{ background: var(--ink-navy); color: var(--cardboard); }
.btn--sm{ padding: 9px 18px; font-size: 14px; }
.btn--block{ width:100%; }

/* =========================================================
   NAV
   ========================================================= */
.nav{
  position: sticky; top:0; z-index: 50;
  background: var(--cardboard);
  border-bottom: 2.5px solid var(--ink-navy);
}
.nav__row{
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 24px;
}

.brand img{
  height:38px; 
  flex-shrink: 0;
}
.nav__links{
  display:flex; align-items:center; gap:28px;
  list-style:none; margin:0; padding:0;
}
.nav__links a{
  text-decoration:none; font-weight:600; font-size:15px;
  padding: 6px 2px; border-bottom: 3px solid transparent;
}
.nav__links a:hover{ border-color: var(--blister-pink); }
.nav__cta{ display:flex; align-items:center; gap:14px; }
.nav__toggle{
  display:none; background:none; border:2.5px solid var(--ink-navy);
  border-radius: 10px; width:44px; height:40px; position:relative;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after{
  content:''; position:absolute; left:9px; right:9px; height:3px; background:var(--ink-navy); border-radius:2px;
}
.nav__toggle span{ top:18px; }
.nav__toggle span::before{ top:-7px; }
.nav__toggle span::after{ top:7px; }

.btn-label-short{ display:none; }

@media (max-width: 880px){
  .nav__links{
    position:absolute; top:100%; left:0; right:0;
    flex-direction:column; align-items:flex-start; gap:0;
    background: var(--cardboard); border-bottom:2.5px solid var(--ink-navy);
    max-height:0; overflow:hidden; transition: max-height .25s ease;
  }
  .nav__links.is-open{ max-height:420px; }
  .nav__links li{ width:100%; }
  .nav__links a{ display:block; width:100%; padding:14px 24px; border-bottom:1.5px solid var(--line); }
  .nav__cta .btn .btn-label-long{ display:none; }
  .nav__cta .btn .btn-label-short{ display:inline; }
  .nav__toggle{ display:block; }
}

/* =========================================================
   HERO — "the big blister card"
   ========================================================= */
.hero{
  position: relative;
  background: var(--ink-navy);
  color: var(--cardboard);
  overflow: hidden;
  border-bottom: 2.5px solid var(--ink-navy);
}
.hero__bg-dots{
  position:absolute; inset:0;
  background-image: radial-gradient(rgba(255,255,255,0.09) 2px, transparent 2px);
  background-size: 26px 26px;
  pointer-events:none;
}
.hero__inner{
  position:relative;
  display:grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px;
  align-items:center;
  padding: 76px 24px 64px;
}
.hero__badges{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:22px; }
.sticker{
  font-family: var(--font-mono); font-size:11.5px; letter-spacing:.08em;
  text-transform:uppercase; padding:6px 12px; border-radius: 999px;
  border:2px solid currentColor;
}
.sticker--pink{ background: var(--blister-pink); color:#fff; border-color: var(--ink-navy); }
.sticker--mint{ background: var(--mint-circuit); color: var(--ink-navy); border-color: var(--ink-navy); }
.sticker--blue{ background: var(--bubble-blue); color: var(--ink-navy); border-color: var(--ink-navy); }

.hero h1{
  font-size: clamp(2.4rem, 4.6vw, 3.7rem);
  margin-bottom: 0.35em;
}
.hero h1 em{
  font-style:normal;
  background: var(--blister-pink);
  color:#fff;
  padding: 0 10px 4px;
  border-radius: 10px;
  display:inline-block;
  transform: rotate(-1.2deg);
  box-shadow: var(--shadow-hard-sm);
}
.hero__sub{
  font-size: 1.15rem; max-width: 46ch; opacity:.92;
}
.hero__cta{ display:flex; gap:16px; flex-wrap:wrap; margin-top: 28px; }
.hero__meta{
  display:flex; gap:26px; margin-top:38px; flex-wrap:wrap;
  font-family: var(--font-mono); font-size:13px; opacity:.85;
}
.hero__meta strong{ display:block; font-family:var(--font-display); font-size:1.5rem; color: var(--toy-yellow); }

/* the physical blister card graphic */
.hero__card{
  position:relative;
  background: var(--cardboard);
  border-radius: var(--radius-lg);
  border: 3px solid var(--ink-navy);
  padding: 26px;
  color: var(--ink-navy);
  transform: rotate(3deg);
  box-shadow: 12px 12px 0 rgba(0,0,0,0.35);
}
.hero__card::before{
  content:'STUX-01';
  position:absolute; top:-14px; left:26px;
  background: var(--toy-yellow); border:2.5px solid var(--ink-navy);
  font-family: var(--font-mono); font-size:11px; padding:3px 10px; border-radius: 999px;
  transform: rotate(-3deg);
}
.hero__card-top{ display:flex; justify-content:space-between; align-items:flex-start; gap:12px; }
.hero__card-name{ font-family: var(--font-display); font-size:1.35rem; }
.hero__card-tag{ font-family: var(--font-mono); font-size:11px; color: var(--blister-pink-dark); }
.blister-dome{
  margin: 18px 0;
  height: 190px;
  border-radius: 50% 50% 18px 18px / 70% 70% 14px 14px;
  background:
    radial-gradient(circle at 32% 26%, rgba(255,255,255,0.85), rgba(255,255,255,0) 42%),
    linear-gradient(160deg, var(--bubble-blue), #bdeeff 70%);
  border: 3px solid var(--ink-navy);
  display:flex; align-items:center; justify-content:center;
  position:relative; overflow:hidden;
}
.blister-dome svg{ width:84px; height:84px; }
.hero__barcode{
  display:flex; align-items:center; gap:12px; margin-top:16px;
  padding-top:14px; border-top: 2px dashed var(--line);
}
.barcode{
  flex:1; height:34px;
  background: repeating-linear-gradient(90deg, var(--ink-navy) 0 2px, transparent 2px 5px, var(--ink-navy) 5px 7px, transparent 7px 12px);
}
.hero__barcode span{ font-family: var(--font-mono); font-size:11px; white-space:nowrap; }

@media (max-width: 940px){
  .hero__inner{ grid-template-columns: 1fr; padding-top:52px; }
  .hero__card{ transform: rotate(1.4deg); max-width: 420px; margin: 0 auto; }
}

/* =========================================================
   MARQUEE TICKER (scanner strip)
   ========================================================= */
.ticker{
  background: var(--blister-pink);
  color:#fff;
  border-bottom: 2.5px solid var(--ink-navy);
  overflow:hidden;
  white-space:nowrap;
  padding: 10px 0;
}
.ticker__track{
  display:inline-flex;
  animation: scroll-left 32s linear infinite;
}
.ticker__track span{
  font-family: var(--font-mono); font-size:13.5px; letter-spacing:.05em;
  padding: 0 28px; text-transform:uppercase;
}
@keyframes scroll-left{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

/* =========================================================
   SECTION HEADERS
   ========================================================= */
.section{ padding: 96px 0; }
.section--pink{ background: var(--blister-pink); color: var(--ink-navy); }
.section--navy{ background: var(--ink-navy); color: var(--cardboard); }
.section--peach{ background: var(--cardboard-2); }
.section-head{ max-width: 640px; margin: 0 0 52px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.section--pink .eyebrow, .section--navy .eyebrow{ background: var(--cardboard); }

/* =========================================================
   SERVICES AISLE — blister pack grid
   ========================================================= */
.aisle-grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 26px;
}
.pack{
  background: var(--cardboard);
  border: 3px solid var(--ink-navy);
  border-radius: var(--radius-md);
  padding: 20px;
  display:flex; flex-direction:column;
  box-shadow: var(--shadow-hard);
  transition: transform .18s ease, box-shadow .18s ease;
  position:relative;
}
.pack:hover{ transform: translate(-3px,-5px); box-shadow: 10px 12px 0 rgba(23,19,53,0.9); }
.pack__header{
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom: 14px;
}
.pack__sku{ font-family: var(--font-mono); font-size:10.5px; color: var(--blister-pink-dark); }
.pack__badge{
  font-family: var(--font-mono); font-size:10px; text-transform:uppercase;
  background: var(--toy-yellow); border:2px solid var(--ink-navy);
  padding:3px 8px; border-radius:999px;
}
.package {
  position:relative;
  display:flex; 
  align-items:center; 
  justify-content:center;
  margin-bottom: 1rem;
}

.pack h3{ font-size:1.2rem; margin-bottom:6px; }
.pack p{ font-size:.92rem; opacity:.85; flex-grow:1; }
.pack__stars{
  display:flex; gap:3px; margin: 10px 0 4px;
  font-size: 13px; color: var(--blister-pink-dark);
  font-family: var(--font-mono);
}
.pack__footer{
  display:flex; align-items:center; justify-content:space-between;
  margin-top:14px; padding-top:14px; border-top:2px dashed var(--line);
  gap:10px;
}
.pack__price{ font-family: var(--font-mono); font-size:12.5px; }

/* dome color variants cycling through the palette */
.pack:nth-child(6n+1) .pack__dome{ background: linear-gradient(160deg, var(--bubble-blue), #d7f4ff 75%); }
.pack:nth-child(6n+2) .pack__dome{ background: linear-gradient(160deg, var(--toy-yellow), #fff1c4 75%); }
.pack:nth-child(6n+3) .pack__dome{ background: linear-gradient(160deg, var(--mint-circuit), #d3f7ec 75%); }
.pack:nth-child(6n+4) .pack__dome{ background: linear-gradient(160deg, var(--blister-pink), #ffd0e0 75%); }
.pack:nth-child(6n+5) .pack__dome{ background: linear-gradient(160deg, #b9a8ff, #eae3ff 75%); }
.pack:nth-child(6n+6) .pack__dome{ background: linear-gradient(160deg, #ff9d5c, #ffe2c9 75%); }

/* =========================================================
   PROCESS — how it works (real sequence, numbers justified)
   ========================================================= */
.process{
  display:grid; grid-template-columns: repeat(5, 1fr); gap:18px;
  counter-reset: step;
}
.step{
  color: var(--cardboard);
  border-radius: var(--radius-md); 
  padding: 22px 18px;
  position:relative; 
  border: 3px solid var(--cardboard);
}
.step::before{
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono); font-size:12px; color: var(--toy-yellow);
  display:block; margin-bottom:10px; letter-spacing: .1em;
}
.step h4{ font-size:1.05rem; margin-bottom:6px; }
.step p{ font-size:.86rem; opacity:.8; margin:0; }

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

/* =========================================================
   CREW — collector cards
   ========================================================= */
.crew-grid{
  display:grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap:28px;
}
.crew-card{
  background: var(--ink-navy); color: var(--cardboard);
  border-radius: var(--radius-lg); border:3px solid var(--ink-navy);
  overflow:hidden; box-shadow: var(--shadow-hard);
}
.crew-card__top{
  display: grid; 
  grid-template-columns: auto 1fr;
  align-items:center;
  gap: 1rem;
  border-bottom: 2px dashed rgba(255,247,232,0.25);
}
.crew-figure{
  width: 6rem; 
  height: 6rem; 
  overflow: hidden;
}
.crew-figure img { width: 100%; height: 100%; object-fit: cover; }
.crew-card__role{ font-family: var(--font-mono); font-size:11px; color: var(--toy-yellow); text-transform:uppercase; letter-spacing:.1em; }
.crew-card__alias{ font-family: var(--font-display); font-size:1.5rem; }
.crew-card__body{ padding: 20px 26px 26px; font-size:.94rem; opacity:.9; }
.crew-card__tags{ display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.crew-card__tags span{
  font-family: var(--font-mono); font-size:10.5px; padding:4px 10px;
  border:1.5px solid rgba(255,247,232,0.4); border-radius:999px;
}

/* =========================================================
   TRUST BADGES
   ========================================================= */
.badges-row{
  display:grid; grid-template-columns: repeat(auto-fit, minmax(210px,1fr)); gap:20px;
}
.badge-card{
  background:#fff; border:3px solid var(--ink-navy); border-radius: var(--radius-md);
  padding: 20px; text-align:center; box-shadow: var(--shadow-hard-sm);
}
.badge-card__icon{ width:46px; height:46px; margin: 0 auto 10px; }
.badge-card h4{ font-size:1rem; margin-bottom:4px; }
.badge-card p{ font-size:.82rem; opacity:.75; margin:0; }

/* =========================================================
   FAQ ACCORDION
   ========================================================= */
.faq{ max-width: 800px; margin:0 auto; }
.faq-item{
  border: 2.5px solid var(--ink-navy); border-radius: var(--radius-sm);
  margin-bottom: 14px; background: var(--cardboard); overflow:hidden;
}
.faq-item__q{
  width:100%; text-align:left; background:none; border:none;
  padding: 18px 22px; display:flex; justify-content:space-between; align-items:center;
  font-family: var(--font-display); font-size:1.05rem; color: var(--ink-navy);
}
.faq-item__plus{
  width:26px; height:26px; border:2px solid var(--ink-navy); border-radius:50%;
  display:flex; align-items:center; justify-content:center; flex-shrink:0; margin-left:16px;
  font-family: var(--font-mono); transition: transform .2s ease;
}
.faq-item.is-open .faq-item__plus{ transform: rotate(45deg); }
.faq-item__a{
  max-height:0; overflow:hidden; transition: max-height .25s ease;
  font-size:.94rem; opacity:.85;
}
.faq-item__a-inner{ padding: 0 22px 20px; }
.faq-item.is-open .faq-item__a{ max-height: 260px; }

/* =========================================================
   CONTACT / ORDER
   ========================================================= */
.contact-wrap{
  display:grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items:start;
}
.form-card{
  background:#fff; border:3px solid var(--ink-navy); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow-hard);
}
.field{ margin-bottom:18px; }
.field label{ 
    display:block; 
    color: var(--ink-navy);
    font-family: var(--font-mono); 
    font-size:12px; 
    text-transform:uppercase; 
    letter-spacing:.06em; 
    margin-bottom:6px; 
}
.field input, .field select, .field textarea{
  width:100%; padding: 12px 14px; border-radius: 10px;
  border: 2.5px solid var(--ink-navy); font-family: var(--font-body); font-size:15px;
  background: var(--cardboard);
}
.field textarea{ resize:vertical; min-height:110px; }
.field input:focus, .field select:focus, .field textarea:focus{
  outline: 3px solid var(--bubble-blue); outline-offset:1px;
}
.form-note{ font-size:.8rem; opacity:.65; margin-top:10px; }
#formStatus{ font-family: var(--font-mono); font-size:13.5px; margin-top:14px; }
#formStatus[data-state="ok"]{ color: #0a8f5e; }
#formStatus[data-state="err"]{ color: var(--blister-pink-dark); }

.kofi-card{
  background: var(--toy-yellow); border:3px solid var(--ink-navy); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow-hard);
}
.kofi-card ul{ padding-left: 20px; margin: 16px 0 22px; }
.kofi-card li{ margin-bottom:8px; font-size:.95rem; }

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

/* =========================================================
   FOOTER
   ========================================================= */
.footer{
  background: var(--ink-navy); color: var(--cardboard);
  padding: 56px 0 26px; border-top: 3px solid var(--ink-navy);
}
.footer__grid{
  display:grid; grid-template-columns: 1.4fr 1fr 1fr; gap:40px;
  padding-bottom: 36px; border-bottom: 1px solid rgba(255,247,232,0.18);
}
.footer h5{
  font-family: var(--font-mono); font-size:12px; text-transform:uppercase;
  letter-spacing:.1em; color: var(--toy-yellow); margin-bottom:14px;
}
.footer ul{ list-style:none; padding:0; margin:0; }
.footer li{ margin-bottom:10px; font-size:.92rem; }
.footer a{ text-decoration:none; opacity:.85; }
.footer a:hover{ opacity:1; text-decoration:underline; }
.footer__bottom{
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px;
  padding-top: 22px; font-size:.82rem; opacity:.7;
  font-family: var(--font-mono);
}
@media (max-width:760px){
  .footer__grid{ grid-template-columns:1fr; gap:28px; }
}

/* misc utility */
.small-caps{ font-family: var(--font-mono); text-transform:uppercase; letter-spacing:.1em; font-size:12px; }
.visually-hidden{
  position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap;
}
