/* ========================================
   BROOKY MONSTER
   Aesthetic: Raw minimal — logo leads, art breathes
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Boogaloo&family=Inter:wght@300;400;500;600&display=swap');

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

:root {
  --red:     #cc1111;
  --orange:  #f97316;
  --steel:   #6c9ead;
  --black:   #111111;
  --white:   #ffffff;
  --offwhite:#f6f6f6;
  --lgray:   #e2e2e2;
  --gray:    #888888;
  --font:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--black);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a    { color: inherit; text-decoration: none; }
img  { display: block; max-width: 100%; }
ul   { list-style: none; }

/* ========================================
   HEADER + NAV — single bar, logo left
   ======================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--lgray);
}

.header__bar {
  display: flex;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100px;
  gap: 0;
  position: relative;
}

.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 2.5rem;
}

.header__logo img {
  height: 85px;
  width: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
}

.header__nav a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--black);
  padding: 0 1.25rem;
  height: 100px;
  display: flex;
  align-items: center;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}

.header__nav a:hover,
.header__nav a.active {
  color: var(--red);
  border-bottom-color: var(--red);
}

.header__cart {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--black);
  transition: color 0.15s;
  flex-shrink: 0;
}

.header__cart:hover { color: var(--red); }

.header__cart svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

/* Keep .nav class as alias for pages that haven't updated yet */
.nav { display: none; }

/* ========================================
   RED RULE — brand accent
   ======================================== */

.red-rule {
  height: 3px;
  background: var(--red);
}

/* ========================================
   SECTION SHARED
   ======================================== */

.section { padding: 4.5rem 2rem; }
.section--gray { background: var(--offwhite); }

.section__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section__hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  background: var(--steel);
  padding: 0.6rem 1rem;
  border-radius: 4px;
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
}

.section__hd::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 28px 28px 0;
  border-color: transparent var(--orange) transparent transparent;
}

.section__title {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--white);
}

.section .section__title {
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--black);
}

.section__viewall {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color 0.15s;
}

.section__viewall:hover { color: var(--orange); }

/* ========================================
   PRODUCT GRID
   ======================================== */

.product-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* ── Rack labels ────────────────────────────────────────────── */
.rack-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2.5rem 0 1rem;
  background: var(--steel);
  padding: 0.6rem 1rem;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.rack-label::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 28px 28px 0;
  border-color: transparent var(--orange) transparent transparent;
}

.rack-label span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
}

.rack-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.15);
}

/* ── Pin icons (rack label indicators) ─────────────────────── */
.pin-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  padding: 2px 4px;
}

.pin-row {
  display: flex;
  gap: 24px;
}

.pin-row--center {
  justify-content: center;
}

.pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-family: 'Boogaloo', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  user-select: none;
}

.pin[data-n="10"] { font-size: 0.72rem; }

.headpin-byline {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--gray);
  margin: 0;
  letter-spacing: 0.02em;
  line-height: 1.6;
}

/* ── Head Pin ───────────────────────────────────────────────── */
.head-pin {
  position: relative;
  background: var(--offwhite);
  border: 1px solid var(--lgray);
  overflow: hidden;
  margin-bottom: 1rem;
}

.head-pin__track {
  display: flex;
  transition: transform 0.4s ease;
}

.head-pin__slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  cursor: pointer;
}

.head-pin__img {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--white);
  border-right: 1px solid var(--lgray);
}

.head-pin__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.head-pin__slide:hover .head-pin__img img {
  transform: scale(1.03);
}

.head-pin__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem;
  gap: 1rem;
}

.head-pin__eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
}

.head-pin__name {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--black);
  line-height: 1.1;
}

.head-pin__price {
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--gray);
}

.head-pin__btn {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.75rem 2rem;
  border: 2px solid var(--black);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--black);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  align-self: flex-start;
}

.head-pin__btn:hover {
  background: var(--black);
  color: var(--white);
}

/* Arrows */
.head-pin__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--white);
  border: 1px solid var(--lgray);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
}

.head-pin__arrow:hover { background: var(--black); color: var(--white); }
.head-pin__arrow--prev { left: 1rem; }
.head-pin__arrow--next { right: 1rem; }

/* Dots */
.head-pin__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 0;
  background: var(--offwhite);
  border-top: 1px solid var(--lgray);
}

.head-pin__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lgray);
  cursor: pointer;
  transition: background 0.2s;
}

.head-pin__dot.active { background: var(--red); }

/* ── Mid-Rack / Back Row grids ──────────────────────────────── */
.product-group-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--lgray);
  margin-bottom: 0.25rem;
}

.product-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem 2.5rem;
  margin: 0 auto 2rem;
  max-width: 960px;
}

.product-group > .product-card {
  flex: 0 0 210px;
}

.product-group--wide {
  gap: 2.5rem 2rem;
  max-width: 1100px;
}

.product-group--wide > .product-card {
  flex: 0 0 190px;
}

.product-card {
  cursor: pointer;
}

.product-card__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__img {
  aspect-ratio: 1 / 1;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  overflow: hidden;
  position: relative;
  transition: background 0.2s;
}

.product-card:hover .product-card__img {
  background: #fff;
}

.product-card__ph-icon {
  font-size: 3.5rem;
  line-height: 1;
  opacity: 0.35;
}

.product-card__ph-text {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lgray);
}

/* Badge */
.product-card__badge {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  background: var(--black);
  color: var(--white);
}

.product-card__badge--sale { background: var(--red); }

.product-card__name {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--black);
  margin-bottom: 0.25rem;
}

.product-card__price {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--gray);
}

.product-card__price .was {
  text-decoration: line-through;
  margin-right: 0.35rem;
}

.product-card__price .sale { color: var(--red); }

/* ========================================
   MASCOT SPOTLIGHT
   ======================================== */

.spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
  border-top: 1px solid var(--lgray);
  border-bottom: 1px solid var(--lgray);
}

.spotlight__img {
  background: var(--offwhite);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 3rem;
  border-right: 1px solid var(--lgray);
}

.spotlight__img img {
  max-height: 380px;
  width: auto;
}

.spotlight__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem;
}

.spotlight__label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.25rem;
}

.spotlight__headline {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 1.5rem;
}

.spotlight__headline strong {
  font-weight: 600;
}

.spotlight__body {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.8;
  max-width: 380px;
  margin-bottom: 2.25rem;
}

.btn {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.75rem 1.75rem;
  border: 1px solid var(--black);
  color: var(--black);
  background: transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  width: fit-content;
}

.btn:hover {
  background: var(--black);
  color: var(--white);
}

.btn--fill {
  background: var(--black);
  color: var(--white);
}

.btn--fill:hover {
  background: var(--red);
  border-color: var(--red);
}

/* ========================================
   VIDEOS
   ======================================== */

.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
}

.vid-card {
  cursor: pointer;
}

.vid-card__thumb {
  aspect-ratio: 16 / 9;
  background: var(--offwhite);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 0.85rem;
  transition: background 0.2s;
}

.vid-card:hover .vid-card__thumb { background: var(--lgray); }

.vid-card__thumb--short {
  aspect-ratio: 9 / 16;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}

.vid-card__thumb iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.vid-card__play {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s;
  position: relative;
  z-index: 2;
}

.vid-card:hover .vid-card__play {
  background: var(--black);
}

.vid-card__play svg {
  width: 16px;
  height: 16px;
  fill: var(--black);
  margin-left: 3px;
  transition: fill 0.15s;
}

.vid-card:hover .vid-card__play svg { fill: var(--white); }

.vid-card__yt {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  z-index: 2;
}

.vid-card__yt svg {
  width: 14px;
  height: 10px;
  fill: var(--gray);
}

.vid-card__yt span {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
}

.vid-card__title {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 0.2rem;
}

.vid-card__sub {
  font-size: 0.72rem;
  color: var(--gray);
  letter-spacing: 0.06em;
}

/* ========================================
   SOCIAL ROW
   ======================================== */

.social-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  border-top: 1px solid var(--lgray);
  border-bottom: 1px solid var(--lgray);
}

.social-row a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1.4rem 2.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
  border-right: 1px solid var(--lgray);
  transition: color 0.15s;
}

.social-row a:first-child { border-left: 1px solid var(--lgray); }

.social-row a:hover { color: var(--black); }

.social-row svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.social-row .tiktok svg    { fill: var(--black); opacity: 0.4; }
.social-row .instagram svg { fill: #e1306c; opacity: 0.5; }
.social-row .facebook svg  { fill: #1877f2; opacity: 0.5; }
.social-row .youtube svg   { fill: #ff0000; opacity: 0.5; }

.social-row a:hover svg { opacity: 1; }

/* ========================================
   FOOTER
   ======================================== */

.footer {
  padding: 3rem 2rem;
  text-align: center;
  border-top: 1px solid var(--lgray);
}

.footer__logo {
  display: inline-block;
  margin-bottom: 1.5rem;
}

.footer__logo img {
  height: 32px;
  width: auto;
  display: inline-block;
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.footer__links a {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
  transition: color 0.15s;
}

.footer__links a:hover { color: var(--black); }

.footer__copy {
  font-size: 0.7rem;
  color: var(--lgray);
  letter-spacing: 0.06em;
}

/* ========================================
   CHARACTERS
   ======================================== */

.character-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 700px) {
  .character-grid {
    grid-template-columns: 1fr;
  }
}

.character-card {
  background: var(--white);
  display: flex;
  flex-direction: row;
  align-items: center;
  border: 1px solid var(--lgray);
  border-radius: 4px;
  max-width: 680px;
  overflow: hidden;
}

/* 1 — Name (hidden in horizontal layout, shown via tagline) */
.character-card__name {
  display: none;
}

/* 2 — Character image */
.character-card__img {
  flex: 0 0 200px;
  padding: 1.5rem;
  background: var(--offwhite);
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  border-right: 1px solid var(--lgray);
}

.character-card__img img {
  width: 100%;
  max-width: 160px;
  height: auto;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease;
}

.character-card:hover .character-card__img img {
  transform: translateY(-4px);
}

/* 3 — Bio */
.character-card__bio {
  padding: 1.5rem 2rem;
  flex: 1;
}

.character-card__tagline {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.6rem;
}

.character-card__body {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.8;
  max-width: 420px;
}

/* ========================================
   MODAL
   ======================================== */

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal--open {
  display: flex;
}

.modal__box {
  background: var(--white);
  max-width: 480px;
  width: 100%;
  padding: 2rem;
  position: relative;
  text-align: center;
  animation: modal-in 0.18s ease;
}

@keyframes modal-in {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

.modal__box img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 1rem;
}

.modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--gray);
  transition: color 0.15s;
}

.modal__close:hover { color: var(--black); }

.modal__caption {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 900px) {
  .product-group > .product-card { flex: 0 0 260px; }
  .product-group--wide > .product-card { flex: 0 0 180px; }

  .head-pin__slide { grid-template-columns: 1fr; }
  .head-pin__img { border-right: none; border-bottom: 1px solid var(--lgray); aspect-ratio: 4/3; }
  .head-pin__img img { object-position: top center; }
  .head-pin__info { padding: 2rem; }
  .head-pin__arrow { display: none; }

  .character-card { flex-direction: column; max-width: 100%; }
  .character-card__img { flex: 0 0 auto; border-right: none; border-bottom: 1px solid var(--lgray); }

  .spotlight__text { padding: 2.5rem 2rem; }

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

  .social-row { flex-wrap: wrap; }
  .social-row a { flex: 1 1 40%; justify-content: center; }
  .social-row a:first-child { border-left: none; }
}

/* ── Hamburger ───────────────────────────────────────────────── */
.header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: 1rem;
  flex-shrink: 0;
}

.header__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
  transition: transform 0.2s, opacity 0.2s;
}

.header__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__hamburger.open span:nth-child(2) { opacity: 0; }
.header__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .header__bar { padding: 0 1rem; }
  .header__logo img { height: 40px; }
  .header__hamburger { display: flex; }

  .header__nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 2px solid var(--lgray);
    flex-direction: column;
    z-index: 99;
  }

  .header__nav.open { display: flex; }

  .header__nav a {
    display: flex !important;
    height: auto;
    padding: 1rem 1.5rem;
    font-size: 0.8rem;
    border-bottom: 1px solid var(--lgray);
    border-bottom-color: var(--lgray) !important;
  }

  .section { padding: 3rem 1rem; }

  .product-group { gap: 1.25rem 1rem; max-width: 100%; }
  .product-group > .product-card,
  .product-group--wide > .product-card { flex: 0 0 calc(50% - 0.5rem); }

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

  .social-row a { flex: 1 1 100%; border-right: none; border-bottom: 1px solid var(--lgray); }
  .social-row a:first-child { border-top: 1px solid var(--lgray); }
}
