/* ==========================================================================
   Como aplicar · owner: pages agent
   Title (obsidian) → instruction sheet on papel-moeda (engraved plates with
   line drawings, Roman numerals) → tips and care (obsidian) → the way on.
   ========================================================================== */
.z-steps__hero { padding-bottom: clamp(3.5rem, 2.8rem + 3vw, 6.5rem); }
.z-steps__index { margin-top: 6px; }
.z-steps__print { margin-top: 2px; border: 0; cursor: pointer; color: var(--z-fg-2); }
.z-steps__print:not([hidden]) { display: inline-flex; }
@media (hover: hover) { .z-steps__print:hover { color: var(--z-fg); } }

/* -- The sheet ------------------------------------------------------------ */
.z-steps__paper {
  --z-guilloche-opacity: .05;
  --z-grain-opacity: .1;
  overflow: clip;
  padding-block: clamp(3.5rem, 2.6rem + 4vw, 7.5rem);
}
.z-steps__paper > .z-container { position: relative; z-index: 1; }
.z-steps__sheet { position: relative; }
.z-steps__corner { display: none; }
@media (min-width: 990px) {
  .z-steps__sheet {
    padding: clamp(4rem, 2rem + 3.6vw, 6rem) clamp(2.5rem, .5rem + 3.6vw, 5rem) clamp(3.5rem, 2rem + 3vw, 5.25rem);
    border: 1px solid var(--z-line-ink);
  }
  .z-steps__sheet::before {                /* inner rule */
    content: "";
    position: absolute;
    inset: 6px;
    border: 1px solid var(--z-line-ink-soft);
    pointer-events: none;
  }
  .z-steps__sheet::after {                 /* corner flourishes, as on the card borders */
    content: "";
    position: absolute;
    inset: -1px;
    pointer-events: none;
    background: var(--z-gold-ink);
    opacity: .7;
    -webkit-mask:
      var(--z-corner-tl) top left / 30px no-repeat, var(--z-corner-tr) top right / 30px no-repeat,
      var(--z-corner-bl) bottom left / 30px no-repeat, var(--z-corner-br) bottom right / 30px no-repeat;
    mask:
      var(--z-corner-tl) top left / 30px no-repeat, var(--z-corner-tr) top right / 30px no-repeat,
      var(--z-corner-bl) bottom left / 30px no-repeat, var(--z-corner-br) bottom right / 30px no-repeat;
  }
  .z-steps__corner {
    display: block;
    position: absolute;
    top: 26px;
    font-family: var(--z-font-caps);
    font-size: 10px;
    letter-spacing: .36em;
    text-transform: uppercase;
    color: var(--z-gold-ink);
  }
  .z-steps__corner--l { left: 50px; }
  .z-steps__corner--r { right: 50px; margin-right: -.36em; }
}

/* What you need: three objects, drawn. */
.z-steps__needs {
  display: grid;
  gap: 18px;
  padding-bottom: clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem);
  margin-bottom: clamp(2.5rem, 1.8rem + 3vw, 4.5rem);
  border-bottom: 1px solid var(--z-line-ink);
}
.z-steps__needs-title {
  font-family: var(--z-font-caps);
  font-size: var(--z-fs-eyebrow);
  font-weight: 400;
  letter-spacing: var(--z-track-caps);
  text-transform: uppercase;
  color: var(--z-gold-ink);
}
.z-steps__needs-list { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.z-steps__need {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  font-family: var(--z-font-display);
  font-size: var(--z-fs-display-xs);
  font-weight: 400;
  line-height: 1.2;
  color: var(--z-ink);
}
.z-steps__need-icon { flex: 0 0 auto; width: 48px; height: 48px; }
.z-steps__needs-note { max-width: 56ch; font-size: var(--z-fs-sm); color: var(--z-ink-2); }
@media (min-width: 750px) {
  .z-steps__needs { grid-template-columns: minmax(0, 1fr); }
  .z-steps__needs-list { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: var(--z-gap); }
  .z-steps__need { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (min-width: 990px) {
  .z-steps__needs { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); column-gap: clamp(2rem, 1rem + 2vw, 3.5rem); align-items: start; }
  .z-steps__needs-title { padding-top: 6px; }
  .z-steps__needs-note { grid-column: 2; }
}

/* The steps: plate (drawing in an engraved frame) + numeral + title + text. */
.z-steps__list {
  display: grid;
  gap: clamp(3rem, 2.2rem + 3vw, 4.5rem) var(--z-gap);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
.z-step { display: grid; gap: 22px; align-content: start; scroll-margin-top: calc(var(--z-header-h) + 24px); }
.z-step__plate {
  position: relative;
  margin: 0;
  padding: 10px;
  aspect-ratio: 3 / 2;
  border: 1px solid var(--z-line-ink);
  background: linear-gradient(160deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, .08));
}
.z-step__plate::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid var(--z-line-ink-soft);
  pointer-events: none;
}
.z-step__art { display: block; width: 100%; height: 100%; color: var(--z-ink); overflow: visible; }
.z-step__fig {
  position: absolute;
  left: 14px;
  bottom: 10px;
  font-family: var(--z-font-caps);
  font-size: 9.5px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--z-gold-ink);
  opacity: .9;
}
.z-step__body { display: grid; gap: 12px; }
.z-step__title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--z-font-display);
  font-size: var(--z-fs-display-s);
  font-weight: 400;
  line-height: 1.05;
  color: var(--z-ink);
}
.z-step__num {
  flex: 0 0 auto;
  font-size: 1.5em;
  font-weight: 300;
  line-height: .8;
  letter-spacing: .02em;
  background: var(--z-foil-ink);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.z-step__text { max-width: 46ch; color: var(--z-ink-2); }
@media (min-width: 750px) {
  .z-steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
  .z-steps__list { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(2rem, 1rem + 2vw, 3.5rem); }
}

/* Drawing inks (paper surface). Solid strokes draw themselves (core reveal "draw"); dashes and dots fade in after. */
.zs { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.zs .zs-i, .z-steps__need-icon .zs-i { stroke: var(--z-ink); stroke-opacity: .86; stroke-width: 1.05; }
.zs .zs-s, .z-steps__need-icon .zs-s { stroke: var(--z-ink); stroke-opacity: .34; stroke-width: .8; }
.zs .zs-g, .z-steps__need-icon .zs-g { stroke: var(--z-gold-ink); stroke-width: 1; }
.zs .zs-d { stroke-dasharray: 2.2 2.8; }
.zs .zs-d2 { stroke-dasharray: 1.6 2.4; }
.zs .zs-d3 { stroke-dasharray: 3 2.6; }
.zs .zs-d4 { stroke-dasharray: 1.4 3; }
.zs .zs-p { fill: var(--z-paper); }
.zs .zs-veil { fill-opacity: .82; }
.zs .zs-gf { fill: var(--z-gold-ink); stroke: none; }
.zs .zs-dot circle { fill: var(--z-ink); fill-opacity: .55; stroke: none; }
.zs .zs-hatch { stroke: var(--z-ink); stroke-opacity: .26; stroke-width: .7; }
.zs .zs-t { font-family: var(--z-font-display); font-size: 12px; font-style: italic; fill: var(--z-gold-ink); stroke: none; }
.z-steps__need-icon { color: var(--z-ink); }
.zs .zs-late { transition: opacity 1.2s var(--z-ease-out) 1.2s; }
.z-rv:not(.is-in) .zs-late { opacity: 0; }

.z-steps__closing {
  margin-top: clamp(3.5rem, 2.6rem + 4vw, 6rem);
  padding-top: clamp(2rem, 1.6rem + 2vw, 3rem);
  border-top: 1px solid var(--z-line-ink);
  font-size: var(--z-fs-display-m);
  line-height: 1.05;
  text-align: center;
  color: var(--z-ink);
}

/* -- Tips and care ----------------------------------------------------------- */
.z-steps__more { padding-block: clamp(4.5rem, 3.4rem + 5vw, 8.5rem) clamp(4rem, 3rem + 4vw, 7.5rem); }
.z-steps__cols { display: grid; gap: clamp(3.5rem, 2.6rem + 3vw, 5rem); }
.z-steps__col-title { font-size: var(--z-fs-display-m); margin-bottom: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem); max-width: 14ch; }
.z-steps__col-title em { white-space: nowrap; }
.z-steps__notes { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--z-rule); }
.z-steps__note {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  gap: 4px;
  padding: 18px 0 19px;
  border-bottom: 1px solid var(--z-rule-soft);
  color: var(--z-fg-2);
  line-height: 1.65;
}
.z-steps__note-n {
  padding-top: .35em;
  font-family: var(--z-font-caps);
  font-size: var(--z-fs-micro);
  letter-spacing: .16em;
  color: var(--z-accent);
  font-variant-numeric: lining-nums tabular-nums;
}
.z-steps__note-n--mark::before {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  margin-top: .32em;
  background: var(--z-accent);
  -webkit-mask: var(--z-lozenge) center / contain no-repeat;
  mask: var(--z-lozenge) center / contain no-repeat;
}
@media (min-width: 990px) {
  .z-steps__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(3rem, 1rem + 5vw, 7.5rem); align-items: start; }
}

.z-steps__cta {
  display: grid;
  justify-items: center;
  gap: 26px;
  margin-top: clamp(4rem, 3rem + 4vw, 7rem);
  text-align: center;
}
.z-steps__cta .z-rule--ornament { width: min(320px, 70%); margin-bottom: 8px; }
.z-steps__help { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 18px; color: var(--z-fg-2); }
.z-steps__help .z-link { min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 749px) {
  .z-steps__cta .z-btn { width: 100%; }
}

/* -- Print: the leaflet ------------------------------------------------------ */
@media print {
  @page { margin: 14mm; }
  html, body { background: #fff !important; }
  body::before, .z-announce, .z-header, .z-footer, .z-skip, .z-consent, #zv-preview-note,
  .shopify-section-group-header-group, .shopify-section-group-footer-group,
  .z-steps__index, .z-steps__print, .z-steps__cta, .z-ph-section::after { display: none !important; }
  .z-steps__hero { padding: 0 0 8mm !important; background: #fff !important; }
  .z-steps__hero .z-ph__title { color: #000; font-size: 28pt; }
  .z-steps__hero .z-ph__lead { color: #333; }
  .z-guilloche::before, .z-grain::after { display: none !important; }
  .z-steps__paper { background: #fff !important; padding: 0 !important; }
  .z-steps__sheet { padding: 0 !important; border: 0 !important; }
  .z-steps__sheet::before, .z-steps__sheet::after { display: none; }
  .z-steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8mm 8mm !important; }
  .z-step { break-inside: avoid; page-break-inside: avoid; }
  .z-steps__more { background: #fff !important; color: #000 !important; padding: 8mm 0 0 !important; }
  .z-steps__more .z-steps__note { color: #222; }
  .z-steps__more .z-display { color: #000; }
  .z-rv { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  [data-z-reveal="draw"] [pathLength] { stroke-dashoffset: 0 !important; }
  .zs-late { opacity: 1 !important; }
}
