@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&family=Inter:wght@300;400;500&display=swap');

/* ─── TOKENS (from Tailwind config in source) ─── */
:root {
  --background: #0a0a0a;
  --foreground: #f5f3ef;
  --card: #111111;
  --border: rgba(255,255,255,0.08);
  --gold: #c1a36a;
  --gold-soft: rgba(193,163,106,0.3);
  --muted-foreground: rgba(245,243,239,0.45);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

/* ─── GRAIN TEXTURE ─── */
.grain {
  position: relative;
}
.grain::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px 128px;
}

/* ─── TAILWIND UTILITY REPLACEMENTS ─── */

/* Layout */
.min-h-screen { min-height: 100vh; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-1 { flex: 1; }
.grid { display: grid; }
.block { display: block; }
.hidden { display: none; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.top-4 { top: 1rem; }
.left-4 { left: 1rem; }
.bottom-4 { bottom: 1rem; }
.right-4 { right: 1rem; }
.bottom-6 { bottom: 1.5rem; }
.left-6 { left: 1.5rem; }
.left-10 { left: 2.5rem; }
.z-50 { z-index: 50; }
.z-10 { z-index: 10; }
.overflow-hidden { overflow: hidden; }

/* Flex/Grid alignment */
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.items-baseline { align-items: baseline; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.flex-wrap { flex-wrap: wrap; }
.flex-shrink-0 { flex-shrink: 0; }

/* Sizing */
.w-full { width: 100%; }
.w-8 { width: 2rem; }
.w-12 { width: 3rem; }
.w-3 { width: 0.75rem; }
.w-1\.5 { width: 0.375rem; }
.w-2 { width: 0.5rem; }
.w-px { width: 1px; }
.h-px { height: 1px; }
.h-8 { height: 2rem; }
.h-3 { height: 0.75rem; }
.h-1\.5 { height: 0.375rem; }
.h-2 { height: 0.5rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-md { max-width: 28rem; }
.max-w-sm { max-width: 24rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mx-0 { margin-left: 0; margin-right: 0; }

/* Max-width container */
.max-w-\[1400px\] { max-width: 1400px; }

/* Padding */
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.px-12 { padding-left: 3rem; padding-right: 3rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.py-28 { padding-top: 7rem; padding-bottom: 7rem; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-8 { padding-top: 2rem; }
.pt-12 { padding-top: 3rem; }
.pt-32 { padding-top: 8rem; }
.pt-44 { padding-top: 11rem; }
.pb-4 { padding-bottom: 1rem; }
.pb-5 { padding-bottom: 1.25rem; }
.pb-8 { padding-bottom: 2rem; }
.pb-12 { padding-bottom: 3rem; }
.pb-20 { padding-bottom: 5rem; }
.pb-32 { padding-bottom: 8rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.p-12 { padding: 3rem; }
.pr-8 { padding-right: 2rem; }

/* Margin */
.mt-1 { margin-top: 0.25rem; }
.mt-1\.5 { margin-top: 0.375rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-7 { margin-top: 1.75rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.mt-32 { margin-top: 8rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-7 { margin-bottom: 1.75rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.-top-3 { top: -0.75rem; }

/* Gap */
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-9 { gap: 2.25rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }
.gap-20 { gap: 5rem; }

/* Space Y */
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-7 > * + * { margin-top: 1.75rem; }

/* Grid cols */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Colors - background */
.bg-background { background-color: var(--background); }
.bg-card { background-color: var(--card); }
.bg-gold { background-color: var(--gold); }
.bg-gold\/5 { background-color: rgba(193,163,106,0.05); }
.bg-gold\/90 { background-color: rgba(193,163,106,0.9); }
.bg-transparent { background-color: transparent; }

/* Colors - text */
.text-foreground { color: var(--foreground); }
.text-foreground\/70 { color: rgba(245,243,239,0.7); }
.text-foreground\/80 { color: rgba(245,243,239,0.8); }
.text-foreground\/90 { color: rgba(245,243,239,0.9); }
.text-gold { color: var(--gold); }
.text-gold\/80 { color: rgba(193,163,106,0.8); }
.text-muted-foreground { color: var(--muted-foreground); }
.text-muted-foreground\/40 { color: rgba(245,243,239,0.18); }
.text-background { color: var(--background); }

/* Colors - border */
.border { border-width: 1px; border-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-border { border-color: var(--border); }
.border-gold { border-color: var(--gold); }
.border-gold-soft { border-color: var(--gold-soft); }
.border-hairline { border-style: solid; } /* already handled by border */
.last\:border-0:last-child { border-width: 0; }

/* Border radius */
.rounded-full { border-radius: 9999px; }

/* Font families */
.font-display { font-family: var(--font-display); }
.font-light { font-weight: 300; }

/* Font sizes */
.text-\[9px\] { font-size: 9px; }
.text-\[10px\] { font-size: 10px; }
.text-\[11px\] { font-size: 11px; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.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; }

/* Font style */
.italic { font-style: italic; }
.not-italic { font-style: normal; }

/* Line height */
.leading-none { line-height: 1; }
.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-relaxed { line-height: 1.625; }
.leading-\[1\.05\] { line-height: 1.05; }

/* Text transform */
.uppercase { text-transform: uppercase; }

/* Text align */
.text-center { text-align: center; }
.text-left { text-align: left; }

/* Tracking (letter-spacing) */
.tracking-label { letter-spacing: 0.1em; }
.tracking-label-wide { letter-spacing: 0.15em; }
.tracking-wide { letter-spacing: 0.025em; }

/* Text decoration */
.line-through { text-decoration: line-through; }
.hover\:underline:hover { text-decoration: underline; }

/* Opacity */
.opacity-40 { opacity: 0.4; }

/* Appearance */
.appearance-none { -webkit-appearance: none; appearance: none; }
.outline-none { outline: none; }
.resize-none { resize: none; }
.cursor-pointer { cursor: pointer; }

/* Transition */
.transition-colors { transition-property: color, background-color, border-color; 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; }
.duration-500 { transition-duration: 500ms; }
.duration-700 { transition-duration: 700ms; }

/* Hover states */
.hover\:text-gold:hover { color: var(--gold); }
.hover\:border-gold:hover { border-color: var(--gold); }
.hover\:border-gold-soft:hover { border-color: var(--gold-soft); }
.hover\:bg-gold\/5:hover { background-color: rgba(193,163,106,0.05); }
.hover\:bg-gold\/90:hover { background-color: rgba(193,163,106,0.9); }
.hover\:bg-gold\/10:hover { background-color: rgba(193,163,106,0.1); }
.hover\:text-foreground:hover { color: var(--foreground); }
.hover\:border-foreground\/30:hover { border-color: rgba(245,243,239,0.3); }

/* Group hover */
.group:hover .group-hover\:text-gold { color: var(--gold); }
.group:hover .group-hover\:transition-colors { transition-property: color; }

/* Focus */
.focus\:border-gold:focus { border-color: var(--gold); }
.placeholder\:text-muted-foreground\/50::placeholder { color: rgba(245,243,239,0.25); }

/* Inline block */
.inline-block { display: inline-block; }

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

/* Fade-in animations */
.fade-in { opacity: 0; animation: fadeIn 0.8s ease forwards; }
.fade-in-delay-1 { animation-delay: 0.15s; }
.fade-in-delay-2 { animation-delay: 0.3s; }
.fade-in-delay-3 { animation-delay: 0.45s; }
.fade-in-delay-4 { animation-delay: 0.6s; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── RESPONSIVE: md breakpoint = 768px ─── */
@media (min-width: 768px) {
  .md\:hidden { display: none; }
  .md\:flex { display: flex; }
  .md\:block { display: block; }
  .md\:grid { display: grid; }
  .md\:px-12 { padding-left: 3rem; padding-right: 3rem; }
  .md\:py-32 { padding-top: 8rem; padding-bottom: 8rem; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .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-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .md\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .md\:col-span-2 { grid-column: span 2 / span 2; }
  .md\:col-span-5 { grid-column: span 5 / span 5; }
  .md\:col-span-7 { grid-column: span 7 / span 7; }
  .md\:order-2 { order: 2; }
  .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .md\:text-5xl { font-size: 3rem; line-height: 1; }
  .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
  .md\:text-7xl { font-size: 4.5rem; line-height: 1; }
  .md\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
  .md\:text-base { font-size: 1rem; }
  .md\:p-12 { padding: 3rem; }
}

@media (min-width: 1024px) {
  .lg\:text-8xl { font-size: 6rem; line-height: 1; }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ─── ACTIVE NAV STATE ─── */
nav a.active, nav a[aria-current="page"] { color: var(--gold) !important; }
footer a.active, footer a[aria-current="page"] { color: var(--gold); }

/* ─── MOBILE MENU ─── */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--background);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.mobile-menu-overlay.open { display: flex; }
.mobile-menu-overlay a {
  font-family: var(--font-display);
  font-size: 3rem;
  font-style: italic;
  color: var(--foreground);
  transition: color 0.3s;
}
.mobile-menu-overlay a:hover { color: var(--gold); }
.mobile-close-btn {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--muted-foreground);
  font-size: 1.5rem;
  cursor: pointer;
  font-family: var(--font-sans);
}

/* ─── FAQ ACCORDION ─── */
.faq-answer { display: none; }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-plus { display: none; }
.faq-item.open .faq-minus { display: inline; }
.faq-plus { display: inline; }
.faq-minus { display: none; }
.faq-item button { background: transparent; border: none; }
.faq-item button span.faq-question { color: var(--gold); }

/* ─── CONTACT FORM SUBMISSION ─── */
.form-sent { display: none; }
.form-sent.visible { display: block; }
