/* Readify — Unboxing virtual (3 actos). Generated from Claude Design. */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..700;1,9..144,300..700&family=Plus+Jakarta+Sans:wght@300..700&display=swap');


  .readify-page-unboxing {
    --cream: #F9F7F2;
    --cream-2: #F4EFE6;
    --ink: #1C1A16;
    --ink-muted: #55524B;
    --terracota: #BE4A2C;
    --ambar: #8A6015;
    --verde-acid: #D4A76A; /* aligned to brand ambar-soft */
    --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
    --kraft-face: #D9B58A;
    --kraft-face-2: #C69D70;
    --kraft-side: #B88E5F;
    --kraft-inside: #E0BE94;
    --kraft-dark: #8E6A3E;
    --book-cover: #8A6015;
    --book-cover-text: var(--cream);
    --ribbon: #BE4A2C;
    --border: 1.5px solid var(--ink);
    --radius-pill: 999px;
}

  .readify-page-unboxing, .readify-page-unboxing * { box-sizing: border-box; }
  .readify-page-unboxing { min-height: 100vh; }
.readify-page-unboxing {
    background: var(--cream);
    color: var(--ink);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
  }
  em { font-family: 'Fraunces', Georgia, serif; font-style: italic; color: var(--terracota); font-weight: 400; }
  .serif { font-family: 'Fraunces', Georgia, serif; }

  /* ——— Brand wordmark (uses uploaded asset) ——— */
  .brand-word {
    display: inline-flex; align-items: baseline; gap: 1px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--ink);
    line-height: 0.9;
  }
  .brand-word .dot {
    display: inline-block;
    width: 0.38em; height: 0.38em;
    background: var(--verde-acid);
    border-radius: 50%;
    margin-left: 0.05em;
    align-self: flex-end;
    margin-bottom: 0.08em;
  }

  /* ——— Top chrome ——— */
  .chrome-top {
    position: fixed; top: 0; left: 0; right: 0;
    padding: 20px 28px;
    display: flex; align-items: center; justify-content: space-between;
    z-index: 100;
    font-size: 12px;
    letter-spacing: 0.02em;
    color: var(--ink-muted);
    mix-blend-mode: multiply;
  }
  .chrome-top .brand-word { font-size: 24px; }
  .act-indicator { display: flex; gap: 6px; align-items: center; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
  .act-indicator .n { font-family: 'Fraunces', serif; font-style: italic; text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--ink); }

  /* ——— Pill buttons (brand style with border) ——— */
  .btn-pill {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 22px;
    border: var(--border);
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.2s var(--ease);
    white-space: nowrap;
  }
  .btn-pill:hover { background: var(--ink); color: var(--cream); }
  .btn-pill.primary { background: var(--ink); color: var(--cream); }
  .btn-pill.primary:hover { background: var(--terracota); border-color: var(--terracota); }
  .btn-pill.chip { padding: 8px 14px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
  .btn-pill.lg { padding: 16px 32px; font-size: 14px; }

  /* ——— Acts ——— */
  .act {
    position: fixed;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.9s var(--ease);
    overflow: hidden;
  }
  .act.on { opacity: 1; pointer-events: auto; }

  /* ============================================================
     ACT 1 — SUSCRIPCIÓN
     ============================================================ */
  .act-1 {
    background:
      radial-gradient(ellipse 70% 60% at 50% 40%, #FBF6EC, var(--cream) 60%, #E8DFC9 100%);
    display: grid;
    place-items: center;
  }
  .subscribe-stage {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 56px;
    align-items: center;
    max-width: 1180px;
    width: 100%;
    padding: 90px 36px 80px;
  }
  .subscribe-copy { text-align: right; }
  .subscribe-copy .eyebrow { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 14px; }
  .subscribe-copy h2 {
    font-family: 'Fraunces', serif; font-weight: 400;
    font-size: 44px; line-height: 1.02; letter-spacing: -0.02em;
    margin-bottom: 16px; text-wrap: balance;
  }
  .subscribe-copy h2 em { color: var(--terracota); }
  .subscribe-copy p {
    font-family: 'Fraunces', serif; font-size: 17px; line-height: 1.5;
    color: var(--ink-muted); max-width: 36ch; margin-left: auto; text-wrap: pretty;
  }
  .subscribe-copy .hair { width: 40px; height: 1px; background: var(--terracota); margin: 18px 0 18px auto; }

  .phone-right-copy ol { list-style: none; counter-reset: step; }
  .phone-right-copy li {
    counter-increment: step;
    padding: 14px 0 14px 40px;
    position: relative;
    border-top: 1px solid rgba(28,26,22,0.12);
    max-width: 26ch;
  }
  .phone-right-copy li:last-child { border-bottom: 1px solid rgba(28,26,22,0.12); }
  .phone-right-copy li::before {
    content: counter(step, upper-roman) ".";
    position: absolute; left: 0; top: 14px;
    font-family: 'Fraunces', serif; font-style: italic;
    color: var(--terracota); font-size: 15px;
  }
  .phone-right-copy li.active { color: var(--ink); }
  .phone-right-copy li:not(.active) { color: var(--ink-muted); opacity: 0.55; }
  .phone-right-copy li .t { font-family: 'Fraunces', serif; font-size: 16px; display: block; margin-bottom: 2px; }
  .phone-right-copy li .d { font-size: 12px; color: var(--ink-muted); }

  /* Phone */
  .phone {
    width: 300px; height: 620px;
    background: #0A0906;
    border-radius: 42px;
    padding: 10px;
    box-shadow: 0 40px 80px rgba(28,26,22,0.28), 0 8px 20px rgba(28,26,22,0.15);
    position: relative;
  }
  .phone::before {
    content: ""; position: absolute; top: 24px; left: 50%; transform: translateX(-50%);
    width: 90px; height: 24px; background: #050403; border-radius: 14px; z-index: 20;
  }
  .phone-screen {
    width: 100%; height: 100%;
    background: var(--cream);
    border-radius: 34px;
    overflow: hidden;
    position: relative;
  }
  .status-bar {
    position: absolute; top: 0; left: 0; right: 0;
    height: 44px;
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 28px 0;
    font-size: 11px; font-weight: 600; color: var(--ink);
    z-index: 10; font-variant-numeric: tabular-nums;
  }
  .status-bar svg { width: 14px; height: 10px; }

  .screens { position: absolute; inset: 0; }
  .screen {
    position: absolute; inset: 0;
    padding: 58px 22px 20px;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.45s var(--ease), transform 0.55s var(--ease);
    pointer-events: none;
    display: flex; flex-direction: column;
    background: var(--cream);
  }
  .screen.on { opacity: 1; transform: translateX(0); pointer-events: auto; }

  .app-head {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 20px;
    font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--ink-muted);
  }
  .app-head .brand-word { font-size: 18px; }
  .screen h3 {
    font-family: 'Fraunces', serif; font-weight: 400;
    font-size: 24px; line-height: 1.1; letter-spacing: -0.01em;
    margin-bottom: 6px; text-wrap: balance;
  }
  .screen h3 em { color: var(--terracota); }
  .screen .sub {
    font-size: 12px; color: var(--ink-muted); line-height: 1.5;
    margin-bottom: 18px;
  }

  .plan-card {
    border: var(--border);
    border-radius: 16px;
    padding: 14px 16px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: background 0.25s, transform 0.2s;
    position: relative;
    background: transparent;
  }
  .plan-card:hover { background: rgba(28,26,22,0.04); }
  .plan-card.sel { background: var(--ink); color: var(--cream); }
  .plan-card.sel .p { color: rgba(245,240,230,0.75); }
  .plan-card.sel .price { color: var(--verde-acid); }
  .plan-card .n {
    font-family: 'Fraunces', serif; font-style: italic; font-size: 17px;
    margin-bottom: 2px;
  }
  .plan-card .p { font-size: 11px; color: var(--ink-muted); line-height: 1.4; }
  .plan-card .price {
    position: absolute; right: 16px; top: 14px;
    font-family: 'Fraunces', serif; font-size: 14px;
  }

  .field { margin-bottom: 10px; }
  .field label { display: block; font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 4px; }
  .field input {
    width: 100%;
    background: transparent;
    border: 1.5px solid var(--ink);
    border-radius: 12px;
    padding: 10px 14px;
    font: inherit; font-size: 13px;
    color: var(--ink);
    font-family: 'Fraunces', serif;
  }
  .field input:focus { outline: none; border-color: var(--terracota); }
  .field-row { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; }

  .confirm-summary {
    border: var(--border);
    border-radius: 16px;
    padding: 14px 16px;
    margin-bottom: 16px;
    background: rgba(216,224,106,0.08);
  }
  .confirm-row {
    display: flex; justify-content: space-between;
    padding: 6px 0; font-size: 12px;
  }
  .confirm-row + .confirm-row { border-top: 1px solid rgba(28,26,22,0.1); }
  .confirm-row .k { color: var(--ink-muted); }
  .confirm-row .v { font-family: 'Fraunces', serif; color: var(--ink); }

  .done-mark {
    width: 78px; height: 78px; margin: 12px auto 16px;
    border-radius: 18px;
    background: var(--cream);
    border: var(--border);
    display: grid; place-items: center;
    position: relative;
    box-shadow: 0 6px 0 var(--ink);
  }
  .done-mark .check {
    width: 36px; height: 36px;
    stroke: var(--ink); stroke-width: 2.5; fill: none;
  }
  .done-mark .dot {
    position: absolute; right: 12px; bottom: 10px;
    width: 10px; height: 10px; background: var(--verde-acid); border-radius: 50%;
  }
  .done-body {
    text-align: center; font-family: 'Fraunces', serif;
    font-size: 17px; line-height: 1.4;
    margin-bottom: 8px; color: var(--ink);
  }
  .done-body em { color: var(--terracota); }
  .done-sub { text-align: center; font-size: 11px; color: var(--ink-muted); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 18px; }

  .screen .grow { flex: 1; }
  .app-btn {
    width: 100%;
    background: var(--ink); color: var(--cream);
    border: var(--border);
    border-radius: var(--radius-pill);
    padding: 13px;
    font: inherit; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
    cursor: pointer;
    transition: background 0.25s, transform 0.15s;
    box-shadow: 0 4px 0 var(--ink);
  }
  .app-btn:hover { background: var(--terracota); border-color: var(--terracota); }
  .app-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
  .app-btn.outline { background: transparent; color: var(--ink); margin-top: 8px; box-shadow: none; }
  .app-btn.outline:hover { background: var(--ink); color: var(--cream); }

  .progress-app { display: flex; gap: 4px; margin-top: 10px; }
  .progress-app .bar { flex: 1; height: 3px; background: rgba(28,26,22,0.12); border-radius: 2px; transition: background 0.3s; }
  .progress-app .bar.on { background: var(--ink); }

  /* ============================================================
     ACT 2 — REPARTO
     ============================================================ */
  .act-2 {
    background: linear-gradient(180deg, #F5EFDD 0%, #EEDDB8 55%, #DBC599 100%);
  }
  .sky { position: absolute; left: 0; right: 0; top: 0; height: 62%;
    background:
      radial-gradient(ellipse 60% 40% at 70% 30%, rgba(255,230,180,0.35), transparent 60%),
      radial-gradient(ellipse 80% 50% at 30% 20%, rgba(212,167,106,0.2), transparent 60%);
  }
  .sun { position: absolute; top: 18%; right: 18%; width: 90px; height: 90px; border-radius: 50%;
    background: radial-gradient(circle, #F8E4B8 0%, rgba(248,228,184,0.4) 50%, transparent 80%);
  }
  .cloud { position: absolute; background: rgba(255,255,255,0.55); border-radius: 50px; filter: blur(8px); }
  .cloud.c1 { top: 15%; left: 8%; width: 180px; height: 28px; }
  .cloud.c2 { top: 25%; left: 55%; width: 120px; height: 22px; opacity: 0.7; }
  .cloud.c3 { top: 32%; left: 15%; width: 90px; height: 18px; opacity: 0.5; }

  .skyline { position: absolute; left: 0; right: 0; bottom: 38%; height: 130px; opacity: 0.5; }
  .curb { position: absolute; left: 0; right: 0; bottom: 38%; height: 8px; background: linear-gradient(180deg, #9C7A45, #6A4A20); }
  .street {
    position: absolute; left: -5%; right: -5%; bottom: 0; height: 38%;
    background: linear-gradient(180deg, #9A7A47 0%, #7A5A30 30%, #5C4220 100%);
  }
  .street::after {
    content: ""; position: absolute; left: 0; right: 0; top: 35%; height: 2px;
    background: repeating-linear-gradient(90deg, transparent 0 40px, #F0E8D0 40px 80px);
    opacity: 0.6;
  }

  .van-stage {
    position: absolute;
    bottom: 17%;
    left: 50%;
    width: 440px; height: 230px;
    transform: translateX(-50%) translateX(-900px);
    transition: transform 2.2s var(--ease);
  }
  .act-2.on .van-stage.driving { transform: translateX(-50%) translateX(0); }
  .act-2.on .van-stage.arrived { transform: translateX(-50%) translateX(0); }
  /* leaving: van continues left, OFF-screen to the left */
  .act-2.on .van-stage.leaving { transform: translateX(-50%) translateX(-1100px); }
  .van { position: relative; width: 100%; height: 100%; }

  /* Van body — painted with border-outline brand style */
  .van-body {
    position: absolute;
    left: 60px; bottom: 30px;
    width: 290px; height: 140px;
    background: var(--cream);
    border: var(--border);
    border-radius: 8px 22px 6px 6px;
    box-shadow: inset 0 -28px 28px rgba(28,26,22,0.08), 0 16px 26px rgba(28,26,22,0.18);
  }
  .van-cab {
    position: absolute;
    left: 0; bottom: 30px;
    width: 92px; height: 112px;
    background: var(--cream);
    border: var(--border);
    border-radius: 14px 6px 6px 6px;
    box-shadow: inset 0 -20px 20px rgba(28,26,22,0.08);
  }
  .van-window {
    position: absolute; left: 10px; top: 10px;
    width: 72px; height: 50px;
    background: linear-gradient(135deg, #8CADC0, #4A6A7A);
    border: 1.5px solid var(--ink);
    border-radius: 10px 3px 3px 3px;
  }
  .van-window::after {
    content: "";
    position: absolute; inset: 2px 18px 2px 2px;
    background: linear-gradient(135deg, transparent 50%, rgba(255,255,255,0.3) 50%);
    border-radius: 8px 0 0 0;
  }
  .van-brand {
    position: absolute;
    left: 112px; top: 42px;
    display: flex; flex-direction: column; gap: 4px;
  }
  .van-brand .brand-word { font-size: 36px; }
  .van-brand .hair { width: 92px; height: 1px; background: var(--terracota); }
  .van-brand .sub { font-size: 9px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-muted); }
  .van-stripe {
    position: absolute; left: 0; right: 0; bottom: 14px; height: 4px;
    background: var(--verde-acid);
    opacity: 0.9;
  }
  .wheel {
    position: absolute; bottom: 10px;
    width: 48px; height: 48px;
    background: #1C1A16;
    border-radius: 50%;
    border: 2px solid var(--ink);
    box-shadow: inset 0 0 0 7px #3A3832;
  }
  .wheel::before {
    content: ""; position: absolute; inset: 10px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #4A4640, #2A2822, #4A4640, #2A2822, #4A4640, #2A2822, #4A4640);
  }
  .wheel.w1 { left: 30px; }
  .wheel.w2 { left: 270px; }
  .act-2.on .van-stage.driving .wheel { animation: spin 0.5s linear infinite; }
  .act-2.on .van-stage.leaving .wheel { animation: spin 0.5s linear infinite; }
  @keyframes spin { to { transform: rotate(360deg); } }

  .exhaust {
    position: absolute; left: 14px; bottom: 32px;
    width: 54px; height: 32px;
    background: radial-gradient(circle, rgba(180,160,130,0.5), transparent 70%);
    filter: blur(4px); opacity: 0;
  }
  .act-2.on .van-stage.driving .exhaust,
  .act-2.on .van-stage.leaving .exhaust { opacity: 1; animation: puff 0.8s ease-in-out infinite alternate; }
  @keyframes puff {
    0% { transform: translateX(0) scale(1); opacity: 0.5; }
    100% { transform: translateX(-20px) scale(1.4); opacity: 0; }
  }
  .van-shadow {
    position: absolute; left: 40px; right: 40px; bottom: 6px;
    height: 12px;
    background: radial-gradient(ellipse, rgba(28,26,22,0.3), transparent 70%);
    filter: blur(3px);
  }

  /* Doorstep */
  .doorstep {
    position: absolute;
    right: 5%; bottom: 16%;
    width: 290px; height: 270px;
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  }
  .act-2.on .doorstep { opacity: 1; transform: translateX(0); transition-delay: 0.4s; }
  .door-frame {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, #EDE2C6, #DFCEA2);
    border: 2px solid var(--ink);
    border-bottom: none;
    border-radius: 8px 8px 0 0;
  }
  .door {
    position: absolute; left: 20px; right: 20px; bottom: 0; top: 20px;
    background: #2E4A22;
    background-image:
      linear-gradient(180deg, rgba(255,255,255,0.08), transparent 20%),
      repeating-linear-gradient(180deg, transparent 0 64px, rgba(0,0,0,0.12) 64px 66px);
    border: 1.5px solid var(--ink);
    border-radius: 4px 4px 0 0;
  }
  .door::before {
    content: "";
    position: absolute; left: 18px; right: 18px; top: 22px; bottom: 86px;
    border: 1.5px solid rgba(0,0,0,0.35);
    border-radius: 2px;
  }
  .door-knob {
    position: absolute; right: 26px; top: 55%;
    width: 11px; height: 11px; border-radius: 50%;
    background: var(--verde-acid);
    box-shadow: 0 0 0 2px var(--ink), 0 1px 2px rgba(0,0,0,0.3);
  }
  .doormat {
    position: absolute;
    right: -22px; bottom: -10px;
    width: 330px; height: 20px;
    background: var(--terracota);
    background-image: repeating-linear-gradient(90deg, transparent 0 3px, rgba(0,0,0,0.18) 3px 4px);
    transform: perspective(200px) rotateX(50deg);
    box-shadow: 0 4px 12px rgba(28,26,22,0.2);
    border: 1px solid var(--ink);
  }

  /* Delivery box on doorstep — tuck-top mailer, closed */
  .delivery-box {
    position: absolute;
    right: 36px; bottom: -4px;
    width: 110px; height: 68px;
    opacity: 0;
    transform: translateY(-20px) scale(0.85);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
    perspective: 400px;
  }
  .act-2.on .delivery-box.placed { opacity: 1; transform: translateY(0) scale(1); transition-delay: 1.4s; }
  .delivery-box .top {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, var(--kraft-face), var(--kraft-face-2) 60%, var(--kraft-side));
    border: 1.5px solid var(--ink);
    border-radius: 3px;
    box-shadow: 0 10px 18px rgba(28,26,22,0.3);
    display: grid; place-items: center;
  }
  .delivery-box .logo-mini {
    font-family: 'Plus Jakarta Sans'; font-weight: 500;
    font-size: 15px; color: var(--ink);
    letter-spacing: -0.02em;
  }
  .delivery-box .logo-mini .dot { display: inline-block; width: 5px; height: 5px; background: var(--verde-acid); border-radius: 50%; margin-left: 1px; }

  .toast {
    position: absolute;
    top: 14%; right: 5%;
    width: 290px;
    background: var(--cream);
    border: var(--border);
    border-radius: 18px;
    padding: 14px 16px;
    box-shadow: 0 6px 0 var(--ink);
    opacity: 0; transform: translateY(-20px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
    z-index: 30;
  }
  .act-2.on .toast.on { opacity: 1; transform: translateY(0); }
  .toast .head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
  .toast .icon {
    width: 24px; height: 24px; border-radius: 6px;
    background: var(--ink);
    display: grid; place-items: center;
    font-family: 'Plus Jakarta Sans'; color: var(--cream); font-weight: 500; font-size: 13px;
    letter-spacing: -0.02em;
    position: relative;
  }
  .toast .icon .d { position: absolute; right: 4px; bottom: 5px; width: 4px; height: 4px; border-radius: 50%; background: var(--verde-acid); }
  .toast .t { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); }
  .toast .msg { font-family: 'Fraunces', serif; font-size: 14px; line-height: 1.4; color: var(--ink); }
  .toast .msg em { color: var(--terracota); }

  .act-2-copy {
    position: absolute;
    left: 6%; top: 22%;
    max-width: 340px;
    z-index: 20;
  }
  .act-2-copy .eyebrow { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 14px; }
  .act-2-copy h2 {
    font-family: 'Fraunces', serif; font-weight: 400;
    font-size: 42px; line-height: 1.05; letter-spacing: -0.02em;
    margin-bottom: 14px; text-wrap: balance;
  }
  .act-2-copy h2 em { color: var(--terracota); }
  .act-2-copy p { font-family: 'Fraunces', serif; font-size: 16px; line-height: 1.5; color: var(--ink-muted); text-wrap: pretty; }

  /* ============================================================
     ACT 3 — UNBOXING (tuck-top mailer, realistic)
     ============================================================ */
  .act-3 {
    background: radial-gradient(ellipse 80% 60% at 50% 35%, #F9F4E8 0%, var(--cream) 45%, #E8DEC6 100%);
    perspective: 2400px;
    perspective-origin: 50% 30%;
  }
  .table-surface {
    position: absolute; left: -10%; right: -10%; bottom: -30vh; height: 60vh;
    background:
      radial-gradient(ellipse 40% 30% at 50% 10%, rgba(28,26,22,0.16), transparent 70%),
      linear-gradient(180deg, #C4A878 0%, #9A7A47 30%, #6A4A1C 100%);
    background-image:
      repeating-linear-gradient(90deg, rgba(28,26,22,0.05) 0 2px, transparent 2px 40px),
      linear-gradient(180deg, #C4A878 0%, #9A7A47 30%, #6A4A1C 100%);
    transform: rotateX(62deg) translateZ(-120px);
    transform-origin: 50% 0;
    pointer-events: none;
    opacity: 0.85;
  }

  .scene-3 {
    position: relative; width: 100%; height: 100vh;
    display: grid; place-items: center;
    transform-style: preserve-3d;
  }
  .composition {
    position: relative;
    width: 860px; height: 540px;
    transform-style: preserve-3d;
  }
  @media (max-width: 820px) {
    .composition { width: 96vw; height: calc(96vw * 0.65); }
  }

  /* ——— BOX v5 — SVG isometric illustration (reliable, editorial) ——— */
  .box-wrap {
    position: absolute;
    left: 50%; top: 55%;
    transform: translate(-50%, -50%);
    width: 560px;
    transition: transform 1.2s var(--ease), opacity 0.9s var(--ease);
  }
  @media (max-width: 820px) { .box-wrap { width: 86vw; } }
  .stage-closed .box-wrap { animation: breathe 6s var(--ease) infinite; }
  @keyframes breathe {
    0%, 100% { transform: translate(-50%, -50%) scale(1.000); }
    50%      { transform: translate(-50%, -50%) scale(1.015); }
  }
  .stage-content .box-wrap, .stage-cta .box-wrap {
    opacity: 0.22;
    transform: translate(-62%, -76%) scale(0.42);
    pointer-events: none;
  }
  .box-svg { width: 100%; height: auto; display: block; overflow: visible; cursor: pointer; }
  .box-svg .breathe-grp { transition: transform 1s var(--ease); transform-origin: 280px 260px; }

  /* Lid pieces */
  .lid-top-outer, .lid-top-inner {
    transform-origin: 280px 150px; /* back hinge, on top-plane */
    transition: transform 1.2s var(--ease);
  }
  .stage-closed .lid-top-outer { transform: rotate(0deg); }
  .stage-open .lid-top-outer, .stage-content .lid-top-outer, .stage-cta .lid-top-outer { transform: rotate(-140deg) translateY(-4px); }
  .lid-top-inner { opacity: 0; transition: opacity 0.4s var(--ease) 0.3s; }
  .stage-open .lid-top-inner, .stage-content .lid-top-inner, .stage-cta .lid-top-inner { opacity: 1; }

  .lid-front {
    transform-origin: 280px 195px;
    transition: transform 1s var(--ease) 0.1s;
  }
  .stage-open .lid-front, .stage-content .lid-front, .stage-cta .lid-front {
    transform: translateY(-8px) rotate(3deg);
    opacity: 0.96;
  }

  .box-interior-reveal { opacity: 0; transition: opacity 0.6s var(--ease) 0.5s; }
  .stage-open .box-interior-reveal, .stage-content .box-interior-reveal, .stage-cta .box-interior-reveal { opacity: 1; }

  .box-seal { transform-origin: 280px 185px; transition: transform 0.8s var(--ease), opacity 0.6s var(--ease); }
  .stage-open .box-seal, .stage-content .box-seal, .stage-cta .box-seal {
    transform: translate(90px, 70px) rotate(35deg) scale(0.85);
    opacity: 0;
  }

  /* Peek of book/bookmark/letter inside box when open but content not yet summoned — keeps it real */

  /* ——— Content stage (reveal items) ——— */
  .contents {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5; /* above box chrome but lower than item hover states */
  }
  .contents > * { pointer-events: auto; }
  .item {
    position: absolute;
    opacity: 0;
    transform: translate3d(0,40px,0) scale(0.92);
    transition: opacity 0.9s var(--ease), transform 1.1s var(--ease);
  }
  .stage-content .item, .stage-cta .item { opacity: 1; transform: translate3d(0,0,0) scale(1); }
  .stage-content .item.book   { transition-delay: 0.15s; }
  .stage-content .item.mark   { transition-delay: 0.45s; }
  .stage-content .item.letter { transition-delay: 0.70s; }

  /* Book — positioned LEFT */
  .book-slot {
    top: 12%; left: 4%;
    width: 240px;
    perspective: 1200px;
    cursor: grab;
    z-index: 3;
  }
  .book-slot:active { cursor: grabbing; }
  .book {
    position: relative;
    width: 240px; height: 346px;
    transform-style: preserve-3d;
    transform: rotateY(-18deg) rotateX(6deg) rotateZ(-4deg);
    transition: transform 0.4s var(--ease);
  }
  .book-slot:hover .book { transform: rotateY(-18deg) rotateX(6deg) rotateZ(-4deg) translateY(-10px); }
  .book .cover, .book .back-cover, .book .pages-edge, .book .spine {
    position: absolute; top: 0; left: 0;
    width: 240px; height: 346px;
    backface-visibility: hidden;
  }
  .book .cover {
    background: var(--book-cover); color: var(--book-cover-text);
    transform: translateZ(12px);
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.15), inset 0 -80px 120px rgba(0,0,0,0.18), 8px 16px 32px rgba(28,26,22,0.22);
    padding: 26px 22px;
    display: flex; flex-direction: column; justify-content: space-between;
    border-radius: 1px 4px 4px 1px;
  }
  .book .cover .hair-top, .book .cover .hair-bot { height: 1px; background: currentColor; opacity: 0.5; }
  .book .cover .publisher { font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.75; font-weight: 500; }
  .book .cover h2 { font-family: 'Fraunces', serif; font-weight: 400; font-style: italic; font-size: 36px; line-height: 0.95; letter-spacing: -0.015em; }
  .book .cover .author { font-family: 'Fraunces', serif; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.9; }
  .book .cover .mono { font-family: 'Fraunces', serif; font-weight: 500; font-size: 40px; font-style: italic; line-height: 1; letter-spacing: -0.02em; }
  .book .back-cover { transform: rotateY(180deg) translateZ(12px); background: var(--book-cover); filter: brightness(0.92); }
  .book .pages-edge { width: 24px; height: 346px; transform: rotateY(90deg) translateZ(228px); background: repeating-linear-gradient(180deg, #F4EEDF 0 2px, #E6DDC3 2px 3px); left: 0; }
  .book .pages-edge.top { width: 240px; height: 24px; transform: rotateX(90deg) translateZ(12px); top: 0; }
  .book .pages-edge.bottom { width: 240px; height: 24px; transform: rotateX(-90deg) translateZ(334px); top: 0; }
  .book .spine {
    width: 24px; height: 346px;
    transform: rotateY(-90deg) translateZ(12px); left: 0;
    background: var(--book-cover); filter: brightness(0.78);
    display: flex; flex-direction: column; justify-content: space-between;
    align-items: center; padding: 22px 0;
    color: var(--book-cover-text);
    writing-mode: vertical-rl; text-orientation: mixed;
  }
  .book .spine .title { font-family: 'Fraunces', serif; font-style: italic; font-size: 13px; letter-spacing: 0.02em; }
  .book .spine .pub { font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.8; }

  .book-tooltip {
    position: absolute;
    bottom: -64px; left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: var(--cream);
    padding: 10px 14px;
    border: var(--border); border-radius: 12px;
    min-width: 220px; text-align: left;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    font-size: 13px; color: var(--ink);
    box-shadow: 0 6px 0 var(--ink);
  }
  .book-slot:hover .book-tooltip { opacity: 1; transform: translateX(-50%) translateY(0); }
  .book-tooltip .t { font-family: 'Fraunces', serif; font-style: italic; font-size: 17px; color: var(--terracota); margin-bottom: 2px; }
  .book-tooltip .a { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); }

  /* Bookmark — RIGHT */
  .mark-slot {
    top: 10%; right: 8%;
    width: 60px;
    cursor: pointer;
    transition: transform 0.4s var(--ease);
    z-index: 3;
  }
  .mark-slot:hover { transform: rotate(5deg) translateY(-4px); }
  .bookmark {
    width: 60px; height: 270px;
    background: var(--terracota);
    color: var(--cream);
    padding: 18px 8px 14px;
    display: flex; flex-direction: column; justify-content: space-between; align-items: center;
    position: relative;
    box-shadow: 4px 8px 20px rgba(28,26,22,0.2);
    transform: rotate(6deg);
    overflow: hidden;
  }
  .bookmark::after {
    content: ""; position: absolute; bottom: -12px; left: 0; right: 0; height: 12px;
    background:
      linear-gradient(135deg, transparent 50%, var(--terracota) 50%) 0 0 / 12px 12px,
      linear-gradient(225deg, transparent 50%, var(--terracota) 50%) 12px 0 / 12px 12px;
    background-repeat: repeat-x;
    filter: brightness(0.92);
  }
  .bookmark .top-hole { width: 8px; height: 8px; border-radius: 50%; background: var(--cream); opacity: 0.4; }
  .bookmark .glyph { width: 40px; height: 40px; }
  .bookmark .sig { font-family: 'Fraunces', serif; font-style: italic; font-size: 13px; letter-spacing: 0.02em; transform: rotate(-2deg); }
  .bookmark .num { font-family: 'Fraunces', serif; font-size: 10px; letter-spacing: 0.18em; opacity: 0.7; writing-mode: vertical-rl; text-orientation: mixed; position: absolute; top: 80px; left: 4px; text-transform: uppercase; }
  .mark-tooltip {
    position: absolute; top: 0; right: 80px;
    background: var(--cream);
    padding: 10px 14px;
    border: var(--border); border-radius: 12px;
    box-shadow: 0 6px 0 var(--ink);
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    transform: translateX(6px);
    white-space: nowrap;
  }
  .mark-slot:hover .mark-tooltip { opacity: 1; transform: translateX(0); }
  .mark-tooltip .l { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 2px; }
  .mark-tooltip .n { font-family: 'Fraunces', serif; font-style: italic; font-size: 15px; color: var(--ink); }

  .bookmark.shimmer-on::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,0.55) 50%, transparent 70%);
    animation: shimmer 1.1s ease forwards;
  }
  @keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

  /* Letter — BELOW the box, lower-right area (so it doesn't overlap book or box) */
  .letter-slot {
    bottom: 4%;
    right: 6%;
    width: 300px;
    cursor: pointer;
    transform-origin: top right;
    z-index: 4;
  }
  .letter {
    width: 300px;
    background: var(--cream);
    padding: 20px 24px 22px;
    border: var(--border);
    border-radius: 6px;
    transform: rotate(3deg);
    box-shadow: 0 1px 0 rgba(28,26,22,0.04), 6px 14px 36px rgba(28,26,22,0.14);
    position: relative;
    max-height: 170px;
    overflow: hidden;
    transition: max-height 0.8s var(--ease), transform 0.5s var(--ease);
  }
  .letter-slot:hover .letter { max-height: 230px; transform: rotate(3deg) translateY(-4px); }
  .letter.expanded { max-height: 580px !important; transform: rotate(0.5deg) translateY(-8px) scale(1.04) !important; }
  .letter .head {
    display: flex; justify-content: space-between; align-items: baseline;
    font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--ink-muted);
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(28,26,22,0.12);
    margin-bottom: 14px;
  }
  .letter .head .r { font-family: 'Fraunces', serif; letter-spacing: 0; text-transform: none; font-style: italic; font-size: 13px; color: var(--terracota); }
  .letter p { font-family: 'Fraunces', serif; font-size: 13px; line-height: 1.55; color: var(--ink); margin-bottom: 8px; text-wrap: pretty; }
  .letter p.dropcap::first-letter { font-family: 'Fraunces', serif; font-style: italic; font-size: 38px; float: left; line-height: 0.9; padding: 4px 6px 0 0; color: var(--terracota); }
  .letter .signoff { font-family: 'Fraunces', serif; font-style: italic; font-size: 14px; color: var(--terracota); margin-top: 10px; }
  .letter .fade { position: absolute; bottom: 0; left: 0; right: 0; height: 36px; background: linear-gradient(180deg, transparent, var(--cream) 70%); pointer-events: none; transition: opacity 0.4s; }
  .letter.expanded .fade { opacity: 0; }

  .item .shadow {
    position: absolute; bottom: -24px; left: 50%;
    width: 80%; height: 20px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse, rgba(28,26,22,0.22), transparent 70%);
    filter: blur(6px);
    z-index: -1;
  }

  .hint {
    position: absolute;
    left: 50%; bottom: 8%;
    transform: translateX(-50%);
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-size: 15px;
    color: var(--ink-muted);
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    transition: opacity 0.6s var(--ease);
    pointer-events: none;
  }
  .hint .arrow { width: 1px; height: 26px; background: var(--ink-muted); opacity: 0.45; animation: pulseArrow 2.4s var(--ease) infinite; }
  @keyframes pulseArrow { 0%, 100% { transform: scaleY(0.5); transform-origin: top; opacity: 0.3; } 50% { transform: scaleY(1); opacity: 0.6; } }
  .stage-open .hint, .stage-content .hint, .stage-cta .hint { opacity: 0; }

  /* CTA */
  .cta {
    position: fixed; inset: 0;
    background: rgba(245,240,230,0.92);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    display: grid; place-items: center;
    z-index: 90;
    opacity: 0; pointer-events: none;
    transition: opacity 0.8s var(--ease);
  }
  .cta.on { opacity: 1; pointer-events: auto; }
  .cta-card { max-width: 620px; text-align: center; padding: 48px; transform: translateY(20px); transition: transform 0.8s var(--ease); }
  .cta.on .cta-card { transform: translateY(0); }
  .cta-card .ornament { width: 40px; height: 1px; background: var(--terracota); margin: 0 auto 28px; }
  .cta-card h1 {
    font-family: 'Fraunces', serif; font-weight: 400;
    font-size: 52px; line-height: 1.05; letter-spacing: -0.02em;
    color: var(--ink); margin-bottom: 18px; text-wrap: balance;
  }
  .cta-card p {
    font-size: 16px; line-height: 1.55;
    color: var(--ink-muted); margin-bottom: 32px;
    max-width: 44ch; margin-left: auto; margin-right: auto; text-wrap: pretty;
  }
  .cta-card .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
  .cta-card .fine { margin-top: 22px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); opacity: 0.8; }

  /* Bottom nav */
  .progress {
    position: fixed; right: 28px; bottom: 28px;
    display: flex; gap: 10px; z-index: 110;
  }
  .progress .dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: transparent;
    border: 1.5px solid var(--ink);
    opacity: 0.55;
    cursor: pointer;
    transition: background 0.3s, opacity 0.3s, transform 0.3s;
  }
  .progress .dot.active { background: var(--ink); opacity: 1; transform: scale(1.15); }
  .progress .dot.done { background: var(--verde-acid); opacity: 1; }

  .chrome-bot {
    position: fixed; left: 28px; bottom: 24px;
    z-index: 110;
    display: flex; gap: 10px; align-items: center;
  }
  .chrome-bot .sub { font-family: 'Fraunces', serif; font-style: italic; font-size: 13px; color: var(--ink-muted); margin-left: 6px; }

  /* Tweaks */
  .tweaks {
    position: fixed; right: 22px; top: 72px;
    width: 260px;
    background: var(--cream);
    border: var(--border);
    border-radius: 18px;
    padding: 20px;
    z-index: 120;
    box-shadow: 0 8px 0 var(--ink);
    display: none;
    font-size: 12px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
  }
  .tweaks.on { display: block; }
  .tweaks h3 { font-family: 'Fraunces', serif; font-weight: 500; font-size: 16px; margin-bottom: 14px; color: var(--ink); }
  .tweaks .row { margin-bottom: 14px; }
  .tweaks .row label { display: block; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 6px; }
  .tweaks .swatches { display: flex; gap: 6px; flex-wrap: wrap; }
  .tweaks .sw { width: 22px; height: 22px; border: 1px solid rgba(28,26,22,0.2); cursor: pointer; position: relative; border-radius: 4px; }
  .tweaks .sw.sel::after { content: ""; position: absolute; inset: -4px; border: 1.5px solid var(--ink); border-radius: 7px; }
  .tweaks input[type=text] {
    width: 100%;
    border: 1.5px solid var(--ink); border-radius: 10px;
    background: var(--cream); padding: 8px 10px;
    font: inherit; font-size: 12px; color: var(--ink);
  }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      transition-duration: 0.2s !important;
    }
  }

  @media (max-width: 820px) {
    .subscribe-stage { grid-template-columns: 1fr; gap: 30px; padding: 80px 20px 40px; }
    .subscribe-copy { text-align: left; }
    .subscribe-copy h2 { font-size: 32px; }
    .subscribe-copy .hair { margin: 14px 0; }
    .phone-right-copy { display: none; }
    .phone { margin: 0 auto; width: 260px; height: 540px; }
    .van-stage { width: 280px; height: 160px; bottom: 20%; }
    .van-body { width: 190px; height: 100px; left: 40px; bottom: 24px; }
    .van-cab { width: 60px; height: 80px; bottom: 24px; }
    .van-window { width: 46px; height: 34px; }
    .van-brand { left: 78px; top: 28px; }
    .van-brand .brand-word { font-size: 24px; }
    .van-brand .hair { width: 54px; }
    .van-brand .sub { font-size: 7px; }
    .wheel { width: 32px; height: 32px; }
    .wheel.w1 { left: 20px; }
    .wheel.w2 { left: 180px; }
    .doorstep { width: 180px; height: 170px; right: 2%; bottom: 20%; }
    .doormat { width: 220px; right: -20px; }
    .delivery-box { width: 80px; height: 48px; right: 20px; }
    .delivery-box .logo-mini { font-size: 11px; }
    .act-2-copy { left: 4%; top: 12%; max-width: 260px; }
    .act-2-copy h2 { font-size: 28px; }
    .toast { width: 220px; top: auto; bottom: 60%; right: 4%; }
    .chrome-top { padding: 14px 16px; }
    .chrome-bot { left: 14px; bottom: 14px; }
    .chrome-bot .sub { display: none; }
    .progress { right: 14px; bottom: 14px; }
    .book-slot { top: 8%; left: 2%; width: 150px; }
    .book-slot, .book, .book .cover, .book .back-cover { width: 150px !important; }
    .book, .book .cover, .book .back-cover { height: 216px !important; }
    .book .pages-edge { height: 216px; }
    .book .pages-edge.top, .book .pages-edge.bottom { width: 150px; }
    .book .cover h2 { font-size: 22px; }
    .book .spine { height: 216px; }
    .mark-slot { top: 8%; right: 4%; }
    .letter-slot { width: 220px; right: 4%; }
    .letter { width: 220px; padding: 16px 18px; }
    .cta-card { padding: 28px; }
    .cta-card h1 { font-size: 30px; }
  }


/* Hide the Claude Design top chrome — plugin header already shown */
.readify-page-unboxing .chrome-top { display: none !important; }
/* The acts are position:fixed inset:0 — offset them below the plugin's fixed nav (~70px tall) */
.readify-page-unboxing .act { top: 72px; bottom: 0; left: 0; right: 0; inset: auto; }
.readify-page-unboxing { min-height: 100vh; }
/* Keep the bottom progress indicator visible above any act content */
.readify-page-unboxing .progress { z-index: 90; }
