/* =====================================================================
   NeuroSpicy® brand stylesheet
   Palette extends the core brand guide (Red / Black / Green) with a
   warm, B2C-friendly support palette. See BRAND-CONCEPT.md.
   ===================================================================== */

:root {
  /* Core brand */
  --chilli:        #E30613;  /* Primary Red */
  --chilli-dark:   #B0040F;
  --ink:           #0A0A0A;  /* Black */
  --sprout:        #008D36;  /* Green accent */
  --sprout-light:  #2FB35E;

  /* Sanctioned expansion (B2C warmth) */
  --amber:         #FFB81C;  /* squirrel / star yellow */
  --cream:         #FFF7EF;  /* warm off-white page */
  --paper:         #FFFFFF;
  --blush:         #FFE4DE;  /* soft red tint */
  --mint:          #E2F4E9;  /* soft green tint */
  --butter:        #FFF1CF;  /* soft amber tint */
  --ink-70:        rgba(10,10,10,.7);
  --ink-55:        rgba(10,10,10,.55);

  /* Type */
  --font-brand: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* System */
  --maxw: 1180px;
  --radius: 22px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px -22px rgba(10,10,10,.45);
  --shadow-soft: 0 10px 30px -18px rgba(10,10,10,.35);
  --ease: cubic-bezier(.2,.8,.2,1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-brand);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  font-weight: 500;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4 { line-height: 1.05; font-weight: 900; letter-spacing: -.02em; }
:focus-visible { outline: 3px solid var(--sprout); outline-offset: 3px; border-radius: 4px; }

.container { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }

/* Registered / trademark marks rendered as superscript */
.reg { font-size: .58em; vertical-align: .42em; line-height: 0; font-weight: inherit; margin-left: .03em; letter-spacing: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--ink); color: #fff; padding: .7rem 1.1rem; border-radius: 0 0 12px 12px;
  transition: top .2s var(--ease); font-weight: 700;
}
.skip-link:focus { top: 0; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Ticker ---------- */
.ticker {
  background: var(--ink); color: var(--cream); overflow: hidden;
  border-bottom: 3px solid var(--chilli);
  font-family: var(--font-brand); font-weight: 600; letter-spacing: .04em; font-size: .82rem;
}
.ticker__track { display: flex; width: max-content; animation: ticker 36s linear infinite; }
.ticker__track span { padding: .55rem 0; white-space: nowrap; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,247,239,.82);
  border-bottom: 1px solid rgba(10,10,10,.07);
}
/* Blur lives on a pseudo-element so the header does NOT become the
   containing block for the position:fixed mobile menu (which would clip
   it to the header's height). */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; padding: .7rem 0; }
.brand__logo { height: 42px; width: auto; }
.nav { display: flex; align-items: center; }
.nav__menu { list-style: none; display: flex; align-items: center; gap: 1.6rem; padding: 0; }
.nav__menu a { font-weight: 700; font-size: .98rem; position: relative; padding: .25rem 0; }
.nav__menu a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--chilli); transition: width .25s var(--ease);
}
.nav__menu a:not(.nav__cta):hover::after { width: 100%; }
.nav__menu a.nav__cta {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--chilli); color: #fff; padding: .7rem 1.5rem; border-radius: 999px;
  white-space: nowrap; line-height: 1;
  transition: transform .2s var(--ease), background .2s;
}
.nav__cta:hover { background: var(--chilli-dark); transform: translateY(-2px); }
.nav__toggle { display: none; width: 44px; height: 44px; position: relative; }
.nav__bars, .nav__bars::before, .nav__bars::after {
  content: ""; position: absolute; left: 10px; right: 10px; height: 3px; border-radius: 3px;
  background: var(--ink); transition: transform .25s var(--ease), opacity .2s;
}
.nav__bars { top: 50%; transform: translateY(-50%); }
.nav__bars::before { top: -8px; } .nav__bars::after { top: 8px; }
.nav__toggle[aria-expanded="true"] .nav__bars { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__bars::before { transform: translateY(8px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__bars::after { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 800; font-size: 1.02rem; padding: .9rem 1.6rem; border-radius: 999px;
  transition: transform .2s var(--ease), box-shadow .2s, background .2s, color .2s;
  white-space: nowrap;
}
.btn--primary { background: var(--chilli); color: #fff; box-shadow: 0 12px 26px -12px rgba(227,6,19,.7); }
.btn--primary:hover { background: var(--chilli-dark); transform: translateY(-3px); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2.5px var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; transform: translateY(-3px); }

/* ---------- Shared section bits ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; text-transform: uppercase;
  letter-spacing: .12em; font-size: .78rem; font-weight: 800; color: var(--chilli);
  margin-bottom: 1rem;
}
.eyebrow--center { justify-content: center; }
.eyebrow--light { color: var(--amber); }
.eyebrow .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--chilli); box-shadow: 0 0 0 4px var(--blush); }
.eyebrow--light .dot { background: var(--amber); box-shadow: 0 0 0 4px rgba(255,184,28,.25); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-title { font-size: clamp(2rem, 5vw, 3.4rem); }
.section-title--light { color: var(--cream); }
.section-lead { font-size: 1.12rem; color: var(--ink-70); margin-top: 1rem; font-weight: 500; }
.section-lead--light { color: rgba(255,247,239,.85); }
.hl { color: var(--chilli); position: relative; white-space: nowrap; }
.hl::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .32em; background: var(--amber); opacity: .5; z-index: -1; border-radius: 4px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(3rem, 7vw, 6rem) 0 clamp(3.5rem, 8vw, 7rem); overflow: hidden; }
.hero__blob { position: absolute; border-radius: 50%; filter: blur(10px); z-index: 0; opacity: .5; }
.hero__blob--1 { width: 520px; height: 520px; background: radial-gradient(circle at 30% 30%, var(--blush), transparent 70%); top: -160px; right: -120px; }
.hero__blob--2 { width: 460px; height: 460px; background: radial-gradient(circle at 30% 30%, var(--mint), transparent 70%); bottom: -200px; left: -160px; }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero__title { font-size: clamp(2.6rem, 6.4vw, 5rem); }
.hero__title .strike { color: var(--ink-55); position: relative; }
.hero__title .strike::after {
  content: ""; position: absolute; left: -4px; right: -4px; top: 52%; height: 8px;
  background: var(--chilli); transform: rotate(-3deg); border-radius: 6px;
}
.hero__title-accent { color: var(--chilli); }
.hero__sub { font-size: 1.18rem; color: var(--ink-70); margin: 1.6rem 0 2rem; max-width: 30ch; }
.hero__sub strong { color: var(--ink); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero__badges { list-style: none; display: flex; flex-wrap: wrap; gap: 1.2rem; padding: 0; margin-top: 2rem; font-weight: 700; font-size: .92rem; color: var(--ink-70); }

.hero__art { position: relative; display: flex; justify-content: center; }
.hero__tee {
  position: relative; background: var(--ink); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow); rotate: 2.5deg;
  transition: rotate .4s var(--ease), transform .4s var(--ease);
  max-width: 440px;
}
.hero__tee:hover { rotate: 0deg; transform: translateY(-6px); }
.hero__tee img { border-radius: var(--radius-sm); }
.sticker {
  position: absolute; font-family: var(--font-brand); font-weight: 800; text-align: center;
  background: var(--amber); color: var(--ink); border-radius: 50%;
  width: 78px; height: 78px; display: grid; place-content: center; line-height: 1;
  box-shadow: var(--shadow-soft); font-size: .95rem;
}
.sticker--tr { top: -22px; right: -18px; rotate: 12deg; background: var(--amber); }
.sticker--bl { bottom: -20px; left: -18px; rotate: -10deg; background: var(--sprout); color: #fff; font-size: 1.1rem; }

/* ---------- Manifesto ---------- */
.manifesto { background: var(--ink); color: var(--cream); padding: clamp(2.5rem, 5vw, 4rem) 0; }
.manifesto__line { font-family: var(--font-brand); font-weight: 700; font-size: clamp(1.3rem, 3vw, 2.1rem); text-align: center; max-width: 26ch; margin-inline: auto; line-height: 1.3; }
.manifesto__line em { color: var(--amber); font-style: normal; }

/* ---------- Shop ---------- */
.shop { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.filters { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2.5rem; }
.chip {
  font-weight: 700; font-size: .92rem; padding: .55rem 1.1rem; border-radius: 999px;
  background: var(--paper); box-shadow: inset 0 0 0 2px rgba(10,10,10,.12); transition: all .2s var(--ease);
}
.chip:hover { box-shadow: inset 0 0 0 2px var(--ink); transform: translateY(-2px); }
.chip.is-active { background: var(--ink); color: #fff; box-shadow: none; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.card {
  background: var(--paper); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-soft); display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.card.is-hidden { display: none; }

/* The "garment" canvas where the slogan design lives */
.tee {
  aspect-ratio: 4 / 3.4; position: relative; display: grid; place-content: center;
  text-align: center; padding: 1.4rem 1.6rem; overflow: hidden;
}
.tee__art {
  font-family: var(--font-brand); font-weight: 800; line-height: 1.02;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem); position: relative; z-index: 2;
  display: flex; flex-direction: column; gap: .35rem; align-items: center;
}
.tee__art .big { font-size: 1.5em; line-height: .95; }
.tee__art .small { font-size: .62em; font-weight: 600; opacity: .92; }
.tee__art .pop { display: inline-block; }
.tee__deco { position: absolute; inset: 0; z-index: 1; opacity: .9; pointer-events: none; }
.tee__deco span { position: absolute; font-size: 1.4rem; }
.tee__mark { position: absolute; bottom: .8rem; left: 50%; transform: translateX(-50%); z-index: 2; height: 22px; opacity: .9; }

.card__body { padding: 1.1rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card__title { font-size: 1.08rem; font-weight: 800; }
.card__desc { font-size: .92rem; color: var(--ink-55); flex: 1; }
.card__meta { display: flex; align-items: center; justify-content: space-between; margin-top: .4rem; }
.card__price { font-weight: 800; }
.card__price small { font-weight: 600; color: var(--ink-55); }
.card__tag { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: .25rem .6rem; border-radius: 999px; }
.tag-adhd { background: var(--butter); color: #8a5a00; }
.tag-autistic { background: var(--mint); color: #045f29; }
.tag-brand { background: var(--blush); color: var(--chilli-dark); }
.card__cta { margin-top: .6rem; align-self: flex-start; font-weight: 800; color: var(--chilli); }
.card__cta::after { content: " →"; transition: margin .2s var(--ease); }
.card:hover .card__cta::after { margin-left: 4px; }

.shop__note { text-align: center; color: var(--ink-55); margin-top: 2.5rem; font-weight: 600; }

/* ---------- Scoville ---------- */
.scoville { background: linear-gradient(135deg, var(--blush), var(--butter)); padding: clamp(3.5rem, 7vw, 6rem) 0; }
.scoville__inner { display: grid; grid-template-columns: 1.3fr .7fr; gap: 3rem; align-items: center; }
.scoville__readout { display: flex; gap: 1rem; align-items: center; background: var(--paper); border-radius: var(--radius); padding: 1.2rem 1.4rem; box-shadow: var(--shadow-soft); margin: 1.4rem 0 1.8rem; }
.scoville__emoji { font-size: 2.6rem; }
.scoville__label { font-size: 1.3rem; }
.scoville__desc { color: var(--ink-70); font-size: .95rem; margin-top: .15rem; }
.scoville__range { -webkit-appearance: none; appearance: none; width: 100%; height: 14px; border-radius: 999px; background: linear-gradient(90deg, var(--sprout), var(--amber), var(--chilli)); outline-offset: 6px; }
.scoville__range::-webkit-slider-thumb { -webkit-appearance: none; width: 36px; height: 36px; border-radius: 50%; background: var(--paper); box-shadow: 0 4px 12px rgba(0,0,0,.3), inset 0 0 0 3px var(--chilli); cursor: grab; }
.scoville__range::-moz-range-thumb { width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--paper); box-shadow: 0 4px 12px rgba(0,0,0,.3), inset 0 0 0 3px var(--chilli); cursor: grab; }
.scoville__ticks { display: flex; justify-content: space-between; margin-top: .7rem; font-size: .76rem; font-weight: 700; color: var(--ink-55); }
.scoville__art { display: grid; place-content: center; }
.flame { font-size: clamp(6rem, 14vw, 11rem); filter: drop-shadow(0 14px 24px rgba(227,6,19,.35)); transition: transform .3s var(--ease); transform-origin: bottom center; }

/* ---------- Spice Rack ---------- */
.spicerack { background: var(--ink); color: var(--cream); padding: clamp(3.5rem, 7vw, 6rem) 0; }
.ttt { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.ttt__card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 2rem 1.8rem; position: relative; overflow: hidden; }
.ttt__card::before { content: ""; position: absolute; top: 0; left: 0; height: 5px; width: 100%; background: linear-gradient(90deg, var(--chilli), var(--amber), var(--sprout)); }
.ttt__num { font-family: var(--font-brand); font-size: 3rem; font-weight: 900; color: rgba(255,255,255,.16); position: absolute; top: .8rem; right: 1.2rem; }
.ttt__card h3 { font-size: 1.7rem; margin-bottom: .6rem; }
.ttt__card p { color: rgba(255,247,239,.78); font-weight: 500; }

/* ---------- Story ---------- */
.story { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.story__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.story__copy p { color: var(--ink-70); margin-top: 1rem; font-size: 1.08rem; }
.story__copy p strong { color: var(--ink); }
.values { list-style: none; padding: 0; margin-top: 1.8rem; display: grid; gap: .7rem; }
.values li { font-weight: 700; padding-left: 2rem; position: relative; }
.values li::before { content: "🌶️"; position: absolute; left: 0; }
.story__art { position: relative; text-align: center; }
.story__mark { width: clamp(140px, 22vw, 220px); margin: 0 auto 1.5rem; }
.story__quote { font-family: var(--font-brand); font-weight: 700; font-size: clamp(1.3rem, 2.6vw, 1.8rem); line-height: 1.3; background: var(--mint); border-radius: var(--radius); padding: 1.8rem; position: relative; }
.story__quote span { color: var(--sprout); font-weight: 600; }

/* ---------- Join ---------- */
.join { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.join__inner { background: var(--chilli); color: #fff; border-radius: calc(var(--radius) + 8px); padding: clamp(2.5rem, 5vw, 4rem); text-align: center; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.join__inner::before { content: "🐿️"; position: absolute; font-size: 11rem; opacity: .12; bottom: -2rem; right: -1rem; rotate: -10deg; }
.join__title { font-size: clamp(2rem, 5vw, 3rem); }
.join__lead { max-width: 48ch; margin: 1rem auto 2rem; font-size: 1.1rem; opacity: .95; }
.join__form { display: flex; gap: .6rem; max-width: 480px; margin-inline: auto; flex-wrap: wrap; justify-content: center; position: relative; z-index: 1; }
.join__form input { flex: 1; min-width: 220px; padding: .9rem 1.2rem; border-radius: 999px; border: 0; font-size: 1rem; font-family: inherit; }
.join__inner .btn--primary { background: var(--ink); box-shadow: none; }
.join__inner .btn--primary:hover { background: #000; }
.join__msg { min-height: 1.4rem; margin-top: 1rem; font-weight: 700; }
.join__fine { font-size: .8rem; opacity: .8; margin-top: .6rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--cream); padding-top: clamp(3rem, 6vw, 4.5rem); }
.site-footer__inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 3rem; padding-bottom: 3rem; }
.site-footer__logo { height: 46px; margin-bottom: 1.1rem; }
.site-footer__brand p { color: rgba(255,247,239,.7); max-width: 34ch; }
.site-footer__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.site-footer__nav h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--amber); margin-bottom: 1rem; }
.site-footer__nav ul { list-style: none; padding: 0; display: grid; gap: .6rem; }
.site-footer__nav a { color: rgba(255,247,239,.78); transition: color .2s; }
.site-footer__nav a:hover { color: #fff; }
.soon { font-size: .65rem; background: var(--sprout); color: #fff; padding: .1rem .4rem; border-radius: 999px; vertical-align: middle; margin-left: .3rem; }
.site-footer__bar { border-top: 1px solid rgba(255,255,255,.1); padding: 1.4rem 0; }
.site-footer__bar-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; color: rgba(255,247,239,.6); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav__toggle { display: block; position: relative; z-index: 110; }
  .nav__menu {
    position: fixed; top: 0; right: 0; left: auto;
    height: 100vh; height: 100dvh; width: min(80vw, 320px);
    flex-direction: column; align-items: flex-start; gap: 1.4rem;
    background: var(--cream); padding: 6rem 2rem 2rem; box-shadow: var(--shadow);
    overflow-y: auto;
    transform: translateX(100%); transition: transform .3s var(--ease); z-index: 105;
  }
  .nav__menu.is-open { transform: none; }
  .hero__inner, .scoville__inner, .story__inner, .site-footer__inner { grid-template-columns: 1fr; }
  .hero__art { order: -1; }
  .grid, .ttt { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid, .ttt, .site-footer__nav { grid-template-columns: 1fr; }
  .hero__badges { gap: .8rem; }
  .site-footer__nav { gap: 2rem; }
}

/* ---------- Reduced motion (matters for our audience) ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .ticker__track { animation: none; }
}
