:root{
  --brand-gold:#d4a017;
  --brand-gold-dark:#a27c12;
  --blue:#0b74da;
  --ink:#0e1117;
  --muted:#475569;
  --line:#e3e6ef;
  --surface:#ffffff;
  --surface-2:#f7f8fb;
  --glass-bg:rgba(255,255,255,0.55);
  --shadow:0 6px 24px rgba(0,0,0,.08),0 2px 8px rgba(0,0,0,.06);
  --radius:14px;
}
*{box-sizing:border-box}
html,body{height:100%}
html{scroll-behavior:smooth}
body{
  margin:0;
  font:16px/1.6 ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Ubuntu,"Helvetica Neue",Arial;
  color:var(--ink);
  background:
    radial-gradient(1200px 520px at -10% -10%,#e0f0ff 0%,transparent 60%),
    radial-gradient(1100px 520px at 110% 0%,#d7eaff 0%,transparent 55%),
    linear-gradient(180deg,#e6f1ff 0%,#d9ebff 30%,#cfe6ff 60%,#c6e1ff 100%);
}
a{color:#0a53c1;text-decoration:none;transition:opacity .15s ease}
a:hover{opacity:.9}
.container{max-width:1100px;margin:0 auto;padding:24px}
.wrap{max-width:1100px;margin:0 auto;padding:24px}

/* Sticky glass header */
header{
  position:sticky;top:0;z-index:1000;
  backdrop-filter:saturate(140%) blur(10px);
  background:var(--glass-bg);
  border-bottom:1px solid rgba(0,0,0,.06);
}
.topbar{
  max-width:1100px;margin:0 auto;padding:12px 24px;
  display:flex;align-items:center;justify-content:space-between;gap:16px;
}
.brand{display:flex;align-items:center;gap:12px}
#logo{height:60px;object-fit:contain;display:block}
.badge{
  font-size:.75rem;color:#14532d;background:#e8fbef;border:1px solid #b7f3cd;
  padding:4px 10px;border-radius:999px;letter-spacing:.2px;white-space:nowrap;
}
nav a{
  margin-left:14px;padding:8px 10px;border-radius:10px;
  color:#0f172a;font-weight:700;
}
nav a:hover{background:rgba(0,0,0,.05)}

/* Hero */
.hero{
  display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:center;
}
.hero img{
  width:100%;max-height:360px;object-fit:cover;border-radius:16px;
  border:1px solid var(--line);box-shadow:var(--shadow);
}
h1,h2,h3{margin:0 0 12px}
h1{letter-spacing:.2px}
p{margin:0 0 12px}

/* Cards */
.cards{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px;
}
.card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:16px;
}
.card h3{margin:0 0 8px}
.card p{color:var(--muted)}

/* Buttons */
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  gap:8px;padding:12px 18px;border-radius:12px;font-weight:800;
  text-decoration:none;border:1px solid transparent;
  box-shadow:0 2px 0 rgba(0,0,0,.04);
  transition:transform .06s ease,box-shadow .2s ease,background .2s ease,color .2s ease,border-color .2s ease;
  will-change:transform;
}
.btn:active{transform:translateY(1px)}
.btn:focus-visible{outline:3px solid rgba(11,116,218,.25);outline-offset:2px}

/* GOLD primary button */
.btn-primary{
  background:linear-gradient(180deg,var(--brand-gold) 0%,var(--brand-gold-dark) 100%);
  color:#1b1b1b;border-color:#9a7611;
  box-shadow:0 10px 22px rgba(212,160,23,.28),0 2px 6px rgba(0,0,0,.08);
}
.btn-primary:hover{filter:saturate(1.05) brightness(1.03)}
.btn-primary:active{filter:saturate(1.05) brightness(.98)}

/* Neutral secondary */
.btn-secondary{
  background:linear-gradient(180deg,#ffffff 0%,#f3f6fb 100%);
  color:#0f172a;border-color:#d9dce5;
  box-shadow:0 6px 14px rgba(15,23,42,.06),0 1px 4px rgba(0,0,0,.05);
}
.btn-secondary:hover{background:linear-gradient(180deg,#ffffff 0%,#eef1f7 100%)}

/* Thumbnails & gallery */
.thumbs{
  display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;
}
.thumbs img,.grid img{
  width:100%;height:180px;object-fit:cover;display:block;border-radius:12px;
  border:1px solid var(--line);box-shadow:var(--shadow);
  transition:transform .2s ease,box-shadow .2s ease,opacity .2s ease;
}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}
.grid img{height:220px}
.thumbs a:hover img,.grid a:hover img{transform:translateY(-2px) scale(1.01)}

/* Figures */
figure{
  margin:0;background:var(--surface);border:1px solid var(--line);
  border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);
}
figcaption{
  padding:10px 12px;font-size:14px;color:var(--muted);
  background:var(--surface-2);border-top:1px solid var(--line);
}

/* Footer (matching glass/gradient vibe) */
footer{
  margin-top:28px;
  background:
    radial-gradient(800px 300px at 0% 0%, rgba(255,255,255,.55), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,.75), rgba(255,255,255,.88));
  border-top:1px solid rgba(0,0,0,.06);
  color:#374151;
}
footer .container{
  display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;
}
footer nav a{color:#1f2937}
footer nav a:hover{opacity:.85}

/* Responsive */
@media (max-width:900px){
  .hero{grid-template-columns:1fr}
  nav a{margin-left:10px}
}
