:root {
  --cream: #f5f0e8;
  --cream-2: #e8e0d0;
  --cream-3: #d9cfc0;
  --cream-4: #c9bba0;
  --white-warm: #fefcf8;
  --bordo: #6b1d2a;
  --bordo-deep: #4a1019;
  --chocolate: #2c1810;
  --chocolate-soft: #5c3d2e;
  --chocolate-muted: #8a7768;
  --font-serif: "Lora", Georgia, "Times New Roman", serif;
  --font-sans: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 860px;
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--cream);
  color: var(--chocolate);
  font-family: var(--font-sans);
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
}

body,
button,
input,
textarea {
  font-family: var(--font-sans);
}

img,
iframe {
  max-width: 100%;
}

a {
  color: var(--chocolate);
  text-decoration: underline;
  text-decoration-color: var(--cream-3);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: text-decoration-color 150ms var(--ease-out);
}

a:hover {
  text-decoration-color: var(--bordo);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.15;
  text-wrap: balance;
}

address {
  font-style: normal;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--white-warm);
  border: 1px solid var(--cream-3);
  color: var(--chocolate);
  padding: 8px 12px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 240, 232, 0.94);
  border-bottom: 1px solid var(--cream-3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.site-header__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header__brand {
  flex-shrink: 0;
  color: var(--chocolate);
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.16;
  text-decoration: none;
}

.site-header__brand span {
  display: block;
}

.site-header__brand span + span {
  color: var(--bordo);
  font-size: 13px;
  font-style: italic;
  margin-top: 1px;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 15px;
}

.site-header__nav a {
  text-decoration: none;
}

.site-header__phone {
  color: var(--bordo);
  font-weight: 500;
  padding-left: 24px;
  border-left: 1px solid var(--cream-3);
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  padding: 96px 0;
  text-align: center;
}

.hero__texture {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/><feColorMatrix values='0 0 0 0 0.17  0 0 0 0 0.09  0 0 0 0 0.06  0 0 0 0.05 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
  background-size: 200px 200px;
  opacity: 0.7;
  pointer-events: none;
}

.hero__watermark {
  position: absolute;
  right: max(24px, calc((100vw - var(--container)) / 2));
  bottom: -96px;
  color: rgba(107, 29, 42, 0.055);
  font-family: var(--font-serif);
  font-size: 420px;
  font-style: italic;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.hero__inner {
  position: relative;
}

.hero__mark {
  display: block;
  margin: 0 auto 24px;
}

.hero__title {
  font-size: 56px;
  line-height: 1.1;
}

.hero__title span {
  color: var(--bordo);
  font-style: italic;
}

.hero__lead {
  max-width: 620px;
  margin: 22px auto 48px;
  color: var(--chocolate-soft);
  font-size: 20px;
  line-height: 1.5;
}

.hero__separator {
  position: relative;
  width: 96px;
  height: 1px;
  margin: 0 auto 36px;
  background: var(--cream-4);
}

.hero__separator::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  background: var(--cream);
  border: 1px solid var(--cream-4);
  transform: translate(-50%, -50%) rotate(45deg);
}

.hero__contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 18px;
}

.section {
  padding: 80px 0;
}

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

.section--warm {
  background: var(--cream-2);
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 36px;
}

.section-heading span {
  display: inline-block;
  width: 2px;
  height: 40px;
  background: var(--bordo);
  flex-shrink: 0;
}

.section-heading h2 {
  font-size: 36px;
}

.text-stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.text-stack p,
.section-lead {
  font-size: 18px;
  line-height: 1.7;
}

.section-lead {
  margin-bottom: 28px;
}

.practice-list {
  list-style: none;
  margin: 0 0 36px;
  padding: 0;
  color: var(--chocolate);
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.55;
}

.practice-list li {
  display: inline;
}

.practice-list li:not(:last-child)::after {
  content: "·";
  color: var(--bordo);
  font-family: var(--font-sans);
  margin: 0 10px;
}

.section-note {
  color: var(--chocolate-soft);
  font-size: 17px;
  line-height: 1.7;
}

.lawyers-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.lawyer h3 {
  margin-bottom: 4px;
  font-size: 26px;
}

.lawyer__role {
  color: var(--bordo);
  font-family: var(--font-serif);
  font-size: 16px;
  font-style: italic;
  margin-bottom: 20px;
}

.lawyer p:not(.lawyer__role) {
  font-size: 17px;
  line-height: 1.7;
}

.lawyer__link {
  display: inline-block;
  margin-top: 20px;
  color: var(--bordo);
  font-size: 15px;
}

.lawyer__link::before {
  content: "→ ";
}

.contact-card {
  display: grid;
  gap: 8px;
  color: var(--chocolate);
  font-size: 17px;
  line-height: 1.7;
}

.contact-card strong {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 500;
  margin-bottom: 10px;
}

.contact-card a:first-of-type {
  margin-top: 12px;
}

.contact-card__note {
  color: var(--chocolate-soft);
  font-size: 16px;
  margin-top: 12px;
}

.osm-map {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--cream-3);
}

.osm-map__frame {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
  filter: sepia(0.18) saturate(0.82);
}

.osm-map__link {
  position: absolute;
  left: 16px;
  bottom: 14px;
  padding: 5px 10px;
  background: rgba(245, 240, 232, 0.94);
  border: 1px solid var(--cream-3);
  color: var(--chocolate);
  font-size: 14px;
}

.footer {
  padding: 64px 0 40px;
  background: var(--chocolate);
  color: var(--cream);
}

.footer a {
  color: var(--cream);
  text-decoration-color: rgba(245, 240, 232, 0.35);
}

.footer__name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 6px;
}

.footer__note {
  margin-top: 28px;
  color: rgba(245, 240, 232, 0.78);
}

.footer__copy {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(245, 240, 232, 0.14);
  color: rgba(245, 240, 232, 0.6);
  font-size: 13px;
}

@media (max-width: 760px) {
  .container {
    padding-left: 22px;
    padding-right: 22px;
  }

  .site-header__inner {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .site-header__nav {
    width: 100%;
    gap: 12px 18px;
    flex-wrap: wrap;
  }

  .site-header__phone {
    padding-left: 0;
    border-left: 0;
  }

  .hero {
    padding: 64px 0 72px;
  }

  .hero__title {
    font-size: 36px;
  }

  .hero__lead {
    font-size: 18px;
    margin-bottom: 36px;
  }

  .hero__watermark {
    right: -24px;
    bottom: -64px;
    font-size: 260px;
  }

  .section {
    padding: 64px 0;
  }

  .section-heading h2 {
    font-size: 28px;
  }

  .practice-list {
    font-size: 20px;
  }

  .lawyers-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .osm-map,
  .osm-map__frame {
    min-height: 300px;
    height: 300px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
