/* ==========================================================================
   Tailwind replacement stylesheet
   Hand-written plain CSS for every Tailwind utility class used in
   index.html (and the two classes injected by js/main.js). This removes
   the need for the Tailwind CDN script entirely.
   Breakpoints match Tailwind defaults: md = 768px, lg = 1024px.
   ========================================================================== */

/* --- Minimal preflight (Tailwind normally provides this) --- */
*, *::before, *::after {
    box-sizing: border-box;
}

img, svg {
    display: block;
    max-width: 100%;
}

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: inherit;
}

/* --- Layout / display --- */
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }
.inline-block { display: inline-block; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-grow { flex-grow: 1; }
.shrink-0 { flex-shrink: 0; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.columns-1 { column-count: 1; }

/* --- Position --- */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.top-6 { top: 1.5rem; }
.bottom-6 { bottom: 1.5rem; }
.bottom-10 { bottom: 2.5rem; }
.left-0 { left: 0; }
.left { left: 0; }
.right { right: 0; }
.right-4 { right: 1rem; }
.right-6 { right: 1.5rem; }
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-50 { z-index: 50; }

/* --- Sizing --- */
.w-4 { width: 1rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-9 { width: 2.25rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-24 { width: 6rem; }
.w-full { width: 100%; }
.h-4 { height: 1rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-9 { height: 2.25rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-24 { height: 6rem; }
.h-56 { height: 14rem; }
.h-64 { height: 16rem; }
.h-full { height: 100%; }
.h-px { height: 1px; }
.h-\[100dvh\] { height: 100dvh; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-full { max-width: 100%; }

/* --- Spacing --- */
.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.pl-2 { padding-left: 0.5rem; }
.pr-2 { padding-right: 0.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.-mt-16 { margin-top: -4rem; }
.ml-0\.5 { margin-left: 0.125rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }

/* --- Container (Tailwind default breakpoints) --- */
.container { width: 100%; }
@media (min-width: 640px) { .container { max-width: 640px; } }
@media (min-width: 768px) { .container { max-width: 768px; } }
@media (min-width: 1024px) { .container { max-width: 1024px; } }
@media (min-width: 1280px) { .container { max-width: 1280px; } }
@media (min-width: 1536px) { .container { max-width: 1536px; } }

/* --- Typography --- */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.text-8xl { font-size: 6rem; line-height: 1; }
.text-9xl { font-size: 8rem; line-height: 1; }
.text-center { text-align: center; }
.uppercase { text-transform: uppercase; }
.italic { font-style: italic; }
.font-light { font-weight: 300; }
.font-medium { font-weight: 500; }
.font-bold, .bold { font-weight: 700; }
.font-serif { font-family: 'Cormorant Garamond', serif; }
.leading-none { line-height: 1; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.tracking-\[0\.3em\] { letter-spacing: 0.3em; }
.tracking-\[0\.4em\] { letter-spacing: 0.4em; }

/* --- Colors: solid backgrounds --- */
.bg-black { background-color: #000; }
.bg-white { background-color: #fff; }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-gray-300 { background-color: #d1d5db; }
.bg-\[\#1a2316\] { background-color: #1a2316; }
.bg-\[\#2F3E28\] { background-color: #2F3E28; }
.bg-\[\#9DC183\] { background-color: #9DC183; }
.bg-\[\#D4AF37\] { background-color: #D4AF37; }
.bg-\[\#F3F4F1\] { background-color: #F3F4F1; }
.bg-\[\#F9F9F5\] { background-color: #F9F9F5; }
.bg-\[\#a9def9\] { background-color: #a9def9; }
.bg-\[\#d0f4de\] { background-color: #d0f4de; }
.bg-\[\#e4c1f9\] { background-color: #e4c1f9; }
.bg-\[\#fcf6bd\] { background-color: #fcf6bd; }
.bg-\[\#ff99c8\] { background-color: #ff99c8; }

/* --- Colors: translucent backgrounds --- */
.bg-black\/10 { background-color: rgb(0 0 0 / 0.1); }
.bg-black\/20 { background-color: rgb(0 0 0 / 0.2); }
.bg-black\/50 { background-color: rgb(0 0 0 / 0.5); }
.bg-black\/80 { background-color: rgb(0 0 0 / 0.8); }
.bg-white\/5 { background-color: rgb(255 255 255 / 0.05); }

/* --- Colors: text --- */
.text-black { color: #000; }
.text-white { color: #fff; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }
.text-\[\#2F3E28\] { color: #2F3E28; }
.text-\[\#556B2F\] { color: #556B2F; }
.text-\[\#9DC183\] { color: #9DC183; }
.text-\[\#D4AF37\] { color: #D4AF37; }
.text-\[\#F9F9F5\] { color: #F9F9F5; }
.text-white\/30 { color: rgb(255 255 255 / 0.3); }
.text-white\/80 { color: rgb(255 255 255 / 0.8); }
.text-white\/90 { color: rgb(255 255 255 / 0.9); }
.opacity-0 { opacity: 0; }
.opacity-20 { opacity: 0.2; }
.opacity-60 { opacity: 0.6; }
.opacity-70 { opacity: 0.7; }
.opacity-80 { opacity: 0.8; }
.opacity-90 { opacity: 0.9; }
.fill-current { fill: currentColor; }
.text-dark-green { color: var(--dark-green); }

/* --- Gradients (only the two combinations actually used) --- */
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.bg-gradient-to-t { background-image: linear-gradient(to top, var(--tw-gradient-stops)); }
.from-\[\#2F3E28\] { --tw-gradient-stops: #2F3E28, var(--tw-gradient-to, rgb(47 62 40 / 0)); }
.to-\[\#3a4d32\] { --tw-gradient-to: #3a4d32; }
.from-black\/50 { --tw-gradient-stops: rgb(0 0 0 / 0.5), var(--tw-gradient-via, transparent), var(--tw-gradient-to, rgb(0 0 0 / 0)); }
.via-transparent { --tw-gradient-via: transparent; }
.to-black\/30 { --tw-gradient-to: rgb(0 0 0 / 0.3); }

/* --- Borders --- */
.border { border: 1px solid #e5e7eb; }
.border-2 { border: 2px solid #e5e7eb; }
.border-t { border-top: 1px solid #e5e7eb; }
.border-b { border-bottom: 1px solid #e5e7eb; }
.border-t-4 { border-top: 4px solid #e5e7eb; }
.border-y-4 { border-top: 4px solid #e5e7eb; border-bottom: 4px solid #e5e7eb; }
.border-gray-100 { border-color: #f3f4f6; }
.border-gray-200 { border-color: #e5e7eb; }
.border-\[\#556B2F\] { border-color: #556B2F; }
.border-\[\#9DC183\] { border-color: #9DC183; }
.border-\[\#D4AF37\] { border-color: #D4AF37; }
.border-white\/40 { border-color: rgb(255 255 255 / 0.4); }
.border-white\/50 { border-color: rgb(255 255 255 / 0.5); }
.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

/* --- Shadows --- */
.shadow-sm { box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); }
.shadow-md { box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25); }
.shadow-inner { box-shadow: inset 0 2px 4px 0 rgb(0 0 0 / 0.05); }
.drop-shadow-md { filter: drop-shadow(0 4px 3px rgb(0 0 0 / 0.07)) drop-shadow(0 2px 2px rgb(0 0 0 / 0.06)); }
.drop-shadow-lg { filter: drop-shadow(0 10px 8px rgb(0 0 0 / 0.04)) drop-shadow(0 4px 3px rgb(0 0 0 / 0.1)); }
.drop-shadow-2xl { filter: drop-shadow(0 25px 25px rgb(0 0 0 / 0.15)); }
.brightness-\[0\.70\] { filter: brightness(0.70); }
.backdrop-blur-md { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }

/* --- Object fit --- */
.object-cover { object-fit: cover; }
.object-left-top { object-position: left top; }

/* --- Transitions / transforms --- */
.transition { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }
.duration-700 { transition-duration: 700ms; }
.transform, .transform-gpu { transform: translate(var(--tw-translate-x, 0), var(--tw-translate-y, 0)); }
.transform-gpu { will-change: transform; }
.translate-x-4 { --tw-translate-x: 1rem; }
.translate-y-4 { --tw-translate-y: 1rem; }
.translate-x-full { --tw-translate-x: 100%; }

/* --- Interaction / misc --- */
.cursor-pointer { cursor: pointer; }
.pointer-events-none { pointer-events: none; }
.select-none { user-select: none; }
.overflow-hidden { overflow: hidden; }
.touch-pan-y { touch-action: pan-y; }
.focus\:outline-none:focus { outline: none; }

/* --- Animations (Tailwind default keyframes) --- */
@keyframes tw-bounce {
    0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1); }
    50% { transform: none; animation-timing-function: cubic-bezier(0, 0, 0.2, 1); }
}
.animate-bounce { animation: tw-bounce 1s infinite; }

@keyframes tw-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
.animate-pulse { animation: tw-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }

/* --- Hover states --- */
.hover\:-translate-y-1:hover { --tw-translate-y: -0.25rem; }
.hover\:bg-\[\#C5A028\]:hover { background-color: #C5A028; }
.hover\:bg-white\/20:hover { background-color: rgb(255 255 255 / 0.2); }
.hover\:shadow-md:hover { box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); }
.hover\:shadow-xl:hover { box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); }
.hover\:text-\[\#D4AF37\]:hover { color: #D4AF37; }
.hover\:text-white:hover { color: #fff; }

/* --- Group hover (parent has .group / .group\/map, children react) --- */
.group:hover .group-hover\:bg-transparent { background-color: transparent; }
.group:hover .group-hover\:scale-110 { transform: scale(1.1); }
.group\/map:hover .group-hover\/map\:opacity-100 { opacity: 1; }

/* ==========================================================================
   Responsive: md (>=768px)
   ========================================================================== */
@media (min-width: 768px) {
    .md\:flex { display: flex; }
    .md\:hidden { display: none; }
    .md\:flex-row { flex-direction: row; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:columns-2 { column-count: 2; }
    .md\:w-1\/2 { width: 50%; }
    .md\:w-12 { width: 3rem; }
    .md\:h-12 { height: 3rem; }
    .md\:p-10 { padding: 2.5rem; }
    .md\:p-12 { padding: 3rem; }
    .md\:px-12 { padding-left: 3rem; padding-right: 3rem; }
    .md\:py-32 { padding-top: 8rem; padding-bottom: 8rem; }
    .md\:gap-4 { gap: 1rem; }
    .md\:gap-16 { gap: 4rem; }
    .md\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
    .md\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
    .md\:text-5xl { font-size: 3rem; line-height: 1; }
    .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
    .md\:text-8xl { font-size: 6rem; line-height: 1; }
    .md\:text-9xl { font-size: 8rem; line-height: 1; }
}

/* ==========================================================================
   Responsive: lg (>=1024px)
   ========================================================================== */
@media (min-width: 1024px) {
    .lg\:columns-3 { column-count: 3; }
    .lg\:text-9xl { font-size: 8rem; line-height: 1; }
}
