:root {
  --bg: #0e0e0e;
  --surface: #151515;
  --surface-strong: #1b1b1b;
  --surface-soft: #121212;
  --text: #f5f5f5;
  --muted: rgba(245, 245, 245, 0.64);
  --line: rgba(245, 245, 245, 0.1);
  --accent: #c8a56a;
  --accent-soft: rgba(200, 165, 106, 0.16);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1240px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(200, 165, 106, 0.11), transparent 26%),
    radial-gradient(circle at 100% 12%, rgba(200, 165, 106, 0.08), transparent 20%),
    linear-gradient(180deg, #111111 0%, #0e0e0e 100%);
  color: var(--text);
  font-family: "Inter", sans-serif;
}

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

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

.page-shell {
  overflow: clip;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.section {
  padding: 32px 0;
}

.site-header {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  text-decoration: none;
}

.brand img {
  width: 52px;
  height: auto;
}

.brand span {
  color: var(--muted);
  font-size: 0.84rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.header-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.header-links a {
  color: var(--muted);
  text-decoration: none;
}

.header-links a:hover,
.header-links a:focus-visible,
.contact-row a:hover,
.contact-row a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--accent);
}

.hero {
  display: grid;
  gap: 24px;
  align-items: start;
  padding-top: 12px;
}

.hero-copy,
.contact-card,
.practice-card,
.team-card,
.contact-panel,
.map-placeholder {
  position: relative;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    var(--surface);
  box-shadow: var(--shadow);
}

.hero-copy {
  border-radius: var(--radius-xl);
  padding: 28px 22px;
}

.hero-copy::before,
.contact-card::before,
.map-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(200, 165, 106, 0.08), transparent 38%);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero-logo {
  width: 134px;
  margin-bottom: 32px;
}

.hero-logo img {
  filter: brightness(0) invert(1) opacity(0.94);
}

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

h1,
h2,
h3,
.footer-title,
.footer-subtitle {
  font-family: "Manrope", sans-serif;
}

h1 {
  max-width: 12ch;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

h1 span {
  display: block;
  color: rgba(245, 245, 245, 0.88);
}

.hero-lead {
  margin-top: 28px;
  max-width: 22ch;
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  line-height: 1.35;
}

.hero-text,
.about-copy p,
.team-card p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.hero-text {
  max-width: 38rem;
  margin-top: 18px;
}

.contact-card,
.contact-panel {
  border-radius: var(--radius-lg);
  padding: 24px 20px;
}

.card-kicker,
.contact-label {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.card-kicker {
  color: var(--accent);
  margin-bottom: 8px;
}

.contact-row {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.contact-row:first-of-type {
  border-top: none;
}

.contact-row a,
.contact-row p {
  display: block;
  margin-top: 10px;
  text-decoration: none;
  font-family: "Manrope", sans-serif;
  font-size: 1.2rem;
  line-height: 1.45;
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

h2 {
  max-width: 12ch;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.practices-grid {
  display: grid;
  gap: 16px;
}

.practice-card {
  min-height: 100%;
  border-radius: var(--radius-md);
  padding: 22px 18px;
}

.practice-card h3 {
  max-width: 16ch;
  font-size: 1.25rem;
  line-height: 1.2;
}

.practice-card p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.about-layout,
.contacts-layout {
  display: grid;
  gap: 24px;
}

.about-copy {
  display: grid;
  gap: 18px;
  max-width: 58rem;
}

.team-card {
  display: grid;
  gap: 22px;
  justify-items: start;
  border-radius: var(--radius-lg);
  padding: 28px 22px;
}

.team-list {
  display: grid;
  width: 100%;
  gap: 12px;
}

.team-item {
  width: 100%;
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
}

.team-item h3 {
  font-size: 1.05rem;
  line-height: 1.35;
}

.team-item p {
  margin-top: 8px;
  color: var(--accent);
  font-size: 0.95rem;
  line-height: 1.5;
}

.ghost-button {
  border: 1px solid rgba(200, 165, 106, 0.34);
  border-radius: 999px;
  padding: 14px 22px;
  background: transparent;
  color: rgba(245, 245, 245, 0.4);
  cursor: not-allowed;
}

.contacts-grid {
  display: grid;
  gap: 16px;
}

.map-placeholder {
  border-radius: var(--radius-lg);
  padding: 18px;
  min-height: 320px;
}

.map-embed {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 284px;
  border: 1px solid rgba(200, 165, 106, 0.2);
  border-radius: calc(var(--radius-lg) - 8px);
  background: var(--surface-soft);
}

.site-footer {
  display: grid;
  gap: 18px;
  padding-top: 28px;
  padding-bottom: 36px;
  border-top: 1px solid var(--line);
}

.footer-title,
.footer-subtitle {
  font-size: 1rem;
  line-height: 1.4;
}

.footer-subtitle {
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-copy {
  color: var(--muted);
}

@media (min-width: 700px) {
  .container {
    width: min(calc(100% - 48px), var(--container));
  }

  .section {
    padding: 48px 0;
  }

  .practices-grid,
  .contacts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 980px) {
  .site-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .header-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 24px;
  }

  .hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
    gap: 24px;
    min-height: calc(100vh - 120px);
  }

  .hero-copy {
    padding: 40px 36px;
  }

  .contact-card {
    align-self: start;
    position: sticky;
    top: 28px;
  }

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

  .about-layout,
  .contacts-layout {
    grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
    align-items: start;
  }

  .section-heading {
    margin-bottom: 0;
  }

  .site-footer {
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: end;
  }
}
