/* Core theme (black/gold) */
:root {
  --bg: #0f0f10;
  --bg-alt: #151517;
  --card: #1b1c1f;
  --text: #f0f0f3;
  --muted: #a9abb3;
  --accent: #d3b575;
  --border: rgba(255,255,255,.08);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  margin: 0 0 .5rem;
  line-height: 1.2;
}
h1 { font-size: clamp(2.4rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.4rem); }
a { color: var(--accent); text-decoration: none; }
a:hover { opacity: .85; }
.container { width: min(1120px, 92%); margin: 0 auto; }
.section { padding: clamp(48px, 6vw, 96px) 0; }
.section-alt { background: var(--bg-alt); }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem 1.25rem 1.1rem;
  box-shadow: 0 18px 40px rgba(0,0,0,.25);
}
/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 72px;
  background: linear-gradient(to bottom, rgba(0,0,0,.8), rgba(0,0,0,0));
  z-index: 1000;
  display: flex;
  align-items: center;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand .logo-text { font-weight: 700; letter-spacing: .4px; }
.brand .tagline { font-size: .85rem; color: var(--muted); margin-top: -2px; }
.site-nav a { margin-left: 1rem; font-weight: 500; }
.btn {
  display: inline-block;
  padding: .75rem 1rem;
  border-radius: 12px;
  font-weight: 600;
  border: 1px solid var(--border);
  background: rgba(19,19,20,.2);
  backdrop-filter: saturate(130%) blur(2px);
}
.btn-primary { background: var(--accent); color: #111; border-color: transparent; }
.btn-outline { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn-ghost { background: rgba(0,0,0,.2); color: #fff; }
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background-image:
    linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.7)),
    url('assets/hero_courtroom_monochrome.png');
  background-size: cover;
  background-position: center;
}
.hero-inner { position: relative; z-index: 2; padding-top: 88px; }
.hero p { max-width: 560px; }
.hero .cta-row { margin-top: 1.25rem; display: flex; gap: .75rem; flex-wrap: wrap; }
.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus { left: 1rem; top: 1rem; background: #fff; color: #111; padding: .5rem .75rem; border-radius: .5rem; }
.contact-form .grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1rem;
}
.contact-form .grid-span-2 { grid-column: span 2; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: #0f1012;
  border: 1px solid var(--border);
  border-radius: .75rem;
  padding: .75rem 1rem;
  color: #fff;
}
.form-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
}
.form-note { color: var(--muted); }
.site-footer {
  padding: 2.5rem 0;
  background: #0d0d0f;
  text-align: center;
  border-top: 1px solid var(--border);
}
@media (max-width: 880px) {
  .site-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .5rem; font-size: .9rem; }
  .contact-form .grid { grid-template-columns: 1fr; }
  .contact-form .grid-span-2 { grid-column: span 1; }
  .hero { text-align: left; }
}


/* Fix hero background visibility on mobile devices */
@media (max-width: 768px) {
  .hero {
    background-attachment: scroll !important;
  }
}


/* Adjusted Header */
.site-header {
  position: static;
  background: rgba(0,0,0,.85);
  box-shadow: 0 2px 6px rgba(0,0,0,.4);
}

.logo-icon {
  height: 40px;
  width: 40px;
  margin-right: 10px;
  vertical-align: middle;
  border-radius: 8px;
}

/* Gold accent behind cards */
.card {
  position: relative;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: radial-gradient(circle at top left, rgba(211,181,117,0.12), transparent 70%);
  z-index: 0;
}
.card > * {
  position: relative;
  z-index: 1;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.logo-line {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.tagline {
  font-size: .78rem;
  color: var(--muted);
}
