/* ==========================================================================
   Cache Up page
   The page is one panel: the hero, on the header's ground with the header's
   circuit lines, copy on the left and the pitch on the right. Shared .samx
   primitives come from accelerator-model.scss.
   ========================================================================== */
/* One continuous ground, the header's color. */
.samx-cup .samx-panel {
  margin-top: 0;
  background: var(--samx-ground, #0D0E10);
  border: 0;
  border-radius: 0;
}

.samx-cup .samx-panel + .samx-panel {
  border-top: 1px solid var(--samx-border);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.samx-cuphero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: min(78vh, 720px);
  overflow: hidden;
  background: var(--samx-ground, #0D0E10);
}

/* The header's circuit lines, at the header's weight and color. */
.samx-cuphero__lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.samx-cuphero__lines::before, .samx-cuphero__lines::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  background-color: var(--wp--preset--color--neutral-800);
  mask-repeat: no-repeat;
}
.samx-cuphero__lines::before {
  left: 0;
  width: 50%;
  mask-image: url("../../img/left-pattern-full.svg");
  mask-position: top right;
  mask-size: 712px;
}
.samx-cuphero__lines::after {
  right: 0;
  width: 100%;
  max-width: 712px;
  mask-image: url("../../img/right-pattern-full.svg");
  mask-position: 60% 0%;
  mask-size: 1200px;
}

.samx-cuphero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
  padding-block: clamp(3rem, 6vw, 4.5rem);
}

.samx-cuphero .samx-hero__title {
  max-width: 15ch;
  font-size: clamp(2.5rem, 4.4vw, 4rem);
}

/* The pitch, beside the title. */
.samx-cuphero__pitch {
  display: grid;
  gap: 18px;
}

.samx-cuphero__para {
  margin: 0;
  font-size: clamp(1.02rem, 1.25vw, 1.15rem);
  line-height: 1.7;
  color: rgba(232, 228, 221, 0.82);
  text-wrap: pretty;
}

.samx-cuphero__note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--samx-ft-mono);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--samx-tx-muted);
  /* The theme paints paragraph links amber on hover; on this dark ground that
     reads as a yellow block. Here the link keeps its text and takes a dark
     translucent pill instead. Page-scoped: this sheet loads only here. */
}
.samx-cuphero__note svg {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  color: var(--samx-amber);
}
.samx-cuphero__note a {
  padding: 2px 6px;
  margin: -2px -6px;
  color: var(--samx-tx);
  background-color: transparent;
  border-radius: 6px;
  text-decoration: underline;
  text-decoration-color: rgba(247, 176, 65, 0.5);
  text-underline-offset: 3px;
  transition: color 0.2s ease, background-color 0.2s ease, text-decoration-color 0.2s ease;
}
.samx-cuphero__note a:hover, .samx-cuphero__note a:focus-visible, .samx-cuphero__note a:active {
  color: var(--samx-amber);
  background-color: rgba(9, 9, 13, 0.85);
  text-decoration-color: transparent;
  outline: none;
}

/* Week dots: the page's small identity mark, Friday lit. */
.samx-cup__dots {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  margin-right: 12px;
  vertical-align: middle;
}
.samx-cup__dots i {
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: rgba(232, 228, 221, 0.22);
}
.samx-cup__dots .is-fri {
  background: var(--samx-amber);
  box-shadow: 0 0 10px rgba(247, 176, 65, 0.55);
}

.samx-cup__kicker {
  display: flex;
  align-items: center;
  margin: 0 0 0;
  font-family: var(--samx-ft-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--samx-amber);
}

/* ==========================================================================
   Entrance: the ground comes up, then the copy lands line by line and the
   pitch follows. Hidden states sit behind the JS gate and the motion
   preference, so no-JS and reduced-motion readers get the finished hero.
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .samx-js .samx-cuphero__lines {
    animation: samx-cup-ground 1.6s ease 0.1s both;
  }
  .samx-js .samx-cuphero__content .samx-cup__kicker,
  .samx-js .samx-cuphero__content .samx-hero__title-line,
  .samx-js .samx-cuphero__content .samx-hero__title-accent,
  .samx-js .samx-cuphero__content .samx-hero__actions {
    opacity: 0;
    transform: translateY(14px);
  }
  .samx-js .samx-cuphero__content .samx-hero__title-line,
  .samx-js .samx-cuphero__content .samx-hero__title-accent {
    display: inline-block;
  }
  .samx-js .samx-cuphero__content.is-in .samx-cup__kicker,
  .samx-js .samx-cuphero__content.is-in .samx-hero__title-line,
  .samx-js .samx-cuphero__content.is-in .samx-hero__title-accent,
  .samx-js .samx-cuphero__content.is-in .samx-hero__actions {
    animation: samx-cup-land 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }
  .samx-js .samx-cuphero__content.is-in .samx-cup__kicker {
    animation-delay: 0.1s;
  }
  .samx-js .samx-cuphero__content.is-in .samx-hero__title-line {
    animation-delay: 0.22s;
  }
  .samx-js .samx-cuphero__content.is-in .samx-hero__title-accent {
    animation-delay: 0.36s;
  }
  .samx-js .samx-cuphero__content.is-in .samx-hero__actions {
    animation-delay: 0.5s;
  }
  .samx-js .samx-cuphero__pitch .samx-cuphero__para,
  .samx-js .samx-cuphero__pitch .samx-cuphero__note {
    opacity: 0;
    transform: translateY(14px);
  }
  .samx-js .samx-cuphero__pitch.is-in .samx-cuphero__para,
  .samx-js .samx-cuphero__pitch.is-in .samx-cuphero__note {
    animation: samx-cup-land 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }
  .samx-js .samx-cuphero__pitch.is-in .samx-cuphero__para {
    animation-delay: 0.6s;
  }
  .samx-js .samx-cuphero__pitch.is-in .samx-cuphero__note {
    animation-delay: 0.78s;
  }
}
@keyframes samx-cup-ground {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes samx-cup-land {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
/* ==========================================================================
   Small screens and reduced motion
   ========================================================================== */
@media (max-width: 960px) {
  .samx-cuphero {
    min-height: 0;
  }
  .samx-cuphero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.25rem;
  }
  .samx-cuphero .samx-hero__title {
    max-width: 18ch;
    font-size: clamp(2.4rem, 7vw, 3.4rem);
  }
}
@media (max-width: 560px) {
  .samx-cuphero__lines::before {
    display: none;
  }
  .samx-cuphero__lines::after {
    mask-size: 900px;
    mask-position: 50% 0%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .samx-cuphero__note a {
    transition: none;
  }
}
/*# sourceMappingURL=cache-up.css.map */