@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,600&family=DM+Sans:ital,opsz,wght@0,9..40,400..700;1,9..40,400..700&family=JetBrains+Mono:wght@400;500;600&family=Noto+Sans+SC:wght@400;500;600;700&family=Noto+Serif+SC:wght@500;600;700&display=swap');

:root {
  /* 4px / 8px Spatial Rhythm Scale (web-typography-layout) */
  --space-1: 0.25rem;  /* 4px  */
  --space-2: 0.5rem;   /* 8px  */
  --space-3: 0.75rem;  /* 12px */
  --space-4: 1rem;     /* 16px */
  --space-6: 1.5rem;   /* 24px */
  --space-8: 2rem;     /* 32px */
  --space-12: 3rem;    /* 48px */
  --space-16: 4rem;    /* 64px */
  --space-24: 6rem;    /* 96px */

  /* Color Tokens */
  --bg-obsidian: #0a0c10;
  --bg-surface: #12161f;
  --bg-elevated: #181d29;
  --bg-glass: rgba(18, 22, 31, 0.88);
  --gold-primary: #d4af37;
  --gold-light: #f3dc8a;
  --gold-muted: rgba(212, 175, 55, 0.22);
  --emerald-laos: #10b981;
  --text-ivory: #f8f5ee;
  --text-secondary: #cbd0dc;
  --text-muted: #8e96a8;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(212, 175, 55, 0.34);

  /* W3C clreq Cross-Platform CJK + Latin Font Stacks */
  --font-sans: "DM Sans", "Inter", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "HarmonyOS Sans SC",
    "Noto Sans SC", "Noto Sans CJK SC", "Source Han Sans SC", system-ui, sans-serif;
  --font-serif: "Cormorant Garamond", "Playfair Display", "Songti SC", "STSong",
    "Noto Serif SC", "Noto Serif CJK SC", "Source Han Serif SC", Georgia, serif;
  --font-mono: "JetBrains Mono", "Fira Code", ui-monospace, SFMono-Regular,
    Menlo, Monaco, Consolas, monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 1024px) {
  html {
    font-size: 16.5px;
  }
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-obsidian);
  color: var(--text-ivory);
  font-size: 1rem;
  line-height: 1.75;
  letter-spacing: 0.015em;
  min-height: 100dvh;
  overflow-x: hidden;
  max-width: 100%;
  word-break: normal;
  overflow-wrap: break-word;
  background-image:
    radial-gradient(950px circle at 12% 8%, rgba(212, 175, 55, 0.08), transparent 60%),
    radial-gradient(850px circle at 88% 22%, rgba(16, 185, 129, 0.06), transparent 65%),
    radial-gradient(1000px circle at 50% 95%, rgba(212, 175, 55, 0.05), transparent 70%);
}

/* Global Readability Floor Overrides */
.text-xs { font-size: 0.84rem !important; line-height: 1.55 !important; }
.text-sm { font-size: 0.94rem !important; line-height: 1.65 !important; }
.text-base { font-size: 1.02rem !important; line-height: 1.75 !important; }
.text-\[10px\], .text-\[11px\] { font-size: 0.8125rem !important; line-height: 1.5 !important; }

/* Deliberate Line Wrapping & Measure Control (web-typography-layout) */
h1, h2, h3, h4,
.hero-title,
.section-title,
.font-serif-luxury {
  font-family: var(--font-serif);
  text-wrap: balance;
  word-break: normal;
  overflow-wrap: break-word;
}

p, li {
  text-wrap: pretty;
  word-break: normal;
  overflow-wrap: break-word;
}

/* Tabular Numerals for All Prices, Phone Numbers, Dates & Counters */
.font-mono-code,
.tabular-nums,
[data-usd],
a[href^="tel:"],
a[href^="mailto:"],
time,
input[type="date"],
input[type="tel"],
input[type="number"] {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw + 0.5rem, 3.15rem);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: 0.01em;
  color: var(--text-ivory);
  text-wrap: balance;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.3vw + 0.4rem, 2.35rem);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: 0.01em;
  color: var(--text-ivory);
  text-wrap: balance;
}

.gold-gradient-text {
  background: linear-gradient(135deg, #fff6d6 0%, #d4af37 52%, #b58922 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.38rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-gold);
}

/* Navigation & Header */
.luxury-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 12, 16, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-link {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  padding: 0.5rem 0;
  white-space: nowrap;
  text-decoration: none;
  touch-action: manipulation;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-light);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-primary), transparent);
  border-radius: 2px;
}

/* Luxury Cards & Equal-Height Grid Alignment */
.luxury-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  box-shadow: 0 22px 48px -18px rgba(0, 0, 0, 0.72);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease, box-shadow 0.28s ease;
  overflow: hidden;
  min-width: 0;
}

.grid > .luxury-card:not(.grid) {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.grid > .luxury-card:not(.grid) > :last-child {
  margin-top: auto;
}

.luxury-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: 0 28px 60px -15px rgba(0, 0, 0, 0.85), 0 0 25px -5px rgba(212, 175, 55, 0.14);
}

.luxury-card-static {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  box-shadow: 0 20px 44px -18px rgba(0, 0, 0, 0.7);
  min-width: 0;
}

.gold-border-card {
  background: linear-gradient(180deg, rgba(24, 29, 41, 0.96) 0%, rgba(15, 18, 26, 0.98) 100%);
  border: 1px solid var(--border-gold);
  border-radius: 22px;
  box-shadow: 0 24px 50px -15px rgba(0, 0, 0, 0.8);
  min-width: 0;
}

/* Interactive Contact Cards & Touch Targets (>= 44px) */
.contact-action-card {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  min-height: 52px;
  padding: 0.875rem 1.125rem;
  border-radius: 14px;
  background: rgba(12, 15, 23, 0.78);
  border: 1px solid rgba(212, 175, 55, 0.28);
  color: var(--text-ivory);
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
  touch-action: manipulation;
  min-width: 0;
}

.contact-action-card:hover {
  border-color: var(--gold-light);
  background: rgba(212, 175, 55, 0.1);
  transform: translateY(-1px);
}

.footer-tap-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.35rem 0;
  color: var(--gold-light);
  text-decoration: none;
  touch-action: manipulation;
  font-variant-numeric: tabular-nums;
}

.footer-tap-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Buttons (>= 44px Touch Ergonomics) */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.75rem 1.4rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #090b10;
  background: linear-gradient(135deg, #f6e3a1 0%, #d4af37 55%, #b68d24 100%);
  border: 1px solid rgba(255, 245, 200, 0.45);
  cursor: pointer;
  transition: all 0.22s ease;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  touch-action: manipulation;
}

.btn-gold:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
  box-shadow: 0 10px 25px -5px rgba(212, 175, 55, 0.38);
}

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.75rem 1.4rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--border-gold);
  cursor: pointer;
  transition: all 0.22s ease;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  touch-action: manipulation;
}

.btn-outline-gold:hover {
  background: rgba(212, 175, 55, 0.16);
  border-color: var(--gold-light);
  color: #ffffff;
}

.btn-emerald {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.75rem 1.4rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #ffffff;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border: 1px solid rgba(52, 211, 153, 0.35);
  cursor: pointer;
  transition: all 0.22s ease;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  touch-action: manipulation;
}

.btn-emerald:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
}

/* Image Containers & Zoom Effect */
.img-zoom-wrap {
  overflow: hidden;
  position: relative;
  background: #0d1018;
}

.img-zoom-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.luxury-card:hover .img-zoom-wrap img {
  transform: scale(1.05);
}

/* Form Inputs */
.luxury-input,
.luxury-select {
  width: 100%;
  min-height: 44px;
  padding: 0.7rem 0.95rem;
  border-radius: 11px;
  background: #0c0f17;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-ivory);
  font-size: 0.96rem;
  font-family: var(--font-sans);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.luxury-input:focus-visible,
.luxury-select:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.22);
}

/* Scrollbar Polish */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #0a0c10;
}

::-webkit-scrollbar-thumb {
  background: #232838;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #d4af37;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .no-print {
    display: none !important;
  }
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
}
