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

:root {
  --cream: #FAF8F5;
  --cream-dark: #F2EDE6;
  --warm-white: #FFFFFF;
  --charcoal: #2C2C2C;
  --charcoal-light: #4A4A4A;
  --text-muted: #7A7068;
  --text-faint: #B0A89E;
  --border: #E8E0D5;
  --border-dark: #D4C9BC;
  --gold: #C9A84C;
  --gold-light: #E8D5A0;
  --gold-glow: rgba(201,168,76,0.12);
  --teal: #4ECDC4;
  --rose: #C4797A;
  --sage: #7A9E87;
  --font-head: 'Rajdhani', sans-serif;
  --font-serif: 'Lora', serif;
  --font-body: 'DM Sans', sans-serif;
  --shadow-sm: 0 2px 12px rgba(44,44,44,0.06);
  --shadow-md: 0 8px 32px rgba(44,44,44,0.10);
  --shadow-lg: 0 20px 60px rgba(44,44,44,0.14);
}

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

body {
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  min-height: 100vh;
}

/* subtle texture overlay */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A84C' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none; z-index: 0;
}

/* NAV */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,248,245,0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  height: 72px;
  display: flex; align-items: center;
  padding: 0 2rem;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
/* Updated Logo Size for SVG */
.nav-logo img { height: 45px; width: auto; object-fit: contain; display: block; }
.nav-logo-text {
  font-family: var(--font-head); font-size: 1.15rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--charcoal);
}
.nav-logo-text span { color: var(--gold); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-family: var(--font-head); font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted); text-decoration: none; transition: color 0.2s;
  position: relative; padding-bottom: 2px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1px; background: var(--gold); transition: width 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--charcoal); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--charcoal); transition: all 0.3s; }

/* HERO */
.hero {
  position: relative; z-index: 1;
  padding: 7rem 2rem 5rem;
  max-width: 1200px; margin: 0 auto;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -60px; right: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201,168,76,0.10) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; bottom: 0; left: -40px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(78,205,196,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.hero-eyebrow {
  font-family: var(--font-head); font-size: 0.75rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem;
  display: flex; align-items: center; gap: 12px;
}
.hero-eyebrow::before { content: ''; display: block; width: 32px; height: 1px; background: var(--gold); }
.hero h1 {
  font-family: var(--font-head); font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700; line-height: 1; letter-spacing: 0.02em;
  text-transform: uppercase; margin-bottom: 1.5rem; color: var(--charcoal);
}
.hero h1 span { color: var(--gold); }
.hero-desc {
  font-family: var(--font-serif); font-size: 1.15rem; color: var(--text-muted);
  max-width: 520px; font-style: italic; line-height: 1.85;
}

/* SECTION */
section { position: relative; z-index: 1; padding: 4rem 2rem; max-width: 1200px; margin: 0 auto; }
.section-label {
  font-family: var(--font-head); font-size: 0.72rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem;
}
h2.section-title {
  font-family: var(--font-head); font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--charcoal); margin-bottom: 2.5rem;
}

/* BLOG GRID */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }

.post-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  text-decoration: none; color: var(--charcoal);
  display: flex; flex-direction: column;
  transition: all 0.3s; position: relative; overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.post-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.post-card:hover::before { transform: scaleX(1); }
.post-card:hover {
  border-color: var(--gold-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.post-card-cat {
  font-family: var(--font-head); font-size: 0.7rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold); padding: 1.5rem 1.5rem 0;
}
.post-card-title {
  font-family: var(--font-head); font-size: 1.25rem; font-weight: 700;
  letter-spacing: 0.02em; text-transform: uppercase;
  padding: 0.6rem 1.5rem 0.8rem; line-height: 1.2; color: var(--charcoal);
}
.post-card-excerpt {
  font-size: 0.9rem; color: var(--text-muted); padding: 0 1.5rem;
  font-weight: 300; line-height: 1.7; flex: 1;
  font-family: var(--font-serif); font-style: italic;
}
.post-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 1.5rem; margin-top: 1rem;
  border-top: 1px solid var(--border);
}
.post-card-date { font-size: 0.75rem; color: var(--text-faint); font-family: var(--font-head); letter-spacing: 0.1em; }
.post-card-arrow {
  font-family: var(--font-head); font-size: 0.75rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; gap: 6px; transition: gap 0.2s;
}
.post-card:hover .post-card-arrow { gap: 10px; }

/* DIVIDER */
.divider { border: none; border-top: 1px solid var(--border); margin: 0 2rem; position: relative; z-index: 1; }

/* ABOUT SECTION */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-logo-wrap { display: flex; justify-content: center; align-items: center; }
.about-logo-inner {
  width: 200px; height: 200px;
  background: var(--warm-white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.about-logo-inner::before {
  content: ''; position: absolute; inset: -1px;
  border: 1px solid var(--gold-light); opacity: 0.6;
  transform: translate(8px, 8px);
}
.about-logo-inner img { width: 150px; height: 150px; object-fit: contain; }
.about-text h2 { margin-bottom: 1.2rem; }
.about-text p { color: var(--text-muted); font-weight: 300; margin-bottom: 1rem; line-height: 1.8; }
.about-note {
  font-size: 0.85rem !important; border-top: 1px solid var(--border);
  padding-top: 1.2rem; margin-top: 1.5rem; font-style: italic;
}

/* FOOTER */
footer {
  position: relative; z-index: 1;
  background: var(--charcoal);
  border-top: 3px solid var(--gold);
  padding: 3rem 2rem;
  text-align: center;
}
.footer-logo { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 1.5rem; text-decoration: none; }
/* Updated Footer Logo Size */
.footer-logo img { height: 32px; width: auto; object-fit: contain; }
.footer-logo span { font-family: var(--font-head); font-size: 1rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.footer-links { display: flex; justify-content: center; gap: 2rem; list-style: none; margin-bottom: 1.5rem; flex-wrap: wrap; }
.footer-links a { font-family: var(--font-head); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: 0.78rem; color: var(--text-faint); }

/* POST PAGE */
.post-hero {
  position: relative; z-index: 1;
  padding: 5rem 2rem 2.5rem; max-width: 800px; margin: 0 auto;
  border-bottom: 1px solid var(--border);
}
.post-cat {
  font-family: var(--font-head); font-size: 0.72rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1rem;
  display: flex; align-items: center; gap: 12px;
}
.post-cat::before { content: ''; display: block; width: 24px; height: 1px; background: var(--gold); }
.post-hero h1 {
  font-family: var(--font-head); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; line-height: 1.1; letter-spacing: 0.02em;
  text-transform: uppercase; margin-bottom: 1.2rem; color: var(--charcoal);
}
.post-meta { font-size: 0.8rem; color: var(--text-faint); font-family: var(--font-head); letter-spacing: 0.1em; margin-bottom: 2rem; }
.post-excerpt {
  font-family: var(--font-serif); font-size: 1.15rem; color: var(--text-muted);
  line-height: 1.8; font-style: italic;
  padding: 1.5rem 1.5rem 1.5rem 2rem;
  border-left: 3px solid var(--gold);
  background: var(--cream-dark);
}

.post-body { max-width: 800px; margin: 0 auto; padding: 3rem 2rem 5rem; position: relative; z-index: 1; }
.post-body hr { border: none; border-top: 1px solid var(--border); margin: 2.5rem 0; }
.post-body h2 {
  font-family: var(--font-head); font-size: 1.4rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em; color: var(--charcoal);
  margin: 2.5rem 0 0.8rem; padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.post-body p { color: var(--text-muted); font-weight: 300; line-height: 1.85; margin-bottom: 1rem; }
.post-body strong { color: var(--charcoal); font-weight: 500; }

.post-body a.aff-link {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--charcoal); color: var(--gold);
  text-decoration: none;
  font-family: var(--font-head); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 12px 20px; margin: 0.5rem 0 1.8rem;
  transition: all 0.2s; border: 1px solid var(--charcoal);
}
.post-body a.aff-link::before { content: '→'; }
.post-body a.aff-link:hover {
  background: var(--gold); color: var(--charcoal);
  border-color: var(--gold);
}

.post-disclaimer {
  background: var(--cream-dark); border: 1px solid var(--border);
  padding: 1rem 1.5rem; font-size: 0.82rem; color: var(--text-faint);
  font-style: italic; margin-top: 2rem;
}

/* BACK LINK */
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-size: 0.8rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-muted); text-decoration: none;
  padding: 1.5rem 2rem 0; position: relative; z-index: 1; transition: color 0.2s;
}
.back-link::before { content: '←'; }
.back-link:hover { color: var(--gold); }

/* PAGE BODY */
.page-body { max-width: 800px; margin: 0 auto; padding: 3rem 2rem 5rem; position: relative; z-index: 1; }
.page-body h2 {
  font-family: var(--font-head); font-size: 1.3rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em;
  margin: 2rem 0 0.8rem; color: var(--gold);
}
.page-body p { color: var(--text-muted); font-weight: 300; line-height: 1.85; margin-bottom: 1rem; }

/* ANIMATIONS */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.hero-inner { animation: fadeUp 0.8s ease both; }
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: rgba(250,248,245,0.98);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 2rem; gap: 1.2rem;
  }
  .nav-toggle { display: flex; }
  .hero { padding: 4rem 1.5rem 2rem; }
  .about-grid { grid-template-columns: 1fr; }
  .about-logo-wrap { display: none; }
  section { padding: 3rem 1.5rem; }
  .post-body, .page-body { padding: 2rem 1.5rem 3rem; }
  .post-hero { padding: 3rem 1.5rem 2rem; }
}
