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

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f8f8fc;
  --border: #e8e6f0;
  --border-hover: #c4bfe8;
  --accent: #6366f1;
  --accent-light: #eef0fe;
  --accent-muted: #a5a7f5;
  --text-primary: #0f0d20;
  --text-secondary: #3d3958;
  --text-muted: #7a768c;
  --gold: #a8a65d;
  --gold-light: #f5f4e8;
  --radius: 12px;
  --shadow: 0 1px 4px rgba(99,102,241,0.07), 0 4px 16px rgba(99,102,241,0.05);
  --shadow-hover: 0 4px 20px rgba(99,102,241,0.14);
  --font-display: 'Cinzel', serif;
  --font-body: 'Raleway', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-primary);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  height: 60px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 4px;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-brand-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.04em;
}

.nav-brand-sub {
  font-size: 10px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-body);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
  background: var(--accent-light);
}

/* ── LAYOUT ── */
main {
  max-width: 1024px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

/* ── CARD ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s, border-color 0.25s;
}

.card:hover { box-shadow: var(--shadow-hover); border-color: var(--border-hover); }

/* ── HERO ── */
.hero {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 28px;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,24,48,0.82) 0%, rgba(26,24,48,0.3) 55%, transparent 100%);
}

.hero-content {
  position: relative;
  padding: 40px 36px;
  color: white;
}

.hero-eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: var(--font-body);
  margin-bottom: 10px;
  opacity: 0.9;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.15;
  margin-bottom: 14px;
}

.hero-desc {
  font-size: 15px;
  font-weight: 300;
  max-width: 540px;
  opacity: 0.85;
  line-height: 1.65;
  margin-bottom: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  font-family: var(--font-body);
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: white;
}
.btn-primary:hover { background: #5254e0; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(99,102,241,0.35); }

.btn-outline {
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.4);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.7); }

/* ── SECTION HEADERS ── */
.section-header {
  margin-bottom: 20px;
}

.section-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: var(--font-body);
  margin-bottom: 6px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 400;
  color: var(--text-primary);
  letter-spacing: 0.03em;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 300;
  margin-top: 6px;
}

/* ── GRID ── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

@media (max-width: 700px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  nav { padding: 0 16px; }
  .nav-links { gap: 0; }
  .nav-links a { padding: 6px 8px; font-size: 11px; }
  main { padding: 24px 16px 60px; }
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

footer a { color: var(--accent); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* ── DIVIDER ── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}

/* ── PILL TAG ── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  background: var(--accent-light);
  color: var(--accent);
}

/* ── PAGE FADE IN ── */
main { animation: fadeUp 0.5s ease both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
