/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #2d2320;
  line-height: 1.7;
  background: #fcfaf7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; }

/* ===== VARIABLES ===== */
:root {
  --color-bg: #fcfaf7;
  --color-text: #2d2320;
  --color-text-soft: #6b5a4a;
  --color-accent: #c4956a;
  --color-accent-hover: #b8875a;
  --color-gold: #d4a762;
  --color-brown: #8b6f5c;
  --color-dark: #3d2a1e;
  --color-border: #e8d5c4;
  --color-card-bg: #ffffff;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --wrap: 1100px;
  --transition: 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ===== WRAP ===== */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ===== HEADER ===== */
header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(252, 250, 247, 0.82);
  backdrop-filter: blur(16px) saturate(1.1);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
  transition: background var(--transition), backdrop-filter var(--transition);
}
header .wrap {
  display: flex; justify-content: space-between; align-items: center;
}
header h1 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--color-brown);
  letter-spacing: -0.01em;
}
header h1 span { color: var(--color-accent); font-style: italic; }
header nav { display: flex; gap: 28px; align-items: center; }
header nav a {
  color: var(--color-text-soft);
  font-size: 14px;
  font-weight: 500;
  position: relative;
  transition: color var(--transition);
}
header nav a::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1.5px;
  background: var(--color-accent);
  transition: width var(--transition);
}
header nav a:hover { color: var(--color-accent); }
header nav a:hover::after { width: 100%; }

/* ===== ARTICLE BODY ===== */
.article-body {
  max-width: 750px;
  margin: 100px auto 60px;
  padding: 0 24px;
}
.article-body h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.2;
  margin-bottom: 8px;
}
.article-body .meta {
  color: #b0a090;
  font-size: 14px;
  margin-bottom: 32px;
}
.article-body h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  color: var(--color-dark);
  margin: 40px 0 16px;
  line-height: 1.2;
}
.article-body h3 {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 600;
  color: var(--color-brown);
  margin: 28px 0 12px;
}
.article-body p {
  margin-bottom: 18px;
  font-size: 17px;
  color: var(--color-text);
  line-height: 1.7;
}
.article-body ul, .article-body ol {
  margin-bottom: 18px;
  padding-left: 25px;
}
.article-body li {
  margin-bottom: 8px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-text-soft);
}
.article-body strong { color: var(--color-text); }
.article-body a {
  color: var(--color-accent);
  border-bottom: 1px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.article-body a:hover {
  color: var(--color-accent-hover);
  border-bottom-color: var(--color-accent);
}
.article-body blockquote {
  border-left: 3px solid var(--color-accent);
  padding: 16px 20px;
  margin: 24px 0;
  background: rgba(196, 149, 106, 0.06);
  font-style: italic;
  color: var(--color-text-soft);
  border-radius: 0 8px 8px 0;
}
.article-body hr {
  border: none;
  height: 1px;
  background: var(--color-border);
  margin: 32px 0;
}
.article-body img {
  border-radius: 12px;
  margin: 24px 0;
  width: 100%;
  border: 1px solid var(--color-border);
}

/* ===== CTA BOX ===== */
.article-body .cta-box {
  background: linear-gradient(160deg, #f5ebe0 0%, #efe1d2 100%);
  padding: 28px 32px;
  border-radius: 12px;
  margin: 36px 0;
  text-align: center;
  border: 1px solid var(--color-border);
}
.article-body .cta-box p { margin-bottom: 8px; }
.article-body .cta-box p:last-child { margin-bottom: 0; }
.article-body .cta-box strong { color: var(--color-dark); }
.article-body .cta-box a {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  padding: 12px 28px;
  border-radius: 6px;
  margin-top: 8px;
  font-weight: 500;
  border: none;
  transition: all var(--transition);
}
.article-body .cta-box a:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196, 149, 106, 0.3);
}

/* ===== ARTICLES LIST ===== */
.articles-list { padding: 100px 0 60px; }
.articles-list h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 600;
  color: var(--color-dark);
  text-align: center;
  margin-bottom: 40px;
}
.articles-list p.sub {
  text-align: center;
  color: var(--color-text-soft);
  font-size: 17px;
  margin-bottom: 48px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
              box-shadow 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}
.card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 40px rgba(45, 35, 32, 0.08), 0 0 0 1px rgba(196, 149, 106, 0.1);
}
.card-body { padding: 28px; }
.card .cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(196, 149, 106, 0.08);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
}
.card h3 a {
  color: var(--color-text);
  transition: color var(--transition);
}
.card h3 a:hover { color: var(--color-accent); }
.card p {
  color: var(--color-text-soft);
  font-size: 15px;
  line-height: 1.6;
}
.card .meta {
  color: #b0a090;
  font-size: 13px;
  margin-top: 16px;
  display: flex; align-items: center; gap: 6px;
}

/* ===== FOOTER ===== */
footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.6);
  padding: 48px 0;
  text-align: center;
  font-size: 14px;
}
footer .wrap {
  display: flex; flex-direction: column; gap: 12px;
}
footer a {
  color: var(--color-gold);
  transition: color var(--transition);
}
footer a:hover { color: #e8c88a; }
footer .footer-brand {
  font-family: var(--font-display);
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 4px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  header .wrap { flex-direction: column; gap: 12px; }
  header nav { gap: 16px; }
  header nav a { font-size: 13px; }
  .article-body { margin-top: 90px; }
  .articles-list { padding: 90px 0 40px; }
  .grid { grid-template-columns: 1fr; }
  .article-body .cta-box { padding: 20px; }
}
@media (max-width: 480px) {
  header nav a { font-size: 12px; }
}
/* force redeploy */
