:root {
  --navy: #161c3d;
  --navy-deep: #10142d;
  --gold: #d0bf90;
  --gold-dark: #b9a46c;
  --ink: #272b2e;
  --text: #6f7280;
  --light: #f7f7f7;
  --footer-bottom: #161a1d;
  --serif: "Source Serif 4", "Source Serif Pro", Georgia, serif;
  --sans: "Poppins", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 15px; line-height: 1.75; color: var(--text); background: #fff; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.25; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
.wrap { width: min(1170px, 100% - 32px); margin-inline: auto; }

/* Buttons */
.btn { display: inline-block; background: var(--gold); color: #fff; font-family: var(--serif); font-weight: 600; font-size: 14px; padding: 10px 26px; border: 0; transition: background .2s; }
.btn:hover { background: var(--gold-dark); }
.btn-outline { background: transparent; border: 1px solid #d9d9d9; color: var(--ink); font-family: var(--sans); font-weight: 400; padding: 6px 16px; }
.btn-outline:hover { background: var(--light); }

/* Top bar */
.topbar { font-size: 12.5px; padding: 10px 0; border-bottom: 1px solid #eee; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar .info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar .info span { display: inline-flex; align-items: center; gap: 6px; }
.topbar svg { width: 14px; height: 14px; fill: var(--gold); }

/* Header */
.header { background: var(--navy); position: sticky; top: 0; z-index: 50; }
.header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 20px; }
.logo img { width: 180px; height: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: #fff; font-family: var(--serif); font-weight: 600; font-size: 15px; }
.nav a:hover, .nav a.active { color: var(--gold); }
.call { display: flex; align-items: center; gap: 12px; background: var(--navy-deep); padding: 14px 22px; margin-left: 10px; }
.call .ring { width: 44px; height: 44px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; }
.call .ring svg { width: 20px; height: 20px; fill: #fff; }
.call small { display: block; color: #fff; font-size: 12px; line-height: 1.2; }
.call strong { display: block; color: var(--gold); font-family: var(--serif); font-size: 19px; line-height: 1.2; }
.menu-btn { display: none; background: none; border: 0; color: #fff; cursor: pointer; padding: 8px; }
.menu-btn svg { width: 28px; height: 28px; fill: #fff; }

/* Hero */
.hero { position: relative; min-height: 560px; display: grid; place-items: center; text-align: center; color: #fff;
  background: linear-gradient(rgba(22,28,61,.82), rgba(22,28,61,.82)), url("/img/Court-1.jpg") center/cover; }
.hero .welcome { color: var(--gold); font-family: var(--serif); font-weight: 700; font-size: 26px; margin-bottom: 8px; }
.hero h1 { color: #fff; font-size: clamp(30px, 5vw, 50px); margin-bottom: 18px; }
.hero .roles { font-family: var(--serif); font-weight: 700; font-size: clamp(22px, 3.2vw, 34px); line-height: 1.2; }
.est { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 46px; font-family: var(--serif); font-size: 14px; letter-spacing: 2px; color: #ddd; }
.est::before, .est::after { content: ""; height: 1px; width: min(320px, 22vw); background: rgba(255,255,255,.45); }
.est .badge { width: 86px; height: 86px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; }
.est .badge svg { width: 42px; height: 42px; fill: #fff; }

/* Intro */
.intro { padding: 90px 0; }
.intro .grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; align-items: start; }
.intro .photo img { width: 100%; height: 360px; object-fit: cover; }
.intro h2 { font-size: 30px; }
.quote { background: var(--navy); color: #fff; padding: 40px 34px; border-bottom-right-radius: 40px; position: relative; }
.quote .mark { font-family: var(--serif); color: var(--gold); font-size: 90px; line-height: .6; position: absolute; top: 34px; left: 22px; opacity: .9; }
.quote p { position: relative; font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.7; }
.quote img { width: 62px; margin-top: 10px; }

/* CTA cards */
.ctas { padding: 0 0 80px; }
.ctas .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.cta { text-align: center; padding: 40px 20px; border: 1px solid #eee; }
.cta svg { width: 56px; height: 56px; fill: none; stroke: var(--gold); stroke-width: 1.4; margin: 0 auto 12px; }
.cta h3 { font-size: 30px; }

/* Map */
.map iframe { width: 100%; height: 420px; border: 0; display: block; filter: grayscale(.2); }

/* Page banner */
.banner { background: linear-gradient(rgba(22,28,61,.85), rgba(22,28,61,.85)), url("/img/breadcrumb-bg.jpg") center/cover; color: #fff; text-align: center; padding: 70px 0; }
.banner h1 { color: #fff; font-size: clamp(28px, 4vw, 42px); margin: 0; }
.banner p { margin: 8px 0 0; color: var(--gold); font-size: 14px; }
.banner p a:hover { color: #fff; }

/* About */
.about { display: grid; grid-template-columns: 380px 1fr; min-height: 600px; }
.about .side { background: linear-gradient(rgba(22,28,61,.35), rgba(22,28,61,.75)), url("/img/bigstock-Law-Concept-52301635-c-r-2.jpg") center/cover; display: flex; align-items: flex-end; padding: 50px 40px; }
.about .side small { color: #fff; font-family: var(--serif); font-weight: 700; letter-spacing: 2px; }
.about .side h2 { color: #fff; font-size: 44px; margin: 6px 0 0; }
.about .body { padding: 70px 60px; max-width: 900px; }
.about .body h2 { color: var(--navy); font-size: 34px; }
.about .body h2:not(:first-child) { margin-top: 40px; }

/* People */
.people { padding: 80px 0; }
.people h2.group { font-size: 34px; margin: 0 0 30px; }
.people h2.group:not(:first-child) { margin-top: 70px; }
.person { display: grid; grid-template-columns: 300px 1fr; gap: 50px; padding: 40px 0; border-bottom: 1px solid #eee; }
.person img { width: 300px; height: 368px; object-fit: cover; background: var(--light); }
.person h3 { font-size: 24px; margin-bottom: 2px; }
.person .role { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 14px; display: block; }

/* Practice areas */
.practice { padding: 80px 0; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.card { background: #fff; box-shadow: 0 6px 26px rgba(0,0,0,.07); display: flex; flex-direction: column; }
.card img { width: 100%; aspect-ratio: 37 / 27; object-fit: cover; }
.card .in { padding: 22px 20px 26px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 19px; text-transform: uppercase; }
.card p { font-size: 14px; flex: 1; }
.card .more { color: var(--ink); font-size: 14px; font-weight: 500; }
.card .more:hover { color: var(--gold-dark); }

.detail { padding: 80px 0; }
.detail .grid { display: grid; grid-template-columns: 2fr 1fr; gap: 50px; }
.detail .grid > div > img { width: 100%; margin-bottom: 30px; }
.detail h2 { font-size: 34px; }
.detail h2::after { content: ""; display: block; width: 60px; height: 3px; background: var(--navy); margin-top: 14px; }
.sidebar { background: var(--light); padding: 30px; align-self: start; }
.sidebar h3 { font-size: 20px; }
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar li a { display: block; padding: 9px 0; border-bottom: 1px solid #e4e4e4; font-size: 14px; }
.sidebar li a:hover, .sidebar li a.active { color: var(--gold-dark); }

/* Contact */
.contact { padding: 80px 0 60px; text-align: center; }
.contact .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; }
.contact svg { width: 44px; height: 44px; fill: none; stroke: var(--gold); stroke-width: 1.4; margin: 0 auto 10px; }
.contact h3 { font-size: 20px; margin-bottom: 4px; }

/* Footer */
.footer { background: var(--navy); color: #fff; padding: 70px 0 50px; font-size: 14px; }
.footer .grid { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 40px; }
.footer img { width: 200px; margin-bottom: 18px; }
.footer h4 { color: #fff; font-size: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 8px; }
.footer a:hover { color: var(--gold); }
.copy { background: var(--footer-bottom); color: #ccc; text-align: center; font-size: 13px; padding: 18px 0; }

/* Mobile */
@media (max-width: 1100px) {
  .call { display: none; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .intro .grid { grid-template-columns: 1fr 1fr; }
  .intro .quote { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .topbar .btn-outline { display: none; }
  .about { grid-template-columns: 1fr; }
  .about .side { min-height: 260px; }
  .about .body { padding: 50px 16px; }
  .person { grid-template-columns: 1fr; gap: 24px; }
  .person img { width: 100%; max-width: 300px; }
  .detail .grid, .footer .grid, .contact .grid, .ctas .grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .intro .grid, .cards { grid-template-columns: 1fr; }
  .topbar .info span:first-child { display: none; }
  .hero { min-height: 480px; }
  .est::before, .est::after { width: 18vw; }
}
