:root {
  --color-bg: #f8f7f5;
  --color-primary: #1a1a2e;
  --color-accent: #b8860b;
  --color-muted: #4a4a5a;
  --font-serif: 'Noto Serif KR', serif;
  --font-sans: 'Noto Sans KR', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--color-primary);
  background: var(--color-bg);
  line-height: 1.6;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(26, 26, 46, 0.98);
  color: #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.site-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
}

.nav a:hover {
  color: var(--color-accent);
}

.nav-toggle {
  display: none;
  width: 24px;
  height: 24px;
  border: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23fff'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 6h16M4 12h16M4 18h16'/%3E%3C/svg%3E") center/contain no-repeat;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: 6rem 2rem 4rem;
  background: linear-gradient(145deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: #fff;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.3) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-tagline {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.hero-desc {
  font-weight: 400;
  font-size: 1.05rem;
  opacity: 0.9;
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section--alt {
  background: #eeece8;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
}

.about-text {
  max-width: 640px;
  font-size: 1.05rem;
  color: var(--color-muted);
}

/* Practice */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.practice-card {
  background: #fff;
  padding: 2rem;
  border-left: 4px solid var(--color-accent);
  box-shadow: 0 2px 12px rgba(26, 26, 46, 0.06);
}

.practice-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.practice-card p {
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* Attorneys */
.attorney-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.attorney-card {
  text-align: center;
}

.attorney-photo {
  width: 140px;
  height: 140px;
  margin: 0 auto 1rem;
  border-radius: 4px;
  background: linear-gradient(145deg, #2a2a4a, #1a1a2e);
}

.attorney-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
  color: var(--color-primary);
}

.attorney-card p {
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* Contact */
#contact p {
  margin-bottom: 0.5rem;
  color: var(--color-muted);
}

.contact-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* Footer */
.footer {
  padding: 1.5rem;
  text-align: center;
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .section {
    padding: 3rem 0;
  }
}
