/* ====================================================================
   Pyriet-specific additions — builds on styles.css + styles-v2.css.
   Only the pieces the ammoliet layout didn't have: full-bleed macro
   band, origin/map split, cube study strip, cinematic mine divider.
   ==================================================================== */

/* ---------- Full-bleed cinematic band (macro / mine) ---------- */
.bleed-band {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--hairline-soft);
  border-bottom: 1px solid var(--hairline-soft);
}

.bleed-band img {
  display: block;
  width: 100%;
  height: clamp(420px, 62vh, 720px);
  object-fit: cover;
  filter: saturate(1.02);
}

.bleed-band .bleed-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      color-mix(in oklch, var(--bg) 78%, transparent) 0%,
      color-mix(in oklch, var(--bg) 40%, transparent) 38%,
      transparent 70%),
    linear-gradient(0deg,
      color-mix(in oklch, var(--bg) 55%, transparent) 0%,
      transparent 45%);
}

.bleed-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
}

.bleed-copy .container { width: 100%; }

.bleed-inner {
  max-width: 540px;
}

.bleed-eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.bleed-eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--accent);
  opacity: 0.7;
}

.bleed-inner h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(32px, 4.4vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 22px;
}

.bleed-inner h2 em { font-style: italic; color: var(--accent); }

.bleed-inner p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-dim);
  margin: 0;
  max-width: 460px;
}

.bleed-caption {
  position: absolute;
  bottom: 18px;
  right: 24px;
  z-index: 3;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  background: color-mix(in oklch, var(--bg) 55%, transparent);
  backdrop-filter: blur(6px);
  padding: 6px 11px;
  border: 1px solid var(--hairline);
}

/* Right-aligned variant for the mine divider */
.bleed-band.bleed-right .bleed-scrim {
  background:
    linear-gradient(270deg,
      color-mix(in oklch, var(--bg) 78%, transparent) 0%,
      color-mix(in oklch, var(--bg) 40%, transparent) 38%,
      transparent 70%),
    linear-gradient(0deg,
      color-mix(in oklch, var(--bg) 55%, transparent) 0%,
      transparent 45%);
}

.bleed-band.bleed-right .bleed-copy { justify-content: flex-end; text-align: right; }
.bleed-band.bleed-right .bleed-eyebrow { justify-content: flex-end; }
.bleed-band.bleed-right .bleed-eyebrow::before { display: none; }
.bleed-band.bleed-right .bleed-eyebrow::after {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--accent);
  opacity: 0.7;
}
.bleed-band.bleed-right .bleed-inner { margin-left: auto; }
.bleed-band.bleed-right .bleed-inner p { margin-left: auto; }
.bleed-band.bleed-right .bleed-caption { right: auto; left: 24px; }

@media (max-width: 720px) {
  .bleed-inner h2 { font-size: 30px; }
  .bleed-inner p { font-size: 15px; }
}

/* ---------- Origin / map split ---------- */
.origin-stage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 900px) {
  .origin-stage { grid-template-columns: 1fr 1fr; gap: 72px; }
}

.origin-map {
  position: relative;
  min-width: 0;
}

.origin-map img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
  border: 1px solid var(--hairline-soft);
}

.origin-map-cap {
  display: flex;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 12px 2px 0;
}

.origin-copy h3 {
  font-family: var(--f-display);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
  font-weight: 400;
  margin: 0 0 24px;
  color: var(--ink);
}

.origin-copy h3 em { font-style: italic; color: var(--accent); }

.origin-copy p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-dim);
  margin: 0 0 20px;
}

.origin-meta {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--hairline-soft);
  border-left: 1px solid var(--hairline-soft);
}

.origin-meta li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  border-right: 1px solid var(--hairline-soft);
  border-bottom: 1px solid var(--hairline-soft);
}

.origin-meta .om-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.origin-meta .om-val {
  font-family: var(--f-display);
  font-size: 18px;
  color: var(--ink);
  line-height: 1.25;
}

/* ---------- Cube study strip ---------- */
.cube-study {
  margin-top: 64px;
  border: 1px solid var(--hairline-soft);
  background:
    radial-gradient(70% 120% at 50% 0%,
      color-mix(in oklch, var(--accent) 8%, var(--bg-2) 92%) 0%,
      var(--bg) 80%);
  padding: 40px 40px 32px;
}

.cube-study-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.cube-study-head h4 {
  font-family: var(--f-display);
  font-size: 26px;
  font-weight: 400;
  color: var(--ink);
  margin: 0;
}

.cube-study-head h4 em { font-style: italic; color: var(--accent); }

.cube-study-head .tag {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.cube-study-img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,0.45));
}

.cube-study-foot {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 22px;
  border-top: 1px solid var(--hairline-soft);
  padding-top: 18px;
}

.cube-study-foot span {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 600px) {
  .cube-study { padding: 28px 22px 24px; }
  .cube-study-foot { grid-template-columns: repeat(2, 1fr); gap: 10px 0; }
}

/* ---------- Hero object: pyriet sits wider, less tall ---------- */
.hero-object-framed .specimen.specimen-wide {
  width: 92%;
}

/* ---------- Specs detail: pyriet cubic crop ---------- */
.specs-detail.specs-detail-pyriet img {
  width: 150%;
  margin-left: -8%;
}
