:root {
  --supervision-ink: #141143;
  --supervision-ink-soft: #292759;
  --supervision-wine: #8d141e;
  --supervision-paper: #fbf8ff;
  --supervision-low: #f4f2ff;
  --supervision-lavender: #e2e1f3;
  --supervision-detail: #d7d9c4;
  --supervision-text: #1a1b27;
}

.supervision-body {
  --nav-bg: #292666;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 14%, rgba(215, 217, 196, 0.56), transparent 30rem),
    linear-gradient(135deg, var(--supervision-paper), var(--supervision-low) 54%, #fff);
}

.supervision-main {
  position: relative;
  isolation: isolate;
  color: var(--supervision-text);
  background:
    linear-gradient(90deg, rgba(20, 17, 67, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(20, 17, 67, 0.028) 1px, transparent 1px);
  background-size: 54px 54px;
}

.supervision-main::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: clamp(42rem, 66vw, 58rem);
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(20, 17, 67, 0.97), rgba(41, 39, 89, 0.96) 56%, rgba(98, 0, 13, 0.92));
  clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
}

.supervision-hero {
  width: min(100%, 1280px);
  min-height: calc(82svh - var(--nav-h));
  margin: 0 auto;
  padding: clamp(2.25rem, 6vw, 6.5rem) clamp(1rem, 4vw, 3.5rem) clamp(2rem, 5vw, 5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(280px, 0.74fr);
  align-items: center;
  gap: clamp(1.75rem, 6vw, 6.75rem);
}

.supervision-hero__copy {
  position: relative;
  padding-top: clamp(1.75rem, 4vw, 3.5rem);
}

.supervision-hero__copy::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(3.5rem, 9vw, 7rem);
  height: 0.22rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--supervision-wine), rgba(215, 217, 196, 0.8));
}

.supervision-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(3.2rem, 8.4vw, 7rem);
  line-height: 0.9;
  font-weight: 800;
  letter-spacing: 0;
}

.supervision-hero h1 span {
  display: block;
}

.supervision-hero__lead {
  max-width: 740px;
  margin: clamp(1.35rem, 3vw, 2.35rem) 0 0;
  color: rgba(244, 242, 255, 0.84);
  font-size: clamp(1.03rem, 1.6vw, 1.34rem);
  line-height: 1.68;
  font-weight: 500;
}

.supervision-hero__figure {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(19rem, 40vw, 34rem);
  margin: 0;
}

.supervision-hero__figure::before,
.supervision-hero__figure::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.supervision-hero__figure::before {
  inset: 8% 6% 12% 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    rgba(255, 255, 255, 0.1);
  background-size: 28px 28px;
  border-radius: 0.7rem;
  transform: rotate(-4deg);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.13);
  backdrop-filter: blur(14px);
}

.supervision-hero__figure::after {
  right: 0;
  bottom: 11%;
  width: 48%;
  height: 28%;
  background: var(--supervision-detail);
  border-radius: 0.45rem;
  transform: rotate(7deg);
  opacity: 0.82;
}

.supervision-hero__figure img {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  height: auto;
  filter: drop-shadow(0 30px 38px rgba(7, 5, 30, 0.22));
  transform: rotate(-2deg);
}

.supervision-statement {
  width: min(calc(100% - 2rem), 1120px);
  margin: 0 auto clamp(3rem, 7vw, 7rem);
  padding: clamp(1.35rem, 4vw, 3.8rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1.25rem, 4vw, 3.5rem);
  align-items: end;
  background:
    linear-gradient(90deg, rgba(20, 17, 67, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(20, 17, 67, 0.035) 1px, transparent 1px),
    rgba(255, 255, 255, 0.86);
  background-size: 38px 38px;
  border-radius: 0.85rem;
  box-shadow: 0 28px 68px rgba(20, 17, 67, 0.08);
}

.supervision-statement p {
  max-width: 890px;
  margin: 0;
  color: var(--supervision-ink);
  font-size: clamp(1.12rem, 2.25vw, 1.9rem);
  line-height: 1.48;
  font-weight: 700;
}

.supervision-statement a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.95rem 1.25rem;
  border-radius: 0.5rem;
  color: #fff;
  background: linear-gradient(135deg, var(--supervision-ink), var(--supervision-ink-soft));
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.supervision-statement a:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--supervision-wine), #62000d);
  box-shadow: 0 16px 30px rgba(141, 20, 30, 0.18);
}

@media (max-width: 900px) {
  .supervision-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .supervision-hero h1 {
    max-width: 100%;
  }

  .supervision-hero__figure {
    min-height: 18rem;
  }

  .supervision-hero__figure::before {
    inset: 8% 14% 12%;
  }

  .supervision-hero__figure::after {
    right: 12%;
    bottom: 9%;
    width: 34%;
  }

  .supervision-hero__figure img {
    width: min(78vw, 360px);
  }

  .supervision-statement {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .supervision-statement a {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .supervision-body nav .px-8 {
    padding-left: 0;
    padding-right: 1rem;
  }

  .supervision-body .nav-logo-img {
    height: calc(100% + 18px);
    width: auto;
    max-width: calc(100vw - 4.45rem);
    max-height: none;
  }

  .supervision-main::before {
    height: 42rem;
    clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%);
  }

  .supervision-hero {
    padding: 1.65rem 1rem 2.25rem;
    max-width: 100vw;
    overflow: hidden;
  }

  .supervision-hero__copy {
    padding-top: 1.35rem;
    width: min(100%, 22rem);
  }

  .supervision-hero h1 {
    font-size: clamp(2.55rem, 12.5vw, 3.18rem);
    line-height: 0.96;
  }

  .supervision-hero__lead {
    font-size: 1rem;
    line-height: 1.62;
  }

  .supervision-hero__figure {
    min-height: 15.5rem;
    justify-items: start;
    overflow: hidden;
  }

  .supervision-hero__figure::before {
    inset: 12% 7% 10%;
  }

  .supervision-hero__figure::after {
    right: 6%;
    bottom: 12%;
    width: 42%;
  }

  .supervision-hero__figure img {
    width: min(76vw, 300px);
    margin-left: 1.9rem;
  }

  .supervision-statement {
    width: min(calc(100% - 2rem), 20.75rem);
    margin-bottom: 2.6rem;
    padding: 1.15rem;
    border-radius: 0.7rem;
  }

  .supervision-statement p {
    font-size: 1.02rem;
    line-height: 1.58;
  }

  .supervision-statement a {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .supervision-statement a {
    transition: none;
  }
}
