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

/* ===== CSS VARIABLES ===== */
:root {
  --gold: #C9A84C;
  --gold-light: #E8C97A;
  --gold-dark: #8B6914;
  --gold-muted: rgba(201,168,76,0.18);
  --bg-deepest: #0A0804;
  --bg-deep: #0F0C07;
  --bg-dark: #141007;
  --bg-card: #1A1408;
  --bg-card2: #201A0D;
  --text-primary: #EDE3CE;
  --text-secondary: #A89868;
  --text-muted: #6B5C3E;
  --border: rgba(201,168,76,0.22);
  --border-light: rgba(201,168,76,0.10);
  --shadow-gold: 0 0 40px rgba(201,168,76,0.12);
  --shadow-card: 0 8px 40px rgba(0,0,0,0.6);
  --radius: 6px;
  --ff-serif: 'Cormorant Garamond', Georgia, serif;
  --ff-sans: 'Raleway', sans-serif;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg-deepest);
  color: var(--text-primary);
  font-family: var(--ff-sans);
  font-weight: 300;
  line-height: 1.7;
  min-height: 100vh;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(201,168,76,0.07) 0%, transparent 60%),
    repeating-linear-gradient(0deg, transparent, transparent 80px, rgba(201,168,76,0.02) 80px, rgba(201,168,76,0.02) 81px),
    repeating-linear-gradient(90deg, transparent, transparent 80px, rgba(201,168,76,0.02) 80px, rgba(201,168,76,0.02) 81px);
}

a { color: var(--gold); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--gold-light); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== LAYOUT WRAPPER ===== */
.site-wrapper {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

/* ===== THREE-COLUMN LAYOUT (content + side banners) ===== */
.three-col {
  display: grid;
  grid-template-columns: 180px 1fr 180px;
  gap: 0;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  padding: 0 16px;
}

.sidebar {
  padding: 32px 12px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 80px;
  align-self: flex-start;
  height: fit-content;
}

.main-col {
  padding: 0 24px;
  min-width: 0;
}

/* ===== BANNER PLACEHOLDER ===== */
.banner-slot {
  border: 1px dashed var(--gold-dark);
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card2) 100%);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-muted);
  font-family: var(--ff-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s;
}
.banner-slot:hover { border-color: var(--gold-dark); }
.banner-slot::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 8px, rgba(201,168,76,0.03) 8px, rgba(201,168,76,0.03) 9px);
}
.banner-slot .banner-icon {
  font-size: 22px;
  margin-bottom: 8px;
  opacity: 0.4;
}
.banner-slot .banner-label { position: relative; line-height: 1.6; opacity: 0.6; }
.banner-slot .banner-size { font-size: 9px; opacity: 0.4; margin-top: 4px; position: relative; }

.banner-160x600 { height: 600px; }
.banner-160x300 { height: 300px; }
.banner-160x250 { height: 250px; }

/* ===== HEADER / NAV ===== */
.site-header {
  background: linear-gradient(180deg, rgba(10,8,4,0.98) 0%, rgba(10,8,4,0.92) 100%);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 24px;
}

.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  flex-shrink: 0;
}
.logo-main {
  font-family: var(--ff-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.06em;
}
.logo-sub {
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.3s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--gold-light); }

.nav-cta {
  border: 1px solid var(--gold);
  padding: 8px 20px;
  border-radius: 2px;
  color: var(--gold) !important;
  font-size: 10px !important;
  letter-spacing: 0.2em !important;
}
.nav-cta:hover { background: var(--gold-muted); }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold);
  transition: all 0.3s;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  text-align: center;
  padding: 80px 24px 60px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(201,168,76,0.09) 0%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: '';
  display: block;
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.hero-eyebrow::after { background: linear-gradient(90deg, var(--gold), transparent); }

.hero h1 {
  font-family: var(--ff-serif);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 300;
  line-height: 1.12;
  color: var(--text-primary);
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-desc {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
  font-weight: 300;
  line-height: 1.8;
}

.hero-divider {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 40px;
}

.btn-primary {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--bg-deepest);
  background: var(--gold);
  padding: 14px 40px;
  font-family: var(--ff-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.3s;
}
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--bg-deepest); }

.btn-outline {
  display: inline-block;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 14px 40px;
  font-family: var(--ff-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  border-radius: 2px;
  margin-left: 16px;
  transition: all 0.3s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ===== FEATURES STRIP ===== */
.features-strip {
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 28px 0;
  margin-bottom: 60px;
}
.features-grid {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 220px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.feature-item {
  text-align: center;
  padding: 16px 24px;
  border-right: 1px solid var(--border-light);
}
.feature-item:last-child { border-right: none; }
.feature-icon { font-size: 20px; margin-bottom: 8px; }
.feature-title {
  font-family: var(--ff-serif);
  font-size: 16px;
  color: var(--gold);
  margin-bottom: 4px;
}
.feature-desc { font-size: 11px; color: var(--text-muted); letter-spacing: 0.05em; }

/* ===== SECTION HEADINGS ===== */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-label {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}
.section-title {
  font-family: var(--ff-serif);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.2;
}
.section-title em { font-style: italic; color: var(--gold); }

/* ===== ARTICLE CARDS GRID ===== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.article-card {
  background: linear-gradient(145deg, var(--bg-card) 0%, var(--bg-card2) 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
  position: relative;
}
.article-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.article-card:hover { border-color: var(--border); transform: translateY(-4px); box-shadow: var(--shadow-gold), var(--shadow-card); }
.article-card:hover::before { opacity: 1; }

.card-thumb {
  height: 180px;
  background: linear-gradient(135deg, var(--bg-card2) 0%, #251e0f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.card-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(201,168,76,0.03) 20px, rgba(201,168,76,0.03) 21px);
}
.card-thumb-icon { font-size: 48px; position: relative; opacity: 0.5; }
.card-num {
  position: absolute;
  bottom: 12px; right: 16px;
  font-family: var(--ff-serif);
  font-size: 48px;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.08;
  line-height: 1;
}

.card-body { padding: 24px; }
.card-category {
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  font-weight: 600;
}
.card-title {
  font-family: var(--ff-serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 12px;
}
.card-excerpt {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.card-link {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s;
}
.card-link:hover { gap: 14px; }
.card-link::after { content: '→'; }

/* ===== ARTICLE PAGE ===== */
.article-hero {
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 40px;
}
.article-hero .category-badge {
  display: inline-block;
  border: 1px solid var(--gold-dark);
  color: var(--gold);
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 2px;
  margin-bottom: 20px;
  font-weight: 600;
}
.article-hero h1 {
  font-family: var(--ff-serif);
  font-size: clamp(28px, 4.5vw, 54px);
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.18;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}
.article-hero h1 em { color: var(--gold); font-style: italic; }

.article-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}
.article-meta-dot { width: 3px; height: 3px; background: var(--gold-dark); border-radius: 50%; }

/* ===== ARTICLE CONTENT ===== */
.article-content {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-secondary);
}
.article-content h2 {
  font-family: var(--ff-serif);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 500;
  color: var(--text-primary);
  margin: 48px 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}
.article-content h3 {
  font-family: var(--ff-serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--gold-light);
  margin: 32px 0 14px;
}
.article-content p { margin-bottom: 20px; }
.article-content ul {
  margin: 0 0 20px 0;
  padding-left: 0;
}
.article-content ul li {
  padding-left: 24px;
  position: relative;
  margin-bottom: 10px;
  font-size: 15px;
}
.article-content ul li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 7px;
  top: 8px;
}
.article-content blockquote {
  border-left: 2px solid var(--gold);
  padding: 20px 28px;
  margin: 32px 0;
  background: var(--gold-muted);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--ff-serif);
  font-size: 20px;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.6;
}
.article-content .highlight-box {
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card2) 100%);
  padding: 28px 32px;
  border-radius: var(--radius);
  margin: 32px 0;
}
.article-content .highlight-box h4 {
  font-family: var(--ff-serif);
  font-size: 18px;
  color: var(--gold);
  margin-bottom: 14px;
}
.article-content strong { color: var(--text-primary); font-weight: 500; }
.article-content a { color: var(--gold); border-bottom: 1px solid var(--gold-dark); }
.article-content a:hover { color: var(--gold-light); border-color: var(--gold-light); }

/* ===== BREADCRUMB ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-muted);
  padding: 16px 0;
  letter-spacing: 0.05em;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-sep { color: var(--gold-dark); font-size: 9px; }

/* ===== RELATED ARTICLES ===== */
.related-section { margin-top: 60px; padding-top: 40px; border-top: 1px solid var(--border-light); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.related-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--bg-card);
  transition: all 0.3s;
}
.related-card:hover { border-color: var(--border); transform: translateY(-2px); }
.related-card .r-cat { font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; font-weight: 600; }
.related-card .r-title { font-family: var(--ff-serif); font-size: 16px; color: var(--text-primary); line-height: 1.4; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  margin-top: 80px;
  padding: 60px 24px 32px;
}
.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo-main { font-size: 24px; display: block; margin-bottom: 6px; }
.footer-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-top: 16px;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 600;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.3s;
}
.footer-col ul li a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--text-muted);
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: var(--text-muted); font-size: 11px; }
.footer-bottom-links a:hover { color: var(--gold); }

/* ===== ORNAMENT ===== */
.ornament {
  text-align: center;
  color: var(--gold);
  opacity: 0.35;
  font-size: 20px;
  letter-spacing: 12px;
  margin: 40px 0;
}

/* ===== SCROLL ANIMATION ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .three-col { grid-template-columns: 150px 1fr 150px; }
  .features-grid { padding: 0 170px; }
}

@media (max-width: 1024px) {
  .three-col { grid-template-columns: 130px 1fr 130px; }
  .features-grid { padding: 0 140px; grid-template-columns: repeat(2, 1fr); }
  .feature-item:nth-child(2) { border-right: none; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .three-col { grid-template-columns: 1fr; padding: 0 16px; }
  .sidebar { display: none; }
  .main-col { padding: 0; }

  .nav-links { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--bg-deep); border-bottom: 1px solid var(--border); padding: 20px 24px; gap: 20px; }
  .nav-links.open { display: flex; }
  .menu-toggle { display: flex; }

  .features-grid { padding: 0 16px; grid-template-columns: repeat(2, 1fr); }
  .articles-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .article-meta { flex-wrap: wrap; gap: 12px; }
  .hero { padding: 50px 16px 40px; }
  .btn-outline { margin-left: 0; margin-top: 12px; display: inline-block; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .feature-item { border-right: none; border-bottom: 1px solid var(--border-light); }
  .feature-item:last-child { border-bottom: none; }
}
