/* Lilrose case study: soft paper, watercolour washes, felt colours.
   Scoped to .dz-lr so nothing reaches the site chrome. */
.dz-lr {
  --paper: #ffffff;
  --paper-2: #f4f4f4;
  --pink: #d69495;
  --pink-deep: #b86f71;
  --teal: #8bb6bd;
  --teal-deep: #5e9099;
  --sun: #e9b44c;
  --ink: #3d3536;
  --ink-2: #6f6466;
  --rule: rgba(61, 53, 54, .1);
  --shadow: 0 1px 2px rgba(61, 53, 54, .06), 0 30px 60px -28px rgba(120, 70, 72, .45);
  --gutter: clamp(16px, 5vw, 64px);
  --r: 28px;
  background: var(--paper);
  color: var(--ink);
  font-family: "Nunito", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  overflow: hidden;
}
.dz-lr *, .dz-lr *::before, .dz-lr *::after { box-sizing: border-box; }
.dz-lr img { display: block; max-width: 100%; height: auto; }
.dz-lr p { margin: 0 0 1em; }
.dz-lr .lr-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); position: relative; z-index: 1; }
.dz-lr .lr-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* type */
.dz-lr .lr-title, .dz-lr .lr-h2, .dz-lr .lr-word, .dz-lr h3 {
  font-family: "Quicksand", "Nunito", sans-serif;
  color: var(--ink);
  letter-spacing: -.01em;
}
.dz-lr .lr-title { font-weight: 400; font-size: clamp(36px, 5.6vw, 64px); line-height: 1.08; margin: 0 0 .5em; }
.dz-lr .lr-h2 { font-weight: 400; font-size: clamp(30px, 4vw, 46px); line-height: 1.12; margin: 0 0 .6em; }
.dz-lr em { font-style: normal; color: var(--pink-deep); }
.dz-lr .lr-kicker { font-family: "Quicksand", sans-serif; font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 1.1em; }
.dz-lr .lr-lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); max-width: 34em; }

/* hero */
.dz-lr .lr-hero { position: relative; padding: clamp(28px, 5vw, 48px) 0 clamp(56px, 8vw, 110px); background: var(--paper-2); }
.dz-lr .lr-strip { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; font-size: 13px; color: var(--ink-2); padding-bottom: clamp(28px, 5vw, 56px); }
.dz-lr .lr-brand { font-weight: 700; color: var(--ink); }
.dz-lr .lr-soon { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 99px; background: #fff; color: var(--pink-deep); font-weight: 700; box-shadow: 0 6px 18px -10px rgba(184, 111, 113, .7); }
.dz-lr .lr-soon i { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); animation: lr-pulse 2.4s ease-in-out infinite; }
@keyframes lr-pulse { 50% { transform: scale(1.6); opacity: .45; } }
.dz-lr .lr-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.dz-lr .lr-word { font-weight: 300; font-size: clamp(54px, 7vw, 86px); line-height: 1; margin: 0 0 .25em; color: var(--ink); display: inline-flex; align-items: baseline; }
.dz-lr .lr-word-heart { width: .78em; height: .7em; color: var(--pink); margin: 0 .02em; transform: translateY(.06em); }
.dz-lr .lr-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 1.6em 0 0; }
.dz-lr .lr-chips li { padding: 8px 16px; border-radius: 99px; background: #fff; font-size: 14px; font-weight: 600; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--rule); }

/* watercolour washes */
.dz-lr .lr-blob { position: absolute; border-radius: 50%; filter: url(#lr-wash) blur(10px); opacity: .55; pointer-events: none; z-index: 0; }
.dz-lr .lr-blob-pink { width: 520px; height: 460px; left: -140px; top: 60px; background: radial-gradient(circle at 45% 45%, rgba(214, 148, 149, .9), rgba(214, 148, 149, 0) 70%); }
.dz-lr .lr-blob-teal { width: 600px; height: 520px; right: -160px; bottom: -120px; background: radial-gradient(circle at 50% 50%, rgba(139, 182, 189, .9), rgba(139, 182, 189, 0) 70%); }
.dz-lr .lr-blob-sun { width: 340px; height: 300px; right: 30%; top: -80px; background: radial-gradient(circle, rgba(233, 180, 76, .55), rgba(233, 180, 76, 0) 70%); }

/* phones */
.dz-lr .lr-phone { margin: 0; position: relative; padding: 9px; background: #fff; border-radius: 40px; box-shadow: var(--shadow); }
.dz-lr .lr-phone img { border-radius: 32px; width: 100%; }
.dz-lr .lr-hero-phones { position: relative; display: grid; grid-template-columns: 1fr 1.2fr 1fr; align-items: center; }
.dz-lr .lr-phone-front { z-index: 2; }
.dz-lr .lr-phone-back { z-index: 1; opacity: .96; }
.dz-lr .lr-tilt-l { transform: translateX(22%) rotate(-6deg) scale(.9); }
.dz-lr .lr-tilt-r { transform: translateX(-22%) rotate(6deg) scale(.9); }
.dz-lr .lr-phone-solo { max-width: 330px; justify-self: center; }

/* bands */
.dz-lr .lr-band { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.dz-lr .lr-paper { background: var(--paper-2); }
.dz-lr .lr-two { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.dz-lr .lr-two > div > p { color: var(--ink-2); max-width: 32em; }

/* tools */
.dz-lr .lr-tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 2em; }
.dz-lr .lr-tool { background: var(--paper-2); border-radius: var(--r); padding: 26px 24px 20px; position: relative; overflow: hidden; }
.dz-lr .lr-tool h3 { font-weight: 600; font-size: 20px; margin: 14px 0 6px; }
.dz-lr .lr-tool p { color: var(--ink-2); font-size: 15px; margin: 0; }
.dz-lr .lr-dot { display: block; width: 46px; height: 46px; border-radius: 50%; background: var(--c); box-shadow: inset -6px -8px 0 rgba(0, 0, 0, .08), 0 8px 18px -8px var(--c); }
.dz-lr .lr-tool::after { content: ""; position: absolute; width: 160px; height: 160px; right: -60px; top: -60px; border-radius: 50%; background: radial-gradient(circle, var(--wash, rgba(214, 148, 149, .18)), transparent 70%); transition: transform .6s ease; }
.dz-lr .lr-tool:hover::after { transform: scale(1.5); }

/* colour reveal */
.dz-lr .lr-reveal { justify-self: center; width: min(330px, 100%); }
.dz-lr .lr-reveal .lr-phone-solo { max-width: none; width: 100%; }
.dz-lr .lr-reveal-phone { overflow: hidden; touch-action: pan-y; cursor: ew-resize; }
.dz-lr .lr-reveal-phone img { user-select: none; -webkit-user-drag: none; }
.dz-lr .lr-reveal-grey { filter: grayscale(1) brightness(1.08) contrast(.85); }
.dz-lr .lr-reveal-area { position: absolute; inset: 9px; border-radius: 32px; overflow: hidden; }
.dz-lr .lr-reveal-colour { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0 !important; clip-path: inset(0 calc(100% - var(--p)) 0 0); }
.dz-lr .lr-reveal-handle { position: absolute; top: 50%; left: var(--p); width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: #fff; color: var(--pink-deep); display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(61, 53, 54, .5); pointer-events: none; }
.dz-lr .lr-reveal-handle::before { content: ""; position: absolute; left: 50%; top: -2000px; bottom: -2000px; width: 2px; margin-left: -1px; background: rgba(255, 255, 255, .85); z-index: -1; }
.dz-lr .lr-reveal-handle svg { width: 26px; height: 26px; }
.dz-lr .lr-reveal-range { width: 100%; margin-top: 18px; accent-color: var(--pink); }
.dz-lr .lr-try { font-weight: 700; color: var(--teal-deep); }
.dz-lr.lr-no-js .lr-reveal-colour { clip-path: none; }
.dz-lr.lr-no-js .lr-reveal-handle, .dz-lr.lr-no-js .lr-reveal-range, .dz-lr.lr-no-js .lr-try { display: none; }

/* gallery rail */
.dz-lr .lr-rail { display: flex; gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 30px var(--gutter) 40px; scrollbar-width: thin; }
.dz-lr .lr-rail .lr-phone { flex: 0 0 clamp(220px, 26vw, 280px); scroll-snap-align: center; }
.dz-lr .lr-rail figcaption { font-size: 14px; color: var(--ink-2); text-align: center; padding: 14px 6px 4px; }
.dz-lr .lr-rail:focus-visible { outline: 2px solid var(--teal); outline-offset: -6px; }

/* rules */
.dz-lr .lr-rules { list-style: none; padding: 0; margin: 1.6em 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.dz-lr .lr-rules li { background: #fff; border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.dz-lr .lr-rules b { font-family: "Quicksand", sans-serif; font-weight: 600; font-size: 19px; }
.dz-lr .lr-rules span { color: var(--ink-2); font-size: 15px; }

/* next */
.dz-lr .lr-next { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(28px, 5vw, 70px); align-items: end; }
.dz-lr .lr-next > div > p { color: var(--ink-2); max-width: 34em; }
.dz-lr .lr-stack { display: flex; flex-wrap: wrap; gap: 8px; }
.dz-lr .lr-stack span { font-size: 13px; font-weight: 700; color: var(--teal-deep); background: rgba(139, 182, 189, .16); padding: 6px 12px; border-radius: 99px; }
.dz-lr .lr-cta { background: var(--paper-2); border-radius: var(--r); padding: 30px; }
.dz-lr .lr-cta p { color: var(--ink-2); }
.dz-lr .lr-btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border-radius: 99px; background: var(--pink); color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 6px 0 var(--pink-deep), 0 16px 30px -14px rgba(184, 111, 113, .9); transition: transform .15s ease, box-shadow .15s ease; }
.dz-lr .lr-btn:hover { transform: translateY(2px); box-shadow: 0 4px 0 var(--pink-deep), 0 12px 24px -14px rgba(184, 111, 113, .9); color: #fff; }
.dz-lr .lr-btn:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.dz-lr .lr-btn svg { width: 18px; height: 18px; }

/* small screens */
@media (max-width: 900px) {
  .dz-lr .lr-hero-grid, .dz-lr .lr-two, .dz-lr .lr-next { grid-template-columns: 1fr; }
  .dz-lr .lr-two-flip > :first-child { order: 0; }
  .dz-lr .lr-tools { grid-template-columns: repeat(2, 1fr); }
  .dz-lr .lr-rules { grid-template-columns: repeat(2, 1fr); }
  .dz-lr .lr-hero-phones { max-width: 520px; margin: 0 auto; }
}
@media (max-width: 560px) {
  .dz-lr .lr-tools, .dz-lr .lr-rules { grid-template-columns: 1fr; }
  .dz-lr .lr-soon { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .dz-lr .lr-soon i { animation: none; }
  .dz-lr .lr-tool::after, .dz-lr .lr-btn { transition: none; }
}
