/* =========================================================================
   Tiger hero — "Soft heart. Sharp claws."
   Old-Hollywood triptych, faded-film grade, slow dream haze, shoppable glints.
   Desktop ≥1024: portrait · loop · tiger. Tablet: loop · tiger. Phone: the loop, full bleed.
   ========================================================================= */
.cjc-tiger {
  --tg-ink: #0f0a0d;
  --tg-wine: #3a0f18;
  --tg-ivory: #F3EBE6;
  --tg-rose: #EBC3C9;
  --tg-gilt: #b99a63;
  --tg-ease: cubic-bezier(.25, .1, .25, 1);
  position: relative; isolation: isolate; overflow: hidden;
  height: clamp(680px, calc(100svh - 36px), 1080px); /* the announcement bar sits above it */
  background: var(--tg-ink); color: var(--tg-ivory);
}
.cjc-tiger * { box-sizing: border-box; }

/* -- the reel: three frames split by gilt hairlines (the sofa's carved frame) -- */
.cjc-tiger__reel {
  position: absolute; inset: 0; z-index: 0;
  display: grid; grid-template-columns: 1fr 1.14fr 1fr; gap: 1px;
  background: linear-gradient(180deg, rgba(185,154,99,.15), rgba(185,154,99,.75) 45%, rgba(185,154,99,.2));
}
.cjc-tiger__panel { position: relative; margin: 0; overflow: hidden; container-type: size; background: var(--tg-ink); }
/* a 9:16 frame that always covers its panel and keeps faces in view (crops from the bottom first) */
/* fallback (no container-query units, e.g. older iOS in-app browsers): plain cover, faces kept high */
.cjc-tiger__frame { position: absolute; inset: 0; transform-origin: 50% 35%; }
@supports (width: 1cqw) {
  .cjc-tiger__frame {
    --fw: max(100cqw, 100cqh * .5625);
    --fh: max(100cqh, 100cqw * 1.7778);
    inset: auto; width: var(--fw); height: var(--fh);
    left: calc((100cqw - var(--fw)) / 2);
    top: calc((100cqh - var(--fh)) * .28);
  }
}
.cjc-tiger__frame > img, .cjc-tiger__frame > video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; display: block;
  filter: saturate(.9) contrast(1.04) sepia(.08) brightness(.96);
}
.cjc-tiger__panel--b .cjc-tiger__frame > video { filter: saturate(.92) contrast(1.05) sepia(.06) brightness(.98); }

/* -- grade: lifted blacks (faded print), warm dream haze, vignette + floor for the title -- */
.cjc-tiger__fade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: #23121a; mix-blend-mode: lighten; opacity: .85; }
.cjc-tiger__haze {
  position: absolute; inset: -10%; z-index: 1; pointer-events: none; mix-blend-mode: screen; opacity: .9;
  background:
    radial-gradient(38% 30% at 18% 6%, rgba(255, 205, 180, .22), transparent 70%),
    radial-gradient(34% 28% at 84% 12%, rgba(235, 160, 175, .20), transparent 70%),
    radial-gradient(60% 40% at 50% 110%, rgba(150, 30, 50, .28), transparent 70%);
  animation: cjc-tiger-haze 22s var(--tg-ease) infinite alternate, cjc-tiger-flicker 7s steps(1) infinite;
}
.cjc-tiger__shade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(15,10,13,.62) 0%, rgba(15,10,13,0) 20%, rgba(15,10,13,0) 42%, rgba(15,10,13,.72) 70%, rgba(15,10,13,.94) 100%),
    radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(15,10,13,.55) 100%);
}
/* grain, slightly alive */
.cjc-tiger::after {
  content: ""; position: absolute; inset: -50%; z-index: 2; pointer-events: none; opacity: .2; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: cjc-tiger-grain .9s steps(4) infinite;
}

/* -- copy: a title card -------------------------------------------------- */
.cjc-tiger__copy {
  position: absolute; z-index: 3; left: 50%; bottom: clamp(56px, 8vh, 92px); transform: translateX(-50%);
  width: min(980px, calc(100% - 48px)); text-align: center;
}
.cjc-tiger__kicker {
  margin: 0 0 18px; font: italic 400 19px/1 var(--cjc-font-serif, 'Cormorant Garamond', serif); letter-spacing: .14em;
  color: rgba(243,235,230,.78); text-shadow: 0 1px 14px rgba(0,0,0,.5);
}
.cjc-tiger__title {
  margin: 0; font-family: var(--cjc-font-serif, 'Cormorant Garamond', serif); font-weight: 400;
  font-size: clamp(54px, 7.4vw, 120px); line-height: .9; letter-spacing: -.01em; color: var(--tg-ivory);
  text-shadow: 0 2px 30px rgba(0,0,0,.45), 0 0 60px rgba(255, 210, 200, .12);
  text-wrap: balance;
}
.cjc-tiger__line { display: inline-block; }
.cjc-tiger__line--claws {
  font-style: italic; padding-right: .06em;
  background: linear-gradient(100deg, #e9c5cb 0%, #fff6f2 22%, #c9cdd3 38%, #f6e3e6 52%, #e2b4bc 70%, #fffaf7 86%, #e9c5cb 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: cjc-tiger-sheen 9s linear infinite;
  text-shadow: none; filter: drop-shadow(0 2px 22px rgba(0,0,0,.4));
}
.cjc-tiger__lede {
  margin: 20px auto 0; max-width: 34em;
  font: italic 400 clamp(18px, 1.55vw, 23px)/1.4 var(--cjc-font-serif, 'Cormorant Garamond', serif); color: rgba(243,235,230,.88);
  text-shadow: 0 1px 16px rgba(0,0,0,.55);
}
.cjc-tiger__actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 14px 30px; margin-top: 30px; }
.cjc-tiger__btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 34px; border-radius: 10px;
  background: var(--cjc-cherry, #9B2A3A); color: var(--tg-ivory) !important; text-decoration: none !important;
  font: 500 16px/1 var(--cjc-font-sans, 'Jost', sans-serif); letter-spacing: .02em;
  box-shadow: 0 24px 50px -22px rgba(155,42,58,.9), inset 0 0 0 1px rgba(255,255,255,.08);
  transition: background-color .6s var(--tg-ease), transform .6s var(--tg-ease), box-shadow .6s var(--tg-ease);
}
.cjc-tiger__btn:hover { background: var(--cjc-cherry-deep, #7d1f2d); transform: translateY(-2px); box-shadow: 0 30px 60px -22px rgba(155,42,58,1), inset 0 0 0 1px rgba(255,255,255,.12); }
.cjc-tiger__link {
  color: var(--tg-ivory) !important; text-decoration: none !important; font: 400 16px/1 var(--cjc-font-sans, 'Jost', sans-serif);
  padding-bottom: 6px; border-bottom: 1px solid rgba(201,205,211,.7); transition: border-color .5s var(--tg-ease), color .5s var(--tg-ease);
}
.cjc-tiger__link:hover { color: var(--tg-rose) !important; border-color: var(--tg-rose); }

/* -- shoppable glints on the jewelry ------------------------------------ */
.cjc-tiger__glint { position: absolute; z-index: 4; left: calc(var(--x) * 100%); top: calc(var(--y) * 100%); width: 0; height: 0; }
.cjc-tiger__dot {
  position: absolute; left: -17px; top: -17px; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: transparent; -webkit-tap-highlight-color: transparent;
}
.cjc-tiger__dot::before { /* the stone: a sterling ring with a bright centre */
  content: ""; position: absolute; inset: 9px; border-radius: 50%;
  background: radial-gradient(circle, #fff 0 28%, rgba(255,255,255,.35) 30% 55%, transparent 58%);
  box-shadow: 0 0 0 1.5px rgba(255,255,255,.9), 0 0 18px 2px rgba(255,255,255,.55);
  transition: transform .5s var(--tg-ease);
}
.cjc-tiger__dot::after { /* a four-point glint that breathes */
  content: ""; position: absolute; inset: -6px; pointer-events: none;
  background:
    linear-gradient(90deg, transparent 47%, rgba(255,255,255,.95) 50%, transparent 53%) center / 100% 2px no-repeat,
    linear-gradient(0deg, transparent 47%, rgba(255,255,255,.95) 50%, transparent 53%) center / 2px 100% no-repeat;
  filter: drop-shadow(0 0 4px #fff); opacity: 0; transform: scale(.4) rotate(0deg);
  animation: cjc-tiger-twinkle 4.8s var(--tg-ease) infinite; animation-delay: var(--d, 0s);
}
.cjc-tiger__glint[data-tiger-glint="bracelet"] { --d: 1.6s; }
.cjc-tiger__glint[data-tiger-glint="pendant"] { --d: 3.2s; }
.cjc-tiger__dot:hover::before, .cjc-tiger__glint.is-open .cjc-tiger__dot::before { transform: scale(1.25); }
.cjc-tiger__dot:focus-visible { outline: 2px solid var(--tg-rose); outline-offset: 2px; }

.cjc-tiger__card {
  position: absolute; top: -32px; display: flex; align-items: center; gap: 12px; width: max-content; max-width: 300px;
  padding: 8px 14px 8px 8px; border-radius: 12px; text-decoration: none !important;
  background: rgba(243,235,230,.94); color: var(--cjc-ink, #1E1A24) !important;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 24px 50px -20px rgba(0,0,0,.65), inset 0 0 0 1px rgba(255,255,255,.6);
  opacity: 0; visibility: hidden; transform: translateY(6px) scale(.97);
  transition: opacity .45s var(--tg-ease), transform .45s var(--tg-ease), visibility 0s linear .45s;
}
.cjc-tiger__glint--right .cjc-tiger__card { left: 26px; transform-origin: 0 50%; }
.cjc-tiger__glint--left .cjc-tiger__card { right: 26px; transform-origin: 100% 50%; }
.cjc-tiger__glint--below .cjc-tiger__card { top: 26px; left: 0; translate: -50% 0; transform-origin: 50% 0; }
.cjc-tiger__glint.is-open .cjc-tiger__card, .cjc-tiger__glint:hover .cjc-tiger__card, .cjc-tiger__glint:focus-within .cjc-tiger__card {
  opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
.cjc-tiger__card img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; flex: none; }
.cjc-tiger__cardtxt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cjc-tiger__cardname { font: 500 14px/1.15 var(--cjc-font-sans, 'Jost', sans-serif); white-space: nowrap; }
.cjc-tiger__cardprice { font: 500 17px/1 var(--cjc-font-serif, 'Cormorant Garamond', serif); color: var(--cjc-mauve, #6B6270); }
.cjc-tiger__cardprice :is(.amount, bdi) { color: inherit; font: inherit; }
.cjc-tiger__cardprice del { opacity: .55; margin-right: 4px; }
.cjc-tiger__cardgo {
  margin-left: 4px; padding: 7px 12px; border-radius: 999px; background: var(--cjc-cherry, #9B2A3A); color: var(--tg-ivory);
  font: 500 12px/1 var(--cjc-font-sans, 'Jost', sans-serif); letter-spacing: .06em;
}

/* "She's wearing" chips: phones and tablets only (desktop has the glints) */
.cjc-tiger__wear { display: none; }

/* -- entrance: the frames develop, then the title card -------------------- */
@media (prefers-reduced-motion: no-preference) {
  .cjc-tiger__panel { animation: cjc-tiger-develop 1.8s var(--tg-ease) both; }
  .cjc-tiger__panel--a { animation-delay: .05s; }
  .cjc-tiger__panel--b { animation-delay: .3s; }
  .cjc-tiger__panel--c { animation-delay: .55s; }
  .cjc-tiger__frame { animation: cjc-tiger-push 26s var(--tg-ease) infinite alternate; }
  .cjc-tiger__panel--b .cjc-tiger__frame { animation-duration: 34s; animation-direction: alternate-reverse; }
  .cjc-tiger__kicker, .cjc-tiger__title, .cjc-tiger__lede, .cjc-tiger__actions, .cjc-tiger__wear { animation: cjc-tiger-rise 1.4s var(--tg-ease) both; }
  .cjc-tiger__kicker { animation-delay: .7s; }
  .cjc-tiger__title { animation-delay: .85s; }
  .cjc-tiger__lede { animation-delay: 1.15s; }
  .cjc-tiger__actions { animation-delay: 1.35s; }
  .cjc-tiger__wear { animation-delay: 1.55s; }
}
@keyframes cjc-tiger-develop { from { opacity: 0; filter: brightness(1.8) blur(6px); } 60% { filter: brightness(1.15) blur(1px); } to { opacity: 1; filter: none; } }
@keyframes cjc-tiger-push { from { transform: scale(1); } to { transform: scale(1.07) translateY(-1%); } }
@keyframes cjc-tiger-rise { from { opacity: 0; transform: translateY(14px); letter-spacing: inherit; } to { opacity: 1; transform: none; } }
@keyframes cjc-tiger-haze { from { transform: translate3d(-2%, -1%, 0) scale(1); } to { transform: translate3d(2%, 1.5%, 0) scale(1.06); } }
@keyframes cjc-tiger-flicker { 0%, 100% { opacity: .9; } 31% { opacity: .82; } 32% { opacity: .92; } 67% { opacity: .86; } 68% { opacity: .9; } }
@keyframes cjc-tiger-grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } 100% { transform: translate(1%, 3%); } }
@keyframes cjc-tiger-sheen { from { background-position: 0% 50%; } to { background-position: 250% 50%; } }
@keyframes cjc-tiger-twinkle { 0%, 62%, 100% { opacity: 0; transform: scale(.4) rotate(0deg); } 72% { opacity: 1; transform: scale(1) rotate(45deg); } 84% { opacity: 0; transform: scale(.5) rotate(90deg); } }
@media (prefers-reduced-motion: reduce) {
  .cjc-tiger__haze, .cjc-tiger::after, .cjc-tiger__line--claws, .cjc-tiger__dot::after { animation: none !important; }
}

/* -- tablet: loop · tiger ------------------------------------------------- */
@media (max-width: 1023px) {
  .cjc-tiger__reel { grid-template-columns: 1fr 1fr; }
  .cjc-tiger__panel--a { display: none; }
  .cjc-tiger__copy { bottom: 64px; }
}

/* -- phone: the loop, full bleed; chips of what she wears ---------------- */
@media (max-width: 767px) {
  .cjc-tiger { height: max(620px, calc(100svh - 36px)); }
  .cjc-tiger__reel { grid-template-columns: 1fr; gap: 0; }
  .cjc-tiger__panel--c { display: none; }
  .cjc-tiger__frame { top: calc((100cqh - var(--fh)) * .1); }
  .cjc-tiger__shade {
    background: linear-gradient(180deg, rgba(15,10,13,.55) 0%, rgba(15,10,13,0) 18%, rgba(15,10,13,0) 36%, rgba(15,10,13,.78) 60%, rgba(15,10,13,.96) 100%);
  }
  .cjc-tiger__copy { bottom: 18px; width: calc(100% - 32px); }
  .cjc-tiger__kicker { font-size: 15px; letter-spacing: .1em; margin-bottom: 8px; }
  .cjc-tiger__title { font-size: clamp(44px, 12.8vw, 62px); line-height: .9; }
  .cjc-tiger__lede { font-size: 16px; line-height: 1.35; margin-top: 10px; }
  .cjc-tiger__actions { margin-top: 16px; gap: 12px 22px; }
  .cjc-tiger__btn { min-height: 50px; padding: 0 24px; font-size: 15px; }
  .cjc-tiger__link { font-size: 15px; }
}
@media (max-width: 1023px) {
  .cjc-tiger__wear { display: block; margin-top: 20px; }
  .cjc-tiger__wearlabel { margin: 0 0 8px; font: italic 400 14px/1 var(--cjc-font-serif, 'Cormorant Garamond', serif); color: rgba(243,235,230,.7); }
  .cjc-tiger__wear ul { display: flex; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
  .cjc-tiger__wear ul::-webkit-scrollbar { display: none; }
  .cjc-tiger__wear li { flex: none; }
  .cjc-tiger__wear a {
    display: flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 999px; text-decoration: none !important;
    background: rgba(243,235,230,.1); border: 1px solid rgba(201,205,211,.35); color: var(--tg-ivory) !important;
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  }
  .cjc-tiger__wear img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
  .cjc-tiger__wear a > span { display: flex; flex-direction: column; gap: 2px; text-align: left; }
  .cjc-tiger__wearname { font: 500 11.5px/1.1 var(--cjc-font-sans, 'Jost', sans-serif); white-space: nowrap; }
  .cjc-tiger__wearprice { font: 500 13px/1 var(--cjc-font-serif, 'Cormorant Garamond', serif); color: rgba(243,235,230,.75); }
  .cjc-tiger__wearprice :is(.amount, bdi) { color: inherit; font: inherit; }
  .cjc-tiger__glint { display: none; }
}
@media (max-width: 767px) {
  .cjc-tiger__wear { margin-top: 16px; }
  .cjc-tiger__wear ul { justify-content: flex-start; margin: 0 -16px; padding: 0 16px; }
  .cjc-tiger__wearname { font-size: 11px; }
}

/* The loop is decoration, never a player: taps pass through, and iOS never draws its play button over it.
   (tiger.js swaps it for the poster still wherever a browser would open it full screen.) */
.cjc-tiger__video { pointer-events: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.cjc-tiger__video::-webkit-media-controls,
.cjc-tiger__video::-webkit-media-controls-start-playback-button,
.cjc-tiger__video::-webkit-media-controls-overlay-play-button { display: none !important; -webkit-appearance: none; }
/* The loop as an animated image (in-app browsers): same box and grade as the video it replaces. */
.cjc-tiger__stillwrap { display: contents; }
.cjc-tiger__frame .cjc-tiger__still {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; display: block;
  pointer-events: none; /* the loop files have the grade baked in */
}
.cjc-tiger__frame .cjc-tiger__still.is-poster { filter: saturate(.92) contrast(1.05) sepia(.06) brightness(.98); }
/* In-app browsers: the clip painted on a canvas by the hardware decoder (grade baked in), fading in over the poster. */
.cjc-tiger__frame .cjc-tiger__canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; display: block;
  pointer-events: none; opacity: 0; transition: opacity .5s ease;
}
.cjc-tiger__frame .cjc-tiger__canvas.is-live { opacity: 1; }
