/* =====================================================================
   MANJI FULL SCREEN (2026-09-08)
   Shared by manji-full.html (autoplay loop) and manji-motion.html
   (the same picture, driven by scroll instead). Loaded after site.css.
   site.css, manji.css and index.html are untouched.

   The clip here is the 16:9 cut of Shella's footage, so the picture runs
   corner to corner with no matte on any edge. It is upscaled from a
   720 wide phone source, so it is softer than the framed versions: that
   is the trade this option is making, and it is the point of showing it.
   ===================================================================== */

.mfull {
  isolation: isolate;
  background: var(--sc-canvas);
  overflow: clip;
}
/* the autoplay page owns its own height and stacking context */
.mfull--loop {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-content: center;
}
/* the scroll page's stage belongs to the engine: it must stay sticky, so this
   only adds the layout the copy needs and never touches position or height */
.mfull--scrub {
  display: grid;
  align-content: center;
}

/* ---- the picture, corner to corner ---- */
.mfull__media { position: absolute; inset: 0; z-index: 0; }
.mfull__media video,
.mfull__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  display: block;
}

/* ---- the wash: enough to read on, never a flat panel over the picture ---- */
.mfull__wash {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(94deg,
      color-mix(in oklab, var(--sc-canvas) 72%, transparent) 0%,
      color-mix(in oklab, var(--sc-canvas) 44%, transparent) 32%,
      color-mix(in oklab, var(--sc-canvas) 6%, transparent) 58%,
      transparent 82%),
    linear-gradient(180deg,
      color-mix(in oklab, var(--sc-canvas) 52%, transparent) 0%,
      transparent 20%,
      transparent 62%,
      color-mix(in oklab, var(--sc-canvas) 58%, transparent) 100%);
}

/* ---- the statement ---- */
.mfull__inner {
  position: relative;
  z-index: 2;
  align-self: center;
  display: grid;
  justify-items: start;
  gap: 0.9rem;
  width: 100%;
  max-width: 34rem;
  padding: calc(var(--hp-bar, 4.25rem) + 0.75rem) clamp(1rem, 4vw, 3.5rem) clamp(1.5rem, 3vh, 2.5rem);
}
.mfull__h { margin: 0; text-wrap: balance; max-width: 15ch;
  font-size: clamp(2.1rem, 1.2rem + 2.5vw, 3.4rem); }
.mfull__lede { margin: 0; max-width: 38ch; color: var(--sc-ink, #f4efe8); }
.mfull__cta { margin-top: 0.4rem; }

/* ---- the pad, so the hero sells the product and not only the horse ---- */
.mfull__proof {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  align-items: center;
  gap: 0.9rem;
  margin-top: 0.95rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(244, 239, 232, 0.22);
  width: 100%;
}
.mfull__padfig {
  margin: 0;
  overflow: clip;
  border: 1px solid rgba(244, 239, 232, 0.28);
  background: #0b0906;
  aspect-ratio: 4 / 3;
}
.mfull__padfig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 52%;
  display: block;
}
.mfull__proofline {
  margin: 0;
  font-family: var(--sc-font-display);
  font-weight: 800;
  font-size: clamp(0.95rem, 1.1vw, 1.15rem);
  line-height: 1.15;
  color: var(--sc-ink, #f4efe8);
}
.mfull__proofsub {
  margin: 0.15rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--sc-ink-soft, #cdc4b8);
}

/* ---- marks ---- */
.mfull__marks {
  list-style: none;
  margin: 0.95rem 0 0;
  padding: 0.9rem 0 0;
  border-top: 1px solid rgba(244, 239, 232, 0.22);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem clamp(1rem, 2vw, 2rem);
  width: 100%;
}
.mfull__mark { display: grid; gap: 0.1rem; }
.mfull__name {
  font-family: var(--sc-font-display);
  font-weight: 800;
  font-size: clamp(0.9rem, 1vw, 1.05rem);
  line-height: 1.15;
  color: var(--sc-ink, #f4efe8);
}
.mfull__sub {
  font-family: var(--sc-font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sc-ink-soft, #cdc4b8);
  line-height: 1.35;
}

.mfull__tag {
  position: absolute;
  z-index: 3;
  right: clamp(1rem, 4vw, 3.5rem);
  bottom: 1.1rem;
  margin: 0;
  font-family: var(--sc-font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 239, 232, 0.78);
}
.mfull__tag b { color: var(--sc-accent, #E85D1F); font-weight: 500; }

@media (max-width: 900px) {
  .mfull--loop { align-content: end; }
  .mfull__inner {
    align-self: end;
    max-width: none;
    padding-bottom: 2.5rem;
  }
  .mfull__h { font-size: clamp(1.9rem, 8vw, 2.5rem); max-width: 13ch; }
  .mfull__lede { display: none; }
  .mfull__proof { grid-template-columns: 7rem minmax(0, 1fr); }
  .mfull__proofsub { font-size: 0.75rem; }
  .mfull__wash {
    background: linear-gradient(180deg,
      color-mix(in oklab, var(--sc-canvas) 60%, transparent) 0%,
      transparent 22%,
      color-mix(in oklab, var(--sc-canvas) 55%, transparent) 52%,
      color-mix(in oklab, var(--sc-canvas) 88%, transparent) 100%);
  }
  .mfull__tag { display: none; }
}

@media (max-width: 560px) {
  .mfull__marks { gap: 0.6rem 1rem; }
  .mfull__sub { font-size: 0.5625rem; }
}

/* Nothing is hidden under reduced motion: the poster carries the picture. */
@media (prefers-reduced-motion: reduce) {
  .mfull__media video { opacity: 1; }
}
