/* "Linen" landing design: the few styles that sit beside the compiled stylesheet (linen.css). */

.linen {
    --gold-main: #c5a86d;
    --gold-hover: #ae8625;
    --dark-green: #1f493d;
    --light-beige: #f9f8f4;
    --text-gray: #666666;
    --title-gray: #1a1a1a;
    --font-serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    margin: 0;
}

.linen .shadow-gold {
    box-shadow: 0 8px 25px -6px rgba(208, 193, 136, 0.5);
}

html:has(.linen) {
    scroll-behavior: smooth;
}

/* The review carousel: native scroll snapping (the original used a script library for it). */
.linen .lin-track {
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.linen .lin-track::-webkit-scrollbar {
    display: none;
}
.linen .lin-slide {
    scroll-snap-align: start;
}

/* Utilities the design's compiled stylesheet does not contain (it only has what the original page used). */
.linen .size-3 { width: 0.75rem; height: 0.75rem; }
.linen .size-3\.5 { width: 0.875rem; height: 0.875rem; }
.linen .size-4 { width: 1rem; height: 1rem; }
.linen .size-5 { width: 1.25rem; height: 1.25rem; }
.linen .size-6 { width: 1.5rem; height: 1.5rem; }
.linen .size-8 { width: 2rem; height: 2rem; }
.linen .size-\[1\.125rem\] { width: 1.125rem; height: 1.125rem; }
.linen .translate-x-0 { transform: translateX(0); }
.linen .ml-4 { margin-left: 1rem; }
.linen .basis-full { flex-basis: 100%; }
@media (min-width: 768px) {
    .linen .md\:basis-\[calc\(50\%-0\.75rem\)\] { flex-basis: calc(50% - 0.75rem); }
}

/* A dropdown also opens for keyboard users (the compiled stylesheet only knows hover). */
.linen li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
