:root {
  --bg: #0a0a0f;
  --surface: #111118;
  --surface2: #16161f;
  --border: rgba(255,255,255,0.07);
  --accent: #c8a96e;
  --accent2: #e8c98e;
  --text: #e8e8f0;
  --muted: #7a7a92;
  --white: #ffffff;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: 'DM Sans', sans-serif; font-weight: 400; line-height: 1.7; overflow-x: hidden; }
body::before { content: ''; position: fixed; inset: 0; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E"); pointer-events: none; z-index: 9999; opacity: .4; }

/* NAV */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 4rem; background: rgba(10,10,15,0.85); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); }
.nav-logo { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; color: var(--white); text-decoration: none; }
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: .875rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; transition: color .25s; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-cta { background: var(--accent); color: #0a0a0f; padding: .55rem 1.4rem; border-radius: 2px; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; transition: background .25s; }
.nav-cta:hover { background: var(--accent2); }

/* HERO */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 8rem 4rem 4rem; position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 50% at 70% 50%, rgba(200,169,110,0.08) 0%, transparent 70%), radial-gradient(ellipse 40% 60% at 10% 80%, rgba(100,80,200,0.06) 0%, transparent 60%); }
.hero-line { position: absolute; top: 0; left: 4rem; width: 1px; height: 100%; background: linear-gradient(to bottom, transparent, var(--accent), transparent); opacity: .3; }
.hero-content { position: relative; max-width: 760px; }
.hero-badge { display: inline-flex; align-items: center; gap: .5rem; background: rgba(200,169,110,0.1); border: 1px solid rgba(200,169,110,0.25); color: var(--accent); padding: .4rem 1rem; border-radius: 20px; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 2rem; animation: fadeUp .8s ease both; }
.hero-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.4)} }
.hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 900; line-height: 1.05; color: var(--white); margin-bottom: 1.5rem; animation: fadeUp .8s ease .1s both; }
.hero h1 em { font-style: italic; background: linear-gradient(135deg, var(--accent), var(--accent2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 1.15rem; color: var(--muted); max-width: 520px; margin-bottom: 3rem; animation: fadeUp .8s ease .2s both; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; animation: fadeUp .8s ease .3s both; }
.hero-stats { position: absolute; right: 4rem; bottom: 6rem; display: flex; flex-direction: column; gap: 2rem; animation: fadeUp .8s ease .4s both; }
.stat { text-align: right; }
.stat-number { font-family: 'Playfair Display', serif; font-size: 2.5rem; font-weight: 900; color: var(--white); line-height: 1; }
.stat-number span { color: var(--accent); }
.stat-label { font-size: .75rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
@keyframes fadeUp { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }

/* BUTTONS */
.btn-primary { background: var(--accent); color: #0a0a0f; padding: .9rem 2.2rem; border-radius: 2px; font-weight: 700; font-size: .9rem; letter-spacing: .04em; text-decoration: none; text-transform: uppercase; transition: all .25s; border: none; cursor: pointer; display: inline-block; }
.btn-primary:hover { background: var(--accent2); box-shadow: 0 8px 30px rgba(200,169,110,0.3); transform: translateY(-2px); }
.btn-outline { border: 1px solid var(--border); color: var(--text); padding: .9rem 2.2rem; border-radius: 2px; font-weight: 500; font-size: .9rem; letter-spacing: .04em; text-decoration: none; text-transform: uppercase; transition: all .25s; display: inline-block; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: rgba(200,169,110,0.05); }

/* SECTIONS */
.section-tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--white); line-height: 1.15; margin-bottom: 1rem; }
.section-sub { color: var(--muted); font-size: 1rem; max-width: 500px; margin-bottom: 3.5rem; }

/* BLOG GRID */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; }
.blog-card { background: var(--surface); border: 1px solid var(--border); border-radius: 4px; overflow: hidden; text-decoration: none; transition: transform .3s, border-color .3s, box-shadow .3s; display: block; }
.blog-card:hover { transform: translateY(-4px); border-color: rgba(200,169,110,0.3); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.blog-img { width: 100%; aspect-ratio: 16/9; background: var(--surface2); display: flex; align-items: center; justify-content: center; font-size: 3rem; overflow: hidden; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-body { padding: 1.75rem; }
.blog-tag { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: .75rem; display: block; }
.blog-card h3 { font-family: 'Playfair Display', serif; font-size: 1.15rem; color: var(--white); margin-bottom: .75rem; line-height: 1.4; font-weight: 600; }
.blog-card p { color: var(--muted); font-size: .875rem; }
.blog-meta { display: flex; align-items: center; gap: 1rem; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--border); font-size: .8rem; color: var(--muted); }
.blog-loading { color: var(--muted); padding: 2rem 0; }

/* ABOUT */
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.about-photo { width: 100%; aspect-ratio: 4/5; background: var(--surface); border: 1px solid var(--border); border-radius: 4px; overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 6rem; color: var(--border); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-visual { position: relative; }
.about-deco { position: absolute; bottom: -1.5rem; right: -1.5rem; width: 60%; aspect-ratio: 1; border: 1px solid rgba(200,169,110,0.2); border-radius: 4px; z-index: -1; }
.about-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 2rem 0; }
.tag { background: rgba(255,255,255,0.04); border: 1px solid var(--border); color: var(--muted); font-size: .8rem; padding: .35rem .85rem; border-radius: 2px; }

/* CONTACT */
.contact { background: var(--surface); }
.contact-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.form-group input, .form-group textarea, .form-group select { background: var(--bg); border: 1px solid var(--border); color: var(--text); font-family: 'DM Sans', sans-serif; font-size: .9rem; padding: .9rem 1.1rem; border-radius: 2px; outline: none; transition: border-color .25s; resize: vertical; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item-icon { width: 40px; height: 40px; background: rgba(200,169,110,0.1); border: 1px solid rgba(200,169,110,0.2); border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.contact-item-text h4 { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .25rem; }
.contact-item-text a, .contact-item-text p { color: var(--white); text-decoration: none; font-size: .95rem; }
.contact-item-text a:hover { color: var(--accent); }

/* FOOTER */
footer { padding: 3rem 4rem; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 2rem; }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--white); font-weight: 700; }
.footer-logo span { color: var(--accent); }
.footer-links { display: flex; gap: 2rem; list-style: none; }
.footer-links a { color: var(--muted); font-size: .85rem; text-decoration: none; transition: color .25s; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { color: var(--muted); font-size: .8rem; }

/* BLOG PAGE */
.page-hero { padding: 8rem 4rem 3rem; border-bottom: 1px solid var(--border); }
.page-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 900; color: var(--white); margin-bottom: 1rem; }
.blog-filters { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 2rem; }
.filter-btn { background: transparent; border: 1px solid var(--border); color: var(--muted); padding: .45rem 1.1rem; border-radius: 20px; font-size: .8rem; font-weight: 500; cursor: pointer; transition: all .2s; font-family: 'DM Sans', sans-serif; }
.filter-btn:hover, .filter-btn.active { border-color: var(--accent); color: var(--accent); background: rgba(200,169,110,0.08); }
.blog-list-section { padding: 4rem; }

/* POST PAGE */
.post-container { max-width: 780px; margin: 0 auto; padding: 7rem 2rem 5rem; }
.post-header { margin-bottom: 3rem; }
.post-header .blog-tag { font-size: .75rem; }
.post-header h1 { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900; color: var(--white); line-height: 1.15; margin: 1rem 0; }
.post-meta { display: flex; gap: 1.5rem; color: var(--muted); font-size: .875rem; margin-bottom: 2rem; flex-wrap: wrap; }
.post-cover { width: 100%; aspect-ratio: 16/9; background: var(--surface); border-radius: 4px; overflow: hidden; margin-bottom: 3rem; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-content { color: var(--text); line-height: 1.9; font-size: 1.05rem; }
.post-content h2 { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700; color: var(--white); margin: 2.5rem 0 1rem; }
.post-content h3 { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 600; color: var(--white); margin: 2rem 0 .75rem; }
.post-content p { margin-bottom: 1.5rem; }
.post-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.post-content blockquote { border-left: 3px solid var(--accent); padding: 1rem 1.5rem; margin: 2rem 0; background: rgba(200,169,110,0.05); border-radius: 0 4px 4px 0; color: var(--muted); font-style: italic; }
.post-content code { background: var(--surface2); border: 1px solid var(--border); padding: .15rem .4rem; border-radius: 3px; font-size: .9em; font-family: monospace; color: var(--accent2); }
.post-content pre { background: var(--surface2); border: 1px solid var(--border); padding: 1.5rem; border-radius: 4px; overflow-x: auto; margin: 2rem 0; }
.post-content pre code { background: none; border: none; padding: 0; }
.post-content ul, .post-content ol { margin: 1rem 0 1.5rem 1.5rem; }
.post-content li { margin-bottom: .5rem; }
.post-content img { width: 100%; border-radius: 4px; margin: 2rem 0; }
.post-content hr { border: none; border-top: 1px solid var(--border); margin: 3rem 0; }
.post-back { display: inline-flex; align-items: center; gap: .5rem; color: var(--muted); text-decoration: none; font-size: .875rem; margin-bottom: 2rem; transition: color .2s; }
.post-back:hover { color: var(--accent); }
.post-tags { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* MOBILE */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links, .nav-cta { display: none; }
  .hero, section { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
  .hero-stats { display: none; }
  .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  footer { padding: 2rem 1.5rem; flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .blog-list-section { padding: 2rem 1.5rem; }
  .post-container { padding: 6rem 1.5rem 4rem; }
}
