body { background-color: var(--paper); background-image: url("../images/paper-arabesque.svg"); background-repeat: repeat; font-size: 18px; }

.site-flash-stack { position: fixed; z-index: 100; top: 5.25rem; right: 1rem; width: min(430px,calc(100vw - 2rem)); pointer-events: none; }
.site-flash { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin: 0 0 .65rem; border: 1px solid var(--line); border-left-width: 4px; background: rgba(255,255,255,.97); box-shadow: 0 14px 38px rgba(16,42,32,.2); pointer-events: auto; animation: flash-enter .2s ease-out; }
.site-flash span { min-width: 0; }
.site-flash button { flex: 0 0 auto; width: 28px; height: 28px; margin: -.25rem -.35rem 0 0; padding: 0; border-radius: 50%; background: transparent; color: currentColor; font-size: 1.35rem; font-weight: 400; line-height: 1; }
.site-flash button:hover { background: rgba(24,37,31,.08); }
.site-flash.is-leaving { opacity: 0; transform: translateY(-.5rem); transition: opacity .18s ease,transform .18s ease; }
@keyframes flash-enter { from { opacity: 0; transform: translateY(-.5rem); } }

.home-editorial { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); grid-template-rows: auto minmax(0,1fr) auto; column-gap: clamp(2.5rem,6vw,5.5rem); row-gap: 0; align-items: stretch; margin: 4.5rem 0 2rem; }
.home-introduction,
.new-decks-feature { display: grid; grid-row: 1 / span 3; grid-template-rows: subgrid; min-width: 0; }
.home-introduction { grid-column: 1; }
.new-decks-feature { grid-column: 2; }
.home-column-heading,
.home-section-heading { align-self: start; }
.home-column-heading .eyebrow,
.home-section-heading .eyebrow { margin: 0; }
.home-column-heading h2,
.home-section-heading h2 { margin-top: .25rem; }
.home-introduction-copy,
.home-carousel-body { align-self: start; }
.home-introduction h2,
.home-section-heading h2 { margin: .25rem 0 1.15rem; font: 700 clamp(1.8rem,4vw,2.65rem)/1.1 Georgia,serif; }
.home-introduction > p:not(.eyebrow) { color: #3f4e46; font-size: 1.08rem; line-height: 1.75; }
.home-text-link { align-self: end; justify-self: start; display: inline-flex; margin-top: 1rem; border-bottom: 1px solid currentColor; }
.new-decks-feature { min-width: 0; }
.home-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.carousel-controls { display: flex; gap: .4rem; margin-bottom: 1.15rem; }
.carousel-controls button { display: grid; width: 42px; height: 42px; padding: 0; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); font-size: 1.25rem; }
.carousel-controls button:hover { border-color: var(--green); background: var(--green); color: #fff; }
.deck-carousel { position: relative; min-height: 330px; overflow: hidden; border-radius: .75rem; background: #102a20; box-shadow: 0 18px 45px rgba(16,42,32,.16); }
.deck-carousel-slide { position: absolute; inset: 0; display: block; color: #fff; }
.deck-carousel-slide[hidden] { display: none; }
.deck-carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.deck-carousel-slide:after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 32%,rgba(4,12,8,.9)); }
.deck-carousel-slide > div { position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; padding: 3rem 1.5rem 1.35rem; }
.deck-carousel-slide span { font-size: .78rem; letter-spacing: .09em; text-transform: uppercase; }
.deck-carousel-slide h3 { margin: .2rem 0; color: #fff; font: 700 clamp(1.55rem,3vw,2.1rem)/1.1 Georgia,serif; }
.deck-carousel-slide p { margin: 0; color: rgba(255,255,255,.82); font-size: .88rem; }
.carousel-position { margin-top: .55rem; color: var(--muted); font-size: .78rem; text-align: right; }
.site-footer .footer-legal { grid-column: 1/-1; margin-top: .5rem; padding-top: 1.15rem; border-top: 1px solid rgba(255,255,255,.12); color: #9fada5; font-size: .72rem; line-height: 1.5; }
.site-footer .footer-legal p { font-size: inherit; }
.site-footer .footer-legal a { color: #c7d1cb; }

@media (max-width: 760px) {
  .site-flash-stack { top: 4.75rem; right: .75rem; width: calc(100vw - 1.5rem); }
  .home-editorial { display: block; margin-top: 3rem; }
  .home-introduction,
  .new-decks-feature { display: grid; grid-template-rows: auto auto auto; margin-bottom: 3.5rem; }
  .home-introduction,
  .new-decks-feature { grid-column: auto; grid-row: auto; }
  .deck-carousel { min-height: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  .deck-carousel-slide { transition: none; }
  .site-flash { animation: none; }
  .site-flash.is-leaving { transition: none; }
}
