/* The entry overlay is a self-contained first-visit experience. */
:root { --entry-cream: #fff7ef; --entry-wine: #4b1825; --entry-berry: #8c2946; --entry-pink: #e7a7b3; }

[data-entry-overlay] { color: var(--entry-cream); display: grid; grid-template-rows: minmax(0, 1fr) minmax(240px, 39vh) minmax(0, 1fr); inset: 0; isolation: isolate; overflow: hidden; perspective: 1500px; position: fixed; z-index: 1000; }
[data-entry-overlay].is-entry-hidden, [data-entry-overlay].is-hidden { opacity: 0; pointer-events: none; visibility: hidden; }
[data-entry-overlay].is-entry-active, [data-entry-overlay].is-open { opacity: 1; pointer-events: auto; visibility: visible; }
[data-entry-overlay]::after { background: linear-gradient(90deg, rgba(75, 24, 37, .28), transparent 28%, transparent 72%, rgba(75, 24, 37, .2)); content: ""; inset: 0; pointer-events: none; position: absolute; z-index: -1; }

.entry-overlay__background { background: #f7d8d4; inset: 0; overflow: hidden; position: absolute; z-index: -3; }
.entry-overlay__atmosphere { height: 100%; inset: 0; object-fit: cover; opacity: 1; position: absolute; width: 100%; }
.entry-overlay__background::after { background: linear-gradient(180deg, rgba(75, 24, 37, .18), transparent 33%, transparent 65%, rgba(75, 24, 37, .25)); content: ""; inset: 0; position: absolute; }

.entry-overlay__word { align-self: center; display: flex; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(4rem, 12.2vw, 12.5rem); font-weight: 900; justify-content: center; letter-spacing: -.075em; line-height: .72; margin: 0; pointer-events: none; position: relative; text-align: center; text-transform: uppercase; transform-style: preserve-3d; z-index: 2; }
.entry-overlay__word--top { align-self: end; padding-bottom: clamp(.4rem, 2vh, 1.4rem); }
.entry-overlay__word--bottom { align-self: start; padding-top: clamp(.4rem, 2vh, 1.4rem); }
.entry-overlay__letter { color: var(--entry-cream); display: inline-block; position: relative; text-shadow: 1px 1px 0 #c2697c, 2px 2px 0 #9b3a54, 3px 3px 0 #75263b, 4px 4px 0 #5a1829, 5px 5px 0 #35101d, 0 11px 25px rgba(19, 4, 10, .42); transform-origin: center; }
.entry-overlay__letter::after { background: linear-gradient(112deg, transparent 37%, rgba(255, 255, 255, .58) 50%, transparent 63%); content: ""; inset: 0; opacity: .34; position: absolute; transform: skewX(-12deg); }
.entry-overlay__word--top .entry-overlay__letter { animation: entry-drop .86s cubic-bezier(.12,.82,.24,1) both; animation-delay: calc(var(--entry-index, 0) * .08s + .15s); }
.entry-overlay__word--bottom .entry-overlay__letter { animation: entry-rise .86s cubic-bezier(.12,.82,.24,1) both; animation-delay: calc(var(--entry-index, 0) * .08s + .28s); }
.entry-overlay__word .entry-overlay__letter:nth-child(1) { --entry-index: 0; } .entry-overlay__word .entry-overlay__letter:nth-child(2) { --entry-index: 1; } .entry-overlay__word .entry-overlay__letter:nth-child(3) { --entry-index: 2; } .entry-overlay__word .entry-overlay__letter:nth-child(4) { --entry-index: 3; } .entry-overlay__word .entry-overlay__letter:nth-child(5) { --entry-index: 4; } .entry-overlay__word .entry-overlay__letter:nth-child(6) { --entry-index: 5; } .entry-overlay__word .entry-overlay__letter:nth-child(7) { --entry-index: 6; }

.entry-overlay__rail { align-self: center; cursor: grab; height: 100%; min-height: 220px; perspective: 1500px; position: relative; touch-action: pan-y; user-select: none; width: 100%; z-index: 4; }
.entry-overlay__rail.is-dragging { cursor: grabbing; }
.entry-overlay__rail-viewport { height: 100%; overflow: hidden; position: relative; }
.entry-overlay__rail-track { height: 100%; left: 50%; pointer-events: none; position: absolute; top: 0; transform: translate3d(-50%, 0, 0); transform-style: preserve-3d; width: 100%; }
.entry-overlay__card { --entry-card-x: 0px; --entry-card-y: 0px; --entry-card-z: 0px; --entry-card-scale: .7; --entry-card-rotate-y: 0deg; --entry-card-rotate-z: 0deg; --entry-card-opacity: 0; --entry-card-z-index: 1; --entry-card-interaction-y: 0px; background: #8b2d47; border: 1px solid rgba(255, 248, 239, .65); border-radius: clamp(1.1rem, 2vw, 2rem); box-shadow: 0 24px 36px rgba(75, 24, 37, .32), inset 0 1px 0 rgba(255,255,255,.56); color: var(--entry-cream); display: block; height: min(31vh, 320px); left: 50%; overflow: hidden; pointer-events: auto; position: absolute; top: 50%; transform: translate3d(calc(-50% + var(--entry-card-x)), calc(-50% + var(--entry-card-y)), var(--entry-card-z)) rotateY(var(--entry-card-rotate-y)) rotateZ(var(--entry-card-rotate-z)) scale(var(--entry-card-scale)); transform-style: preserve-3d; transition: translate .24s ease, opacity .18s linear, box-shadow .24s ease, border-color .24s ease; translate: 0 var(--entry-card-interaction-y); width: clamp(215px, 27vw, 380px); z-index: var(--entry-card-z-index); opacity: var(--entry-card-opacity); will-change: transform, translate, opacity; }
.entry-overlay__card::after { background: linear-gradient(145deg, rgba(255,255,255,.28), transparent 27%, transparent 66%, rgba(69, 10, 30, .42)); content: ""; inset: 0; pointer-events: none; position: absolute; }
.entry-overlay__card img { height: 100%; object-fit: cover; transition: transform .42s cubic-bezier(.2,.7,.2,1); width: 100%; }
.entry-overlay__card.is-current { box-shadow: 0 30px 46px rgba(75, 24, 37, .43), 0 0 0 1px rgba(255,247,238,.38), inset 0 1px 0 rgba(255,255,255,.72); }
.entry-overlay__card:hover, .entry-overlay__card:focus-visible { --entry-card-interaction-y: -12px; border-color: rgba(255,247,238,.95); box-shadow: 0 39px 58px rgba(75, 24, 37, .5), 0 0 0 2px rgba(255,247,238,.82), inset 0 1px 0 rgba(255,255,255,.9); }
.entry-overlay__card:hover img, .entry-overlay__card:focus-visible img { transform: scale(1.055); }
.entry-overlay__card:hover .entry-overlay__card-content .entry-overlay__card-action, .entry-overlay__card:focus-visible .entry-overlay__card-content .entry-overlay__card-action { color: #fff7ef; letter-spacing: .17em; text-decoration-color: currentColor; }
.entry-overlay__card:active { box-shadow: 0 18px 28px rgba(75, 24, 37, .38), inset 0 1px 0 rgba(255,255,255,.6); }
.entry-overlay__card:focus-visible { outline: 3px solid var(--entry-cream); outline-offset: 5px; }
.entry-overlay__card-content { background: linear-gradient(transparent 21%, rgba(34, 5, 14, .88)); bottom: 0; display: grid; gap: .28rem; left: 0; padding: 3.7rem 1.1rem 1rem; position: absolute; right: 0; z-index: 1; }
.entry-overlay__card-content strong { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.05rem, 1.7vw, 1.55rem); font-weight: 400; letter-spacing: -.025em; line-height: 1; }
.entry-overlay__card-content span { font-family: Arial, sans-serif; font-size: .64rem; letter-spacing: .035em; line-height: 1.35; }
.entry-overlay__card-content .entry-overlay__card-action { color: #ffd9df; font-size: .59rem; letter-spacing: .12em; margin-top: .18rem; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: .3rem; text-transform: uppercase; transition: color .2s ease, letter-spacing .2s ease, text-decoration-color .2s ease; }

.entry-overlay__marquee { align-self: end; bottom: clamp(1.3rem, 3vh, 2.5rem); left: 0; overflow: hidden; pointer-events: none; position: absolute; right: 0; z-index: 1; }
.entry-overlay__marquee-track { animation: entry-marquee 22s linear infinite; display: flex; font-family: Arial, sans-serif; font-size: clamp(.55rem, .75vw, .76rem); font-weight: 700; letter-spacing: .27em; text-transform: uppercase; white-space: nowrap; width: max-content; }
.entry-overlay__marquee-track span { padding-right: .27em; }
.entry-overlay__drag-cue { align-items: center; bottom: clamp(4.25rem, 7vh, 5.4rem); display: flex; font-family: Arial, sans-serif; font-size: .59rem; gap: .6rem; left: clamp(1.2rem, 3vw, 3rem); letter-spacing: .2em; margin: 0; position: absolute; z-index: 5; }
.entry-overlay__drag-cue i { background: var(--entry-cream); display: block; height: 1px; position: relative; width: 2.6rem; }
.entry-overlay__drag-cue i::after { border-right: 1px solid var(--entry-cream); border-top: 1px solid var(--entry-cream); content: ""; height: 4px; position: absolute; right: 0; top: -2px; transform: rotate(45deg); width: 4px; }
.entry-overlay__enter { appearance: none; background: transparent; border: 0; bottom: clamp(1.1rem, 2.4vh, 2.2rem); color: var(--entry-cream); cursor: pointer; display: grid; justify-items: end; padding: .7rem .2rem; position: absolute; right: clamp(1.2rem, 3vw, 3rem); text-align: right; z-index: 6; }
.entry-overlay__enter-eyebrow { font-family: Arial, sans-serif; font-size: .59rem; letter-spacing: .29em; margin-right: .1rem; text-transform: uppercase; }
.entry-overlay__enter-word { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.55rem, 2.4vw, 2.7rem); font-style: italic; font-weight: 700; letter-spacing: -.11em; line-height: .92; text-shadow: 1px 1px 0 #c36b7d, 2px 2px 0 #8b2943, 3px 3px 0 #4d1222; transition: letter-spacing .35s ease, transform .35s ease; }
.entry-overlay__enter-arrow { font-family: Arial, sans-serif; font-size: 1.6rem; line-height: .7; margin-right: -.15rem; transition: transform .35s ease; }
.entry-overlay__enter:hover .entry-overlay__enter-word, .entry-overlay__enter:focus-visible .entry-overlay__enter-word { letter-spacing: -.04em; transform: translateY(-3px) skewX(-6deg); }
.entry-overlay__enter:hover .entry-overlay__enter-arrow, .entry-overlay__enter:focus-visible .entry-overlay__enter-arrow { transform: translate(4px, -4px); }
.entry-overlay__enter:focus-visible { outline: 2px solid var(--entry-cream); outline-offset: 5px; }

.entry-overlay__cursor { display: none; left: 0; pointer-events: none; position: fixed; top: 0; transform: translate3d(var(--entry-cursor-x, -100px), var(--entry-cursor-y, -100px), 0); z-index: 11; }
.entry-overlay__cursor-dot { background: var(--entry-cream); border-radius: 50%; display: block; height: 6px; left: -3px; position: absolute; top: -3px; width: 6px; }
.entry-overlay__cursor-ring { border: 1px solid #d88394; border-radius: 50%; display: block; height: 28px; left: -14px; position: absolute; top: -14px; transition: height .2s ease, width .2s ease; width: 28px; }
.entry-overlay__cursor-label { color: var(--entry-cream); font-family: Arial, sans-serif; font-size: .52rem; font-weight: 700; left: 18px; letter-spacing: .13em; position: absolute; text-transform: uppercase; top: 10px; }
.entry-overlay.is-card-hover .entry-overlay__cursor-ring, .entry-overlay.is-enter-hover .entry-overlay__cursor-ring { height: 44px; left: -22px; top: -22px; width: 44px; }

.entry-overlay-replay { margin: 0; padding: .85rem clamp(1.25rem, 4vw, 4rem); text-align: right; }
.entry-overlay-replay button { background: transparent; border: 0; color: var(--wine, #4b1825); cursor: pointer; font-family: Arial, sans-serif; font-size: .6rem; letter-spacing: .16em; padding: .35rem 0; text-decoration: underline; text-decoration-color: rgba(75,24,37,.4); text-underline-offset: .35rem; }

[data-entry-overlay].is-entry-exiting { pointer-events: none; transition: opacity 1s cubic-bezier(.65,0,.2,1), visibility 1s; }
[data-entry-overlay].is-entry-exiting .entry-overlay__word--top { animation: entry-out-top .9s cubic-bezier(.65,0,.2,1) forwards; }
[data-entry-overlay].is-entry-exiting .entry-overlay__word--bottom { animation: entry-out-bottom .9s cubic-bezier(.65,0,.2,1) forwards; }
[data-entry-overlay].is-entry-exiting .entry-overlay__rail { animation: entry-rail-away .75s cubic-bezier(.65,0,.2,1) forwards; }
[data-entry-overlay].is-entry-exiting .entry-overlay__enter { animation: entry-enter-away .62s cubic-bezier(.2,.8,.25,1) forwards; }
[data-entry-overlay].is-entry-exiting .entry-overlay__background { animation: entry-background-away 1s ease forwards; }
@keyframes entry-drop { 0% { opacity: 0; transform: translate3d(0,-130vh,180px) rotateX(-75deg) rotateZ(-8deg); } 68% { opacity: 1; transform: translate3d(0,9px,0) rotateX(5deg); } 100% { opacity: 1; transform: translate3d(0,0,0) rotateX(0); } }
@keyframes entry-rise { 0% { opacity: 0; transform: translate3d(0,130vh,180px) rotateX(75deg) rotateZ(8deg); } 68% { opacity: 1; transform: translate3d(0,-9px,0) rotateX(-5deg); } 100% { opacity: 1; transform: translate3d(0,0,0) rotateX(0); } }
@keyframes entry-marquee { to { transform: translateX(-50%); } } @keyframes entry-out-top { to { opacity: 0; transform: translate3d(0,-42vh,-120px) rotateX(-32deg); } } @keyframes entry-out-bottom { to { opacity: 0; transform: translate3d(0,42vh,-120px) rotateX(32deg); } } @keyframes entry-rail-away { to { opacity: 0; transform: translate3d(0,0,-750px) scale(.62); } } @keyframes entry-enter-away { to { opacity: 0; transform: translate3d(13vw,-12vh,300px) scale(2.6); } } @keyframes entry-background-away { to { opacity: 0; transform: scale(1.04); } }

@media (hover: hover) and (pointer: fine) { [data-entry-overlay] { cursor: none; } .entry-overlay__cursor { display: block; } }
@media (max-width: 700px) { [data-entry-overlay] { grid-template-rows: minmax(0, 1fr) minmax(215px, 34vh) minmax(0, 1fr); } .entry-overlay__word { font-size: clamp(3.2rem, 14.1vw, 5.6rem); letter-spacing: -.09em; } .entry-overlay__word--top { padding-bottom: 1.2rem; } .entry-overlay__word--bottom { padding-top: 1.4rem; } .entry-overlay__card { height: min(29vh, 270px); width: clamp(215px, 68vw, 300px); } .entry-overlay__card-content { padding: 3.2rem .95rem .85rem; } .entry-overlay__card-content span { display: none; } .entry-overlay__card-content .entry-overlay__card-action { display: block; } .entry-overlay__marquee { bottom: 6.35rem; } .entry-overlay__drag-cue { bottom: 1.55rem; font-size: .5rem; left: 1rem; } .entry-overlay__drag-cue i { width: 1.65rem; } .entry-overlay__enter { bottom: 1.1rem; right: 1.1rem; } .entry-overlay__enter-word { font-size: 1.75rem; } .entry-overlay__enter-eyebrow { font-size: .48rem; } }
@media (prefers-reduced-motion: reduce) { [data-entry-overlay], [data-entry-overlay] * { animation-delay: 0ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; } .entry-overlay__word .entry-overlay__letter { opacity: 1; transform: none; } .entry-overlay__card { transition: opacity .01ms linear; will-change: auto; } }
