:root {
  --soft-radius: 14px;
}

body {
  font-family: "Manrope", sans-serif;
  line-height: 1.7;
}

h1,
h2,
h3 {
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.08;
}

.nav-contact,
.menu-toggle {
  border-radius: 10px;
}

.brand img {
  width: 255px;
  height: 66px;
  display: block;
  object-position: center;
}

nav .nav-contact {
  transition:
    color 0.4s ease,
    background-color 0.4s ease,
    border-color 0.4s ease,
    transform 0.4s cubic-bezier(0.2, 0.75, 0.2, 1);
}

nav .nav-contact:hover,
nav .nav-contact:focus-visible {
  color: var(--navy);
  background-color: rgba(255, 253, 248, 0.94);
  border-color: rgba(255, 253, 248, 0.94);
  transform: translateY(-2px);
}

.hero {
  background:
    linear-gradient(100deg, rgba(2, 13, 27, 0.975), rgba(6, 26, 51, 0.925)),
    url("assets/wallpaper.png") center / cover;
}

.hero-mark {
  font-family: "Fraunces", Georgia, serif;
  -webkit-text-stroke-color: rgba(255, 255, 255, 0.042);
  will-change: transform;
}

.button,
.whatsapp-float {
  border-radius: 12px;
  transition:
    transform 0.35s cubic-bezier(0.2, 0.75, 0.2, 1),
    box-shadow 0.35s ease,
    background 0.35s ease;
}

.button:hover,
.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.2);
}

.situation-grid {
  gap: 12px;
  border: 0;
}

.situation,
.situation:last-child {
  border: 1px solid var(--line);
  border-radius: var(--soft-radius);
  background: rgba(255, 255, 255, 0.2);
  transition:
    opacity 0.75s ease,
    transform 0.8s cubic-bezier(0.2, 0.75, 0.2, 1),
    background 0.35s ease,
    color 0.35s ease,
    box-shadow 0.35s ease;
}

.situation strong {
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.15;
}

.situation:hover,
.situation:focus-visible,
.situation.visible:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-7px);
  box-shadow: 0 18px 50px rgba(7, 27, 52, 0.13);
}

.about-art {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
}

.about-art img {
  width: min(100%, 310px);
  height: 560px;
  object-fit: contain;
  opacity: 0.14;
  filter: saturate(0);
  transform: translateY(24px) scale(0.97);
  transition:
    opacity 1.1s ease,
    transform 1.2s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.about.section-active .about-art img {
  opacity: 0.25;
  transform: translateY(0) scale(1);
}

.principles h3 {
  font-family: "Manrope", sans-serif;
}

.portrait {
  border-radius: var(--soft-radius);
}

.reveal {
  opacity: 0;
  transform: translateY(42px);
  filter: blur(3px);
  transition:
    opacity 0.9s cubic-bezier(0.2, 0.75, 0.2, 1),
    transform 0.9s cubic-bezier(0.2, 0.75, 0.2, 1),
    filter 0.9s ease;
}

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

.situation,
.practice-item,
.principles > div {
  opacity: 0;
  transform: translateY(30px);
}

.situation.visible,
.practice-item.visible,
.principles > div.visible {
  opacity: 1;
  transform: none;
}

main > section {
  isolation: isolate;
}

main > section::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 7%;
  right: 7%;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(115, 132, 153, 0.23), transparent);
  transform: scaleX(0.35);
  opacity: 0;
  transition: transform 1.2s ease, opacity 1.2s ease;
}

main > section.section-active::after {
  transform: scaleX(1);
  opacity: 1;
}

@media (max-width: 900px) {
  .brand img {
    width: 205px;
    height: 54px;
  }

  .about-art {
    display: none;
  }

  .situation:nth-child(2),
  .situation:nth-child(-n + 2) {
    border: 1px solid var(--line);
  }
}

@media (max-width: 600px) {
  .situation,
  .situation:last-child {
    border: 1px solid var(--line);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .situation,
  .practice-item,
  .principles > div {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

.site-footer {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 84px clamp(24px, 7vw, 112px) 28px;
  background: #031225;
}

.footer-watermark {
  position: absolute;
  left: -2vw;
  bottom: -0.28em;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(15rem, 32vw, 34rem);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.038);
  pointer-events: none;
}

.footer-main {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: clamp(42px, 7vw, 110px);
  align-items: start;
  padding-bottom: 72px;
}

.footer-identity img {
  display: block;
  width: min(100%, 300px);
  filter: brightness(0) invert(1);
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 34px;
}

.social-icon {
  width: 43px;
  height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.76);
  transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.site-footer a.social-icon:hover {
  color: var(--navy);
  background: var(--white);
  border-color: var(--white);
  transform: translateY(-3px);
}

.social-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.insight-link {
  grid-template-columns: minmax(180px, 0.5fr) minmax(0, 1.15fr) minmax(220px, 0.65fr);
  gap: clamp(26px, 4vw, 58px);
  align-items: center;
  cursor: pointer;
  transition: color 0.35s ease, transform 0.45s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.insight-link + .insight-link {
  border-top: 0;
}

.insight-cover {
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
}

.insight-cover img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.68) contrast(1.04);
  transition: filter 0.4s ease, transform 0.45s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.insight-link:hover .insight-cover img,
.insight-link:focus-visible .insight-cover img {
  filter: saturate(0.9) contrast(1.04);
  transform: scale(1.018);
}

.insight-link:hover,
.insight-link:focus-visible {
  color: var(--navy-2);
  transform: translateY(-4px);
}

.insight-summary {
  align-self: end;
}

.insight-summary p {
  margin: 0 0 22px;
  color: var(--muted);
}

.insight-summary span {
  display: inline-block;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .insight-link {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 30px;
  }

  .insight-summary {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .insight-link {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .insight-cover {
    width: min(100%, 220px);
  }

  .insight-summary {
    grid-column: auto;
  }
}

.footer-kicker {
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-footer .footer-primary-link {
  margin-bottom: 8px;
  color: var(--white);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.5rem, 2.2vw, 2.25rem);
}

.site-footer a {
  transition: color 0.3s ease;
}

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

.footer-address-block a {
  line-height: 1.75;
}

.map-link {
  display: block;
  margin-top: 16px;
  color: var(--white);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-bottom {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.74rem;
}

.legal-links {
  display: flex;
  gap: 24px;
}

.legal-links button {
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.74rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.legal-links button:hover {
  color: var(--white);
}

.legal-dialog {
  width: min(680px, calc(100% - 32px));
  max-height: min(78vh, 720px);
  padding: 38px;
  border: 0;
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
}

.legal-dialog::backdrop {
  background: rgba(2, 13, 27, 0.78);
  backdrop-filter: blur(5px);
}

.legal-dialog h2 {
  margin-bottom: 28px;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}

.legal-dialog p {
  color: #4f5f72;
}

.legal-dialog a {
  color: var(--ink);
  text-decoration: underline;
}

.dialog-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.dialog-heading button {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 800px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-identity {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .site-footer {
    padding-top: 64px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    padding-bottom: 50px;
  }

  .footer-identity {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-links {
    flex-direction: column;
    gap: 8px;
  }

  .legal-dialog {
    padding: 26px 22px;
  }
}
.practice-item{margin:10px 0;padding-left:24px;padding-right:24px;border:1px solid transparent;border-radius:20px;transition:background .35s ease,color .35s ease,border-color .35s ease,transform .35s ease,box-shadow .35s ease}
.practice-item:hover,.practice-item:focus-visible{background:var(--navy);color:var(--white);border-color:rgba(7,27,52,.08);transform:translateY(-3px);box-shadow:0 18px 42px rgba(7,27,52,.14);outline:0}
.practice-item:hover p,.practice-item:hover>span,.practice-item:focus-visible p,.practice-item:focus-visible>span{color:rgba(255,255,255,.7)}
