:root{
  --black:#000000; --gold:#D4AF37; --champagne:#F7E7CE; --plum:#5A2A5D; --white:#FFFFFF;
  --gold-light:#e5c65c;
}
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:"DM Sans",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:var(--black);line-height:1.6;background:#f5f3f0;overflow-x:hidden}

header{
  position:fixed; inset:0 0 auto 0; z-index:50;
  background:rgba(247,231,206,.95); backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(0,0,0,.06);
  padding:1rem 2rem; transition:box-shadow .25s ease;
}
header.scrolled{box-shadow:0 4px 24px rgba(0,0,0,.06)}
nav{max-width:1200px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:1rem}
.logo{display:flex;align-items:center;text-decoration:none}
.logo-img{height:40px;width:auto;object-fit:contain}
.nav-links{display:flex;gap:2.25rem;list-style:none;align-items:center}
.nav-links a{color:var(--black);text-decoration:none;font-weight:600;font-size:.88rem;letter-spacing:.08em;transition:color .2s ease}
.nav-links a:hover,.nav-links a.is-active{color:var(--gold)}
.btn-signin{background:var(--gold);color:var(--white);border:0;padding:.65rem 1.4rem;border-radius:10px;font-weight:700;font-size:.9rem;cursor:pointer;text-decoration:none;transition:transform .2s ease,background .2s ease}
.btn-signin:hover{background:var(--gold-light);transform:translateY(-1px)}
main{padding-top:88px}

.wrap{max-width:1100px;margin:0 auto;padding:0 2rem}
.section-label{font-size:.9rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--gold);margin-bottom:.5rem}
h1,h2{line-height:1.15;letter-spacing:-.02em}
h1{font-size:clamp(2.1rem,4vw,3rem)}
.accent{font-family:"Playfair Display",serif;font-style:italic;color:var(--plum)}
.muted{opacity:.82}

.hero{background:var(--champagne);padding:4rem 0 3rem;border-bottom:1px solid rgba(0,0,0,.05)}
.hero p{margin-top:1rem;font-size:1.05rem;max-width:640px}

.blog-main{padding:3rem 0 5rem}
.blog-status{
  text-align:center;padding:1rem 1.25rem;border-radius:12px;
  background:rgba(255,255,255,.85);border:1px solid rgba(0,0,0,.08);
  margin-bottom:1.5rem;font-weight:500;
}
.blog-status--loading{color:var(--plum)}
.blog-status--error{color:#b71c1c;border-color:rgba(183,28,28,.25);background:rgba(183,28,28,.06)}

.blog-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(300px,1fr));
  gap:1.5rem;
}
.blog-card{
  background:var(--white);border-radius:18px;
  border:1px solid rgba(0,0,0,.06);
  box-shadow:0 10px 28px rgba(0,0,0,.05);
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
  overflow:hidden;
}
.blog-card:hover{transform:translateY(-3px);border-color:rgba(212,175,55,.45);box-shadow:0 16px 40px rgba(0,0,0,.08)}
.blog-card-link{display:block;padding:1.75rem;text-decoration:none;color:inherit;height:100%}
.blog-card time{display:block;font-size:.82rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--gold);margin-bottom:.65rem}
.blog-card h2{font-size:1.25rem;margin-bottom:.6rem}
.blog-card p{font-size:.96rem;opacity:.8;margin-bottom:1rem}
.blog-card-cta{font-size:.88rem;font-weight:700;color:var(--plum);letter-spacing:.04em}
.blog-card:hover .blog-card-cta{color:var(--gold)}

.blog-empty{
  grid-column:1/-1;text-align:center;padding:3rem 2rem;
  background:var(--white);border-radius:18px;border:1px dashed rgba(0,0,0,.12);
}
.blog-empty p + p{margin-top:.5rem}

.blog-back{
  display:inline-flex;align-items:center;gap:.35rem;
  font-weight:700;font-size:.9rem;color:var(--plum);
  text-decoration:none;margin-bottom:1.5rem;letter-spacing:.04em;
}
.blog-back:hover{color:var(--gold)}

/* —— Article page (blog-post.html) —— */
.page-article{background:#f0eeea}
.page-article main{padding-top:0}
.page-article header{
  background:rgba(12,10,14,.72);backdrop-filter:blur(14px);
  border-bottom-color:rgba(255,255,255,.06);
}
.page-article header.scrolled{
  background:rgba(12,10,14,.92);
  box-shadow:0 8px 32px rgba(0,0,0,.25);
}
.page-article .nav-links a{color:rgba(255,255,255,.82)}
.page-article .nav-links a:hover,
.page-article .nav-links a.is-active{color:var(--gold)}

.read-progress{
  position:fixed;top:0;left:0;z-index:60;height:3px;width:0;
  background:linear-gradient(90deg,var(--gold),var(--gold-light));
  box-shadow:0 0 12px rgba(212,175,55,.45);
  transition:width .12s ease-out;
  pointer-events:none;
}

.article-hero{
  position:relative;overflow:hidden;
  padding:7.5rem 0 3.5rem;
  background:linear-gradient(155deg,#0a0a0a 0%,#1a1020 42%,#2d1a35 100%);
  color:var(--white);
}
.article-hero__glow{
  position:absolute;inset:-20% -10% auto -10%;height:70%;
  background:
    radial-gradient(ellipse 55% 50% at 75% 15%,rgba(212,175,55,.22) 0%,transparent 60%),
    radial-gradient(ellipse 40% 45% at 15% 80%,rgba(247,231,206,.08) 0%,transparent 55%);
  pointer-events:none;
}
.article-hero__inner{position:relative;z-index:1;max-width:760px}

.article-breadcrumb{
  display:flex;align-items:center;flex-wrap:wrap;gap:.4rem;
  font-size:.78rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;
  margin-bottom:1.25rem;
}
.article-breadcrumb a{color:rgba(255,255,255,.72);text-decoration:none;transition:color .2s}
.article-breadcrumb a:hover{color:var(--gold)}
.article-breadcrumb__sep{opacity:.35}
.article-breadcrumb__current{color:var(--gold)}

.article-back{
  display:inline-flex;align-items:center;gap:.45rem;
  padding:.45rem .85rem .45rem .65rem;margin-bottom:1.75rem;
  border-radius:999px;border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);backdrop-filter:blur(8px);
  font-size:.82rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;
  color:rgba(255,255,255,.88);text-decoration:none;
  transition:border-color .2s,background .2s,color .2s;
}
.article-back:hover{border-color:rgba(212,175,55,.5);background:rgba(212,175,55,.12);color:var(--gold)}
.article-back__icon{font-size:1rem;line-height:1}
.article-back--bottom{
  margin:0;border-radius:12px;padding:.75rem 1.1rem;
  background:var(--white);border-color:rgba(0,0,0,.08);color:var(--plum);
  text-transform:none;letter-spacing:.02em;font-size:.92rem;
}
.article-back--bottom:hover{background:var(--champagne);color:var(--plum)}

.article-eyebrow{
  font-size:.75rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase;
  color:var(--gold);margin-bottom:.85rem;
}
.article-title,
.blog-article-header h1{
  font-family:"Playfair Display",serif;
  font-size:clamp(2rem,4.5vw,3.15rem);
  font-weight:700;line-height:1.12;letter-spacing:-.02em;
  color:var(--white);max-width:18ch;
}
.article-meta{
  display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .75rem;
  margin-top:1.35rem;padding-top:1.35rem;
  border-top:1px solid rgba(255,255,255,.12);
}
.article-meta time{
  font-size:.8rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
  color:rgba(247,231,206,.9);
}
.article-meta__dot{opacity:.4;color:var(--gold)}
.article-meta__read{font-size:.8rem;font-weight:600;color:rgba(255,255,255,.65);letter-spacing:.04em}

.article-body-section{padding:0 0 4.5rem;margin-top:-2rem;position:relative;z-index:2}
.article-layout{max-width:760px}

.article-sheet{
  background:var(--white);border-radius:24px;
  border:1px solid rgba(0,0,0,.06);
  box-shadow:0 24px 64px rgba(0,0,0,.08),0 4px 16px rgba(0,0,0,.04);
  overflow:hidden;
}
.article-sheet::before{
  content:'';display:block;height:4px;
  background:linear-gradient(90deg,var(--gold),var(--gold-light),var(--plum));
}

.blog-article-body.article-prose{
  max-width:none;margin:0;padding:2.75rem clamp(1.5rem,4vw,3rem) 3rem;
}
.blog-article-body:empty{
  min-height:280px;
  background:linear-gradient(90deg,#f5f3f0 0%,#ebe8e3 50%,#f5f3f0 100%);
  background-size:200% 100%;
  animation:article-shimmer 1.4s ease-in-out infinite;
}
@keyframes article-shimmer{
  0%{background-position:100% 0}
  100%{background-position:-100% 0}
}

.blog-article-body p{
  margin-bottom:1.35rem;font-size:1.125rem;line-height:1.82;
  color:rgba(0,0,0,.88);
}
.blog-article-body p:last-child{margin-bottom:0}
.blog-article-body > p:first-of-type::first-letter{
  font-family:"Playfair Display",serif;
  float:left;font-size:3.4rem;line-height:.9;font-weight:700;
  margin:.08rem .55rem 0 0;color:var(--plum);
}
.blog-article-body h2{
  font-family:"Playfair Display",serif;
  font-size:clamp(1.45rem,2.8vw,1.95rem);
  font-weight:700;line-height:1.2;
  margin:2.25rem 0 1rem;color:var(--black);
  padding-bottom:.5rem;border-bottom:1px solid rgba(212,175,55,.25);
}
.blog-article-body h2:first-child{margin-top:0}
.blog-article-body strong{font-weight:700;color:var(--black)}
.blog-article-body em{font-style:italic;color:rgba(0,0,0,.78)}
.blog-article-body a{
  color:var(--plum);text-decoration:underline;text-underline-offset:4px;
  text-decoration-color:rgba(90,42,93,.35);font-weight:600;
  transition:color .2s,text-decoration-color .2s;
}
.blog-article-body a:hover{color:var(--gold);text-decoration-color:var(--gold)}
.blog-article-body ul,.blog-article-body ol{margin:0 0 1.5rem;padding-left:1.5rem}
.blog-article-body li{margin-bottom:.55rem;font-size:1.08rem;line-height:1.72}
.blog-article-body li::marker{color:var(--gold)}
.blog-article-body blockquote{
  margin:1.75rem 0;padding:1.35rem 1.5rem;
  border-left:none;border-radius:16px;
  background:linear-gradient(135deg,rgba(247,231,206,.55),rgba(247,231,206,.2));
  box-shadow:inset 0 0 0 1px rgba(212,175,55,.2);
  position:relative;
}
.blog-article-body blockquote::before{
  content:'"';position:absolute;top:.5rem;left:1rem;
  font-family:"Playfair Display",serif;font-size:2.5rem;line-height:1;
  color:rgba(212,175,55,.45);
}
.blog-article-body blockquote p{
  margin:0;padding-left:1.5rem;font-size:1.05rem;line-height:1.75;
  color:rgba(0,0,0,.78);font-style:italic;
}

.article-cta{margin-top:2rem}
.article-cta__inner{
  padding:2rem 2.25rem;border-radius:20px;
  background:linear-gradient(135deg,var(--plum) 0%,#3d1f40 50%,#1a1020 100%);
  border:1px solid rgba(212,175,55,.2);
  box-shadow:0 16px 48px rgba(90,42,93,.25);
  color:var(--white);
}
.article-cta__label{
  font-size:.72rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;
  color:var(--gold);margin-bottom:.65rem;
}
.article-cta__title{
  font-family:"Playfair Display",serif;
  font-size:clamp(1.5rem,3vw,2rem);line-height:1.2;margin-bottom:.75rem;
}
.article-cta__title .accent{font-style:italic;color:var(--champagne)}
.article-cta__text{font-size:.98rem;line-height:1.65;opacity:.88;max-width:42ch;margin-bottom:1.35rem}
.article-cta__actions{display:flex;flex-wrap:wrap;gap:.65rem}
.article-cta__btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:.7rem 1.25rem;border-radius:12px;font-weight:700;font-size:.88rem;
  text-decoration:none;letter-spacing:.04em;transition:transform .2s,box-shadow .2s,background .2s;
}
.article-cta__btn--primary{
  background:linear-gradient(135deg,var(--gold),var(--gold-light));
  color:var(--black);border:0;
  box-shadow:0 8px 24px rgba(212,175,55,.35);
}
.article-cta__btn--primary:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(212,175,55,.45)}
.article-cta__btn--ghost{
  background:transparent;color:var(--white);
  border:1px solid rgba(255,255,255,.28);
}
.article-cta__btn--ghost:hover{border-color:var(--gold);color:var(--gold)}

.article-footer-nav{margin-top:1.5rem}
.page-article .blog-status{border-radius:14px;margin-bottom:1.25rem}

footer{position:relative;overflow:hidden;padding:3rem 2rem 2rem;background:var(--black);color:var(--white);background-image:radial-gradient(ellipse 70% 50% at 90% 20%, rgba(212,175,55,0.12) 0%, transparent 55%),radial-gradient(ellipse 50% 60% at 10% 80%, rgba(212,175,55,0.08) 0%, transparent 50%)}
footer::before{content:'';position:absolute;top:-20%;right:-5%;width:45%;height:60%;background:radial-gradient(circle,rgba(212,175,55,0.1) 0%,transparent 65%);pointer-events:none;z-index:0}
.footer-content{position:relative;z-index:1;max-width:1200px;margin:0 auto;display:grid;grid-template-columns:1fr 2fr 1fr;gap:3rem;margin-bottom:2rem;align-items:start}
.footer-brand{text-align:center}
.footer-brand .logo{display:inline-flex;justify-content:center}
.footer-column:first-of-type{text-align:right}
.footer-column:last-of-type{text-align:left}
.footer-content h4{color:var(--gold);text-transform:uppercase;letter-spacing:.08em;font-size:.9rem;margin-bottom:1rem}
.footer-content ul{list-style:none}
.footer-content a{color:var(--white);opacity:.78;text-decoration:none;display:block;padding:.3rem 0}
.footer-content a:hover{color:var(--gold);opacity:1}
.footer-brand .logo-img{height:70px;margin-bottom:.5rem}
.footer-staff-login{display:inline-block;margin:0 0 .85rem;font-size:.82rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--gold);text-decoration:none}
.footer-staff-login:hover{color:var(--gold-light);text-decoration:underline}
.footer-brand p{opacity:.82;max-width:320px;margin:0 auto}
.footer-bottom{position:relative;z-index:1;border-top:1px solid rgba(255,255,255,.18);padding-top:1.5rem;text-align:center;font-size:.9rem;opacity:.7}

@media (max-width:900px){
  .nav-links{display:none}
  .footer-content{grid-template-columns:1fr;text-align:center}
  .footer-column:first-of-type,.footer-column:last-of-type{text-align:center}
}
@media (max-width:600px){
  header{padding:1rem 1.25rem}
  .wrap{padding:0 1.25rem}
  .article-hero{padding:6.5rem 0 2.75rem}
  .article-title,.blog-article-header h1{max-width:none}
  .blog-article-body.article-prose{padding:1.75rem 1.35rem 2rem}
  .blog-article-body > p:first-of-type::first-letter{font-size:2.75rem}
  .article-cta__inner{padding:1.5rem 1.35rem}
  .article-cta__actions{flex-direction:column}
  .article-cta__btn{width:100%}
}
