:root {
  --brand-purple: #72409c;
  --brand-purple-dark: #5e2f87;
  --brand-lavender: #ede6f4;
  --brand-white: #ffffff;
  --text-dark: #2f1e40;
  --bg-soft: #f8f4fb;
  --radius: 18px;
  --shadow: 0 16px 40px rgba(78, 35, 117, 0.2);
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text-dark);
  background:
    radial-gradient(circle at 10% 10%, rgba(114, 64, 156, 0.18), transparent 35%),
    radial-gradient(circle at 90% 90%, rgba(114, 64, 156, 0.15), transparent 32%),
    var(--bg-soft);
  line-height: 1.6;
}

.site-header {
  width: min(1120px, 92vw);
  margin: 1.2rem auto 0;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(237, 230, 244, 0.92) 55%,
    rgba(255, 255, 255, 0.95) 100%
  );
  backdrop-filter: blur(6px);
  border: 1px solid rgba(114, 64, 156, 0.15);
  border-radius: 999px;
  padding: 0.7rem 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 1rem;
  z-index: 10;
  box-shadow:
    0 8px 24px rgba(93, 45, 134, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  overflow: hidden;
  isolation: isolate;
}

.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: -22%;
  width: 30%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  animation: menu-sheen 6.5s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes menu-sheen {
  0%,
  100% {
    left: -30%;
    opacity: 0;
  }

  18% {
    opacity: 0.85;
  }

  42% {
    left: 120%;
    opacity: 0;
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 2px solid rgba(114, 64, 156, 0.25);
}

.brand-name {
  color: var(--brand-purple-dark);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  gap: 1rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--brand-purple-dark);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  transition: background-color 0.25s ease;
}

.site-nav a:hover {
  background: var(--brand-lavender);
}

.section {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  min-height: calc(100vh - 120px);
  padding: 2rem 0 1.5rem;
}

.hero-copy > * {
  opacity: 0;
  animation: hero-fade-up 0.85s ease-out forwards;
}

.hero-copy > :nth-child(1) {
  animation-delay: 0.08s;
}

.hero-copy > :nth-child(2) {
  animation-delay: 0.18s;
}

.hero-copy > :nth-child(3) {
  animation-delay: 0.28s;
}

.hero-copy > :nth-child(4) {
  animation-delay: 0.38s;
}

.hero-copy > :nth-child(5) {
  animation-delay: 0.48s;
}

.eyebrow {
  color: var(--brand-purple-dark);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  margin: 0 0 1rem;
  color: var(--brand-purple-dark);
}

.lead {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}

.hashtags {
  margin-top: 0;
  color: #673d8f;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(78, 35, 117, 0.25);
}

.btn-primary {
  background: var(--brand-purple);
  color: var(--brand-white);
}

.btn-secondary {
  background: transparent;
  border-color: var(--brand-purple);
  color: var(--brand-purple-dark);
}

.hero-card {
  background: linear-gradient(150deg, #814cb0, #5d2d86);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  animation: hero-fade-up 0.9s ease-out 0.25s both, hero-float 7s ease-in-out 1.2s infinite;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -10% auto auto -10%;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  animation: hero-orb-drift 9s ease-in-out infinite;
}

.hero-logo {
  width: 100%;
  border-radius: calc(var(--radius) - 4px);
  border: 3px solid rgba(255, 255, 255, 0.35);
}

@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes hero-orb-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.16;
  }

  50% {
    transform: translate3d(18px, 12px, 0) scale(1.08);
    opacity: 0.28;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy > *,
  .hero-card,
  .hero-card::before {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.services {
  padding: 3rem 0 1rem;
}

.services h2,
.about h2,
.contact h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--brand-purple-dark);
  margin-top: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  background: #fff;
  border: 1px solid rgba(114, 64, 156, 0.15);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: 0 10px 25px rgba(85, 48, 120, 0.1);
}

.service-card h3 {
  color: var(--brand-purple-dark);
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.about {
  padding: 2.5rem 0 1rem;
}

.about-profile {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.2rem;
  align-items: stretch;
}

.about-photo-wrap {
  margin: 0;
  width: clamp(180px, 28vw, 300px);
  max-width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  align-self: start;
  justify-self: center;
  box-shadow: 0 14px 30px rgba(85, 48, 120, 0.2);
}

.about-photo {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.about-content {
  background: linear-gradient(165deg, #f4ebfb, #fff);
  border: 1px solid rgba(114, 64, 156, 0.18);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.about-content h2 {
  margin-bottom: 0.85rem;
}

.about-content p {
  margin: 0 0 0.9rem;
}

.about-lead {
  font-size: 1.06rem;
  font-weight: 600;
}

.about-signature {
  margin-bottom: 0;
  color: var(--brand-purple-dark);
  font-weight: 700;
}

.contact {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1rem;
  padding: 2rem 0 4rem;
}

.contact-intro {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(114, 64, 156, 0.2);
  padding: 1.2rem;
}

.contact-details {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(114, 64, 156, 0.18);
}

.contact-details h3 {
  margin: 0 0 0.6rem;
  color: var(--brand-purple-dark);
}

.contact-details p {
  margin: 0.25rem 0;
}

.contact-details a {
  color: var(--brand-purple-dark);
  text-decoration: none;
  font-weight: 600;
}

.contact-details a:hover {
  text-decoration: underline;
}

.social-links {
  margin-top: 1rem;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(114, 64, 156, 0.28);
  color: var(--brand-purple-dark);
  text-decoration: none;
  font-weight: 700;
  background: rgba(237, 230, 244, 0.5);
}

.social-links a:hover {
  background: var(--brand-lavender);
}

.contact-form {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(114, 64, 156, 0.2);
  padding: 1.2rem;
  display: grid;
  gap: 0.6rem;
}

.contact-form label {
  font-weight: 700;
  color: var(--brand-purple-dark);
  font-size: 0.92rem;
}

.contact-form input {
  border: 1px solid rgba(114, 64, 156, 0.3);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  font-size: 1rem;
  color: var(--text-dark);
}

.contact-form input:focus {
  border-color: var(--brand-purple);
  outline: 2px solid rgba(114, 64, 156, 0.25);
  outline-offset: 2px;
}

.contact-form .btn {
  margin-top: 0.35rem;
  width: fit-content;
}

.site-footer {
  border-top: 1px solid rgba(114, 64, 156, 0.16);
  text-align: center;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.65);
  color: var(--brand-purple-dark);
  font-weight: 600;
}

.site-footer p {
  margin: 0.2rem 0;
}

.footer-links {
  font-weight: 700;
}

.site-footer a {
  color: var(--brand-purple-dark);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.site-footer a:hover {
  text-decoration: underline;
}

.legal-page {
  min-height: 100vh;
}

.legal-main {
  width: min(980px, 92vw);
  margin: 1.3rem auto 3rem;
  display: grid;
  gap: 1rem;
}

.legal-card {
  background: #fff;
  border: 1px solid rgba(114, 64, 156, 0.2);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: 0 10px 25px rgba(85, 48, 120, 0.1);
}

.legal-card h1,
.legal-card h2 {
  color: var(--brand-purple-dark);
  margin-top: 0;
}

.legal-card h3 {
  color: var(--brand-purple-dark);
  margin-bottom: 0.4rem;
}

.legal-card p {
  margin: 0 0 0.75rem;
}

.legal-date {
  margin-bottom: 0.9rem;
}

.legal-card ul {
  margin-top: 0;
  padding-left: 1.2rem;
}

.legal-card li {
  margin-bottom: 0.4rem;
}

@media (max-width: 1024px) {
  .hero,
  .about-profile,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 1.5rem;
  }

  .hero-card {
    width: min(460px, 100%);
    justify-self: center;
  }

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

  .about-photo-wrap {
    width: clamp(180px, 34vw, 300px);
  }
}

@media (max-width: 960px) {
  .service-grid {
    grid-template-columns: 1fr;
  }

  .section {
    width: min(1120px, 94vw);
  }
}

@media (max-width: 720px) {
  .site-header {
    border-radius: var(--radius);
    flex-direction: column;
    gap: 0.6rem;
    position: static;
    margin-top: 0.8rem;
    width: min(1120px, 94vw);
  }

  .brand-name {
    font-size: 0.95rem;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }

  .site-nav a {
    padding: 0.45rem 0.7rem;
  }

  .hero {
    gap: 1.25rem;
    padding-top: 1rem;
  }

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

  .legal-main {
    width: min(980px, 94vw);
  }

  .legal-card {
    padding: 1rem;
  }

  .site-footer {
    padding: 1rem 0.8rem;
    font-size: 0.93rem;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 1.9rem;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .brand-name {
    font-size: 0.9rem;
  }
}
