/* ============================================================
   Querida Post — home · "The stationer's desk"
   MOOD       intimate, delighted, trustworthy — a boutique stationer
   PALETTE    paper #F6F0E4 · ink #2A2520 · wax #7A2230 · kraft #DCC8A6
   TYPE       Cormorant Garamond (display) · Karla (body/UI) ·
              Parisienne — handwritten margin notes ONLY
   SIGNATURE  The real invitation, live in the hero. Tap the seal.
   ============================================================ */
.home--desk {
  --paper: #F6F0E4;
  --card: #FBF8F1;
  --ink: #2A2520;
  --ink-2: #625A50;
  --wax: #7A2230;
  --kraft: #DCC8A6;
  --line: rgba(42, 37, 32, .16);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --hand: 'Parisienne', 'Snell Roundhand', cursive;
  --b-page: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
.home--desk ::selection { background: var(--wax); color: var(--card); }
@media (prefers-reduced-motion: no-preference) { html:has(.home--desk) { scroll-behavior: smooth; } }
.desk { display: block; }
.desk > section { max-width: 1320px; margin-inline: auto; padding-inline: 40px; }

/* ---------- shared pieces ---------- */
.dh__over {
  margin: 0; font-family: var(--f-sans); font-size: 12px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--wax);
}
.d-h2 {
  margin: 0; font-family: var(--f-display); font-weight: 500;
  font-size: clamp(40px, 5vw, 76px); line-height: .98; letter-spacing: -.03em;
  color: var(--ink); text-wrap: balance;
}
.d-h2 em, .dh__h em { display: block; font-style: italic; color: var(--wax); }
.d-lede { margin: 0; max-width: 52ch; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.6; color: var(--ink-2); }
.hand { font-family: var(--hand); font-size: 24px; line-height: 1.1; color: var(--ink-2); font-weight: 400; }

/* the handwritten-underline link: arrow nudges, a pencil line draws in */
.dlink {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-sans); font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none;
  padding-block: 6px;
}
.dlink::after {
  content: ""; position: absolute; left: 0; right: 22px; bottom: 0; height: 6px;
  background: no-repeat left / 100% 100% url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 8' preserveAspectRatio='none'><path d='M1 5.5C40 2.5 90 6.8 130 3.6 158 1.6 180 4.4 199 3' fill='none' stroke='%237A2230' stroke-width='1.6' stroke-linecap='round'/></svg>");
  transform-origin: left; transition: transform .5s var(--ease);
}
.dlink__arr { color: var(--wax); transition: transform .35s var(--ease); }
@media (hover: hover) { .dlink:hover .dlink__arr { transform: translateX(4px); } .dlink:hover::after { transform: scaleX(1.06); } }
.dlink:focus-visible { outline: 2px solid var(--wax); outline-offset: 4px; border-radius: 2px; }

.home--desk .btn { min-height: 56px; padding: 16px 32px; font-size: 13px; letter-spacing: .12em; box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 10px 22px -14px rgba(122,34,48,.8); }
.home--desk .btn:active { transform: translateY(1px); }

/* deckled paper edge + washi tape */
.deckle { -webkit-mask: url(/assets/shared/deckle-mask.svg) center / 100% 100% no-repeat; mask: url(/assets/shared/deckle-mask.svg) center / 100% 100% no-repeat; }
.tape {
  position: absolute; z-index: 3; width: 96px; height: 28px; background: rgba(220, 200, 166, .82);
  clip-path: polygon(3% 0, 97% 4%, 100% 30%, 96% 55%, 100% 82%, 96% 100%, 2% 96%, 0 70%, 4% 45%, 0 18%);
  mix-blend-mode: multiply; pointer-events: none;
}
.tape--tl { top: -10px; left: -18px; rotate: -32deg; }
.tape--t { top: -14px; left: 50%; translate: -50% 0; rotate: -3deg; }

/* reveal: paper "settles" onto the page */
.js-rv .rv { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.js-rv .rv.is-in { opacity: 1; transform: none; }

/* ---------- 1 · Hero ---------- */
.dh {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); align-items: center;
  gap: clamp(32px, 4vw, 72px);
  padding-block: clamp(40px, 5vw, 72px) clamp(72px, 8vw, 120px);
}
.dh__copy { display: grid; gap: 26px; align-content: center; }
.dh__h {
  margin: 0; font-family: var(--f-display); font-weight: 500;
  font-size: clamp(46px, 5.3vw, 82px); line-height: .96; letter-spacing: -.035em; color: var(--ink);
}
.dh__lede { margin: 0; max-width: 46ch; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; color: var(--ink-2); }
.dh__cta { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin: 4px 0 0; }
.dh__price { margin: -6px 0 0; font-size: 15px; color: var(--ink-2); }
.dh__price b { margin-right: 6px; font-family: var(--f-display); font-size: 26px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.dh__assure { list-style: none; margin: 4px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.dh__assure li { position: relative; padding-left: 30px; font-size: 15px; color: var(--ink); }
.dh__assure li::before, .slip__list i {
  content: ""; position: absolute; left: 0; top: 1px; width: 18px; height: 18px;
  background: no-repeat center / contain url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M3.5 13.2c2.4 1.5 3.9 3.2 5.2 5.6C11.2 12 15 7.4 20.8 4.2' fill='none' stroke='%237A2230' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}

/* the desk */
.dh__desk { position: relative; min-height: 730px; display: grid; place-items: center; padding-bottom: 66px; }
.dh__env { position: absolute; z-index: 1; width: 62%; left: -6%; bottom: 13%; box-shadow: 0 30px 50px -32px rgba(42,37,32,.55); }
.dh__env .env__seal { width: 22%; }
.dh__card {
  position: absolute; z-index: 1; right: -15%; top: 6%; width: 186px; padding: 30px 22px 26px;
  background: var(--card); rotate: 7deg; text-align: center; display: grid; gap: 6px;
  filter: drop-shadow(0 18px 22px rgba(42,37,32,.18));
}
.dh__card-k { margin: 0; font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }
.dh__card-h { margin: 0; font-family: var(--hand); font-size: 40px; line-height: 1.05; color: var(--ink); }
.dh__card-p { margin: 0; font-family: var(--f-display); font-style: italic; font-size: 15px; color: var(--ink-2); }
.dh__sprig { position: absolute; z-index: 4; width: 150px; right: 4%; bottom: 20%; rotate: -16deg; pointer-events: none; }

.device {
  --w: 282px; --k: .7231;
  position: relative; z-index: 2; margin: 0; width: calc(var(--w) + 22px); padding: 11px;
  background: var(--ink); border-radius: 52px; rotate: -2deg;
  box-shadow: inset 0 0 0 1.5px #403830, 0 50px 70px -36px rgba(42,37,32,.6), 0 16px 24px -16px rgba(42,37,32,.4);
  transition: rotate .8s var(--ease);
}
.dh__desk[data-state="after"] .device { rotate: 1.5deg; }
.device__screen { position: relative; display: block; width: var(--w); aspect-ratio: 390 / 844; overflow: hidden; border-radius: 42px; background: var(--paper); }
.device__frame { position: absolute; top: 0; left: 0; width: 390px; height: 844px; border: 0; transform-origin: 0 0; transform: scale(var(--k, .872)); background: var(--paper); }
.device__poster { display: none; position: absolute; inset: 0; padding: 0; border: 0; background: none; cursor: pointer; }
.device__poster img { width: 100%; height: 100%; object-fit: cover; }
.device__poster:focus-visible { outline: 3px solid var(--wax); outline-offset: -6px; border-radius: 42px; }
.device.is-poster .device__poster { display: block; }
.device.is-poster .device__frame { display: none; }
.device__stamp {
  position: absolute; z-index: 5; width: 52%; aspect-ratio: 22 / 15; right: -40%; top: -7%;
  background: no-repeat center / contain url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 150'><defs><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.07' numOctaves='3' seed='19' result='n'/><feDisplacementMap in='SourceGraphic' in2='n' scale='1.6' xChannelSelector='R' yChannelSelector='G'/></filter></defs><g filter='url(%23n)'><g fill='none' stroke='%237A2230' stroke-linecap='round' stroke-width='2.4'><ellipse cx='110' cy='75' rx='100' ry='66' opacity='.92'/><ellipse cx='110' cy='75' rx='86' ry='52' stroke-width='1.2' opacity='.78'/><line x1='24' y1='75' x2='52' y2='75' stroke-width='2' opacity='.7'/><line x1='168' y1='75' x2='196' y2='75' stroke-width='2' opacity='.7'/></g><text x='110' y='52' text-anchor='middle' font-family='Helvetica,Arial,sans-serif' font-size='13' font-weight='700' letter-spacing='2' fill='%237A2230' opacity='.92'>SPECIAL DELIVERY</text><text x='110' y='85' text-anchor='middle' font-family='Helvetica,Arial,sans-serif' font-size='17' font-weight='700' letter-spacing='1' fill='%237A2230' opacity='.95'>AUG 21, 2027</text></g></svg>");
  mix-blend-mode: multiply; opacity: 0; transform: rotate(-14deg) scale(1.7);
  transition: opacity .15s ease, transform .45s cubic-bezier(.2, 1.5, .4, 1); pointer-events: none;
}
.dh__desk[data-state="after"] .device__stamp { opacity: .95; transform: rotate(-14deg) scale(1); transition-delay: .35s; }

.pencil { position: absolute; z-index: 5; margin: 0; right: calc(50% + 168px); top: 26%; white-space: nowrap; text-align: right; font-family: var(--hand); font-size: 30px; line-height: 1; color: var(--wax); rotate: -8deg; pointer-events: none; }
.pencil__arrow { display: block; width: 96px; margin: 4px 0 0 auto; color: var(--wax); rotate: 8deg; }
.dh__desk[data-state="after"] .pencil--seal { opacity: 0; transition: opacity .3s ease; }

.tags { position: absolute; z-index: 6; bottom: 0; left: 50%; translate: -50% 0; display: flex; gap: 14px; }
.tag {
  position: relative; appearance: none; cursor: pointer; border: 0; min-height: 46px;
  padding: 12px 22px 12px 34px; background: var(--card); color: var(--ink-2);
  font-family: var(--f-sans); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 14px 100%, 0 50%);
  filter: drop-shadow(0 6px 8px rgba(42,37,32,.16));
  transition: background-color .25s ease, color .25s ease, translate .3s var(--ease);
}
.tag::before { content: ""; position: absolute; left: 14px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1.5px rgba(42,37,32,.35); }
.tag:nth-child(1) { rotate: -3deg; } .tag:nth-child(2) { rotate: 2.5deg; }
.tag[aria-pressed="true"] { background: var(--wax); color: var(--card); }
@media (hover: hover) { .tag:hover { translate: 0 -2px; } }
.tag:focus-visible { outline: 2px solid var(--wax); outline-offset: 4px; }

/* ---------- 2 · Spread ---------- */
.spread { padding-block: clamp(90px, 10vw, 150px) clamp(64px, 7vw, 104px); border-top: 1px solid var(--line); }
.spread__head { display: grid; gap: 20px; max-width: 760px; margin-bottom: clamp(56px, 6vw, 88px); }
.spread__prints { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(16px, 3vw, 48px); max-width: 980px; margin-inline: auto; }
.print { position: relative; margin: 0; display: grid; gap: 18px; justify-items: center; }
.print__img { display: block; width: 100%; max-width: 380px; aspect-ratio: 4 / 5; background: var(--card); padding: 14px; filter: drop-shadow(0 22px 26px rgba(42,37,32,.2)); }
.print__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.print--a { rotate: -3deg; }
.print--b { rotate: 2.5deg; margin-top: 64px; }
.print figcaption { font-size: 28px; }
.print--b figcaption { color: var(--wax); }
.spread__mark { width: 150px; aspect-ratio: 22 / 15; background: no-repeat center / contain url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 150'><defs><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.07' numOctaves='3' seed='19' result='n'/><feDisplacementMap in='SourceGraphic' in2='n' scale='1.6' xChannelSelector='R' yChannelSelector='G'/></filter></defs><g filter='url(%23n)'><g fill='none' stroke='%237A2230' stroke-linecap='round' stroke-width='2.4'><ellipse cx='110' cy='75' rx='100' ry='66' opacity='.92'/><ellipse cx='110' cy='75' rx='86' ry='52' stroke-width='1.2' opacity='.78'/><line x1='24' y1='75' x2='52' y2='75' stroke-width='2' opacity='.7'/><line x1='168' y1='75' x2='196' y2='75' stroke-width='2' opacity='.7'/></g><text x='110' y='52' text-anchor='middle' font-family='Helvetica,Arial,sans-serif' font-size='13' font-weight='700' letter-spacing='2' fill='%237A2230' opacity='.92'>SPECIAL DELIVERY</text><text x='110' y='85' text-anchor='middle' font-family='Helvetica,Arial,sans-serif' font-size='17' font-weight='700' letter-spacing='1' fill='%237A2230' opacity='.95'>AUG 21, 2027</text></g></svg>"); rotate: -12deg; mix-blend-mode: multiply; }
.spread__steps { list-style: none; margin: clamp(56px, 6vw, 88px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); counter-reset: sp; }
.spread__steps li { counter-increment: sp; padding-top: 20px; border-top: 1px solid var(--ink); font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.spread__steps li::before { content: counter(sp, upper-roman) "."; display: block; margin-bottom: 8px; font-family: var(--f-display); font-style: italic; font-size: 22px; color: var(--wax); }
.spread__steps b { display: block; margin-bottom: 4px; font-family: var(--f-display); font-size: 24px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); line-height: 1.15; }

/* ---------- 3 · Designs ---------- */
.designs { padding-block: clamp(56px, 6vw, 90px) clamp(80px, 9vw, 130px); border-top: 1px solid var(--line); }
.designs__head { display: flex; align-items: end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 64px); }
.designs__head > div { display: grid; gap: 18px; }
.home--desk .designs__grid {
  list-style: none; margin: 0; padding: 0; display: grid; gap: 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: auto auto;
}
.designs__grid > li { min-width: 0; }
.designs__grid > li:first-child { grid-column: span 2; grid-row: span 2; }
.designs__grid > li:nth-child(n+6) { display: none; }
.home--desk .designs__grid .env { height: 100%; display: grid; grid-template-rows: 1fr auto; gap: 0; justify-items: stretch; text-align: left; text-decoration: none; color: inherit; }
.home--desk .designs__grid .sample__art { display: grid; place-items: center; background: color-mix(in srgb, var(--env) 13%, var(--card)); padding: 30px 26px; aspect-ratio: 1.15; box-shadow: inset 0 0 0 1px var(--line); transition: background-color .35s ease; }
.home--desk .designs__grid > li:first-child .sample__art { aspect-ratio: auto; padding: 60px; }
.home--desk .designs__grid .env__paper { transition: translate .45s var(--ease), rotate .45s var(--ease); }
.home--desk .designs__grid .env:focus-visible { outline: 2px solid var(--wax); outline-offset: 6px; }
@media (hover: hover) {
  .home--desk .designs__grid .env:hover .sample__art { background: color-mix(in srgb, var(--env) 24%, var(--card)); }
  .home--desk .designs__grid .env:hover .env__paper { translate: 0 -6px; rotate: 0deg; }
}
.home--desk .designs__grid .env__caption { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 14px 2px 0; }
.home--desk .designs__grid .env__name { font-family: var(--f-display); font-size: 22px; font-weight: 500; color: var(--ink); }
.home--desk .designs__grid > li:first-child .env__name { font-size: 32px; }
.home--desk .designs__grid .env__mood { display: none; }
.home--desk .designs__grid .env__open { display: inline; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--wax); white-space: nowrap; }
.designs__note { margin: 22px 0 0; text-align: right; }

/* ---------- 4 · Offer (order slip) ---------- */
.home--desk .offer {
  max-width: none; margin-inline: calc(50% - 50vw);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(40px, 6vw, 110px); align-items: center;
  padding: clamp(80px, 9vw, 130px) max(40px, calc((100vw - 1240px) / 2));
  background: #EFE5D2 url(/assets/shared/paper-grain.svg) 0 0 / 300px; background-blend-mode: multiply;
  border-block: 1px solid var(--line);
}
.home--desk .offer + .qa { border-top: 0; }
.offer__intro { display: grid; gap: 22px; align-content: start; }
.offer__how { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 22px; }
.offer__how li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; }
.offer__how .hand { font-size: 46px; line-height: .8; color: var(--wax); }
.offer__how p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.offer__how b { display: block; font-family: var(--f-display); font-size: 24px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.slip {
  position: relative; background: var(--card); padding: 40px clamp(26px, 3vw, 44px) 44px; rotate: 1.2deg;
  box-shadow: 0 1px 0 var(--line), 0 28px 50px -30px rgba(42,37,32,.45);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), 96% 100%, 92% calc(100% - 10px), 88% 100%, 84% calc(100% - 10px), 80% 100%, 76% calc(100% - 10px), 72% 100%, 68% calc(100% - 10px), 64% 100%, 60% calc(100% - 10px), 56% 100%, 52% calc(100% - 10px), 48% 100%, 44% calc(100% - 10px), 40% 100%, 36% calc(100% - 10px), 32% 100%, 28% calc(100% - 10px), 24% 100%, 20% calc(100% - 10px), 16% 100%, 12% calc(100% - 10px), 8% 100%, 4% calc(100% - 10px), 0 100%);
}
.slip__head { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 2px solid var(--ink); font-family: var(--f-sans); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); align-items: baseline; }
.slip__head span { white-space: nowrap; }
.slip__head span:first-child { font-family: var(--f-display); font-size: 22px; font-weight: 600; letter-spacing: -.01em; text-transform: none; }
.slip__list { list-style: none; margin: 0; padding: 0; }
.slip__list li { position: relative; display: flex; align-items: baseline; gap: 10px; padding: 14px 30px 14px 0; border-bottom: 1px dashed rgba(42,37,32,.28); font-size: 16px; color: var(--ink); }
.slip__list i { left: auto; right: 2px; top: 15px; }
.slip__fine { margin: -20px 0 24px; text-align: right; font-size: 13px; color: var(--ink-2); }
.slip__total { display: flex; justify-content: space-between; align-items: baseline; margin: 18px 0 28px; padding-top: 14px; border-top: 2px solid var(--ink); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.slip__total b { font-family: var(--f-display); font-size: 36px; font-weight: 600; font-style: normal; letter-spacing: -.01em; text-transform: none; color: var(--wax); white-space: nowrap; }
.slip__stamp {
  position: absolute; right: 80px; top: 40%; padding: 8px 16px; border: 2.5px solid var(--wax); border-radius: 6px;
  font-family: var(--f-sans); font-size: 18px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--wax);
  rotate: -16deg; opacity: .78; mix-blend-mode: multiply; pointer-events: none;
}
.slip__btn { width: 100%; }

/* ---------- 5 · Questions ---------- */
.qa { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); padding-block: clamp(80px, 9vw, 130px); border-top: 1px solid var(--line); }
.qa .d-h2 { align-self: start; position: sticky; top: 32px; }
.home--desk .qa__list { max-width: none; margin: 0; }
.home--desk .qa__list summary { font-size: clamp(20px, 1.8vw, 26px); }
.qa__more { grid-column: 2; justify-self: start; margin-top: 8px; }

/* ---------- 6 · Closer (kraft) ---------- */
.home--desk .dclose {
  max-width: none; margin-inline: calc(50% - 50vw); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: 40px;
  padding: clamp(90px, 10vw, 150px) max(40px, calc((100vw - 1240px) / 2));
  background: var(--kraft) url(/assets/shared/paper-grain.svg) 0 0 / 300px; background-blend-mode: multiply;
  overflow: hidden;
}
.dclose__copy { display: grid; gap: 22px; }
.dclose .d-lede { color: #4E463C; }
.dclose__env { width: min(420px, 100%); justify-self: center; box-shadow: 0 40px 60px -36px rgba(42,37,32,.6); }
.dclose__env .env__seal { width: 22%; }
.home--desk .foot { padding-block: 32px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .dh { grid-template-columns: 1fr; }
  .dh__copy { max-width: 640px; }
  .dh__desk { max-width: 600px; width: 100%; justify-self: center; }
  .home--desk .offer, .qa { grid-template-columns: 1fr; }
  .qa .d-h2 { position: static; }
  .qa__more { grid-column: auto; }
  .home--desk .designs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .desk > section { padding-inline: 20px; }
  .home--desk .mast__right { flex-wrap: wrap; gap: 6px 18px; }
  .home--desk .mast__right a[href="/features/"], .home--desk .mast__right a[href="/how-it-works/"] { display: none; }
  .home--desk .linkbtn { white-space: nowrap; }
  /* the live phone comes straight after the headline, inside the first screen */
  .dh { padding-top: 22px; gap: 20px; }
  .dh__copy { display: contents; }
  .dh .dh__over { order: 1; } .dh .dh__h { order: 2; } .dh .dh__desk { order: 3; }
  .dh .dh__lede { order: 4; } .dh .dh__cta { order: 5; } .dh .dh__price { order: 6; } .dh .dh__assure { order: 7; }
  .dh__lede { font-size: 17px; }
  .dh__h { font-size: clamp(40px, 10.4vw, 60px); }
  .dh__card { display: none; }
  .dh__cta { gap: 18px; }
  .dh__desk { min-height: 0; padding: 62px 0 16px; overflow-x: clip; overflow-clip-margin: 20px; }
  .tags { top: 0; bottom: auto; }
  .device { --w: 190px; --k: .4872; padding: 8px; border-radius: 36px; }
  .device__screen { border-radius: 29px; }
  .device__stamp { width: 50%; right: -20%; top: -5%; }
  .dh__card { width: 150px; padding: 24px 16px 20px; right: -4%; top: 2%; }
  .dh__card-h { font-size: 32px; }
  .dh__card-p { font-size: 13px; }
  .dh__env { width: 70%; left: -10%; bottom: 12%; }
  .dh__sprig { width: 100px; right: -2%; }
  .pencil { display: none; }
  .pencil__arrow { margin: 4px 0 0 40px; }
  .pencil__arrow { width: 70px; margin-left: 40px; }
  .tags { gap: 8px; }
  .tag { padding: 10px 14px 10px 28px; font-size: 11px; }
  .tag::before { left: 11px; }
  .spread__prints { grid-template-columns: 1fr; gap: 36px; justify-items: center; }
  .print { width: min(300px, 86%); }
  .print--b { order: 3; margin-top: 0; }
  .spread__mark { order: 2; width: 120px; margin-block: -12px; }
  .print__img { padding: 10px; }
  .print figcaption { font-size: 24px; text-align: center; }
  .spread__steps { grid-template-columns: 1fr; }
  .home--desk .designs__grid { gap: 14px; }
  .designs__grid > li:first-child { grid-column: span 2; grid-row: auto; }
  .home--desk .designs__grid > li:first-child .sample__art { aspect-ratio: 1.3; padding: 34px; }
  .home--desk .designs__grid .sample__art { padding: 18px 14px; }
  .home--desk .designs__grid .env__name { font-size: 18px; }
  .home--desk .designs__grid .env__open { display: none; }
  .designs__note { text-align: left; font-size: 20px; }
  .home--desk .dclose { grid-template-columns: 1fr; gap: 48px; padding-inline: 20px; }
  .dclose__env { width: 78%; }
  .home--desk .offer { padding-inline: 20px; }
  .slip__head span:first-child { font-size: 19px; }
  .slip__head { font-size: 10px; letter-spacing: .14em; }
  .slip__stamp { right: 46px; top: 41%; padding: 6px 12px; font-size: 13px; letter-spacing: .18em; }
}
@media (prefers-reduced-motion: reduce) {
  .js-rv .rv { opacity: 1; transform: none; transition: none; }
  .device, .device__stamp, .tag, .dlink__arr, .dlink::after, .home--desk .designs__grid .env__paper { transition: none; }
}
/* prices read as figures, not old-style text numerals */
.dh__price b, .slip__total b { font-variant-numeric: lining-nums tabular-nums; }

/* Spanish pages get a Spanish postmark */
html[lang="es"] .device__stamp, html[lang="es"] .spread__mark { background: no-repeat center / contain url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 150'><defs><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.07' numOctaves='3' seed='19' result='n'/><feDisplacementMap in='SourceGraphic' in2='n' scale='1.6' xChannelSelector='R' yChannelSelector='G'/></filter></defs><g filter='url(%23n)'><g fill='none' stroke='%237A2230' stroke-linecap='round' stroke-width='2.4'><ellipse cx='110' cy='75' rx='100' ry='66' opacity='.92'/><ellipse cx='110' cy='75' rx='86' ry='52' stroke-width='1.2' opacity='.78'/><line x1='24' y1='75' x2='52' y2='75' stroke-width='2' opacity='.7'/><line x1='168' y1='75' x2='196' y2='75' stroke-width='2' opacity='.7'/></g><text x='110' y='52' text-anchor='middle' font-family='Helvetica,Arial,sans-serif' font-size='13' font-weight='700' letter-spacing='2' fill='%237A2230' opacity='.92'>ENTREGA ESPECIAL</text><text x='110' y='85' text-anchor='middle' font-family='Helvetica,Arial,sans-serif' font-size='17' font-weight='700' letter-spacing='1' fill='%237A2230' opacity='.95'>21 AGO 2027</text></g></svg>"); }
@media (min-width: 1081px) and (max-width: 1360px) { .dh__card { right: -3%; top: 1%; width: 172px; } .dh__card-h { font-size: 36px; } }
/* 7. Tablets: same order as phones (headline, live phone, pitch), with room for the type */
@media (min-width: 721px) and (max-width: 1080px) {
  .dh { gap: 28px; }
  .dh__copy { display: contents; }
  .dh .dh__over { order: 1; } .dh .dh__h { order: 2; } .dh .dh__desk { order: 3; }
  .dh .dh__lede { order: 4; } .dh .dh__cta { order: 5; } .dh .dh__price { order: 6; } .dh .dh__assure { order: 7; }
  .dh__h { font-size: clamp(56px, 8vw, 72px); }
  .dh .dh__lede, .dh .dh__cta, .dh .dh__price, .dh .dh__assure { max-width: 640px; }
  .dh__desk { min-height: 0; padding: 70px 0 10px; }
  .dh__card { right: 2%; top: 14%; }
  .pencil { right: auto; left: 0; top: 30%; font-size: 26px; }
  .tags { top: 0; bottom: auto; }
  .storefront .mast__right { gap: 18px; }
  .storefront .linkbtn { white-space: nowrap; }
}
