/* ===== CSS VARIABLES ===== */
:root {
  --navy:      #0C1A2E;
  --navy-mid:  #162540;
  --maroon:    #7B1929;
  --maroon-dk: #5A1020;
  --gold:      #C9A84C;
  --gold-lt:   #E2C97E;
  --cream:     #F5F0E8;
  --cream-dk:  #EAE3D6;
  --text:      #1A1A2E;
  --text-light:#4A4A6A;
  --white:     #FFFFFF;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Lora', Georgia, serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.75;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ===== TOP BAR ===== */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,0.65);
  font-family: 'Lora', serif;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  padding: 6px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar-contact a {
  color: var(--gold-lt);
  transition: color 0.2s;
}
.topbar-contact a:hover { color: var(--white); }

/* ===== HEADER ===== */
.site-header {
  background: var(--navy-mid);
  padding: 18px 32px;
  border-bottom: 3px solid var(--maroon);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo {
  height: 80px;
  width: auto;
  object-fit: contain;
}
.header-tagline { line-height: 1.2; }
.firm-name {
  font-family: 'Cinzel', serif;
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.08em;
}
.firm-sub {
  font-family: 'Lora', serif;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 3px;
}

/* ===== NAVIGATION ===== */
.main-nav {
  background: var(--maroon);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.nav-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.nav-list > li { position: relative; }
.nav-link {
  display: block;
  padding: 13px 15px;
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-link:hover,
.nav-link.active {
  color: var(--gold);
  background: rgba(0,0,0,0.18);
}

/* Dropdown */
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--navy);
  border-top: 2px solid var(--gold);
  min-width: 210px;
  list-style: none;
  box-shadow: 0 6px 24px rgba(0,0,0,0.45);
  z-index: 200;
}
.dropdown-wide { min-width: 260px; }
.dropdown li a {
  display: block;
  padding: 9px 18px;
  font-family: 'Lora', serif;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.78);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.15s, color 0.15s;
}
.dropdown li a:hover {
  background: var(--maroon);
  color: var(--gold-lt);
}
.has-dropdown:hover .dropdown { display: block; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(12,26,46,0.96) 40%, rgba(123,25,41,0.88) 100%),
    url("https://images.unsplash.com/photo-1589829545856-d10d557cf95f?w=1600&q=80") center/cover no-repeat;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 40px,
    rgba(201,168,76,0.025) 40px,
    rgba(201,168,76,0.025) 41px
  );
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
  animation: fadeUp 0.9s ease both;
}
.hero-eyebrow {
  font-family: 'Lora', serif;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.1em;
  line-height: 1.1;
}
.hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.4rem;
  color: var(--gold-lt);
  margin-top: 8px;
  letter-spacing: 0.04em;
}
.hero-rule {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 24px 0;
}
.hero-lead {
  font-family: 'Lora', serif;
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  line-height: 1.8;
  margin-bottom: 32px;
}
.btn-primary {
  display: inline-block;
  padding: 13px 32px;
  background: var(--gold);
  color: var(--navy);
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 2px solid var(--gold);
  transition: background 0.25s, color 0.25s, transform 0.2s;
}
.btn-primary:hover {
  background: transparent;
  color: var(--gold);
  transform: translateY(-2px);
}

/* ===== ABOUT SECTION ===== */
.about-section {
  padding: 90px 0 80px;
  background: var(--cream);
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Section header */
.section-header {
  text-align: center;
  margin-bottom: 52px;
}
.section-eyebrow {
  display: block;
  font-family: 'Lora', serif;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
}
.title-rule {
  width: 50px;
  height: 2px;
  background: var(--gold);
  margin: 18px auto 0;
}

/* About body text */
.about-body {
  max-width: 820px;
  margin: 0 auto 60px;
}
.about-body p {
  font-family: 'Lora', serif;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text-light);
  margin-bottom: 22px;
  text-align: justify;
}
.about-body p:last-child { margin-bottom: 0; }

/* Pillars */
.about-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  border: 1px solid var(--cream-dk);
  background: var(--cream-dk);
  box-shadow: 0 4px 24px rgba(12,26,46,0.08);
}
.pillar {
  background: var(--white);
  padding: 36px 20px;
  text-align: center;
  transition: background 0.25s, transform 0.2s;
  cursor: default;
}
.pillar:hover {
  background: var(--navy);
  transform: translateY(-4px);
}
.pillar:hover .pillar-num { color: var(--gold); }
.pillar:hover .pillar-label { color: rgba(255,255,255,0.7); }
.pillar:hover .pillar-label span { color: rgba(255,255,255,0.45); }
.pillar-num {
  font-family: 'Cinzel', serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--maroon);
  display: block;
  margin-bottom: 8px;
  transition: color 0.25s;
}
.pillar-label {
  font-family: 'Lora', serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
  transition: color 0.25s;
}
.pillar-label span {
  display: block;
  font-size: 0.72rem;
  font-style: italic;
  color: var(--text-light);
  margin-top: 3px;
  transition: color 0.25s;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
}
.footer-inner {
  display: flex;
  gap: 48px;
  padding-top: 52px;
  padding-bottom: 40px;
  flex-wrap: wrap;
}
.footer-brand img {
  height: 60px;
  width: auto;
  margin-bottom: 8px;
}
.footer-brand p {
  font-family: 'Lora', serif;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 4px;
}
.footer-col h4 {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.footer-col p {
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 6px;
}
.footer-col a {
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold-lt); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 16px 40px;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.35);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.about-section { animation: fadeUp 0.8s ease both; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .about-pillars { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: column; gap: 28px; }
}
@media (max-width: 640px) {
  .topbar { flex-direction: column; gap: 4px; font-size: 0.68rem; }
  .firm-name { font-size: 1.4rem; }
  .hero-content { padding: 60px 24px; }
  .container { padding: 0 20px; }
  .about-pillars { grid-template-columns: repeat(2, 1fr); }
  .nav-list { flex-direction: column; }
  .dropdown { position: static; display: none; box-shadow: none; border-top: none; }
  .has-dropdown:hover .dropdown { display: block; }
}
