:root {
  --navy: #061733;
  --navy-soft: #102848;
  --charcoal: #111520;
  --gold: #c9a24d;
  --gold-soft: #f3e7cc;
  --ink: #142033;
  --muted: #5f6978;
  --paper: #f7f4ee;
  --line: #e7dfd0;
  --white: #ffffff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  font-weight: 500;
  text-rendering: optimizeLegibility;
}

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

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

h1,
h2,
h3,
.stat strong {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
}

.disclaimer {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(3, 12, 27, 0.94);
}

.disclaimer[hidden] {
  display: none;
}

.disclaimer__box {
  width: min(760px, 100%);
  padding: clamp(26px, 5vw, 40px);
  border-radius: 8px;
  border-top: 5px solid var(--gold);
  background: var(--white);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.disclaimer__box h1 {
  color: var(--navy);
  font-size: clamp(30px, 5vw, 44px);
  margin-bottom: 18px;
}

.disclaimer__box p,
.section__intro p,
.practice-card p,
.team-card p,
.contact-home-card p,
.footer p {
  color: var(--muted);
}

.actions,
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.actions {
  margin-top: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: var(--gold);
  color: #101010;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.button--outline {
  background: transparent;
  border-color: var(--line);
  color: var(--navy);
}

.button--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.46);
  color: var(--white);
}

/* ── UPDATED: Frosted glass topbar ── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: var(--paper);
  color: var(--navy);
  border-bottom: 2px solid var(--gold);
  box-shadow: 0 4px 18px rgba(6, 23, 51, 0.10);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand img {
  height: 90px;   /* increase this value */
  width: auto;
  object-fit: contain;
}

.menu {
  position: relative;
}

.menu summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(201, 162, 77, 0.42);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
  list-style: none;
}

.menu summary::-webkit-details-marker {
  display: none;
}

.hamburger {
  display: grid;
  gap: 7px;
}

.hamburger span {
  display: block;
  width: 30px;
  height: 3px;
  background: var(--navy);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu[open] .hamburger span:first-child {
  transform: translateY(10px) rotate(45deg);
}

.menu[open] .hamburger span:nth-child(2) {
  opacity: 0;
}

.menu[open] .hamburger span:last-child {
  transform: translateY(-10px) rotate(-45deg);
}

.nav {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: min(280px, calc(100vw - 36px));
  display: grid;
  padding: 10px;
  background: #101725;
  border: 1px solid rgba(201, 162, 77, 0.28);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.28);
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.nav a {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.nav a:hover {
  background: rgba(201, 162, 77, 0.1);
  color: #e2c781;
}

.hero {
  min-height: calc(100vh - 120px);
  display: grid;
  align-items: center;
  padding: clamp(58px, 8vw, 110px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(6, 23, 51, 0.95), rgba(13, 20, 30, 0.76)),
    url("assets/bg-courtroom.jpg") center / cover;
  color: var(--white);
}

.hero__content {
  max-width: 880px;
}

.eyebrow {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 3px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  color: var(--white);
  font-size: clamp(42px, 6.4vw, 74px);
  font-weight: 800;
}

.hero__meta {
  color: #ecd285;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 2.5vw, 30px);
  font-style: italic;
  line-height: 1.25;
  margin: 18px 0 12px;
}

.hero p:not(.hero__meta) {
  max-width: 760px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(16px, 1.7vw, 20px);
  font-weight: 600;
}

.section {
  padding: clamp(58px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

.section--white {
  background: var(--white);
}

.section__intro {
  max-width: 820px;
  margin-bottom: 36px;
}

.section__intro.center {
  margin-inline: auto;
  text-align: center;
}

.section__intro.wide {
  max-width: 1120px;
}

.section h2,
.page-title h1 {
  color: var(--navy);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  margin-bottom: 12px;
}

.rule {
  width: 72px;
  height: 2px;
  margin: 18px auto 0;
  background: var(--gold);
}

.about-section .section__intro p {
  margin-top: 32px;
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 21px);
}

.practice-section,
.team-section,
.contact-home {
  background: var(--paper);
}

.practice-grid,
.team-grid,
.why-grid,
.insights-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.team-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.practice-card,
.team-card,
.why-card,
.insight-card,
.contact-home-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 16px 36px rgba(6, 23, 51, 0.07);
}

.practice-card {
  min-height: 285px;
  display: grid;
  align-content: end;
  position: relative;
  overflow: hidden;
  color: var(--white);
  text-align: center;
  background:
    linear-gradient(180deg, rgba(6, 23, 51, 0.12), rgba(6, 23, 51, 0.92)),
    url("assets/bg-books.jpg") center / cover;
  border-color: rgba(201, 162, 77, 0.24);
}
.practice-card:nth-child(5){
  background:
    linear-gradient(180deg, rgba(6, 23, 51, 0.12), rgba(6, 23, 51, 0.92)),
    url("assets/realestate.jpeg") center / cover;
}
.practice-card:nth-child(2){
  background:
    linear-gradient(180deg, rgba(6, 23, 51, 0.12), rgba(6, 23, 51, 0.92)),
    url("assets/bg-documents.jpg") center / cover;
}
.practice-card:nth-child(6) {
  background:
    linear-gradient(180deg, rgba(6, 23, 51, 0.12), rgba(6, 23, 51, 0.92)),
    url("assets/Intellectual Property.jpeg") center / cover;
}
.practice-card:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(6, 23, 51, 0.12), rgba(6, 23, 51, 0.92)),
    url("assets/estate_planning.jpeg") center / cover;
}
.practice-card:nth-child(7) {
  background:
    linear-gradient(180deg, rgba(6, 23, 51, 0.14), rgba(6, 23, 51, 0.93)),
    url("assets/Client.jpeg") center / cover;
}
.practice-card:nth-child(8) {
  background:
    linear-gradient(180deg, rgba(6, 23, 51, 0.14), rgba(6, 23, 51, 0.93)),
    url("assets/Legal Consulting.jpeg") center / cover;
}

.practice-card:nth-child(4){
  background:
    linear-gradient(180deg, rgba(6, 23, 51, 0.14), rgba(6, 23, 51, 0.93)),
    url("assets/Criminal.jpeg") center / cover;
}

.practice-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(201, 162, 77, 0.22);
  pointer-events: none;
}

.practice-card > * {
  position: relative;
  z-index: 1;
}

.practice-icon,
.person-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(243, 231, 204, 0.92);
  color: var(--navy);
  font-weight: 800;
}

.practice-card h3,
.team-card h3,
.why-card h3,
.insight-card h3,
.contact-home-card h3 {
  color: var(--navy);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
}

.practice-card h3 {
  color: var(--white);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}

.practice-card p {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
}

.why-section,
.insights-section {
  background: var(--white);
}

.why-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.why-card {
  border-top: 3px solid var(--gold);
}

.insights-section {
  background: var(--paper);
}

.insight-card {
  min-height: 210px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.98)),
    url("assets/bg-documents.jpg") center / cover;
}

.why-card p,
.insight-card p {
  color: var(--muted);
  font-weight: 500;
}

.team-card {
  min-height: 290px;
  text-align: center;
}

.person-icon {
  width: 78px;
  height: 78px;
  font-size: 28px;
}

.role {
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 12px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background: var(--navy);
  color: var(--white);
}

.stat {
  padding: 38px 20px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  color: var(--gold);
  font-size: clamp(30px, 4vw, 42px);
}

.stat span {
  color: rgba(255, 255, 255, 0.78);
}

.clients-section {
  background: linear-gradient(135deg, var(--navy) 0%, #101827 100%);
  color: var(--white);
}

.clients-section h2 {
  color: var(--white);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.clients-grid div {
  min-height: 82px;
  display: grid;
  place-items: center;
  padding: 18px;
  border: 1px solid rgba(201, 162, 77, 0.28);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 600;
  text-align: center;
}

.clients-grid .more-clients {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
}

.contact-home-card {
  max-width: 1040px;
  margin: 0 auto;
  border-top: 3px solid var(--gold);
}

.contact-home-card h3 {
  text-align: center;
  margin-bottom: 28px;
}

.contact-lines {
  display: grid;
  gap: 18px;
  font-size: clamp(16px, 1.6vw, 19px);
}

.contact-lines p {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  color: var(--ink);
}

.contact-lines span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.contact-page {
  background:
    linear-gradient(rgba(7, 26, 56, 0.88), rgba(7, 26, 56, 0.88)),
    url("assets/bg-documents.jpg") center / cover;
  color: var(--white);
}

.contact-page h1,
.contact-page .section__intro p {
  color: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
}

.contact-copy,
.form-card {
  padding: clamp(28px, 4vw, 42px);
  border-radius: 8px;
}

.contact-copy {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-copy h2,
.contact-copy h3 {
  color: var(--white);
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-list,
form {
  display: grid;
  gap: 16px;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
}

label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

input,
textarea,
select {
  width: 100%;
  min-height: 48px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.footer {
  background: #111722;
  color: rgba(255, 255, 255, 0.76);
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
  padding: 46px clamp(20px, 5vw, 70px);
}

.footer h3 {
  color: var(--white);
  margin-bottom: 12px;
}

.footer a {
  display: block;
  margin-bottom: 8px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(20px, 5vw, 70px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 920px) {
  .topbar,
  .footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .practice-grid,
  .team-grid,
  .why-grid,
  .insights-grid,
  .stats,
  .clients-grid,
  .contact-layout,
  .footer__top {
    grid-template-columns: 1fr;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .hero {
    min-height: auto;
  }

  .contact-lines p {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}