/* === Preflight (Tailwind Reset) === */

*, ::before, ::after { box-sizing: border-box; border-width: 0; border-style: solid; border-color: #e5e7eb; }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; tab-size: 4; font-family: 'Inter', sans-serif; }
body { margin: 0; line-height: inherit; }
h1, h2, h3 { font-size: inherit; font-weight: inherit; }
a { color: inherit; text-decoration: inherit; }
b, strong { font-weight: bolder; }
button, input { font-family: inherit; font-size: 100%; line-height: inherit; color: inherit; margin: 0; padding: 0; }
button { cursor: pointer; background-color: transparent; background-image: none; }
img, svg, video { display: block; max-width: 100%; }
img, video { height: auto; }
p, h1, h2, h3 { margin: 0; }
em { font-style: italic; }

/* === Gradient variable defaults === */
*, ::before, ::after {
  --tw-gradient-from-position: ;
  --tw-gradient-via-position: ;
  --tw-gradient-to-position: ;
  --tw-ring-color: rgb(59 130 246 / 0.5);
}

/* === Scroll smooth === */
html.scroll-smooth { scroll-behavior: smooth; }
html.overflow-x-hidden { overflow-x: hidden; }

/* === Selection === */
.selection\:bg-gold ::selection, .selection\:bg-gold::selection { background-color: #c8a96e; }
.selection\:text-white ::selection, .selection\:text-white::selection { color: #fff; }

/* === Space utilities === */
.space-y-8 > :not([hidden]) ~ :not([hidden]) { margin-top: 2rem; }

/* === Utilities === */
.absolute { position: absolute; }
.relative { position: relative; }
.fixed { position: fixed; }
.inset-0 { inset: 0px; }
.top-0 { top: 0px; }
.top-4 { top: 1rem; }
.top-6 { top: 1.5rem; }
.top-1\/2 { top: 50%; }
.top-\[20\%\] { top: 20%; }
.top-\[-10\%\] { top: -10%; }
.bottom-0 { bottom: 0px; }
.bottom-\[-10\%\] { bottom: -10%; }
.left-0 { left: 0px; }
.left-2 { left: 0.5rem; }
.left-\[-10\%\] { left: -10%; }
.right-0 { right: 0px; }
.right-2 { right: 0.5rem; }
.right-4 { right: 1rem; }
.right-8 { right: 2rem; }
.right-\[-10\%\] { right: -10%; }
.z-10 { z-index: 10; }
.z-\[999\] { z-index: 999; }
.z-\[1000\] { z-index: 1000; }
.z-\[1001\] { z-index: 1001; }
.z-\[3000\] { z-index: 3000; }
.z-\[3010\] { z-index: 3010; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.shrink-0 { flex-shrink: 0; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-flow-dense { grid-auto-flow: dense; }
.auto-rows-\[150px\] { grid-auto-rows: 150px; }
.col-span-1 { grid-column: span 1 / span 1; }
.col-span-2 { grid-column: span 2 / span 2; }
.row-span-1 { grid-row: span 1 / span 1; }
.row-span-2 { grid-row: span 2 / span 2; }
.block { display: block; }
.inline-block { display: inline-block; }
.hidden { display: none; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }
.gap-9 { gap: 2.25rem; }
.gap-16 { gap: 4rem; }
.gap-y-20 { row-gap: 5rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-10 { padding: 2.5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.px-12 { padding-left: 3rem; padding-right: 3rem; }
.px-16 { padding-left: 4rem; padding-right: 4rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-\[160px\] { padding-top: 160px; padding-bottom: 160px; }
.pt-8 { padding-top: 2rem; }
.pt-10 { padding-top: 2.5rem; }
.pt-\[140px\] { padding-top: 140px; }
.pb-\[100px\] { padding-bottom: 100px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.my-6 { margin-top: 1.5rem; margin-bottom: 1.5rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mb-32 { margin-bottom: 8rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-16 { margin-top: 4rem; }
.w-4 { width: 1rem; }
.w-7 { width: 1.75rem; }
.w-12 { width: 3rem; }
.w-14 { width: 3.5rem; }
.w-full { width: 100%; }
.w-\[40vw\] { width: 40vw; }
.w-\[50vw\] { width: 50vw; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-full { height: 100%; }
.h-\[1px\] { height: 1px; }
.h-\[1\.5px\] { height: 1.5px; }
.h-\[40vw\] { height: 40vw; }
.h-\[50vw\] { height: 50vw; }
.h-\[550px\] { height: 550px; }
.h-\[72px\] { height: 72px; }
.min-h-screen { min-height: 100vh; }
.max-w-lg { max-width: 32rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-\[800px\] { max-width: 800px; }
.max-w-\[90vw\] { max-width: 90vw; }
.max-w-full { max-width: 100%; }
.max-w-site { max-width: 1440px; }
.max-h-full { max-height: 100%; }
.max-h-\[75vh\] { max-height: 75vh; }
.max-h-\[85vh\] { max-height: 85vh; }
.overflow-hidden { overflow: hidden; }
.overflow-x-hidden { overflow-x: hidden; }
.overflow-x-auto { overflow-x: auto; }
.overflow-y-auto { overflow-y: auto; }
.font-sans { font-family: 'Inter', sans-serif; }
.font-mono { font-family: 'DM Mono', monospace; }
.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.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-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-\[9px\] { font-size: 9px; }
.text-\[10px\] { font-size: 10px; }
.text-\[11px\] { font-size: 11px; }
.text-\[13px\] { font-size: 13px; }
.text-\[clamp\(2\.5rem\,5vw\,4rem\)\] { font-size: clamp(2.5rem, 5vw, 4rem); }
.text-\[clamp\(2rem\,4\.5vw\,3\.5rem\)\] { font-size: clamp(2rem, 4.5vw, 3.5rem); }
.text-\[clamp\(2rem\,4vw\,3\.2rem\)\] { font-size: clamp(2rem, 4vw, 3.2rem); }
.leading-\[1\.1\] { line-height: 1.1; }
.leading-none { line-height: 1; }
.leading-relaxed { line-height: 1.625; }
.leading-tight { line-height: 1.25; }
.tracking-widest { letter-spacing: 0.1em; }
.tracking-\[0\.06em\] { letter-spacing: 0.06em; }
.tracking-\[0\.08em\] { letter-spacing: 0.08em; }
.tracking-\[0\.2em\] { letter-spacing: 0.2em; }
.uppercase { text-transform: uppercase; }
.not-italic { font-style: normal; }
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-black { color: #1a1a1a; }
.text-white { color: #ffffff; }
.text-gold { color: #c8a96e; }
.text-grey { color: #8a8a8a; }
.text-text { color: #2c2c2c; }
.text-text-light { color: #6a6a6a; }
.bg-paper { background-color: #f5f3ef; }
.bg-white { background-color: #ffffff; }
.bg-black { background-color: #1a1a1a; }
.bg-gold { background-color: #c8a96e; }
.bg-\[\#f4f2ee\] { background-color: #f4f2ee; }
.bg-\[\#141414\]\/80 { background-color: rgb(20 20 20 / 0.8); }
.bg-paper\/90 { background-color: rgb(245 243 239 / 0.9); }
.bg-paper\/98 { background-color: rgb(245 243 239 / 0.98); }
.bg-gold\/5 { background-color: rgb(200 169 110 / 0.05); }
.bg-gold\/10 { background-color: rgb(200 169 110 / 0.1); }
.bg-black\/90 { background-color: rgb(26 26 26 / 0.9); }
.bg-black\/98 { background-color: rgb(26 26 26 / 0.98); }
.bg-white\/5 { background-color: rgb(255 255 255 / 0.05); }
.bg-white\/50 { background-color: rgb(255 255 255 / 0.5); }
.bg-gradient-to-t { background-image: linear-gradient(to top, var(--tw-gradient-stops)); }
.from-black\/90 { --tw-gradient-from: rgb(26 26 26 / 0.9) var(--tw-gradient-from-position); --tw-gradient-to: rgb(26 26 26 / 0) var(--tw-gradient-to-position); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.via-black\/20 { --tw-gradient-to: rgb(26 26 26 / 0) var(--tw-gradient-to-position); --tw-gradient-stops: var(--tw-gradient-from), rgb(26 26 26 / 0.2) var(--tw-gradient-via-position), var(--tw-gradient-to); }
.to-transparent { --tw-gradient-to: transparent var(--tw-gradient-to-position); }
.border { border-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-t { border-top-width: 1px; }
.border-y { border-top-width: 1px; border-bottom-width: 1px; }
.border-gold { border-color: #c8a96e; }
.border-gold\/5 { border-color: rgb(200 169 110 / 0.05); }
.border-gold\/10 { border-color: rgb(200 169 110 / 0.1); }
.border-gold\/20 { border-color: rgb(200 169 110 / 0.2); }
.border-gold\/30 { border-color: rgb(200 169 110 / 0.3); }
.border-gold\/50 { border-color: rgb(200 169 110 / 0.5); }
.border-black\/5 { border-color: rgb(26 26 26 / 0.05); }
.border-white\/10 { border-color: rgb(255 255 255 / 0.1); }
.border-transparent { border-color: transparent; }
.rounded-sm { border-radius: 0.125rem; }
.rounded-full { border-radius: 9999px; }
.opacity-0 { opacity: 0; }
.opacity-30 { opacity: 0.3; }
.opacity-60 { opacity: 0.6; }
.opacity-90 { opacity: 0.9; }
.opacity-95 { opacity: 0.95; }
.opacity-100 { opacity: 1; }
.shadow-sm { box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); }
.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-\[0_0_30px_rgba\(200\,169\,110\,0\.15\)\] { box-shadow: 0 0 30px rgba(200,169,110,0.15); }
.drop-shadow-2xl { filter: drop-shadow(0 25px 25px rgb(0 0 0 / 0.15)); }
.blur-\[100px\] { filter: blur(100px); }
.blur-\[120px\] { filter: blur(120px); }
.blur-\[150px\] { filter: blur(150px); }
.backdrop-blur-md { backdrop-filter: blur(12px); }
.backdrop-blur-xl { backdrop-filter: blur(24px); }
.-translate-y-1\/2 { transform: translateY(-50%); }
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-opacity { transition-property: opacity; 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; }
.duration-1000 { transition-duration: 1000ms; }
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }
.pointer-events-none { pointer-events: none; }
.cursor-pointer { cursor: pointer; }
.scroll-smooth { scroll-behavior: smooth; }
.ring-2 { box-shadow: 0 0 0 2px var(--tw-ring-color); }
.ring-gold { --tw-ring-color: #c8a96e; }
.scale-110 { transform: scale(1.1); }
.focus\:outline-none { outline: 2px solid transparent; outline-offset: 2px; }

/* === Hover states === */
.hover\:bg-gold:hover { background-color: #c8a96e; }
.hover\:bg-gold-dark:hover { background-color: #a8894e; }
.hover\:text-white:hover { color: #fff; }
.hover\:text-gold:hover { color: #c8a96e; }
.hover\:text-dark:hover { color: #0a0a0a; }
.hover\:opacity-100:hover { opacity: 1; }

/* === Group hover === */
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }
.group:hover .group-hover\:opacity-100 { opacity: 1; }

/* === Focus === */
.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }

/* === Custom utilities === */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
.animation-delay-2000 { animation-delay: 2s; }
.animation-delay-4000 { animation-delay: 4s; }
.reveal { opacity: 0; transform: translateY(2rem); transition-property: all; transition-duration: 1000ms; transition-timing-function: cubic-bezier(0, 0, 0.2, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.image-card-gradient { background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.4) 50%, rgba(10,10,10,0) 100%); }

/* === Animations === */
@keyframes blob {
  0% { transform: translate(0px, 0px) scale(1); }
  33% { transform: translate(30px, -50px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
  100% { transform: translate(0px, 0px) scale(1); }
}
.animate-blob { animation: blob 15s infinite alternate; }

/* === Dark mode (prefers-color-scheme) === */
@media (prefers-color-scheme: dark) {
  .dark\:bg-dark { background-color: #0a0a0a; }
  .dark\:bg-dark\/80 { background-color: rgb(10 10 10 / 0.8); }
  .dark\:bg-dark\/95 { background-color: rgb(10 10 10 / 0.95); }
  .dark\:bg-surface { background-color: #141414; }
  .dark\:bg-surface2 { background-color: #1a1a1a; }
  .dark\:bg-gold\/5 { background-color: rgb(200 169 110 / 0.05); }
  .dark\:bg-white { background-color: #fff; }
  .dark\:bg-white\/\[0\.02\] { background-color: rgb(255 255 255 / 0.02); }
  .dark\:text-white { color: #fff; }
  .dark\:text-dark { color: #0a0a0a; }
  .dark\:text-dark-text { color: #f5f5f5; }
  .dark\:text-dark-text-light { color: #9ca3af; }
  .dark\:border-white\/5 { border-color: rgb(255 255 255 / 0.05); }
  .dark\:border-white\/20 { border-color: rgb(255 255 255 / 0.2); }
  .dark\:opacity-80 { opacity: 0.8; }
  .dark\:opacity-90 { opacity: 0.9; }
  .dark\:shadow-2xl { box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25); }
  .dark\:block { display: block; }
  .dark\:blur-\[120px\] { filter: blur(120px); }
  .dark\:blur-\[150px\] { filter: blur(150px); }
  .dark\:hover\:bg-white:hover { background-color: #fff; }
  .dark\:hover\:bg-transparent:hover { background-color: transparent; }
  .dark\:hover\:text-white:hover { color: #fff; }
  .dark\:hover\:text-gold:hover { color: #c8a96e; }
  .dark\:hover\:text-dark:hover { color: #0a0a0a; }
  .dark\:hover\:border-gold:hover { border-color: #c8a96e; }
  .group:hover .dark\:group-hover\:opacity-100 { opacity: 1; }
  .dark\:selection\:text-dark ::selection, .dark\:selection\:text-dark::selection { color: #0a0a0a; }
}

/* === sm (min-width: 640px) === */
@media (min-width: 640px) {
  .sm\:auto-rows-\[200px\] { grid-auto-rows: 200px; }
}

/* === md (min-width: 768px) === */
@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:flex-row { flex-direction: row; }
  .md\:hidden { display: none; }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .md\:grid-rows-2 { grid-template-rows: repeat(2, minmax(0, 1fr)); }
  .md\:col-span-1 { grid-column: span 1 / span 1; }
  .md\:col-span-2 { grid-column: span 2 / span 2; }
  .md\:col-span-5 { grid-column: span 5 / span 5; }
  .md\:col-span-6 { grid-column: span 6 / span 6; }
  .md\:col-start-2 { grid-column-start: 2; }
  .md\:col-start-7 { grid-column-start: 7; }
  .md\:row-span-1 { grid-row: span 1 / span 1; }
  .md\:row-span-2 { grid-row: span 2 / span 2; }
  .md\:auto-rows-\[240px\] { grid-auto-rows: 240px; }
  .md\:gap-4 { gap: 1rem; }
  .md\:gap-x-12 { column-gap: 3rem; }
  .md\:px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
  .md\:px-24 { padding-left: 6rem; padding-right: 6rem; }
  .md\:p-6 { padding: 1.5rem; }
  .md\:p-8 { padding: 2rem; }
  .md\:p-16 { padding: 4rem; }
  .md\:my-8 { margin-top: 2rem; margin-bottom: 2rem; }
  .md\:mt-8 { margin-top: 2rem; }
  .md\:h-\[650px\] { height: 650px; }
  .md\:text-\[10px\] { font-size: 10px; }
  .md\:text-xs { font-size: 0.75rem; line-height: 1rem; }
  .md\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
  .md\:left-8 { left: 2rem; }
  .md\:right-8 { right: 2rem; }
  .md\:right-10 { right: 2.5rem; }
  .md\:top-8 { top: 2rem; }
}

/* === lg (min-width: 1024px) === */
@media (min-width: 1024px) {
  .lg\:grid-cols-\[1fr_1\.3fr\] { grid-template-columns: 1fr 1.3fr; }
  .lg\:h-\[700px\] { height: 700px; }
}

