@font-face {
  font-family: "Lobster";
  src: url("../fonts/lobster-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "VT323";
  src: url("../fonts/vt323-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Home: Head Chef leads in its own voice, the shelf follows in the house */
.intro-copy-home { max-width: none; }

.home-hero-band {
  --hero-ink: #080f14;
  --hero-cream: #f3ebd8;
  --hero-muted: #b9c4cd;
  --hero-cyan: #41d8e0;
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 7vw, 104px) clamp(48px, 6vw, 84px);
  background:
    radial-gradient(90rem 42rem at 78% 10%, rgba(65, 216, 224, 0.16), transparent 60%),
    radial-gradient(60rem 30rem at 8% 100%, rgba(0, 57, 232, 0.22), transparent 60%),
    linear-gradient(180deg, #0b141b 0%, var(--hero-ink) 100%);
  color: var(--hero-cream);
}

.home-hero-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(243, 235, 216, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 235, 216, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70rem 40rem at 70% 30%, black, transparent 72%);
  -webkit-mask-image: radial-gradient(70rem 40rem at 70% 30%, black, transparent 72%);
  pointer-events: none;
}

.home-hero-band > .shell { position: relative; }

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.home-hero .eyebrow { color: var(--hero-cyan); }

.home-hero .intro-title {
  color: var(--hero-cream);
  font-size: clamp(3rem, 6.2vw, 5.8rem);
  margin-bottom: 22px;
}

.home-hero .lede {
  margin-bottom: 0;
  color: var(--hero-muted);
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.home-hero-actions .button {
  min-width: 0;
  gap: 12px;
  padding: 13px 16px;
  font-size: 0.84rem;
  border-radius: 10px;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.home-hero-actions .button:not(.button-outline) {
  background: var(--hero-cyan);
  color: var(--hero-ink);
  border-color: var(--hero-cyan);
  box-shadow: 0 14px 40px -14px rgba(65, 216, 224, 0.7);
}

.home-hero-actions .button:not(.button-outline):hover,
.home-hero-actions .button:not(.button-outline):focus-visible {
  background: #fff;
  border-color: #fff;
  transform: translateY(-1px);
}

.home-hero-actions .button-outline {
  background: rgba(243, 235, 216, 0.04);
  color: var(--hero-cream);
  border: 1px solid rgba(243, 235, 216, 0.38);
}

.home-hero-actions .button-outline:hover,
.home-hero-actions .button-outline:focus-visible {
  background: var(--hero-cream);
  color: var(--hero-ink);
  border-color: var(--hero-cream);
}

.home-hero-film {
  position: relative;
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(65, 216, 224, 0.28);
  background: var(--hero-ink);
  box-shadow:
    0 0 0 1px rgba(8, 15, 20, 0.9),
    0 30px 90px -30px rgba(65, 216, 224, 0.55),
    0 50px 120px -40px rgba(0, 0, 0, 0.9);
  transition: transform 0.4s ease, border-color 0.2s ease;
}

.home-hero-film:hover,
.home-hero-film:focus-visible {
  border-color: rgba(65, 216, 224, 0.7);
  transform: translateY(-3px);
}

.home-hero-film:focus-visible {
  outline: 2px solid var(--hero-cyan);
  outline-offset: 4px;
}

.home-hero-poster {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* The film sits over the poster and only shows once it is actually playing,
   so a blocked autoplay, a slow network or no script leaves the poster. */
.home-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.home-hero-film.is-playing .home-hero-video { opacity: 1; }

.home-hero-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
}

.home-hero-play svg {
  width: 84px;
  height: 84px;
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.6));
  transition: transform 0.2s ease;
}

.home-hero-play-label {
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(8, 15, 20, 0.7);
  color: var(--hero-cream);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.home-hero-film:hover .home-hero-play svg,
.home-hero-film:focus-visible .home-hero-play svg { transform: scale(1.08); }

.home-hero-film:hover .home-hero-play-label,
.home-hero-film:focus-visible .home-hero-play-label {
  opacity: 1;
  transform: none;
}

.home-hero-film-caption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(8, 15, 20, 0.74);
  border: 1px solid rgba(65, 216, 224, 0.3);
  color: var(--hero-cream);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.home-invitations {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: clamp(32px, 4.5vw, 52px) 0 0;
  padding: 0;
  list-style: none;
}

.home-invitations a {
  display: block;
  height: 100%;
  padding: 20px 22px;
  border: 1px solid rgba(243, 235, 216, 0.14);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(243, 235, 216, 0.06), rgba(243, 235, 216, 0.025));
  color: var(--hero-cream);
  text-decoration: none;
  backdrop-filter: blur(6px);
  transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s ease;
}

.home-invitations a:hover,
.home-invitations a:focus-visible {
  border-color: rgba(65, 216, 224, 0.75);
  background: linear-gradient(180deg, rgba(65, 216, 224, 0.12), rgba(243, 235, 216, 0.03));
  transform: translateY(-3px);
}

.home-invitations strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
}

.home-invitations em {
  display: block;
  margin-bottom: 10px;
  color: var(--hero-cyan);
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-invitations span {
  display: block;
  color: var(--hero-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Marks: the Head Chef hat, the Jam Console terminal lockup, the Mini Bar script */
.home-hero-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 22px;
}

.home-hat-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 0.7rem;
  background: linear-gradient(180deg, #35414a, #2a343c);
  border: 1px solid rgba(243, 235, 216, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 24px -12px rgba(0, 0, 0, 0.8);
}

.home-hat-badge .hc-hat-svg {
  width: 2.1rem;
  height: 2.1rem;
  display: block;
}

.home-hat-badge-small {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
}

.home-hat-badge-small .hc-hat-svg {
  width: 1.5rem;
  height: 1.5rem;
}

.home-hero-lockup-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.home-hero-lockup-text strong {
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  color: var(--hero-cream);
}

.home-hero-lockup-text small {
  font-family: "VT323", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hero-cyan);
}

.home-jam-mark,
.home-card-jam {
  font-family: "VT323", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 400;
  color: var(--hero-cream);
}

.home-jam-mark { display: flex; flex-direction: column; line-height: 0.95; }

.home-jam-mark small {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hero-muted);
}

.home-jam-mark > span,
.home-card-jam {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
}

.home-jam-mark i,
.home-card-jam i {
  font-style: italic;
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 0.9;
  text-shadow: 0 0 16px rgba(65, 216, 224, 0.3);
}

.home-jam-mark b,
.home-card-jam b {
  font-weight: 400;
  font-size: 0.86rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.home-card-jam i { font-size: 2.1rem; }

.home-card-minibar {
  font-family: "Lobster", "Brush Script MT", cursive;
  font-weight: 400;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: 0.005em;
  color: var(--hero-cream);
  text-shadow: 0 0 18px rgba(239, 139, 99, 0.35);
}

.home-card-studio {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.12rem;
  line-height: 1;
}

.home-card-studio .home-hat-badge { flex: none; }

.home-invitations strong.home-card-jam,
.home-invitations strong.home-card-minibar,
.home-invitations strong.home-card-studio {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  margin-bottom: 8px;
}

.home-invitations strong.home-card-jam { align-items: baseline; }

.home-film-mark {
  position: absolute;
  top: 14px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 6px 12px 6px 6px;
  border-radius: 12px;
  background: rgba(8, 15, 20, 0.72);
  border: 1px solid rgba(65, 216, 224, 0.28);
  backdrop-filter: blur(6px);
}

.home-hero-film-caption {
  font-family: "VT323", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
}

@media (max-width: 1060px) {
  .home-jam-mark i { font-size: 1.7rem; }
}

/* Vending Machine shelf: Head Chef leads as a Make music band above the groups */
.vending-lead {
  --hero-ink: #080f14;
  --hero-cream: #f3ebd8;
  --hero-muted: #b9c4cd;
  --hero-cyan: #41d8e0;
  position: relative;
  z-index: 6; /* above the machine window's glass reflection */
  padding: 10px 12px 0;
  background: linear-gradient(180deg, #f7f9fe, #eef2fb);
  border-bottom: 1px solid #ccd2df;
}

.vending-lead-kicker {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 16px;
  min-height: 46px;
  align-items: center;
  margin: 0;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.vending-lead-kicker span:last-child {
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.vending-lead .vend-product-row.vend-product-row-daw {
  grid-template-columns: 64px minmax(0, 1.2fr) auto 14px;
  gap: 16px;
  min-height: 104px;
  margin: 0 0 12px;
  padding: 14px 16px;
  border: 1px solid rgba(65, 216, 224, 0.3);
  border-radius: 14px;
  background:
    radial-gradient(40rem 14rem at 85% 0%, rgba(65, 216, 224, 0.16), transparent 60%),
    linear-gradient(104deg, #0b141b, #15232e);
  color: var(--hero-cream);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 16px 36px -22px rgba(8, 15, 20, 0.8);
}

.vending-lead .vend-product-row.vend-product-row-daw:hover,
.vending-lead .vend-product-row.vend-product-row-daw:focus-visible,
.vending-lead .vend-product-row.vend-product-row-daw.is-selected {
  border-color: rgba(65, 216, 224, 0.8);
  background:
    radial-gradient(40rem 14rem at 85% 0%, rgba(65, 216, 224, 0.24), transparent 60%),
    linear-gradient(104deg, #0e1a23, #1a2c3a);
}

.vending-lead-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(180deg, #35414a, #2a343c);
  border: 1px solid rgba(243, 235, 216, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.vending-lead-badge .hc-hat-svg {
  width: 44px;
  height: 44px;
  display: block;
}

.vending-lead-copy strong {
  color: var(--hero-cream);
  font-size: 1.2rem;
}

.vending-lead-copy small {
  color: var(--hero-muted);
}

.vending-lead-includes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  max-width: 420px;
}

.vending-lead-includes-label {
  margin-right: 2px;
  color: var(--hero-muted);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.vending-lead-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(243, 235, 216, 0.22);
  background: rgba(243, 235, 216, 0.06);
  color: var(--hero-cream);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1;
}

.vending-lead-pill-jam {
  border-color: rgba(65, 216, 224, 0.7);
  background: var(--hero-ink);
  box-shadow: 0 0 0 3px rgba(65, 216, 224, 0.12), 0 8px 20px -10px rgba(65, 216, 224, 0.7);
  font-family: "VT323", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 400;
}

.vending-lead-pill-jam i {
  font-style: italic;
  font-weight: 700;
  font-size: 1.7rem;
  line-height: 1;
  text-shadow: 0 0 12px rgba(65, 216, 224, 0.4);
}

.vending-lead-pill-jam b {
  align-self: flex-end;
  padding-bottom: 7px;
  font-weight: 400;
  font-size: 0.78rem;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hero-cyan);
}

.vending-lead-pill-minibar {
  font-family: "Lobster", "Brush Script MT", cursive;
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1;
}

.vending-lead .vend-product-chevron { color: var(--hero-cyan); }

@media (max-width: 760px) {
  .vending-lead .vend-product-row.vend-product-row-daw {
    grid-template-columns: 52px minmax(0, 1fr) 14px;
  }

  .vending-lead-badge { width: 52px; height: 52px; border-radius: 13px; }
  .vending-lead-badge .hc-hat-svg { width: 36px; height: 36px; }

  .vending-lead-includes {
    grid-column: 2 / -1;
    justify-content: flex-start;
    max-width: none;
  }

  .vending-lead .vend-product-chevron {
    grid-column: 3;
    grid-row: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-video { display: none; }
  .home-hero-film,
  .home-hero-film:hover,
  .home-invitations a:hover { transform: none; }
}

.shelf-intro {
  margin-top: 0;
  padding-top: 0;
}

.shelf-title {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 720;
}

.product-detail-included {
  margin: 12px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--mist);
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.5;
}

.product-detail-included a {
  color: var(--blue);
  font-weight: 700;
}

@media (max-width: 1060px) {
  .home-hero,
  .home-invitations { grid-template-columns: minmax(0, 1fr); }
}
