/* Sazón v4 — Geoform's poster stanzas. No header, no buttons: links live inside the text. */
:root {
  --ink: #111;
  --paper: #fff;
  --font: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --pad: 1.2vw;
}

* { box-sizing: border-box; }
html { background: var(--paper); -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); overflow-x: hidden; font-family: var(--font); font-weight: 500; -webkit-font-smoothing: antialiased; }
::selection { background: var(--ink); color: var(--paper); }

/* links are part of the sentence */
a { color: inherit; text-decoration: underline; text-decoration-thickness: 0.06em; text-underline-offset: 0.1em; }
a:hover { text-decoration-thickness: 0.1em; }
a:focus-visible { outline: 0.05em solid var(--ink); outline-offset: 0.08em; border-radius: 0.04em; }

/* ---------- stanzas ---------- */
.stanza {
  padding: 0 var(--pad);
  font-size: clamp(40px, 10.4vw, 220px);
}
.stanza:first-of-type { padding-top: 0.08em; }
.stanza:last-of-type { padding-bottom: 0.3em; }
.stanza + .stanza { margin-top: 0.55em; }

.stanza p {
  margin: 0;
  font-size: 1em;
  line-height: 0.93;
  letter-spacing: -0.045em;
  overflow-wrap: break-word;   /* whole words wrap; only a word wider than the screen may break */
  hyphens: manual;
  text-wrap: pretty;
  text-rendering: optimizeLegibility;
}
.keep { white-space: nowrap; }
.stanza a { overflow-wrap: anywhere; }   /* the email can break on narrow phones instead of overflowing */

/* products sit in the sentence like letters */
.obj {
  display: inline-block;
  height: 1.22em; width: auto;
  vertical-align: -0.2em;
  margin: -0.2em 0.04em -0.08em;   /* negative block margins: big objects without pushing lines apart */
  opacity: 0;
  transform: translateY(0.18em) rotate(-4deg);
  transition: opacity .6s ease, transform .9s cubic-bezier(.2, .8, .2, 1);
}
.obj.wide { height: 0.95em; vertical-align: -0.12em; margin-top: -0.1em; }
.stanza.in .obj { opacity: 1; transform: none; }
.stanza.in .obj:nth-of-type(2) { transition-delay: .12s; }
.stanza.in .obj:nth-of-type(3) { transition-delay: .24s; }

/* ---------- footer: a sentence, like Reboot's ---------- */
.legal { padding: 10px var(--pad) 16px; }
.legal p { margin: 0; font: 13px/1.4 Arial, Helvetica, sans-serif; color: rgba(0, 0, 0, .75); }
.legal a { text-decoration-thickness: 1px; text-underline-offset: 2px; }

@media (max-width: 700px) {
  :root { --pad: 4vw; }
  .stanza { font-size: 13.2vw; }
  .obj.extra { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .obj { transition: none; opacity: 1; transform: none; }
}
