/* ============================================================
   Vapes of the Round Table — Phase 2 Site
   Theme: Medieval guild hall meets modern vape culture
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700&family=Quicksand:wght@500;600;700&display=swap');

:root {
  --gold:        #e9c46a;
  --gold-light:  #f4d98a;
  --gold-dark:   #c49a3a;
  --charcoal:    #1a1a2a;
  --deep-navy:   #0f0f1a;
  --card-bg:     #1e2235;
  --card-border: #2e3450;
  --text:        #d8dce8;
  --text-muted:  #7a8099;
  --white:       #ffffff;

  --font-title:  'Cinzel', Georgia, serif;
  --font-body:   'Quicksand', system-ui, sans-serif;

  --radius:      12px;
  --transition:  0.25s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--deep-navy);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px 80px;
  overflow: hidden;
}

/* Subtle radial glow behind hero */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(233,196,106,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 100% 100% at 50% 100%, rgba(15,15,26,0.8) 0%, transparent 60%);
  pointer-events: none;
}

/* Decorative divider line */
.hero-divider {
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 20px auto;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-title);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}

.hero-title span {
  color: var(--gold);
}

.hero-subtitle {
  font-family: var(--font-title);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.hero-desc {
  max-width: 580px;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 60px;
}

/* ── Three Cards ── */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
  max-width: 1060px;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 40px 28px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-dark);
  box-shadow: 0 20px 60px rgba(233,196,106,0.12);
  color: var(--text);
}

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

.card-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1;
  filter: drop-shadow(0 0 12px rgba(233,196,106,0.3));
}

.card-title {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}

.card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex-grow: 1;
  margin-bottom: 28px;
}

.card-cta {
  display: inline-block;
  padding: 10px 24px;
  border: 1px solid var(--gold-dark);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  transition: background var(--transition), color var(--transition);
}

.card:hover .card-cta {
  background: var(--gold);
  color: var(--deep-navy);
}

/* Coming soon badge */
.badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(233,196,106,0.12);
  border: 1px solid var(--gold-dark);
  color: var(--gold);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
}

/* ── Footer ── */
footer {
  text-align: center;
  padding: 40px 24px;
  border-top: 1px solid var(--card-border);
  color: var(--text-muted);
  font-size: 0.8rem;
}

footer a { color: var(--text-muted); }
footer a:hover { color: var(--gold); }

/* ── Artisans Page ── */
.page-wrap {
  max-width: 1060px;
  margin: 0 auto;
  padding: 60px 24px;
}

.page-header {
  text-align: center;
  margin-bottom: 56px;
}

.page-header h1 {
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 8px;
}

.page-header .page-divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 16px auto 20px;
}

.page-header p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  font-size: 0.95rem;
}

.artisan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.artisan-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color var(--transition), transform var(--transition);
}

.artisan-card:hover {
  border-color: var(--gold-dark);
  transform: translateY(-3px);
}

.artisan-card.sponsored {
  border-color: var(--gold-dark);
  background: linear-gradient(135deg, var(--card-bg) 0%, #252040 100%);
}

.artisan-name {
  font-family: var(--font-title);
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 4px;
}

.artisan-specialty {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.artisan-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.artisan-link {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  border-bottom: 1px solid var(--gold-dark);
  padding-bottom: 1px;
  letter-spacing: 0.05em;
}

.sponsored-badge {
  float: right;
  background: rgba(233,196,106,0.1);
  border: 1px solid var(--gold-dark);
  color: var(--gold);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 4px;
  margin-top: 2px;
}

.artisan-cta {
  margin-top: 56px;
  text-align: center;
  padding: 40px;
  border: 1px dashed var(--card-border);
  border-radius: var(--radius);
}

.artisan-cta h3 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 8px;
}

.artisan-cta p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 20px;
}

.btn-gold {
  display: inline-block;
  padding: 12px 28px;
  background: var(--gold);
  color: var(--deep-navy);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 6px;
  transition: background var(--transition);
}

.btn-gold:hover {
  background: var(--gold-light);
  color: var(--deep-navy);
}

/* ── Site nav (inner pages) ── */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  border-bottom: 1px solid var(--card-border);
  position: sticky;
  top: 0;
  background: rgba(15,15,26,0.92);
  backdrop-filter: blur(8px);
  z-index: 100;
}

.nav-logo {
  font-family: var(--font-title);
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
}

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

/* ── Responsive ── */
@media (max-width: 768px) {
  .cards {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .nav-links {
    display: none;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .card {
    padding: 32px 20px 28px;
  }
}
