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

/* ============================================
   VARIABLES & ROOT
   ============================================ */
:root {
  --bg:        #080808;
  --bg-2:      #0d0d0d;
  --bg-3:      #141414;
  --text:      #F0EDE8;
  --muted:     #7d7870;
  --dim:       #48443e;
  --gold:      #C9A84C;
  --gold-l:    #dfbd6a;
  --gold-d:    #a58a36;
  --gold-sub:  rgba(201, 168, 76, 0.10);
  --glass:     rgba(240, 237, 232, 0.03);
  --glass-b:   rgba(201, 168, 76, 0.14);
  --glass-bh:  rgba(201, 168, 76, 0.42);

  --font-h: 'Cormorant Garamond', Georgia, serif;
  --font-b: 'DM Sans', system-ui, -apple-system, sans-serif;

  --nav-h:  80px;
  --max-w:  1240px;
  --pad:    2rem;

  --ease:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-l: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-s: cubic-bezier(0.45, 0, 0.55, 1);
}

/* ============================================
   RESET
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-b);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul { list-style: none; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

button {
  cursor: pointer;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-h);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(3.2rem, 8vw, 7.5rem); }
h2 { font-size: clamp(2.2rem, 5vw, 4rem); }
h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h4 { font-size: clamp(1.15rem, 2vw, 1.55rem); font-weight: 400; }

p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.9;
}

em {
  font-style: italic;
  color: var(--gold);
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}

section {
  padding: 8rem 0;
}

/* ============================================
   SECTION LABELS & HEADERS
   ============================================ */
.label {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-b);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.label::before {
  content: '';
  display: block;
  width: 2.2rem;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.section-head {
  margin-bottom: 4.5rem;
}

.section-head h2 {
  margin-bottom: 1.2rem;
}

.section-head p {
  max-width: 520px;
  font-size: 1.05rem;
}

.section-head.center {
  text-align: center;
}

.section-head.center .label {
  justify-content: center;
}

.section-head.center p {
  margin: 0 auto;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9rem 2.4rem;
  font-family: var(--font-b);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: none;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.07) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.65s var(--ease-l);
  pointer-events: none;
}

.btn:hover::after {
  transform: translateX(100%);
}

.btn-primary {
  background: var(--gold);
  color: var(--bg);
}

.btn-primary:hover {
  background: var(--gold-l);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(201, 168, 76, 0.32);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(240, 237, 232, 0.22);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-gold {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.btn-gold:hover {
  background: var(--gold);
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(201, 168, 76, 0.32);
}

/* ============================================
   CARDS (base)
   ============================================ */
.card {
  background: var(--glass);
  border: 1px solid var(--glass-b);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color 0.5s var(--ease), transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,168,76,0.06) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}

.card:hover {
  border-color: var(--glass-bh);
  transform: translateY(-5px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(201,168,76,0.06);
}

.card:hover::before {
  opacity: 1;
}

/* ============================================
   UTILITIES
   ============================================ */
.text-gold  { color: var(--gold); }
.text-muted { color: var(--muted); }

.tag {
  display: inline-block;
  padding: 0.3rem 0.95rem;
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--glass-b);
  color: var(--gold);
  background: var(--gold-sub);
}

.divider {
  width: 55px;
  height: 1px;
  background: var(--gold);
  margin: 1.5rem 0;
}

/* ============================================
   INNER PAGE HERO
   ============================================ */
.page-hero {
  padding-top: calc(var(--nav-h) + 7rem);
  padding-bottom: 5rem;
  text-align: center;
  position: relative;
}

.page-hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  margin-bottom: 1.2rem;
}

.page-hero p {
  max-width: 480px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 3rem;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

/* ============================================
   SCROLLBAR & SELECTION
   ============================================ */
::-webkit-scrollbar       { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold-d); border-radius: 3px; }

::selection {
  background: rgba(201, 168, 76, 0.22);
  color: var(--text);
}

/* ============================================
   RESPONSIVE BASE
   ============================================ */
@media (max-width: 1024px) {
  :root { --pad: 1.75rem; }
}

@media (max-width: 768px) {
  section { padding: 5rem 0; }
  :root   { --pad: 1.25rem; }
  .section-head { margin-bottom: 3rem; }
}

@media (max-width: 480px) {
  :root { --pad: 1rem; }
}
