:root {
  --ink: #17191b;
  --muted: #64615b;
  --paper: #fbfaf6;
  --panel: #ffffff;
  --line: #ded2bd;
  --accent: #b08343;
  --accent-dark: #7d5a2d;
  --sage: #efe6d6;
  --coal: #111416;
  --max: 1180px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 20px;
  min-height: 92px;
  padding: 10px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid rgba(222, 210, 189, 0.88);
  background: rgba(251, 250, 246, 0.94);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark-img,
.brand-wordmark-img {
  display: block;
  height: auto;
}

.brand-mark-img {
  width: clamp(62px, 6.5vw, 88px);
}

.brand-wordmark-img {
  width: clamp(160px, 17vw, 235px);
}

.brand-mark,
.profile-initials {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--accent);
  background: var(--coal);
  color: #fff;
  font-family: Georgia, serif;
  font-size: 24px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: Georgia, serif;
  font-size: 18px;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.main-nav a {
  text-decoration: none;
}

.main-nav a:hover {
  color: var(--ink);
}

.language-switch {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  overflow: hidden;
}

.language-switch select {
  min-height: 40px;
  min-width: 76px;
  border: 0;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 0 12px;
  outline: none;
  box-shadow: none;
}

.language-switch:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(176, 131, 67, 0.18);
}

.language-switch select:focus,
.language-switch select:focus-visible {
  outline: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-toggle {
  min-width: 40px;
  min-height: 40px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 22px;
}

.hero {
  position: relative;
  min-height: calc(100svh - 76px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: #111;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 20, 22, 0.9) 0%, rgba(17, 20, 22, 0.7) 42%, rgba(176, 131, 67, 0.18) 100%),
    url("assets/law-office-hero.png") center / cover no-repeat;
}

.hero-content {
  position: relative;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 80px 0 clamp(64px, 10vh, 120px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #e4c18b;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

h1 {
  max-width: 760px;
  font-size: clamp(48px, 9vw, 108px);
}

h2 {
  font-size: clamp(30px, 4vw, 56px);
}

h3 {
  font-size: 24px;
}

.lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2vw, 23px);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid currentColor;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.2;
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.button.primary:hover {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
}

.button.ghost {
  color: inherit;
  background: rgba(255, 255, 255, 0.08);
}

.section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(70px, 9vw, 118px) 0;
}

.intro-grid,
.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 7vw, 90px);
}

.contact {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(26px, 5vw, 68px);
}

.copy {
  color: var(--muted);
  font-size: 18px;
}

.copy p:first-child {
  margin-top: 0;
}

.audience-band {
  width: min(var(--max), calc(100% - 36px));
  max-width: var(--max);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: clamp(34px, 5vw, 64px) 0;
  background: transparent;
}

.audience-band article {
  min-height: 270px;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #111416 0%, #17191b 70%, #2b2114 100%);
  color: #fff;
  box-shadow: 0 24px 70px rgba(16, 23, 22, 0.12);
}

.audience-band p {
  color: rgba(255, 255, 255, 0.75);
}

.section-head {
  max-width: 820px;
  margin-bottom: 38px;
}

.profile-grid,
.two-columns {
  display: grid;
  gap: 22px;
}

.profile-grid {
  grid-template-columns: 1fr;
}

.two-columns {
  grid-template-columns: repeat(2, 1fr);
}

.profile,
.panel,
.practice-grid article,
.address-grid article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.profile {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 20px;
  padding: clamp(24px, 3vw, 36px);
}

.profile p,
.panel p,
.practice-grid p,
.address-grid p {
  color: var(--muted);
}

.profile-initials {
  width: 118px;
  height: 138px;
  background: var(--sage);
  color: var(--coal);
  border-radius: var(--radius-sm);
}

.profile-photo {
  width: 118px;
  height: 138px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  object-fit: cover;
  object-position: center top;
}

.profile-photo-placeholder {
  font-size: 30px;
}

.muted {
  width: 100%;
  max-width: none;
  padding-left: max(18px, calc((100vw - var(--max)) / 2));
  padding-right: max(18px, calc((100vw - var(--max)) / 2));
  background: #f1eee6;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.practice-grid article,
.panel,
.address-grid article {
  padding: 26px;
}

.panel a {
  color: var(--accent-dark);
  font-weight: 700;
}

.timeline {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.timeline li + li {
  margin-top: 10px;
}

.address-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.contact-addresses {
  grid-column: 1 / -1;
}

.inquiry-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 24px 70px rgba(23, 32, 28, 0.08);
}

.form-row.two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.inquiry-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fbfaf7;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  padding: 13px 14px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.inquiry-form textarea {
  min-height: 150px;
  resize: vertical;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(138, 90, 54, 0.13);
}

.consent-row {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.consent-row input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.inquiry-form .button {
  width: fit-content;
  min-width: 180px;
}

.form-note {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 4vw, 48px);
  background: var(--coal);
  color: #fff;
}

.site-footer p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.site-footer nav {
  display: flex;
  gap: 18px;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.legal-main {
  width: min(900px, calc(100% - 36px));
  margin: 0 auto;
  padding: 72px 0 100px;
}

.legal-main h1 {
  color: var(--ink);
  font-size: clamp(40px, 7vw, 72px);
}

.legal-main h2 {
  margin-top: 44px;
  font-size: 30px;
}

.legal-main p,
.legal-main li {
  color: var(--muted);
}

.legal-content {
  margin-top: 28px;
}

.legal-content h2,
.legal-content h4 {
  margin: 34px 0 16px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.2;
}

.legal-content h2 {
  font-size: 30px;
}

.legal-content h4 {
  font-size: 22px;
}

.legal-content p {
  margin: 0 0 14px;
}

.legal-content a {
  color: var(--accent-dark);
  font-weight: 700;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto auto auto;
  }

  .main-nav {
    display: none;
    grid-column: 1 / -1;
    justify-self: stretch;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid var(--line);
    padding-top: 12px;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 0;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
    justify-self: end;
  }

  .language-switch {
    justify-self: end;
  }

  .hero {
    min-height: 720px;
  }

  .intro-grid,
  .split,
  .contact,
  .profile-grid,
  .two-columns,
  .practice-grid,
  .audience-band,
  .address-grid {
    grid-template-columns: 1fr;
  }

  .audience-band article {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .site-header {
    gap: 10px;
    padding: 10px 14px;
  }

  .brand small {
    display: none;
  }

  .brand-lockup {
    gap: 8px;
  }

  .brand-mark-img {
    width: 54px;
  }

  .brand-wordmark-img {
    width: 132px;
  }

  .hero-content {
    width: min(100% - 28px, var(--max));
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 32px;
  }

  .profile {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .form-row.two {
    grid-template-columns: 1fr;
  }

  .inquiry-form .button {
    width: 100%;
  }
}
