.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
html { overflow-x: hidden; }
.container { width: min(100% - 2rem, var(--djl-container)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--djl-paper) 96%, transparent); border-bottom: 1px solid var(--djl-border); backdrop-filter: blur(14px); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; font-weight: 800; min-width: 0; min-height: 44px; }
.brand-mark { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 14px; background: var(--djl-ink); color: var(--djl-gold); font-family: Georgia, serif; font-size: 1.3rem; }
.brand-name { max-width: 14rem; line-height: 1.3; }
.nav-toggle { min-width: 44px; min-height: 44px; border: 1px solid var(--djl-border); background: transparent; color: inherit; border-radius: 12px; padding: .5rem .75rem; }
.primary-nav { display: none; }
.primary-nav.is-open { display: block; position: absolute; inset-inline: 1rem; top: 68px; background: var(--djl-paper); padding: 1rem; border: 1px solid var(--djl-border); border-radius: 16px; box-shadow: var(--djl-shadow); max-height: calc(100vh - 90px); overflow: auto; }
.primary-nav ul { list-style: none; display: flex; flex-direction: column; gap: .3rem; margin: 0; padding: 0; }
.primary-nav a { display: flex; align-items: center; min-height: 44px; padding: .7rem .75rem; text-decoration: none; border-radius: 10px; }
.primary-nav a:hover, .primary-nav a:focus-visible { background: var(--djl-sand); color: var(--djl-gold-dark); }
.header-actions { display: flex; align-items: center; gap: .5rem; flex: 0 0 auto; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 46px; border: 1px solid transparent; border-radius: 999px; padding: .75rem 1.2rem; text-decoration: none; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--djl-gold); color: var(--djl-ink); }
.button-secondary { border-color: var(--djl-border); background: transparent; }
.site-main { flex: 1; overflow-x: clip; }
.hero { background: radial-gradient(circle at 86% 12%, rgba(184,148,82,.22), transparent 30%), linear-gradient(135deg, var(--djl-black), var(--djl-graphite)); color: var(--djl-white); padding: clamp(4rem, 11vw, 9rem) 0; overflow: hidden; }
.hero-grid { display: grid; gap: 2rem; align-items: center; }
.hero-grid > * { min-width: 0; }
.eyebrow { color: var(--djl-gold); font-weight: 800; letter-spacing: .03em; }
.hero h1 { max-width: 780px; margin: .5rem 0 1rem; font-size: clamp(2.1rem, 6vw, 5rem); line-height: 1.12; overflow-wrap: anywhere; }
.hero p { max-width: 680px; color: rgba(255,255,255,.82); font-size: clamp(1.05rem, 2vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.section { padding: clamp(3rem, 8vw, 6.5rem) 0; }
.section-heading { max-width: 720px; margin-bottom: 2rem; }
.section-heading h2 { margin: .25rem 0 .75rem; font-size: clamp(1.75rem, 4vw, 3rem); }
.section-heading p { color: var(--djl-muted); }
.card-grid { display: grid; gap: 1rem; }
.card { height: 100%; min-width: 0; padding: 1.4rem; border: 1px solid var(--djl-border); border-radius: var(--djl-radius); background: var(--djl-paper); box-shadow: 0 8px 24px rgba(18,16,14,.06); }
.card h3 { margin-top: 0; }
.card p { color: var(--djl-muted); }
/* Topbar Styles */
.djl-topbar { background: #141210; color: rgba(255,255,255,.85); border-bottom: 1px solid rgba(216,189,134,.18); font-size: .84rem; padding: .45rem 0; }
.djl-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.djl-topbar__contact { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.djl-topbar__item { display: inline-flex; align-items: center; gap: .45rem; color: rgba(255,255,255,.82); text-decoration: none; transition: color .2s ease; }
.djl-topbar__item svg { color: var(--djl-gold, #b88a44); }
.djl-topbar__item:hover, .djl-topbar__item:focus-visible { color: var(--djl-gold-light, #f0d79e); }
.djl-topbar__social { display: flex; align-items: center; gap: .5rem; }

/* Social Links */
.djl-social-links, .footer-social, .djl-topbar__social-list { display: inline-flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.djl-social-link { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.08); border: 1px solid rgba(216,189,134,.25); color: rgba(255,255,255,.85); text-decoration: none; transition: all .25s ease; }
.djl-social-link:hover, .djl-social-link:focus-visible { background: var(--djl-gold, #b88a44); border-color: var(--djl-gold, #b88a44); color: #12100e; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(184,138,68,.35); }
.footer-social { margin-top: 1.25rem; }
.footer-social .djl-social-link { width: 36px; height: 36px; }

/* Footer Styles */
.site-footer { background: var(--djl-ink); color: var(--djl-white); padding: 3rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 1.75rem; padding-bottom: 2rem; }
.footer-heading { color: var(--djl-gold-light, #f0d79e); font-size: 1.05rem; margin: 0 0 .9rem; font-family: var(--djl-display); font-weight: 700; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .4rem; }
.footer-links a { color: rgba(255,255,255,.72); text-decoration: none; transition: color .2s ease, padding-inline-start .2s ease; display: inline-block; font-size: .9rem; padding-block: 2px; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--djl-gold-light, #f0d79e); padding-inline-start: 4px; }
.footer-contact-list { list-style: none; padding: 0; margin: 0 0 .9rem; display: flex; flex-direction: column; gap: .5rem; }
.footer-contact-list li { display: flex; align-items: flex-start; gap: .55rem; color: rgba(255,255,255,.75); font-size: .88rem; line-height: 1.5; }
.footer-contact-list svg { color: var(--djl-gold, #b88a44); flex: 0 0 auto; margin-top: 3px; }
.footer-contact-list a { color: rgba(255,255,255,.85); text-decoration: none; }
.footer-contact-list a:hover { color: var(--djl-gold-light, #f0d79e); }
.footer-bottom { display: flex; align-items: center; justify-content: center; text-align: center; flex-wrap: wrap; gap: .75rem; margin-top: 0; padding-top: 1rem; padding-bottom: 1rem; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.6); font-size: .84rem; }
.site-footer a { color: rgba(255,255,255,.75); }
.site-footer .footer-links a, .site-footer .footer-contact-list a { min-height: 0; }
.card a { display: inline-flex; align-items: center; min-height: 44px; }

@media (max-width: 991px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .djl-topbar__item--email { display: none; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .djl-topbar__inner { flex-direction: column; gap: .35rem; text-align: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 479px) { .container { width: min(100% - 1.25rem, var(--djl-container)); } .header-inner { gap: .5rem; } .brand-name { max-width: 10rem; font-size: .92rem; } .hero { padding: 4.5rem 0 4rem; } .hero-actions { align-items: stretch; } .hero-actions .button { width: 100%; } .card { padding: 1.15rem; } }
@media (min-width: 960px) { .nav-toggle { display: none; } .primary-nav { display: block; } .primary-nav ul { flex-direction: row; align-items: center; } .hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); } .card-grid { grid-template-columns: repeat(3, 1fr); } }
.page-hero { background: linear-gradient(135deg, var(--djl-black), var(--djl-graphite)); color: var(--djl-white); padding: 2.75rem 0 1.75rem; text-align: center; }
.page-hero h1 { margin: .35rem auto .5rem; font-size: clamp(1.85rem, 3.2vw, 2.5rem); text-align: center; max-width: 1200px; }
.entry-content { width: 100%; max-width: 100%; margin-inline: 0; }
.entry-content > div > h1, .entry-content > div > h2, .entry-content > div > h3 { margin-top: 1.5rem; color: var(--djl-ink); width: 100%; max-width: 100%; }
.entry-content > div > p { width: 100%; max-width: 100%; color: var(--djl-muted); }
.entry-content > div > ul, .entry-content > div > ol { padding-inline-start: 1.5rem; }
.entry-content > div img { border-radius: var(--djl-radius); box-shadow: var(--djl-shadow); }
.form-field input, .form-field textarea, .form-field select { min-height: 46px; }

/* DJL Scroll to Top Button (Fixed on Left) */
.djl-scroll-top {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 999;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #171513;
  color: #f0d79e;
  border: 1.5px solid #d2ad68;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s ease, visibility .3s ease, transform .3s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
  padding: 0;
}
.djl-scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.djl-scroll-top:hover,
.djl-scroll-top:focus-visible {
  background: #d2ad68;
  color: #171513;
  border-color: #f0d79e;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(210, 173, 104, .4);
}
.djl-scroll-top svg {
  transition: transform .2s ease;
}
.djl-scroll-top:hover svg {
  transform: translateY(-2px);
}

:root[data-theme='dark'] .djl-scroll-top {
  background: #24201b;
  border-color: #d2ad68;
  color: #f0d79e;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .5);
}
:root[data-theme='dark'] .djl-scroll-top:hover {
  background: #d2ad68;
  color: #171513;
}

@media (max-width: 640px) {
  .djl-scroll-top {
    bottom: 18px;
    left: 18px;
    width: 40px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }

