/* ========================================
   Roskr LC — Elevated Dark Theme
   Dominant: Charcoal + Navy
   Accent: Minimal muted gold
   ======================================== */

:root {
  --bg-deep: #0c0e12;
  --bg-charcoal: #14171c;
  --bg-navy: #1a1f2b;
  --bg-card: #1e2430;
  --text-primary: #e8eaed;
  --text-secondary: #9aa3b2;
  --text-muted: #6b7280;
  --accent-gold: #c4a35a;
  --accent-gold-soft: rgba(196, 163, 90, 0.15);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --radius: 6px;
  --max-width: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(12, 14, 18, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 42px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--text-primary);
}

.nav-cta {
  padding: 0.45rem 1rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  color: var(--text-primary) !important;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.nav-cta:hover {
  border-color: var(--accent-gold);
  background: var(--accent-gold-soft);
}

.nav-social {
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* Hamburger button */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 110;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.25s ease;
  border-radius: 1px;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 6rem;
  background: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(26, 31, 43, 0.8), transparent),
    var(--bg-deep);
}

.hero-content {
  max-width: 720px;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--text-primary);
  color: var(--bg-deep);
}

.btn-primary:hover {
  background: #fff;
  transform: translateY(-1px);
}

.btn-secondary {
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

.btn-secondary:hover {
  border-color: var(--accent-gold);
  background: var(--accent-gold-soft);
}

/* ---------- Sections ---------- */
.section {
  padding: 6rem 0;
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.4rem);
  margin-top: 0.5rem;
}

/* ---------- Practice Areas ---------- */
.practice {
  background: var(--bg-charcoal);
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.practice-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 2rem 1.75rem;
  position: relative;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.practice-card:hover {
  border-color: rgba(196, 163, 90, 0.25);
  transform: translateY(-2px);
}

.card-accent {
  width: 28px;
  height: 2px;
  background: var(--accent-gold);
  margin-bottom: 1.25rem;
  opacity: 0.7;
}

.practice-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.85rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

.practice-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 300;
}

/* ---------- Approach ---------- */
.approach {
  background: var(--bg-deep);
}

.approach-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: center;
}

.approach-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  margin: 0.75rem 0 1.5rem;
}

.approach-text p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  font-weight: 300;
}

.visual-panel {
  background: var(--bg-navy);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 3rem 2.5rem;
  text-align: center;
}

.visual-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

.visual-panel p {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: var(--text-primary);
}

/* ---------- About ---------- */
.about {
  background: var(--bg-charcoal);
}

.about-content {
  max-width: 680px;
}

.about-content .lead {
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.about-content p {
  color: var(--text-secondary);
  font-weight: 300;
  margin-bottom: 1rem;
}

/* ---------- Contact ---------- */
.contact {
  background: var(--bg-deep);
  padding-bottom: 7rem;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: center;
}

.contact-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  margin: 0.75rem 0 1.25rem;
}

.contact-text p {
  color: var(--text-secondary);
  font-weight: 300;
  max-width: 420px;
}

.contact-card {
  background: var(--bg-navy);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 2.5rem;
}

.contact-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.contact-detail {
  font-size: 1.1rem;
  margin-bottom: 1.75rem;
  color: var(--text-primary);
}

/* ---------- Payments / Pay My Bill ---------- */
.payments-block {
  margin-top: 1rem;
}

.pay-bill-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 2.5rem;
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}

.pay-bill-card p {
  color: var(--text-secondary);
  font-weight: 300;
  margin-bottom: 1.75rem;
}

.powered-by {
  margin-top: 1.75rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.powered-by a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.powered-by a:hover {
  color: var(--text-secondary);
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 2rem 0;
  background: var(--bg-deep);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-logo {
  height: 28px;
  width: auto;
  opacity: 0.9;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-x {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.footer-x:hover {
  color: var(--accent-gold);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 800px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(12, 14, 18, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-subtle);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border-bottom: 1px solid var(--border-subtle);
  }

  .nav a:last-child {
    border-bottom: none;
  }

  .nav-cta {
    margin: 0.75rem 1.5rem;
    text-align: center;
  }

  .hero {
    padding: 7rem 0 4rem;
  }

  .approach-inner,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-right {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 500px) {
  .practice-grid {
    grid-template-columns: 1fr;
  }
}
