/* Tactile homepage: existing artwork and content, physical interaction layers. */
.products-section { overflow: clip; }
.deck-intro { margin-bottom: 40px; }
.products-deck-layout { display: block; min-height: 0; }
.deck-col { display: none; }
.slides-col { padding: 0; overflow: visible; }
.product-slide { display: block; opacity: 1; margin-bottom: 48px; }
.deck-ready .deck-col { display: flex; width: 100%; align-items: center; }
.deck-ready .slides-col { display: none; }
.card-deck {
    --card-height: clamp(380px, 70svh, 535px);
    width: min(100% - 36px, 357px, calc(var(--card-height) * .667));
    height: calc(var(--card-height) + 64px);
    perspective: 1500px;
    isolation: isolate;
    touch-action: pan-y;
}
.deck-card {
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    height: var(--card-height);
    transform: var(--stack-transform);
    transition: transform 440ms cubic-bezier(.22,.75,.2,1);
}
.deck-card[inert] { pointer-events: none; }
.desktop-deck-trigger { display: none; }
.deck-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 720ms cubic-bezier(.2,.72,.2,1);
}
.deck-card.is-flipped .deck-card-inner { transform: rotateY(-180deg); }
.deck-face {
    position: absolute;
    inset: 0;
    border: 1px solid #c1b6a1;
    border-radius: 13px;
    background: #161514;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    box-shadow: 0 1px 0 #e0d7c6, 0 3px 0 #70685b, 0 4px 0 #1b1814,
        0 6px 8px #0008, 0 20px 36px #0006;
    overflow: hidden;
}
.deck-face--cover { padding: 0; cursor: pointer; appearance: none; }
.deck-face--cover .card-img {
    position: absolute;
    width: 133.7%;
    height: 122.4%;
    max-width: none;
    top: -9.56%;
    left: -16.75%;
    object-fit: cover;
    border-radius: 0;
}
.deck-face::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 1px 1px 1px #fff4, inset -1px -1px 2px #000b;
    background: linear-gradient(116deg, #fff0 26%, #ffffff06 43%, #fff0 59%);
    z-index: 3;
}
.deck-face--details {
    transform: rotateY(180deg);
    overflow: hidden;
    background: #191816;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.84' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' opacity='.055' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
}
.deck-content-scroll {
    position: absolute;
    inset: 18px 20px 16px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: #c1b6a166 transparent;
    padding: 4px;
    scroll-padding-block: 4px;
}
.deck-face--details::before {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1px solid #d8c9ae40;
    border-radius: 7px;
    pointer-events: none;
}
.deck-next-hit {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: inherit;
    appearance: none;
    background: transparent;
    cursor: pointer;
}
.deck-face--details .product-slide {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    min-height: 100%;
    padding: 0;
    margin: 0;
    opacity: 1;
    pointer-events: auto;
}
.deck-face--details :is(a, button, input, form) { pointer-events: auto; }
.deck-face--details .product-tag { font-size: 9px; margin-bottom: 10px; }
.deck-face--details .slide-name { font-size: 38px; margin-bottom: 12px; }
.deck-face--details .slide-desc { font-size: 14px; line-height: 1.5; margin-bottom: 12px; color: #d2cbbf; }
.deck-face--details .slide-visual-stack { flex-shrink: 0; width: 200px; height: 112px; margin: 0 0 14px; }
.deck-face--details .slide-thumb { width: 78px; height: 104px; }
.deck-face--details .slide-thumb--one { left: 6px; top: 4px; }
.deck-face--details .slide-thumb--two { left: 72px; top: 0; }
.deck-face--details .slide-visual-stack--triple { height: 100px; }
.deck-face--details .slide-visual-stack--triple .slide-thumb { width: 94px; height: 62px; }
.deck-face--details .slide-thumb--bottom { left: 0; top: 28px; }
.deck-face--details .slide-thumb--middle { left: 44px; top: 18px; }
.deck-face--details .slide-thumb--top { left: 88px; top: 0; }
.deck-face--details .slide-visual-stack--portrait { height: 112px; }
.deck-face--details .slide-visual-stack--portrait .slide-thumb { width: 58px; height: 104px; }
.deck-face--details .slide-visual-stack--portrait .slide-thumb--bottom { left: 0; top: 6px; }
.deck-face--details .slide-visual-stack--portrait .slide-thumb--middle { left: 48px; top: 3px; }
.deck-face--details .slide-visual-stack--portrait .slide-thumb--top { left: 96px; top: 0; }
.deck-face--details .slide-link { min-height: 44px; font-size: 10px; opacity: .88; }
.deck-face--details .slide-counter { margin-top: auto; padding-top: 12px; font-size: 10px; opacity: .65; }
.deck-face--details .investor-access-trigger { min-height: 44px; }
.deck-face--details .fala-interest-note { font-size: 11px; line-height: 1.45; margin: 0 0 12px; opacity: .85; }
.deck-face--details .fala-interest-input { font-size: 16px; height: 44px; letter-spacing: 0; }
.deck-face--details .fala-interest-submit { font-size: 9px; min-height: 44px; padding: 0 10px; }
.deck-face--details .fala-interest-form { grid-template-columns: 1fr; }
.deck-face--details .fala-interest-submit { border-left: 0; border-top: 1px solid var(--rule); }
.deck-face--details #slide-4 .slide-name { font-size: 38px; margin-bottom: 12px; }
.deck-face--details #slide-4 .slide-visual-stack { height: 110px; margin: 0 0 15px; }
.deck-face--details #slide-4 .slide-thumb { width: 58px; height: 103px; }
.deck-face--details #slide-4 .slide-thumb--bottom { left: 0; top: 5px; }
.deck-face--details #slide-4 .slide-thumb--middle { left: 52px; top: 2px; }
.deck-face--details #slide-4 .slide-thumb--top { left: 104px; top: 0; }
.deck-face--details #slide-4 .product-tag { margin-bottom: 12px; }
.deck-hint { margin: 12px 0 0; padding: 0; font-size: 10px; opacity: .7; letter-spacing: .12em; }
.product-store-link { font-size: 10px; min-height: 32px; opacity: .7; display: inline-flex; align-items: center; }
.deck-face--cover:focus-visible, .deck-next-hit:focus-visible { outline: 2px solid var(--cream); outline-offset: -6px; }
.deck-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Actual paper fibres, worn ink and a folded corner from the supplied references. */
.nav-links .cta, .cta-btn {
    position: relative;
    isolation: isolate;
    border: 0;
    background: transparent;
    filter: drop-shadow(0 5px 3px #0006);
    transition: transform 220ms ease, filter 220ms ease;
}
.nav-links .cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 12px 22px; }
.nav-links .cta::before, .cta-btn::before {
    content: '';
    position: absolute;
    inset: -3px -5px;
    background: url('materials/torn-red-paper.webp') center / 100% 156% no-repeat;
    z-index: -1;
    pointer-events: none;
}
.nav-links .cta:hover, .cta-btn:hover { background: transparent; color: var(--white); transform: translateY(-2px) rotate(-.5deg); filter: drop-shadow(1px 8px 5px #0008); }
.cta-btn { min-height: 88px; padding: 25px 32px; }
.cta-btn::after { background: transparent; }

.deck-face--details :is(.slide-link, .investor-access-trigger, .fala-interest-submit) {
    position: relative;
    isolation: isolate;
    border: 0;
    min-height: 44px;
    padding: 12px 17px;
    margin: 3px 0;
    background: transparent;
    color: var(--cream);
    opacity: 1;
    letter-spacing: .12em;
    filter: drop-shadow(0 3px 2px #0006);
}
.deck-face--details :is(.slide-link, .investor-access-trigger, .fala-interest-submit)::before {
    content: '';
    position: absolute;
    inset: -2px -3px;
    z-index: -1;
    background: url('materials/torn-red-paper.webp') center / 100% 156% no-repeat;
    pointer-events: none;
}
.deck-face--details :is(.slide-link, .investor-access-trigger)::after { color: inherit; }
.deck-face--details :is(.slide-link, .investor-access-trigger, .fala-interest-submit):hover {
    background: transparent;
    color: var(--cream);
    transform: translateY(-1px);
}

/* A removable scratch layer sits above the original artwork and links. */
.art-editorial-card { box-shadow: 0 2px 0 #b4aa96, 0 5px 0 #27221d, 0 14px 24px #0006; }
.scratch-ticket { position: relative; min-width: 0; }
.scratch-ticket .art-editorial-card { width: 100%; }
.scratch-trigger {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: transparent;
    appearance: none;
    cursor: pointer;
    z-index: 5;
    padding: 0;
    touch-action: manipulation;
}
.scratch-trigger:focus-visible { outline: 2px solid var(--cream); outline-offset: 5px; }
.scratch-layer { display: block; width: 100%; height: 100%; }
.scratch-trigger:disabled { cursor: default; }
.scratch-ticket.is-revealed .scratch-trigger { display: none; }
.scratch-ticket.is-revealed .art-editorial-card { animation: scratch-settle 250ms ease-out; }
@keyframes scratch-settle { from { filter: brightness(1.15); } to { filter: brightness(1); } }
.footer-links { flex-wrap: wrap; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-links a[aria-label] { justify-content: center; min-width: 44px; }
.footer-links svg { width: 20px; height: 20px; fill: currentColor; }
@media (min-width: 961px) {
    .deck-ready .deck-col { width: min(100%, 1000px); margin-inline: auto; align-items: flex-start; }
    .card-deck { width: min(calc((100% - 96px) / 2), 357px, calc(var(--card-height) * .667)); }
    .deck-card { transition: transform 720ms cubic-bezier(.2,.72,.2,1); }
    .deck-card.is-flipped { transform: translate3d(calc(100% + 96px), 0, 0) rotate(0deg); }
    .deck-card.is-flipped .deck-card-inner { transform: none; }
    .deck-face--details { transform: none; opacity: 0; transition: opacity 220ms ease; }
    .deck-face--cover { transition: opacity 220ms ease; }
    .deck-card.is-flipped .deck-face--details { opacity: 1; transition-delay: 170ms; }
    .deck-card.is-flipped .deck-face--cover { opacity: 0; transition-delay: 170ms; }
    .desktop-deck-trigger {
        display: block;
        position: absolute;
        z-index: 20;
        inset: 30px 0 auto;
        width: 100%;
        height: var(--card-height);
        border: 0;
        border-radius: 13px;
        background: transparent;
        cursor: pointer;
    }
    .desktop-deck-trigger:focus-visible { outline: 2px solid var(--cream); outline-offset: 6px; }
    .deck-hint { width: min(400px, calc((100% - 96px) / 2)); text-align: center; }
    .product-store-link { align-self: flex-start; margin-left: 20px; }
}
@media (max-width: 960px) {
    .hero { min-height: 0; padding-top: var(--mobile-hero-top, 84px); gap: var(--mobile-hero-gap, 24px); align-content: start; }
    /* Halve the visible lower whitespace, including the logo file's blank lower margin. */
    .hero-logo-img { margin-bottom: var(--mobile-logo-trim, -31.5px); }
}
@media (max-width: 600px) {
    nav { padding-inline: 20px; }
    .nav-brand { gap: 8px; }
    .nav-brand .cl-brand { font-size: 9px; letter-spacing: .13em; white-space: nowrap; }
    .nav-logo { width: 26px; height: 26px; }
    .nav-links { gap: 14px; }
    .nav-links a { font-size: 9px; letter-spacing: .1em; }
    .nav-links .cta { padding-inline: 13px; }
    .products-section { padding-top: 64px; padding-bottom: 64px; }
    .deck-intro { margin-bottom: 22px; }
    .deck-intro-heading { font-size: 46px; }
    .card-deck { width: min(100% - 30px, 357px, calc(var(--card-height) * .667)); }
    .deck-content-scroll { inset: 18px 18px 16px; }
    .deck-face--details .slide-name { font-size: 36px; }
    .deck-face--details .slide-visual-stack--triple:not(.slide-visual-stack--portrait) { width: 100%; }
    .deck-face--details .slide-visual-stack--triple:not(.slide-visual-stack--portrait) .slide-thumb { width: 94px; }
    .deck-face--details .slide-visual-stack--triple:not(.slide-visual-stack--portrait) .slide-thumb--top { left: 88px; }
    .art-editorial-grid { width: 100%; gap: 8px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .art-section .section-label { width: 100%; }
    .art-frame-title { font-size: 18px; }
    .art-soon { font-size: 10px; opacity: .7; }
}
@media (max-width: 380px) {
    .nav-brand .cl-brand { display: none; }
    .nav-links { gap: 14px; }
    .nav-links .cta { padding-inline: 13px; }
    .nav-logo { width: 26px; height: 26px; }
    .nav-brand { gap: 8px; }
    .deck-face--details .slide-name { font-size: 36px; }
    .deck-face--details .slide-visual-stack { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .deck-card, .deck-card-inner, .deck-face--cover, .deck-face--details, .nav-links .cta, .cta-btn { transition: none; }
    .scratch-ticket.is-revealed .art-editorial-card { animation: none; }
}
.card-deck.is-restacking :is(.deck-card, .deck-card-inner, .deck-face) { transition: none; }
