:root {
  --black: #000000;
  --white: #f7f4ff;
  --deep: #1b1963;
  --rich: #5f1698;
  --bright: #9a4dff;
  --ink-soft: rgba(232, 227, 255, 0.74);
  --ink-gentle: rgba(232, 227, 255, 0.64);
  --line-soft: rgba(154, 122, 255, 0.3);
  --line-mid: rgba(124, 87, 230, 0.52);
  --panel: linear-gradient(160deg, rgba(27, 25, 99, 0.42), rgba(95, 22, 152, 0.28));
  --panel-strong: linear-gradient(160deg, rgba(27, 25, 99, 0.66), rgba(95, 22, 152, 0.46));
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.55);
  --glow-soft: 0 0 38px rgba(154, 77, 255, 0.26);
  --gold: #f6cd55;
  --gold-soft: #ffe08a;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Avenir Next", sans-serif;
  color: var(--white);
  background: var(--black);
  letter-spacing: 0.01em;
  line-height: 1.6;
}

::selection {
  background: rgba(246, 205, 85, 0.35);
  color: var(--white);
}

.page-home,
.page-services,
.page-about,
.page-404,
.page-service-detail {
  position: relative;
  overflow-x: clip;
}

.page-home::before,
.page-services::before,
.page-about::before,
.page-404::before,
.page-service-detail::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  opacity: 0.38;
  background-image: radial-gradient(1px 1px at 12% 16%, rgba(247, 244, 255, 0.72), transparent 60%),
    radial-gradient(1.3px 1.3px at 82% 20%, rgba(247, 244, 255, 0.8), transparent 58%),
    radial-gradient(1.1px 1.1px at 68% 66%, rgba(247, 244, 255, 0.76), transparent 57%),
    radial-gradient(0.9px 0.9px at 30% 74%, rgba(247, 244, 255, 0.72), transparent 55%);
}

.page-home::after,
.page-services::after,
.page-about::after,
.page-404::after,
.page-service-detail::after {
  content: "";
  position: fixed;
  inset: -15vh -8vw;
  pointer-events: none;
  z-index: -3;
  background: radial-gradient(circle at 50% 12%, rgba(27, 25, 99, 0.65), transparent 42%),
    radial-gradient(circle at 20% 88%, rgba(95, 22, 152, 0.38), transparent 38%),
    radial-gradient(circle at 85% 82%, rgba(154, 77, 255, 0.28), transparent 34%);
}

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  letter-spacing: 0.02em;
  line-height: 1.08;
  font-weight: 600;
}

p {
  margin: 0 0 1rem;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.wrap {
  width: min(1150px, 94vw);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  padding: 0.8rem 1rem;
  color: var(--white);
  background: var(--deep);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 1000;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line-mid);
  backdrop-filter: blur(8px);
  background: rgba(3, 2, 14, 0.72);
}

.nav-wrap {
  min-height: 4.7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  text-decoration: none;
  flex-wrap: nowrap;
}

.brand-mark {
  display: inline-block;
  color: var(--gold);
  font-size: 1.75rem;
  line-height: 1;
  transform: translateY(-1px);
  text-shadow: 0 0 12px rgba(246, 205, 85, 0.28);
}

.brand-text {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(1.65rem, 2.9vw, 2rem);
  font-weight: 500;
  letter-spacing: 0.035em;
  text-transform: none;
}

.brand-slogan {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--ink-gentle);
  font-weight: 500;
  white-space: nowrap;
  margin-left: 0.1rem;
  transform: translateY(-1px);
}

.menu {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.menu a {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.76rem;
  color: var(--ink-soft);
  padding-bottom: 0.28rem;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.menu a:hover,
.menu a:focus-visible,
.menu a.is-active {
  color: var(--gold-soft);
  border-bottom-color: var(--gold);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(27, 25, 99, 0.72);
  color: var(--white);
  padding: 0.45rem 0.9rem;
  font-weight: 700;
}

.hero {
  min-height: 92vh;
  padding: 6rem 0 2rem;
  display: grid;
  place-items: center;
  text-align: center;
  border-bottom: 1px solid rgba(247, 244, 255, 0.09);
}

.hero-shell {
  position: relative;
  max-width: 900px;
}

.hero-shell::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 28%;
  transform: translate(-50%, -50%);
  width: min(92vw, 880px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27, 25, 99, 0.62), rgba(27, 25, 99, 0));
  z-index: -1;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 1.5rem;
  padding: 0.28rem 0.78rem;
  border: 1px solid rgba(246, 205, 85, 0.45);
  border-radius: 999px;
  background: rgba(27, 25, 99, 0.33);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: var(--gold-soft);
  box-shadow: 0 0 0 1px rgba(246, 205, 85, 0.2), 0 0 20px rgba(246, 205, 85, 0.14);
  text-shadow: 0 0 10px rgba(246, 205, 85, 0.16);
}

.hero-title {
  font-size: clamp(3.8rem, 11.6vw, 6.8rem);
  line-height: 0.88;
  margin-bottom: 1.3rem;
  font-weight: 600;
}

.hero-title span {
  display: block;
}

.hero-title .glow-word {
  background: linear-gradient(110deg, var(--white), var(--bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-intro {
  margin-inline: auto;
  max-width: 760px;
  color: var(--ink-gentle);
  font-size: clamp(0.9rem, 1.75vw, 1rem);
  line-height: 1.72;
  font-weight: 400;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 500;
  padding: 0.9rem 1.85rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.button::after {
  content: "";
  position: absolute;
  left: -34%;
  top: -130%;
  width: 52%;
  height: 360%;
  transform: rotate(24deg);
  background: rgba(255, 255, 255, 0.24);
  opacity: 0;
  transition: opacity 0.22s ease, left 0.34s ease;
}

.button-solid {
  color: var(--black);
  background: var(--white);
  box-shadow: 0 0 32px rgba(247, 244, 255, 0.3);
}

.button-outline {
  color: var(--white);
  background: transparent;
  border: 1px solid var(--line-soft);
}

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

.button:hover::after,
.button:focus-visible::after {
  opacity: 1;
  left: 114%;
}

.button-solid:hover,
.button-solid:focus-visible {
  box-shadow: 0 0 0 1px rgba(247, 244, 255, 0.5), 0 0 44px rgba(247, 244, 255, 0.44);
}

.button-outline:hover,
.button-outline:focus-visible {
  border-color: rgba(154, 77, 255, 0.88);
  box-shadow: 0 0 0 1px rgba(154, 77, 255, 0.52), var(--glow-soft);
}

body.modal-open {
  overflow: hidden;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.contact-modal[aria-hidden='false'] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
}

.contact-modal__dialog {
  position: relative;
  width: min(640px, 100%);
  max-width: 100%;
  max-height: calc(100dvh - 2rem);
  max-height: calc(100svh - 2rem);
  overflow: auto;
  border: 1px solid rgba(132, 112, 230, 0.34);
  border-radius: 1rem;
  padding: clamp(1.1rem, 2.3vw, 1.5rem);
  background: linear-gradient(180deg, rgba(7, 7, 46, 0.98), rgba(9, 9, 58, 0.98));
  box-shadow: 0 0 0 1px rgba(122, 98, 228, 0.15), 0 22px 56px rgba(0, 0, 0, 0.6),
    0 0 34px rgba(106, 67, 214, 0.28);
}

.contact-modal__dialog h2 {
  margin-bottom: 0.35rem;
  font-size: clamp(2rem, 4.3vw, 2.7rem);
}

.contact-modal__intro {
  margin: 0 0 1rem;
  color: var(--ink-gentle);
  font-size: 0.94rem;
}

.contact-form {
  display: grid;
  gap: 0.8rem;
}

.contact-field {
  display: grid;
  gap: 0.32rem;
  font-size: 0.84rem;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 1px solid rgba(132, 112, 230, 0.34);
  border-radius: 0.72rem;
  padding: 0.68rem 0.8rem;
  background: rgba(10, 10, 42, 0.9);
  color: var(--white);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-field textarea {
  resize: vertical;
  min-height: 7.4rem;
}

.contact-field input:focus-visible,
.contact-field textarea:focus-visible {
  outline: none;
  border-color: rgba(246, 205, 85, 0.7);
  box-shadow: 0 0 0 2px rgba(246, 205, 85, 0.2);
}

.contact-field .is-invalid {
  border-color: #ff7d8e;
  box-shadow: 0 0 0 1px rgba(255, 125, 142, 0.25);
}

.contact-error {
  margin: 0;
  min-height: 1.1em;
  font-size: 0.77rem;
  color: #ff9ca8;
}

.contact-success {
  margin: 0;
  min-height: 1.2em;
  font-size: 0.85rem;
  color: var(--gold-soft);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.contact-success.is-visible {
  opacity: 1;
}

.contact-success.is-error {
  color: #ff9ca8;
}

.contact-actions {
  margin-top: 0.2rem;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.contact-actions button[disabled] {
  opacity: 0.74;
  cursor: not-allowed;
}

@media (max-width: 680px) {
  .contact-modal {
    padding: 0.3rem;
    align-items: start;
  }

  .contact-modal__dialog {
    width: 100%;
    max-height: calc(100dvh - 0.6rem);
    max-height: calc(100svh - 0.6rem);
    border-radius: 0.75rem;
    padding: 0.72rem 0.68rem 0.8rem;
  }

  .contact-modal__dialog h2 {
    font-size: clamp(1.3rem, 6.2vw, 1.72rem);
    line-height: 1.1;
    margin-bottom: 0.2rem;
  }

  .contact-modal__intro {
    font-size: 0.82rem;
    margin-bottom: 0.6rem;
  }

  .contact-form {
    gap: 0.52rem;
  }

  .contact-field {
    gap: 0.22rem;
    font-size: 0.79rem;
  }

  .contact-field input,
  .contact-field textarea {
    padding: 0.54rem 0.64rem;
  }

  .contact-field textarea {
    min-height: 5.2rem;
  }

  .contact-error {
    font-size: 0.73rem;
  }

  .contact-success {
    font-size: 0.8rem;
  }

  .contact-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
  }

  .contact-actions .button {
    width: 100%;
    justify-content: center;
    padding: 0.66rem 1rem;
    font-size: 0.88rem;
  }
}

@media (max-width: 420px) {
  .contact-modal {
    padding: 0.2rem;
  }

  .contact-modal__dialog {
    max-height: calc(100dvh - 0.4rem);
    max-height: calc(100svh - 0.4rem);
    padding: 0.66rem 0.58rem 0.72rem;
  }

  .contact-modal__dialog h2 {
    font-size: 1.22rem;
  }
}

.scroll-note {
  margin: 1.15rem auto 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.67rem;
  color: rgba(232, 227, 255, 0.66);
}

.scroll-note::after {
  content: "";
  width: 1px;
  height: 2.9rem;
  background: rgba(232, 227, 255, 0.44);
}

.cosmic-strip {
  padding: 3.6rem 0 4.4rem;
  border-top: 1px solid rgba(247, 244, 255, 0.08);
  border-bottom: 1px solid rgba(247, 244, 255, 0.08);
  background: linear-gradient(180deg, rgba(27, 25, 99, 0.24), rgba(27, 25, 99, 0.13));
}

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

.strip-item {
  text-align: center;
  padding: 0 1.5rem;
}

.strip-item + .strip-item {
  border-left: 1px solid rgba(247, 244, 255, 0.15);
}

.strip-item .strip-icon {
  margin: 0 0 0.8rem;
  font-size: 3.4rem;
  line-height: 1;
  color: var(--gold);
  text-shadow: 0 0 18px rgba(246, 205, 85, 0.3);
}

.strip-item h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
}

.strip-item p:not(.strip-icon) {
  color: var(--ink-gentle);
  font-size: 0.96rem;
  font-weight: 400;
  margin: 0;
}

.offerings {
  padding: 6rem 0 5.7rem;
}

.offerings-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.offerings-head h2 {
  font-size: clamp(2.75rem, 5.2vw, 4.35rem);
  margin-bottom: 0.55rem;
}

.offerings-head p {
  max-width: 620px;
  color: var(--ink-gentle);
  font-size: 0.95rem;
  font-weight: 400;
}

.view-all {
  align-self: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 0.3rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--white);
}

.view-all:hover,
.view-all:focus-visible {
  border-bottom-color: var(--gold);
  color: var(--gold);
}

.offering-grid {
  margin-top: 2.2rem;
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.offering-card {
  position: relative;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(132, 112, 230, 0.28);
  border-radius: 0.92rem;
  padding: 1.65rem 1.6rem;
  background: linear-gradient(180deg, rgba(4, 4, 36, 0.96), rgba(6, 6, 42, 0.98));
  box-shadow: 0 0 0 1px rgba(122, 98, 228, 0.08) inset, 0 14px 34px rgba(0, 0, 0, 0.6),
    0 0 24px rgba(106, 67, 214, 0.2);
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease,
    background 0.24s ease;
}

.offering-card > :not(.offering-card-icon) {
  position: relative;
  z-index: 1;
}

.offering-card-icon {
  position: absolute;
  right: 1rem;
  top: 1rem;
  width: 80px;
  height: 80px;
  object-fit: contain;
  opacity: 0.62;
  z-index: 0;
  pointer-events: none;
  filter: drop-shadow(0 0 7px rgba(154, 77, 255, 0.14));
  image-rendering: -webkit-optimize-contrast;
  transform: translateZ(0);
  transition: opacity 0.24s ease, filter 0.24s ease, transform 0.24s ease;
}

.offering-card:hover,
.offering-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(150, 111, 255, 0.7);
  background: linear-gradient(180deg, rgba(8, 8, 48, 0.98), rgba(11, 9, 58, 0.98));
  box-shadow: 0 0 0 1px rgba(150, 111, 255, 0.3), 0 0 42px rgba(128, 76, 255, 0.34),
    0 28px 58px rgba(0, 0, 0, 0.62);
}

.offering-card:hover .offering-card-icon,
.offering-card:focus-within .offering-card-icon {
  opacity: 0.86;
  transform: translateZ(0) scale(1.04);
  filter: drop-shadow(0 0 9px rgba(154, 77, 255, 0.24))
    drop-shadow(0 0 10px rgba(246, 205, 85, 0.12));
}

.offering-card .meta {
  margin-bottom: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--gold);
}

.offering-card h3 {
  max-width: 12ch;
  font-size: clamp(1.72rem, 2.8vw, 2.55rem);
  margin-bottom: 0.85rem;
  font-weight: 600;
}

.offering-card-all {
  justify-content: center;
  align-items: center;
  text-align: center;
}

.offering-card-all h3 {
  max-width: 14ch;
  margin-inline: auto;
}

.offering-card-all p {
  max-width: 29ch;
  margin-inline: auto;
}

.offering-card-all a {
  margin: 0;
  padding: 0;
  border-top: 0;
  width: auto;
  text-align: center;
}

.offering-all-link {
  text-decoration: none;
  color: var(--white);
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(1.72rem, 2.8vw, 2.55rem);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.offering-all-link:hover,
.offering-all-link:focus-visible {
  color: var(--gold);
}

.offering-card p {
  color: rgba(226, 222, 243, 0.72);
  font-size: 0.94rem;
  font-weight: 400;
  line-height: 1.66;
  max-width: 30ch;
}

.offering-card a {
  margin-top: auto;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(150, 111, 255, 0.18);
  text-decoration: none;
  color: rgba(247, 244, 255, 0.95);
  font-weight: 500;
}

.offering-card.offering-card-all a {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.offering-card:hover a,
.offering-card:focus-within a {
  color: var(--gold);
}

.offering-card a:hover,
.offering-card a:focus-visible {
  color: var(--gold);
}

.about-main {
  padding: 5.2rem 0 5.8rem;
}

.about-shell {
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.3rem, 3vw, 3.8rem);
  align-items: start;
}

.about-portrait {
  margin: 0;
  position: relative;
}

.about-portrait-frame {
  position: relative;
  border: 1px solid rgba(132, 112, 230, 0.3);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(6, 6, 42, 0.98), rgba(8, 8, 56, 0.97));
  box-shadow: 0 0 0 1px rgba(122, 98, 228, 0.08) inset, 0 22px 48px rgba(0, 0, 0, 0.58),
    0 0 34px rgba(106, 67, 214, 0.2);
  overflow: hidden;
}

.about-portrait-frame::before {
  content: "";
  position: absolute;
  inset: 12% 10% auto;
  height: 40%;
  background: radial-gradient(circle at center, rgba(154, 77, 255, 0.33), transparent 68%);
  filter: blur(14px);
  pointer-events: none;
}

.about-portrait-frame img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.95;
  transform: none;
  filter: saturate(0.96) contrast(1.02);
}

.about-quote {
  position: absolute;
  right: -1.8rem;
  bottom: -1.7rem;
  min-width: 12.5rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(246, 205, 85, 0.5);
  border-radius: 0.85rem;
  background: rgba(27, 25, 99, 0.36);
  box-shadow: 0 0 0 1px rgba(246, 205, 85, 0.24), 0 0 18px rgba(246, 205, 85, 0.16),
    0 18px 36px rgba(0, 0, 0, 0.5);
}

.about-quote .about-quote-icon {
  margin: 0 0 0.25rem;
  font-size: 1.2rem;
  color: var(--gold);
  font-style: normal;
  text-shadow: 0 0 14px rgba(246, 205, 85, 0.4);
}

.about-quote p:not(.about-quote-icon) {
  margin: 0;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 1.2rem;
  font-style: italic;
  letter-spacing: 0.02em;
  color: var(--gold-soft);
  text-shadow: 0 0 10px rgba(246, 205, 85, 0.24);
}

.about-content {
  padding-top: 0.2rem;
}

.about-kicker {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--gold-soft);
}

.about-kicker::before {
  content: "";
  display: inline-block;
  width: 2.8rem;
  height: 1px;
  margin: 0 0.7rem 0.25rem 0;
  background: rgba(246, 205, 85, 0.72);
}

.about-content h1 {
  font-size: clamp(3rem, 7.2vw, 5.3rem);
  max-width: 11ch;
  margin-bottom: 0.4rem;
}

.about-name {
  margin: 0 0 1.1rem;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.1vw, 1.8rem);
  letter-spacing: 0.04em;
  color: var(--gold-soft);
  text-shadow: 0 0 10px rgba(246, 205, 85, 0.2);
}

.about-copy p {
  max-width: 46ch;
  color: var(--ink-gentle);
  font-size: clamp(0.96rem, 1.5vw, 1.02rem);
  line-height: 1.7;
}

.about-divider {
  margin: 1.7rem 0 1.55rem;
  width: min(100%, 520px);
  height: 1px;
  background: rgba(247, 244, 255, 0.16);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 520px;
}

.about-stats.about-stats-single {
  grid-template-columns: 1fr;
  max-width: 220px;
}

.about-content .button-solid {
  margin-top: 1.6rem;
}

.about-stat {
  margin: 0;
}

.about-stat-value {
  margin: 0;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(2rem, 3.2vw, 2.65rem);
  line-height: 1;
  font-weight: 600;
}

.about-stat-label {
  margin: 0.42rem 0 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--ink-gentle);
}

.button-about {
  margin-top: 2rem;
  color: var(--white);
  border: 1px solid rgba(154, 77, 255, 0.62);
  background: linear-gradient(160deg, rgba(95, 22, 152, 0.88), rgba(106, 13, 173, 0.82));
  box-shadow: 0 0 24px rgba(106, 13, 173, 0.34);
}

.button-about:hover,
.button-about:focus-visible {
  border-color: rgba(246, 205, 85, 0.5);
  box-shadow: 0 0 0 1px rgba(154, 77, 255, 0.4), 0 0 34px rgba(106, 13, 173, 0.44);
}

.service-detail-main {
  padding: 4.9rem 0 5.8rem;
}

.service-detail-hero {
  margin-bottom: 1.4rem;
}

.service-detail-kicker {
  margin: 0 0 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: var(--gold-soft);
}

.service-detail-head {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.service-detail-icon {
  width: clamp(66px, 8vw, 90px);
  height: clamp(66px, 8vw, 90px);
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(246, 205, 85, 0.24))
    drop-shadow(0 0 18px rgba(154, 77, 255, 0.24));
}

.service-detail-title h1 {
  margin-bottom: 0.34rem;
  font-size: clamp(2.3rem, 5.4vw, 4rem);
  line-height: 0.98;
}

.service-detail-meta {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  color: var(--gold);
  font-weight: 600;
}

.service-detail-lead {
  margin: 1.1rem 0 0;
  max-width: 62ch;
  color: var(--ink-gentle);
  font-size: clamp(0.97rem, 1.55vw, 1.05rem);
  line-height: 1.72;
}

.service-detail-grid {
  margin-top: 1.6rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-detail-panel {
  border: 1px solid rgba(132, 112, 230, 0.3);
  border-radius: 1rem;
  padding: clamp(1rem, 2.2vw, 1.45rem);
  background: linear-gradient(160deg, rgba(7, 7, 46, 0.97), rgba(10, 10, 62, 0.95));
  box-shadow: 0 0 0 1px rgba(122, 98, 228, 0.1) inset, 0 16px 38px rgba(0, 0, 0, 0.55);
}

.service-detail-panel h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.service-detail-panel p {
  color: var(--ink-gentle);
  font-size: 0.94rem;
}

.service-detail-list,
.service-process {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.58rem;
}

.service-detail-list li,
.service-process li {
  color: rgba(234, 229, 248, 0.83);
  line-height: 1.62;
  font-size: 0.93rem;
}

.service-detail-actions {
  margin-top: 1.2rem;
  display: flex;
  gap: 0.78rem;
  flex-wrap: wrap;
}

.service-detail-actions .button {
  min-width: 220px;
  justify-content: center;
}

.site-footer {
  border-top: 1px solid rgba(247, 244, 255, 0.1);
  background: linear-gradient(180deg, rgba(27, 25, 99, 0.24), rgba(0, 0, 0, 0.96));
  padding: 3.3rem 0 1.2rem;
}

.footer-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: 1.35fr 1fr;
}

.footer-grid h2,
.footer-grid h3 {
  margin-bottom: 0.8rem;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
}

.footer-grid h2 {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  text-transform: none;
  letter-spacing: 0.03em;
  font-size: clamp(1.45rem, 2.3vw, 1.78rem);
  font-weight: 600;
}

.footer-grid h2 .brand-slogan {
  margin-left: 0.05rem;
  font-size: 0.66rem;
  text-transform: none;
  transform: translateY(-1px);
}

.footer-grid h3 {
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 1.2rem;
  font-weight: 600;
}

.footer-grid p {
  margin: 0;
  color: var(--ink-gentle);
  max-width: 30ch;
  font-size: 0.95rem;
  font-weight: 400;
}

.footer-grid section {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links {
  align-items: flex-start;
}

.footer-grid section a {
  text-decoration: none;
  color: var(--ink-gentle);
  font-weight: 400;
}

.footer-grid section a:hover,
.footer-grid section a:focus-visible {
  color: var(--gold-soft);
}

.social-row {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.2rem;
}

.social-row a {
  width: 2.65rem;
  height: 2.65rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-soft);
  background: var(--panel-strong);
  color: var(--white);
  text-decoration: none;
}

.footer-bottom {
  margin-top: 2.1rem;
  border-top: 1px solid rgba(247, 244, 255, 0.08);
  padding-top: 1rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.82rem;
  color: rgba(232, 227, 255, 0.62);
}

.page-blog {
  background: linear-gradient(180deg, rgba(27, 25, 99, 0.38), #000000 24%);
  color: var(--white);
}

.error-main {
  min-height: calc(100vh - 280px);
  display: grid;
  place-items: center;
  padding: 4.4rem 0 4.8rem;
}

.error-card {
  width: min(760px, 94vw);
  text-align: center;
  border: 1px solid rgba(132, 112, 230, 0.34);
  border-radius: 1rem;
  padding: clamp(1.4rem, 3.2vw, 2.2rem);
  background: linear-gradient(165deg, rgba(27, 25, 99, 0.42), rgba(95, 22, 152, 0.28));
  box-shadow: 0 0 0 1px rgba(122, 98, 228, 0.1) inset, 0 18px 46px rgba(0, 0, 0, 0.58);
}

.error-card h1 {
  font-size: clamp(2.4rem, 6.5vw, 4.1rem);
  margin-bottom: 0.9rem;
}

.error-card p {
  margin-inline: auto;
  max-width: 45ch;
  color: var(--ink-gentle);
}

.error-actions {
  margin-top: 1.65rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.95rem;
  flex-wrap: wrap;
}

.error-actions .button {
  min-width: 205px;
  justify-content: center;
}

.page-blog .menu a {
  text-transform: none;
  letter-spacing: 0.04em;
}

.page-blog main.section {
  padding: 5.2rem 0;
}

.blog-article {
  max-width: 800px;
  border: 1px solid var(--line-soft);
  border-radius: 1rem;
  padding: clamp(1.2rem, 2.6vw, 2rem);
  background: linear-gradient(165deg, rgba(27, 25, 99, 0.38), rgba(95, 22, 152, 0.24));
  box-shadow: var(--shadow);
}

.card-kicker {
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.72rem;
  color: var(--gold-soft);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-down {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-soft {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulse-gentle {
  0%,
  100% {
    box-shadow: 0 0 0 1px rgba(246, 205, 85, 0.24), 0 0 16px rgba(246, 205, 85, 0.14);
    border-color: rgba(246, 205, 85, 0.5);
    background: rgba(27, 25, 99, 0.34);
    color: var(--gold-soft);
    text-shadow: 0 0 10px rgba(246, 205, 85, 0.16);
    filter: brightness(1);
  }
  50% {
    box-shadow: 0 0 0 1px rgba(246, 205, 85, 0.64), 0 0 34px rgba(246, 205, 85, 0.34),
      0 0 54px rgba(246, 205, 85, 0.22);
    border-color: rgba(246, 205, 85, 0.9);
    background: rgba(27, 25, 99, 0.5);
    color: var(--gold);
    text-shadow: 0 0 16px rgba(246, 205, 85, 0.34);
    filter: brightness(1.08);
  }
}

@keyframes icon-glow {
  0%,
  100% {
    filter: drop-shadow(0 0 10px rgba(246, 205, 85, 0.24))
      drop-shadow(0 0 18px rgba(154, 77, 255, 0.24));
  }
  50% {
    filter: drop-shadow(0 0 18px rgba(246, 205, 85, 0.42))
      drop-shadow(0 0 28px rgba(154, 77, 255, 0.34));
  }
}

@keyframes scroll-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@media (prefers-reduced-motion: no-preference) {
  body {
    animation: fade-soft 0.55s ease both;
  }

  .site-header {
    animation: fade-down 0.55s ease 0.08s both;
  }

  .hero-pill,
  .hero-title,
  .hero-intro,
  .hero-actions,
  .scroll-note,
  .strip-item,
  .offerings-head,
  .offering-card,
  .about-portrait,
  .about-quote,
  .about-kicker,
  .about-content h1,
  .about-name,
  .about-copy p,
  .about-stats,
  .button-about,
  .site-footer .footer-grid section,
  .footer-bottom,
  .blog-article {
    opacity: 0;
    transform: translateY(20px);
    animation: fade-up 0.62s ease forwards;
  }

  .hero-pill {
    animation-delay: 0.16s;
    animation-name: fade-up, pulse-gentle;
    animation-duration: 0.62s, 2.05s;
    animation-timing-function: ease, ease-in-out;
    animation-fill-mode: forwards, both;
    animation-iteration-count: 1, infinite;
  }

  .hero-title {
    animation-delay: 0.24s;
  }

  .hero-intro {
    animation-delay: 0.34s;
  }

  .hero-actions {
    animation-delay: 0.44s;
  }

  .scroll-note {
    animation-name: fade-up, scroll-bob;
    animation-duration: 0.62s, 2.9s;
    animation-timing-function: ease, ease-in-out;
    animation-delay: 0.52s, 1.22s;
    animation-fill-mode: forwards, both;
    animation-iteration-count: 1, infinite;
  }

  .strip-item:nth-child(1) {
    animation-delay: 0.62s;
  }

  .strip-item:nth-child(2) {
    animation-delay: 0.72s;
  }

  .strip-item:nth-child(3) {
    animation-delay: 0.82s;
  }

  .offerings-head {
    animation-delay: 0.9s;
  }

  .offering-card:nth-child(1) {
    animation-delay: 1s;
  }

  .offering-card:nth-child(2) {
    animation-delay: 1.08s;
  }

  .offering-card:nth-child(3) {
    animation-delay: 1.16s;
  }

  .site-footer .footer-grid section:nth-child(1) {
    animation-delay: 1.2s;
  }

  .site-footer .footer-grid section:nth-child(2) {
    animation-delay: 1.27s;
  }

  .site-footer .footer-grid section:nth-child(3) {
    animation-delay: 1.34s;
  }

  .site-footer .footer-grid section:nth-child(4) {
    animation-delay: 1.41s;
  }

  .footer-bottom {
    animation-delay: 1.48s;
  }

  .page-blog .blog-article {
    animation-delay: 0.16s;
  }

  .about-portrait {
    animation-delay: 0.2s;
  }

  .about-quote {
    animation-delay: 0.3s, 1.05s;
    animation-name: fade-up, pulse-gentle;
    animation-duration: 0.62s, 2.05s;
    animation-timing-function: ease, ease-in-out;
    animation-fill-mode: forwards, both;
    animation-iteration-count: 1, infinite;
  }

  .about-kicker {
    animation-delay: 0.3s;
  }

  .about-content h1 {
    animation-delay: 0.38s;
  }

  .about-name {
    animation-delay: 0.44s;
  }

  .about-copy p:nth-child(1) {
    animation-delay: 0.52s;
  }

  .about-copy p:nth-child(2) {
    animation-delay: 0.54s;
  }

  .about-copy p:nth-child(3) {
    animation-delay: 0.62s;
  }

  .about-stats {
    animation-delay: 0.7s;
  }

  .button-about {
    animation-delay: 0.78s;
  }

  .service-detail-icon {
    animation: icon-glow 2.4s ease-in-out infinite;
  }
}

.post-meta {
  color: var(--ink-gentle);
  font-size: 0.86rem;
  font-weight: 400;
}

.page-blog main h1 {
  font-size: clamp(2rem, 4.3vw, 3.4rem);
}

.page-blog main h2 {
  margin-top: 1.7rem;
  font-size: clamp(1.45rem, 2.7vw, 2rem);
}

.page-blog .hero-actions {
  justify-content: flex-start;
}

@media (max-width: 980px) {
  .strip-grid,
  .offering-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .about-portrait {
    margin-bottom: 1.1rem;
  }

  .about-quote {
    position: static;
    margin-top: 0.95rem;
    width: fit-content;
    min-width: 0;
  }

  .about-content h1 {
    max-width: 14ch;
  }

  .about-copy p {
    max-width: 56ch;
  }

  .about-stats {
    max-width: 620px;
  }

  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .service-detail-actions .button {
    min-width: 0;
    width: 100%;
  }

  .strip-item {
    padding: 1rem 0;
  }

  .strip-item + .strip-item {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }

  .offerings-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .offering-card {
    min-height: 330px;
  }
}

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

  .menu {
    position: absolute;
    right: 4vw;
    top: 4.6rem;
    min-width: 220px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    border: 1px solid var(--line-soft);
    border-radius: 0.9rem;
    padding: 1rem;
    background: rgba(29, 27, 109, 0.95);
    box-shadow: var(--shadow);
  }

  .menu.open {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding: 5.6rem 0 3rem;
  }

  .hero-title {
    font-size: clamp(3.15rem, 16vw, 5.1rem);
  }

  .hero-pill {
    letter-spacing: 0.12em;
    font-size: 0.66rem;
  }

  .about-main {
    padding: 4.4rem 0 4.8rem;
  }

  .about-kicker::before {
    width: 2.1rem;
    margin-right: 0.55rem;
  }

  .about-content h1 {
    font-size: clamp(2.45rem, 11.8vw, 4rem);
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .about-stat-label {
    margin-top: 0.25rem;
  }

  .button-about {
    margin-top: 1.45rem;
  }

  .service-detail-main {
    padding: 4.2rem 0 4.8rem;
  }

  .service-detail-head {
    align-items: flex-start;
  }

  .service-detail-icon {
    width: 62px;
    height: 62px;
  }

  .error-actions {
    margin-top: 1.4rem;
    flex-direction: column;
    align-items: stretch;
  }

  .error-actions .button {
    width: 100%;
    min-width: 0;
  }

  .brand-mark {
    font-size: 1.52rem;
  }

  .brand-slogan {
    font-size: 0.62rem;
    margin-left: 0;
    transform: translateY(0);
  }

  .offerings {
    padding-top: 4.8rem;
  }
}
