@font-face {
  font-family: "Switzer";
  src: url("../assets/fonts/switzer-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Switzer";
  src: url("../assets/fonts/switzer-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Switzer";
  src: url("../assets/fonts/switzer-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Switzer";
  src: url("../assets/fonts/switzer-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg-primary: #131917;
  --bg-surface: #1b2420;
  --bg-soft: #202a25;
  --text-primary: #f2f3f2;
  --text-muted: #b1b8b4;
  --accent: #40592e;
  --accent-strong: #40592e;
  --line: #2a3630;
  --card-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
  --radius: 1.05rem;
  --container: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: "Switzer", sans-serif;
  line-height: 1.55;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

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

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.9rem);
  font-weight: 600;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-weight: 600;
}

p {
  color: var(--text-muted);
}

.container {
  width: min(var(--container), calc(100vw - 3rem));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  scroll-margin-top: 6.5rem;
}

.section-heading {
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.85rem 1.5rem;
  background: var(--accent);
  color: #f2f3f2;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 1.1rem 0;
  border-bottom: 1px solid transparent;
  background: linear-gradient(to bottom, rgba(19, 25, 23, 0.95), rgba(19, 25, 23, 0.5));
  backdrop-filter: blur(8px);
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background-color: rgba(19, 25, 23, 0.96);
  border-color: var(--line);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand img {
  width: clamp(110px, 13vw, 158px);
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.8rem);
}

.site-nav a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent-strong);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.language-switcher a {
  color: var(--text-muted);
  text-decoration: none;
}

.language-switcher a.is-active {
  color: var(--text-primary);
  font-weight: 600;
}

.site-nav .language-switcher {
  margin-left: 0.35rem;
  padding-left: 0.85rem;
  border-left: 1px solid var(--line);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
}

.menu-toggle__line {
  width: 18px;
  height: 2px;
  margin: 0 auto;
  border-radius: 999px;
  background: currentColor;
}

.hero {
  overflow: clip;
  padding-top: clamp(5rem, 9vw, 8rem);
  max-width: 100%;
  min-width: 0;
}

.hero-bg {
  position: absolute;
  inset: -12rem 0 auto 0;
  height: 65rem;
  background:
    radial-gradient(circle at 12% 15%, rgba(64, 89, 46, 0.2), transparent 50%),
    radial-gradient(circle at 88% 18%, rgba(64, 89, 46, 0.16), transparent 42%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 4vw, 3.25rem);
  max-width: 100%;
  min-width: 0;
}

.hero-subheadline {
  margin-top: 1rem;
  margin-bottom: 1.8rem;
  max-width: 62ch;
}

.hero-visual {
  position: relative;
  border-radius: calc(var(--radius) + 0.35rem);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
  max-width: 100%;
  min-width: 0;
}

.hero-video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 330px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

#practice-areas,
#faq,
.contact {
  background: linear-gradient(180deg, rgba(27, 36, 32, 0.45), rgba(27, 36, 32, 0.15));
}

#practice-areas .section-heading {
  margin-bottom: clamp(1.15rem, 2.4vw, 1.75rem);
}

.practice-grid {
  display: grid;
  gap: 0.95rem;
  grid-template-columns: 1fr;
}

.practice-column {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.practice-card {
  padding: 1.45rem 1.4rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(39, 50, 45, 0.68), rgba(24, 31, 28, 0.85));
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
}

.practice-card img {
  width: 46px;
  height: 46px;
  margin-bottom: 1rem;
}

.practice-card h3 {
  margin-bottom: 0.85rem;
}

.practice-card p + p {
  margin-top: 0.55rem;
}

@media (min-width: 721px) {
  .practice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 0.95rem;
    align-items: start;
  }

  .practice-column {
    height: 100%;
  }

  .practice-column--left .practice-card:last-child {
    flex: 1 1 auto;
  }
}

.approach {
  background: linear-gradient(180deg, rgba(22, 29, 26, 0.95), rgba(22, 29, 26, 0.6));
}

.approach-track {
  --line-start: 0px;
  --line-length: 0px;
  position: relative;
  display: grid;
  gap: 1.05rem;
  padding-left: 4.3rem;
}

.approach-line {
  position: absolute;
  left: calc(2.15rem - 1px);
  top: var(--line-start);
  height: var(--line-length);
  width: 2px;
  background: var(--accent);
  transition: height 0.15s linear, top 0.15s linear;
}

.approach-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.35rem 0 0.85rem;
}

.approach-dot {
  position: absolute;
  left: -2.75rem;
  top: 0.6rem;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: var(--bg-primary);
  box-shadow: 0 0 0 5px rgba(64, 89, 46, 0.12);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.approach-item.is-active .approach-dot {
  background-color: var(--accent);
  transform: scale(1.05);
}

.approach-content {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(28, 37, 33, 0.74);
  padding: 1rem 1.15rem;
}

.approach-content h3 {
  margin-bottom: 0.45rem;
}

.faq-list {
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(30, 39, 35, 0.7);
  overflow: clip;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1rem 1.25rem;
  border: 0;
  background: transparent;
  color: var(--text-primary);
  font: inherit;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
}

.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 7px;
  height: 2px;
  background: var(--accent-strong);
  border-radius: 999px;
  transition: transform 0.25s ease;
}

.faq-icon::after {
  transform: rotate(90deg);
}

.faq-item.is-open .faq-icon::after {
  transform: rotate(0deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer p {
  padding: 0 1.25rem 1.2rem;
}

.contact-card {
  max-width: 620px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(39, 50, 45, 0.72), rgba(26, 33, 30, 0.84));
  padding: 1.5rem;
  box-shadow: var(--card-shadow);
}

.contact-card h3 {
  margin-bottom: 0.8rem;
}

.contact-card p + p {
  margin-top: 0.8rem;
}

.contact-card a {
  text-decoration: none;
  color: var(--accent-strong);
}

.language-tags {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.75rem;
  display: inline-block;
  vertical-align: middle;
  margin-left: 12px;
}


.site-footer {
  padding: 2.4rem 0 2.7rem;
  border-top: 1px solid var(--line);
  background: #101513;
  flex-shrink: 0;
}

.footer-grid {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  grid-template-columns: minmax(160px, 1fr) repeat(3, minmax(0, auto));
}

.footer-grid--minimal {
  grid-template-columns: minmax(160px, 1fr) repeat(3, minmax(0, auto));
  align-items: flex-start;
}

.footer-brand img {
  width: clamp(108px, 11vw, 146px);
  height: auto;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.95rem 1.1rem;
}

.footer-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--accent-strong);
}

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

.footer-copyright {
  grid-column: 1 / -1;
  margin: 0.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.legal-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--bg-primary);
  color: var(--text-primary);
}

.legal-main {
  flex: 1 0 auto;
  padding: 5rem 0;
}

.legal-card {
  max-width: 920px;
  border-radius: calc(var(--radius) + 0.2rem);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(30, 40, 35, 0.82), rgba(20, 26, 24, 0.85));
  box-shadow: var(--card-shadow);
  padding: clamp(1.4rem, 4vw, 2.4rem);
}

.legal-title {
  margin-bottom: 1.35rem;
}

.legal-lead {
  margin-bottom: 1.3rem;
}

.legal-section + .legal-section {
  margin-top: 1.35rem;
}

.legal-section h2 {
  margin-bottom: 0.55rem;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.legal-section p + p {
  margin-top: 0.45rem;
}

.legal-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.legal-list li + li {
  margin-top: 0.35rem;
}

.legal-back {
  margin-top: 1.7rem;
}

.legal-back a {
  color: var(--accent-strong);
}

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

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    top: calc(100% + 0.55rem);
    display: grid;
    gap: 0.2rem;
    padding: 0.6rem;
    border-radius: 0.95rem;
    border: 1px solid var(--line);
    background: rgba(20, 26, 23, 0.98);
    box-shadow: var(--card-shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 0.65rem 0.75rem;
    border-radius: 0.65rem;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: rgba(64, 89, 46, 0.18);
  }

  .site-nav .language-switcher {
    margin-left: 0;
    padding: 0.7rem 0.75rem 0.2rem;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

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

  .hero-video {
    min-height: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer-nav {
    justify-content: flex-start;
  }

  .footer-language {
    justify-self: start;
  }
}

@media (max-width: 768px) {
  .hero-visual {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    border-radius: 0;
    overflow: hidden;
  }

  .hero-video {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    border-radius: 0;
    object-fit: cover;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(var(--container), calc(100vw - 2rem));
  }

  .section {
    padding: 4rem 0;
  }

  #practice-areas .section-heading {
    margin-bottom: 1rem;
  }

  .approach-track {
    padding-left: 0;
  }

  .approach-line {
    display: none;
  }

  .approach-item {
    padding: 0;
  }

  .approach-dot {
    display: none;
  }

  .approach-content {
    padding: 1rem;
  }

  .practice-card.reveal,
  .approach-item.reveal {
    transition-delay: 0.08s;
  }

  .site-footer {
    position: relative;
    overflow: visible;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    align-items: flex-start;
    justify-items: start;
    width: 100%;
  }

  .footer-brand {
    display: none;
  }

  .footer-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.65rem;
  }

  .footer-language {
    justify-self: start;
  }

  .footer-copyright {
    width: 100%;
    margin-top: 0.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
