:root {
  --ink: #f7efd9;
  --muted: rgba(247, 239, 217, 0.72);
  --charcoal: #14110d;
  --black: #050505;
  --paper: #0b0a08;
  --white: #fffaf0;
  --line: rgba(216, 183, 95, 0.22);
  --gold: #d8b75f;
  --gold-light: #f6dda0;
  --gold-dark: #9b742a;
  --deep-gold: #604411;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.5);
  --radius: 8px;
  --container: min(1160px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at 20% 0%, rgba(216, 183, 95, 0.09), transparent 34vw),
    linear-gradient(180deg, #050505 0%, #0d0b08 46%, #050505 100%);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 78px;
  padding: 10px max(20px, calc((100vw - 1160px) / 2));
  color: var(--white);
  background: rgba(5, 5, 5, 0.72);
  border-bottom: 1px solid rgba(216, 183, 95, 0.18);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  transition: background 220ms ease, min-height 220ms ease;
}

.site-header.is-scrolled {
  min-height: 68px;
  background: rgba(5, 5, 5, 0.95);
}

.brand img {
  width: auto;
  height: 74px;
  filter: drop-shadow(0 10px 24px rgba(216, 183, 95, 0.2));
  transition: height 220ms ease;
}

.site-header.is-scrolled .brand img {
  height: 62px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.6vw, 34px);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  color: rgba(247, 239, 217, 0.78);
  transition: color 180ms ease;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  content: "";
  background: var(--gold);
  transition: width 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--gold-light);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(216, 183, 95, 0.42);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(216, 183, 95, 0.08);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  min-height: 90svh;
  padding: 118px max(20px, calc((100vw - 1160px) / 2)) 72px;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
  background: var(--black);
}

.hero::before {
  position: absolute;
  inset: -9% 0;
  z-index: -3;
  content: "";
  background: url("img/fundo-hero.jpg") center / cover no-repeat fixed;
  filter: brightness(0.52) contrast(1.08) saturate(0.9);
  transform: translate3d(0, var(--hero-shift, 0px), 0) scale(1.06);
  transform-origin: center;
  will-change: transform;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    radial-gradient(circle at 28% 34%, rgba(216, 183, 95, 0.2), transparent 21vw),
    linear-gradient(90deg, rgba(5, 5, 5, 0.96) 0%, rgba(5, 5, 5, 0.84) 45%, rgba(5, 5, 5, 0.42) 100%),
    linear-gradient(0deg, rgba(5, 5, 5, 0.95), transparent 36%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 850px;
  align-self: center;
}

.hero-frame {
  position: relative;
  max-width: 760px;
  padding: clamp(26px, 4.2vw, 46px);
  border: 1px solid rgba(216, 183, 95, 0.72);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(216, 183, 95, 0.13), transparent 34%),
    rgba(5, 5, 5, 0.42);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.46),
    inset 0 0 0 1px rgba(255, 250, 240, 0.05),
    inset 0 0 70px rgba(216, 183, 95, 0.08);
  backdrop-filter: blur(4px);
  animation: luxuryGlow 6s ease-in-out infinite alternate;
}

.hero-frame::before,
.hero-frame::after {
  position: absolute;
  width: 86px;
  height: 86px;
  content: "";
  pointer-events: none;
}

@keyframes luxuryGlow {
  from {
    box-shadow:
      0 30px 90px rgba(0, 0, 0, 0.46),
      inset 0 0 0 1px rgba(255, 250, 240, 0.05),
      inset 0 0 70px rgba(216, 183, 95, 0.08);
  }

  to {
    box-shadow:
      0 34px 104px rgba(0, 0, 0, 0.58),
      0 0 34px rgba(216, 183, 95, 0.1),
      inset 0 0 0 1px rgba(255, 250, 240, 0.08),
      inset 0 0 92px rgba(216, 183, 95, 0.13);
  }
}

.hero-frame::before {
  top: 12px;
  left: 12px;
  border-top: 1px solid var(--gold-light);
  border-left: 1px solid var(--gold-light);
}

.hero-frame::after {
  right: 12px;
  bottom: 12px;
  border-right: 1px solid var(--gold-light);
  border-bottom: 1px solid var(--gold-light);
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 6.4vw, 5.8rem);
  font-weight: 500;
  color: var(--gold-light);
  text-shadow: 0 10px 34px rgba(0, 0, 0, 0.55);
}

h2 {
  max-width: 850px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 5vw, 4.6rem);
  font-weight: 500;
}

h3 {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 700px;
  margin-top: 18px;
  color: rgba(255, 250, 240, 0.9);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 1.58;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.34);
}

.button-primary {
  color: var(--black);
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 52%, #b58935);
}

.button-secondary {
  color: var(--gold-light);
  border-color: rgba(216, 183, 95, 0.46);
  background: rgba(5, 5, 5, 0.44);
}

.button-outline {
  color: var(--gold-light);
  border-color: rgba(216, 183, 95, 0.42);
  background: rgba(216, 183, 95, 0.08);
}

.hero-proof {
  position: absolute;
  z-index: 2;
  right: max(20px, calc((100vw - 1160px) / 2));
  bottom: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  width: min(560px, calc(100% - 40px));
  overflow: hidden;
  border: 1px solid rgba(216, 183, 95, 0.34);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(216, 183, 95, 0.14), transparent 42%),
    rgba(5, 5, 5, 0.82);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(16px);
}

.hero-proof div {
  padding: 18px;
  border-right: 1px solid rgba(216, 183, 95, 0.22);
}

.hero-proof div:last-child {
  border-right: 0;
}

.hero-proof strong {
  display: block;
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
}

.hero-proof span {
  display: block;
  margin-top: 6px;
  color: rgba(247, 239, 217, 0.68);
  font-size: 0.78rem;
  line-height: 1.3;
}

.section {
  padding: clamp(72px, 9vw, 128px) 0;
}

.section-light {
  background:
    radial-gradient(circle at 85% 8%, rgba(216, 183, 95, 0.08), transparent 28vw),
    linear-gradient(180deg, #0b0a08, #11100c);
}

.section-muted {
  background:
    radial-gradient(circle at 12% 18%, rgba(216, 183, 95, 0.09), transparent 24vw),
    linear-gradient(180deg, #060606, #0f0d0a);
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section-heading {
  max-width: 870px;
}

.section-heading > p:not(.eyebrow) {
  max-width: 640px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.05rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(34px, 7vw, 92px);
  align-items: start;
}

.about-copy {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 1.03rem;
}

.about-panel {
  grid-column: 2;
  padding: clamp(24px, 4vw, 42px);
  color: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(216, 183, 95, 0.28);
  background:
    linear-gradient(135deg, rgba(216, 183, 95, 0.14), transparent 40%),
    linear-gradient(145deg, #18130d, #070707);
  box-shadow: var(--shadow);
}

.about-panel p {
  color: rgba(247, 239, 217, 0.78);
}

.about-panel strong {
  display: block;
  margin-top: 24px;
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1.12;
  font-weight: 500;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 46px;
}

.practice-card {
  position: relative;
  width: 100%;
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  font: inherit;
  text-align: left;
  background:
    linear-gradient(145deg, rgba(216, 183, 95, 0.12), transparent 38%),
    #100e0a;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.practice-card:hover {
  transform: translateY(-6px);
  border-color: rgba(246, 221, 160, 0.46);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
}

.practice-card:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
}

.practice-card::after {
  position: absolute;
  right: 24px;
  bottom: 22px;
  color: var(--gold);
  content: "\2197";
  font-size: 1.2rem;
  line-height: 1;
  opacity: 0.72;
  transition: color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.practice-card:hover::after,
.practice-card:focus-visible::after {
  color: var(--gold-light);
  opacity: 1;
  transform: translate(2px, -2px);
}

.practice-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 38px;
  color: var(--gold-light);
  border: 1px solid rgba(216, 183, 95, 0.42);
  background: rgba(216, 183, 95, 0.08);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 800;
}

.practice-card p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.96rem;
}

.practice-modal {
  width: min(720px, calc(100% - 32px));
  max-height: min(760px, calc(100% - 32px));
  padding: 0;
  color: var(--ink);
  border: 1px solid rgba(216, 183, 95, 0.58);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(216, 183, 95, 0.14), transparent 32%),
    #100e0a;
  box-shadow: 0 30px 110px rgba(0, 0, 0, 0.7), 0 0 42px rgba(216, 183, 95, 0.1);
}

.practice-modal::backdrop {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
}

.practice-modal-content {
  max-height: min(760px, calc(100vh - 32px));
  padding: clamp(28px, 5vw, 48px);
  overflow-y: auto;
}

.practice-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.practice-modal-header .eyebrow {
  margin-bottom: 0;
}

.modal-close {
  display: inline-grid;
  flex: 0 0 42px;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--gold-light);
  border: 1px solid rgba(216, 183, 95, 0.42);
  border-radius: 50%;
  background: rgba(216, 183, 95, 0.08);
  cursor: pointer;
  font-size: 1.55rem;
  line-height: 1;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.modal-close:hover,
.modal-close:focus-visible {
  color: var(--black);
  background: var(--gold-light);
  transform: rotate(90deg);
}

.modal-close:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

.practice-modal h2 {
  margin-top: 8px;
  color: var(--gold-light);
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.practice-services {
  display: grid;
  gap: 13px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.practice-services li {
  position: relative;
  padding: 0 0 13px 26px;
  color: rgba(247, 239, 217, 0.84);
  border-bottom: 1px solid rgba(216, 183, 95, 0.16);
}

.practice-services li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.practice-services li::before {
  position: absolute;
  top: 0.65em;
  left: 3px;
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(216, 183, 95, 0.1);
  transform: translateY(-50%);
}

body.modal-open {
  overflow: hidden;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 46px;
}

.team-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(216, 183, 95, 0.1), transparent 36%),
    #0f0d0a;
  box-shadow: var(--shadow);
}

.team-card-feature {
  grid-column: 1 / -1;
  grid-template-columns: minmax(300px, 0.74fr) 1fr;
}

.team-card img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.06);
}

.team-card:not(.team-card-feature) img {
  aspect-ratio: 1 / 0.82;
  min-height: 0;
}

.team-content {
  display: grid;
  align-content: start;
  gap: 15px;
  padding: clamp(24px, 4vw, 42px);
}

.role {
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.team-content p:not(.role) {
  color: var(--muted);
}

.testimonials {
  color: var(--white);
  background:
    radial-gradient(circle at 74% 42%, rgba(216, 183, 95, 0.16), transparent 24vw),
    linear-gradient(115deg, rgba(5, 5, 5, 0.98), rgba(18, 14, 9, 0.88)),
    url("img/flaviane.jpg") center / cover fixed no-repeat;
}

.testimonials h2 {
  color: var(--white);
}

.testimonials .section-heading > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.75);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(32px, 7vw, 86px);
  align-items: center;
}

.text-link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--gold);
  font-weight: 800;
  border-bottom: 1px solid currentColor;
}

.testimonial-carousel {
  min-width: 0;
}

.testimonial-stage {
  position: relative;
  height: 440px;
}

.testimonial-card {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: 100%;
  padding: clamp(24px, 4vw, 36px);
  overflow: hidden;
  border: 1px solid rgba(216, 183, 95, 0.3);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(216, 183, 95, 0.14), transparent 38%),
    rgba(5, 5, 5, 0.5);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(28px) scale(0.985);
  transition: opacity 460ms ease, transform 460ms ease, visibility 460ms ease;
}

.testimonial-card.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0) scale(1);
}

.stars {
  color: var(--gold);
  font-size: 1.12rem;
  letter-spacing: 0;
}

.testimonial-card blockquote {
  display: grid;
  align-content: center;
  margin: 18px -8px 0 0;
  padding-right: 14px;
  overflow-y: auto;
  scrollbar-color: var(--gold-dark) rgba(216, 183, 95, 0.08);
  scrollbar-width: thin;
}

.testimonial-card blockquote::-webkit-scrollbar {
  width: 6px;
}

.testimonial-card blockquote::-webkit-scrollbar-track {
  background: rgba(216, 183, 95, 0.08);
}

.testimonial-card blockquote::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background: var(--gold-dark);
}

.testimonial-card blockquote p {
  color: rgba(255, 250, 240, 0.9);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.28rem, 2.2vw, 1.75rem);
  font-weight: 400;
  line-height: 1.34;
}

.testimonial-card-long blockquote {
  align-content: start;
}

.testimonial-card-long blockquote p {
  font-size: 1.02rem;
  line-height: 1.58;
}

.testimonial-card-long blockquote p + p {
  margin-top: 15px;
}

.testimonial-card .reviewer {
  margin-top: 18px;
  color: var(--gold-light);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.carousel-control {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--gold-light);
  border: 1px solid rgba(216, 183, 95, 0.4);
  border-radius: 50%;
  background: rgba(5, 5, 5, 0.54);
  cursor: pointer;
  font-size: 1.08rem;
  line-height: 1;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.carousel-control:hover,
.carousel-control:focus-visible {
  color: var(--black);
  border-color: var(--gold-light);
  background: var(--gold-light);
  transform: translateY(-2px);
}

.carousel-control:focus-visible,
.carousel-dot:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

.carousel-toggle {
  margin-left: 4px;
}

.carousel-status {
  min-width: 66px;
  color: rgba(247, 239, 217, 0.7);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
}

.carousel-status [data-testimonial-current] {
  color: var(--gold-light);
}

.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 18px;
  margin-top: 14px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid rgba(216, 183, 95, 0.56);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.carousel-dot:hover,
.carousel-dot.is-active {
  border-color: var(--gold-light);
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(216, 183, 95, 0.1);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1.14fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: start;
}

.contact-panel {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(216, 183, 95, 0.12), transparent 34%),
    #0f0d0a;
  box-shadow: var(--shadow);
}

.contact-panel article {
  padding: 24px;
  border-bottom: 1px solid rgba(216, 183, 95, 0.18);
}

.contact-panel article:last-child {
  border-bottom: 0;
}

.contact-panel span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-panel a {
  color: var(--gold-light);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-panel p {
  margin-bottom: 10px;
  color: var(--muted);
}

.site-footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.72);
  background: var(--black);
}

.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
}

.footer-brand img {
  width: 150px;
}

.site-footer a {
  color: var(--gold);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(8px);
  transition: opacity 720ms ease, transform 720ms ease, filter 720ms ease;
}

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

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

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

  .hero-frame {
    animation: none;
  }
}

@media (max-width: 920px) {
  .site-header {
    min-height: 70px;
  }

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

  .site-header.is-scrolled .brand img {
    height: 52px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 76px;
    right: 20px;
    left: 20px;
    display: grid;
    gap: 0;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    background: rgba(12, 12, 12, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    min-height: 92svh;
    padding-top: 124px;
    padding-bottom: 172px;
  }

  .hero::before {
    background-attachment: scroll;
    background-position: center;
  }

  .hero-proof {
    right: 20px;
    left: 20px;
    grid-template-columns: repeat(3, 1fr);
    width: auto;
  }

  .hero-proof div {
    padding: 14px 12px;
  }

  .hero-proof strong {
    font-size: 1.55rem;
  }

  .about-grid,
  .testimonials-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-panel {
    grid-column: auto;
  }

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

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

  .team-card-feature {
    grid-template-columns: 1fr;
  }

  .team-card img,
  .team-card:not(.team-card-feature) img {
    aspect-ratio: 1 / 0.9;
    min-height: 0;
  }
}

@media (max-width: 620px) {
  :root {
    --container: min(100% - 28px, 1160px);
  }

  .site-header {
    padding-inline: 14px;
  }

  .hero {
    padding-inline: 14px;
    padding-bottom: 156px;
  }

  .hero-frame {
    padding: 24px 20px;
  }

  h1 {
    font-size: clamp(2.5rem, 12vw, 3.65rem);
  }

  h2 {
    font-size: clamp(2.08rem, 12vw, 3.1rem);
  }

  .hero-copy {
    font-size: 1rem;
  }

  .button,
  .hero-actions,
  .contact-actions {
    width: 100%;
  }

  .hero-proof {
    grid-template-columns: repeat(3, 1fr);
    bottom: 18px;
  }

  .hero-proof div {
    display: block;
    padding: 12px 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 0;
  }

  .hero-proof div:last-child {
    border-right: 0;
  }

  .hero-proof strong {
    font-size: 1.42rem;
  }

  .hero-proof span {
    font-size: 0.68rem;
  }

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

  .practice-card {
    min-height: auto;
  }

  .testimonial-stage {
    height: 520px;
  }

  .testimonial-card {
    padding: 24px 20px;
  }

  .testimonial-card blockquote {
    padding-right: 10px;
  }

  .testimonial-card blockquote p {
    font-size: 1.16rem;
    line-height: 1.42;
  }

  .testimonial-card-long blockquote p {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .testimonial-controls {
    margin-top: 18px;
  }

  .carousel-dots {
    gap: 9px;
  }

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