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

:root {
  --navy:        #1B2A4A;
  --navy-dark:   #0F1C33;
  --gold:        #B8962E;
  --gold-light:  #D4B96A;
  --cream:       #F8F6F1;
  --charcoal:    #2C2C2C;
  --gray:        #6B7280;
  --gray-light:  #E5E7EB;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--cream);
  color: var(--charcoal);
}

/* ── Header ── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 96px;
  background: var(--navy);
  border-bottom: 3px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  z-index: 100;
}

.firm-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.firm-logo {
  height: 68px;
  width: auto;
  display: block;
}

nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

nav button, nav a {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.75);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  cursor: pointer;
  border-radius: 2px;
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}

nav button:hover, nav a:hover {
  color: #fff;
  background: rgba(184,150,46,0.18);
}

nav button.active, nav a.active {
  color: #fff;
  background: rgba(184,150,46,0.18);
  border-bottom: 2px solid var(--gold);
  border-radius: 0;
}

nav .divider {
  width: 1px;
  height: 1rem;
  background: rgba(255,255,255,0.2);
  margin: 0 4px;
}

nav .cta {
  background: var(--gold);
  color: var(--navy-dark) !important;
  font-weight: 600 !important;
  margin-left: 6px;
  border-radius: 2px;
}

nav .cta:hover {
  background: var(--gold-light) !important;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > button::after {
  content: '▾';
  margin-left: 0.4em;
  font-size: 0.65em;
  vertical-align: 1px;
}

.nav-dropdown-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 3px;
  min-width: 180px;
  background: var(--navy);
  border-top: 2px solid var(--gold);
  box-shadow: 0 12px 24px rgba(0,0,0,0.3);
  z-index: 200;
}

.nav-dropdown-menu.open {
  display: flex;
}

@media (hover: hover) and (pointer: fine) {
  .nav-dropdown:hover .nav-dropdown-menu {
    display: flex;
  }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  width: 100%;
  transition: width 0.15s;
}

.nav-dropdown-menu a {
  width: 100%;
  text-align: left;
  padding: 0.7rem 1rem;
  white-space: nowrap;
  display: block;
}

.nav-dropdown-menu a.active {
  color: #fff;
  background: rgba(184,150,46,0.18);
  border-bottom: none;
  border-left: 2px solid var(--gold);
}

/* ── Content area ── */
main {
  margin-top: 96px;
  min-height: calc(100vh - 96px);
}

.page {
  padding: 3rem 3rem 4rem;
}

.page-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.page-subtitle {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.page-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.rule-double {
  border: none;
  height: 3px;
  margin: 0.75rem 0 1.75rem;
  background:
    linear-gradient(var(--gold), var(--gold)) center/100% 1px no-repeat,
    linear-gradient(var(--gold-light), var(--gold-light)) top/100% 1px no-repeat;
  opacity: 0.6;
}

.rule-single {
  border: none;
  height: 1px;
  background: var(--gold);
  opacity: 0.35;
  margin: 1.5rem 0;
}

.article-headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy);
  border-left: 3px solid var(--gold);
  padding-left: 0.75rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.body-text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.3rem;
  margin-bottom: 1rem;
}

.pull-quote {
  border-left: 4px solid var(--gold);
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  background: #F0E8D0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--navy);
}

.carousel-slides {
  position: relative;
}

.carousel-slide {
  display: none;
}

.carousel-slide.active {
  display: block;
}

.carousel-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
}

.carousel-arrow {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--navy);
  background: transparent;
  color: var(--navy);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.carousel-arrow:hover {
  background: rgba(27,42,74,0.06);
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--gray-light);
  cursor: pointer;
}

.carousel-dot.active {
  background: var(--gold);
}

.home-hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
}

.card {
  background: #fff;
  border: 0.5px solid var(--gray-light);
  border-top: 3px solid var(--gold);
  border-radius: 2px;
  padding: 1.5rem;
}

.card h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--gray);
}

.btn-primary {
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 0.65rem 1.5rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  margin-right: 0.75rem;
  transition: background 0.15s;
  display: inline-block;
  text-decoration: none;
}

.btn-primary:hover { background: #2A3F6B; }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
  padding: 0.65rem 1.5rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.15s;
  display: inline-block;
  text-decoration: none;
}

.btn-outline:hover { background: rgba(27,42,74,0.06); }

.diamond-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.diamond-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.45rem 0;
  border-bottom: 0.5px solid var(--gray-light);
  font-size: 0.88rem;
  line-height: 1.6;
}

.diamond-list li:last-child { border-bottom: none; }

.diamond-list li::before {
  content: '◆';
  color: var(--gold);
  font-size: 0.65rem;
  margin-top: 5px;
  flex-shrink: 0;
}

.page-footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  margin-top: 2.5rem;
  border-top: 1px solid var(--gray-light);
  font-size: 0.75rem;
  color: var(--gray);
  font-style: italic;
}

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  border: 1px solid var(--gray-light);
  border-radius: 2px;
  padding: 0.55rem 0.75rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9rem;
  color: var(--charcoal);
  background: #fff;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(184,150,46,0.15);
}

.form-group textarea { min-height: 120px; resize: vertical; }

.contact-info-block {
  background: var(--navy);
  border-radius: 2px;
  padding: 2rem;
  color: rgba(255,255,255,0.8);
}

.contact-info-block h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.25rem;
}

.contact-info-item {
  margin-bottom: 1rem;
  font-size: 0.875rem;
  line-height: 1.6;
}

.contact-info-item strong {
  display: block;
  color: var(--gold-light);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

/* ── Footer ── */
footer {
  background: var(--navy-dark);
  border-top: 3px solid var(--gold);
  padding: 3rem 2.5rem 1.75rem;
}

.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.footer-firm-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer-address {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  white-space: pre-line;
}

.footer-email {
  margin-top: 0.5rem;
  font-size: 0.8rem;
}

.footer-email a {
  color: var(--gold-light);
  text-decoration: none;
}

.footer-col-heading {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s;
}

.footer-links a:hover { color: #fff; }
.footer-links a.active { color: #fff; }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  border-top: 0.5px solid rgba(184,150,46,0.25);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
}

@media (max-width: 900px) {
  header { padding: 0 1.25rem; height: 80px; }
  main { margin-top: 80px; min-height: calc(100vh - 80px); }
  .firm-name { font-size: 1.1rem; }
  .firm-logo { height: 52px; }
  .page { padding: 1.5rem; }
  .home-hero-grid, .grid-2, .grid-3, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .home-hero-grid { gap: 2rem; }

  .nav-toggle {
    display: flex;
  }

  nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy-dark);
    border-bottom: 3px solid var(--gold);
    padding: 0.5rem 0;
  }

  nav.open {
    display: flex;
  }

  nav button, nav > a {
    width: 100%;
    text-align: left;
    padding: 0.9rem 1.5rem;
    font-size: 0.8rem;
    border-radius: 0;
  }

  nav button.active, nav > a.active {
    border-bottom: none;
    border-left: 3px solid var(--gold);
  }

  nav .divider {
    display: none;
  }

  nav .cta {
    margin-left: 0;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown > button {
    width: 100%;
  }

  .nav-dropdown-menu {
    position: static;
    margin-top: 0;
    min-width: 0;
    width: 100%;
    box-shadow: none;
    border-top: none;
    background: rgba(0,0,0,0.2);
  }

  .nav-dropdown-menu a {
    padding-left: 2.5rem;
  }

  .nav-dropdown-menu a.active {
    border-left: 3px solid var(--gold);
  }

  .contact-info-block {
    padding: 1.5rem;
  }

  .carousel-controls {
    margin-top: 1.25rem;
  }
}

@media (max-width: 420px) {
  .page-inner .grid-3, .page-inner .grid-2 {
    gap: 1.5rem;
  }
}
