/* ============================================================
   ACERINA AMADOR — WORDS
   Her verbatim voice as a rhythmic column of oversized pull-quotes.
   Obsidian canvas · bone type · vermelho only as accent (large).
   Namespace: wd-
   ============================================================ */

.wd { position: relative; overflow: clip; }

/* --- Header --- */
.wd__head {
  margin-bottom: var(--space-xl);
}
.wd__head .section-title {
  color: var(--bone);
}

/* --- Quote block (shared) ---
   Display size lives on the blockquote so the em-based width caps scale
   WITH the type: quotes stay a controlled 3–5 lines at every viewport,
   never a ragged single-word column (ch is unreliable in a condensed face). */
.wd__q {
  position: relative;
  font-size: var(--fs-h2);
  max-width: 11em;
}
.wd__text {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: none;              /* spoken, not shouted — a deliberate break from the uppercase titles */
  font-size: 1em;                    /* driven by .wd__q so em caps track the size */
  line-height: 0.98;
  letter-spacing: -0.012em;
  color: var(--bone);
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: none;
}

/* Red accents -------------------------------------------------- */
/* Oversized opening quotation glyph — the section's single loudest red gesture */
.wd__glyph {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4.5rem, 11vw, 8.5rem);
  line-height: 0.55;
  color: var(--vermelho);
  margin-bottom: 0.06em;
  user-select: none;
}
/* Thin molten rule accent */
.wd__rule {
  display: block;
  width: clamp(2.4rem, 6vw, 4rem);
  height: 2px;
  background: var(--vermelho);
  margin-bottom: clamp(1rem, 2vw, 1.6rem);
}

/* QUOTE 1 — lead, left, largest ------------------------------- */
.wd__q--lead {
  font-size: clamp(2.15rem, 5.2vw, 3.6rem);
  max-width: 8.5em;
  margin-top: var(--space-lg);
}
.wd__q--lead .wd__text { line-height: 0.94; }

/* --- Full-bleed image panel (QUOTE 2) --------------------------- */
.wd__panel {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(24rem, 64vh, 44rem);
  margin-block: clamp(3.5rem, 8vw, 7rem);
  overflow: hidden;
  background: var(--obsidian-deep);
}
.wd__panelmedia {
  position: absolute;
  inset: 0;
  z-index: var(--z-media);
}
/* Oversize + offset the image so the downward parallax never exposes an edge */
.wd__panelmedia img {
  position: absolute;
  left: 0;
  top: -16%;
  width: 100%;
  height: 122%;
  object-fit: cover;
}
/* Heavy cinematic scrim: darkest at the bottom-left where the words sit */
.wd__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to top,
      color-mix(in oklab, var(--scrim) 92%, transparent) 0%,
      color-mix(in oklab, var(--scrim) 60%, transparent) 42%,
      color-mix(in oklab, var(--scrim) 26%, transparent) 100%),
    linear-gradient(to right,
      color-mix(in oklab, var(--scrim) 55%, transparent) 0%,
      transparent 55%);
}
.wd__panelinner {
  position: relative;
  z-index: var(--z-content);
  width: 100%;
  padding-block: clamp(2rem, 5vw, 4rem);
}
.wd__q--onimg {
  max-width: 12em;
}
.wd__q--onimg .wd__text {
  color: var(--bone);
  text-shadow: 0 1px 30px color-mix(in oklab, var(--obsidian-deep) 80%, transparent);
}

/* QUOTE 3 — right, short, punchy ------------------------------ */
.wd__q--right {
  max-width: 9.5em;
  margin-left: auto;
  text-align: right;
}
.wd__q--right .wd__rule { margin-left: auto; }

/* QUOTE 4 — long, left ---------------------------------------- */
.wd__q--long {
  font-size: clamp(1.7rem, 3.6vw, 2.55rem);
  max-width: 14em;
  margin-top: clamp(3.5rem, 8vw, 7rem);
}
.wd__q--long .wd__text { line-height: 1.0; }

/* --- Attribution (once) — closing signature ------------------ */
.wd__attrib {
  margin-top: clamp(1.6rem, 3.5vw, 2.75rem);
  text-align: right;
}
.wd__attrib cite {
  font-family: var(--font-text);
  font-style: normal;
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-dim);
}

/* --- Responsive: collapse the zig-zag into a single readable column --- */
@media (max-width: 760px) {
  .wd__q,
  .wd__q--lead,
  .wd__q--right,
  .wd__q--long,
  .wd__q--onimg {
    max-width: 100%;
    margin-left: 0;
    text-align: left;
  }
  .wd__q--right .wd__rule { margin-left: 0; }
  .wd__attrib { text-align: left; }
}
