:root {
  --gold: #e2a336;
  --ink: #001d54;
  --panel: rgba(255, 255, 255, 0.72);
  --line: rgba(255, 255, 255, 0.35);
  --soft-gold: rgba(226, 163, 54, 0.18);
}

body {
  background:
    radial-gradient(
      circle at 12% 22%,
      rgba(226, 163, 54, 0.16),
      transparent 28%
    ),
    radial-gradient(circle at 88% 8%, rgba(0, 0, 0, 0.08), transparent 25%),
    linear-gradient(160deg, #fdfbf5 0%, #f8f4eb 47%, #fefdf9 100%);
  color: var(--ink);
}

a,
div,
button,
article,
aside,
img,
figure {
  corner-shape: squircle;
}

section[id] {
  scroll-margin-top: 6.25rem;
}

.hero-shell {
  min-height: 100dvh;
  background:
    linear-gradient(
      to right,
      rgba(15, 15, 16, 0.32),
      rgba(15, 15, 16, 0.22),
      rgba(15, 15, 16, 0.12)
    ),
    var(--hero-image) center/cover no-repeat;
}

.hero-glow {
  position: absolute;
  inset: auto auto 4rem 10%;
  width: 26rem;
  height: 26rem;
  border-radius: 999px;
  background: radial-gradient(
    circle,
    rgba(226, 163, 54, 0.28),
    rgba(226, 163, 54, 0)
  );
  filter: blur(8px);
  animation: heroFloat 9s ease-in-out infinite;
}

.glass {
  background: var(--panel);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px -36px rgba(0, 0, 0, 0.45);
}

.hero-copy-panel {
  width: 100%;
  /* max-width: 57rem; */
  background-color: #9393930a;
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  box-shadow: 0 24px 58px -34px rgba(0, 0, 0, 0.6);
}

.here-emphasis-text {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-style: italic;
}

.hero-kicker-highlight {
  color: var(--ink);
  position: relative;
  display: inline-block;
  padding: 0.1rem 0.3rem 0.15rem;
  isolation: isolate;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.14);
}

.hero-kicker-highlight::before {
  content: "";
  position: absolute;
  inset: 8% -0.2rem -8% -0.35rem;
  transform: rotate(1.5deg);
  background: linear-gradient(20deg, #e9b556, #f0cb8f, #e2a336);
  box-shadow: 0 6px 14px -12px rgba(226, 163, 54, 0.5);
  -webkit-text-fill-color: transparent;
  z-index: -2;
}
.hero-kicker-highlight::after {
  content: "";
  position: absolute;
  inset: 18% -0.35rem -2% -0.15rem;
  transform: rotate(-1.5deg);
  background: linear-gradient(160deg, #efc47a, #f4d6a6, #e2a336);
  box-shadow: 0 4px 10px -12px rgba(226, 163, 54, 0.34);
  -webkit-text-fill-color: transparent;
  z-index: -1;
}

.glass-btn {
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.32),
    rgba(255, 255, 255, 0.13)
  );
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.glass-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.4),
    rgba(255, 255, 255, 0.18)
  );
}

.gold-btn {
  background: linear-gradient(120deg, #efbc64, var(--gold));
  color: #121212;
  box-shadow: 0 20px 42px -24px rgba(20, 14, 2, 0.65);
}

.gold-btn:hover {
  box-shadow: 0 26px 50px -24px rgba(20, 14, 2, 0.72);
}

.mega-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.5rem);
  z-index: 50;
  width: 100%;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 0.28s ease,
    transform 0.28s ease,
    visibility 0s linear 0.28s;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background:
    radial-gradient(
      circle at top right,
      rgba(226, 163, 54, 0.2),
      transparent 38%
    ),
    linear-gradient(155deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 1));
  box-shadow: 0 24px 60px -36px rgba(0, 0, 0, 0.28);
}

.mega-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}

.mega-menu.display-on {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0s;
  pointer-events: auto;
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(5, auto);
  grid-auto-flow: column;
  gap: 0.5rem 1.5rem;
}

.mega-link {
  padding: 0.2rem 0;
  position: relative;
  z-index: 1;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.mega-link:hover {
  color: var(--gold);
  transform: translateX(2px);
}

.hero-panel {
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.68),
    rgba(255, 255, 255, 0.44)
  );
}

.lift {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 62px -42px rgba(0, 0, 0, 0.55);
}

.process-track {
  position: relative;
  display: grid;
  gap: 1.25rem;
}

.process-node {
  position: relative;
  overflow: visible;
  isolation: isolate;
  text-align: center;
}

.process-node::after {
  content: none;
  display: none;
}

.process-number {
  position: absolute;
  right: calc(50% - 2.45rem);
  top: 0.2rem;
  display: flex;
  height: 2.2rem;
  width: 2.2rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--gold);
  color: #0f0f10;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 16px 28px -18px rgba(226, 163, 54, 0.95);
}

.process-icon {
  margin: 0 auto;
  display: flex;
  height: 5.2rem;
  width: 5.2rem;
  align-items: center;
  justify-content: center;
  border-radius: 1.35rem;
  border: 1px solid rgba(226, 163, 54, 0.38);
  background: #fff;
  color: var(--gold);
}

.process-icon svg {
  height: 1.95rem;
  width: 1.95rem;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.process-kicker {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: rgba(15, 15, 16, 0.42);
}

.services-atelier {
  align-items: stretch;
  grid-auto-flow: row dense;
}

.service-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background:
    radial-gradient(
      circle at top right,
      rgba(226, 163, 54, 0.2),
      transparent 38%
    ),
    linear-gradient(
      155deg,
      rgba(255, 255, 255, 0.85),
      rgba(255, 255, 255, 0.62)
    );
  box-shadow: 0 24px 60px -36px rgba(0, 0, 0, 0.28);
}

.service-panel::before {
  content: "";
  position: absolute;
  inset: auto -18% -28% auto;
  width: 13rem;
  height: 13rem;
  border-radius: 999px;
  background: radial-gradient(
    circle,
    rgba(226, 163, 54, 0.24),
    rgba(226, 163, 54, 0)
  );
  transition: transform 0.4s ease;
}

.service-panel:hover::before {
  transform: scale(1.18);
}

.service-index {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  color: rgba(15, 15, 16, 0.36);
}

.benefit-row {
  position: relative;
  padding-left: 3rem;
}

.benefit-row::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 50%;
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #f7d98e, var(--gold));
  transform: translateY(-50%);
  box-shadow: 0 0 0 6px rgba(226, 163, 54, 0.12);
}

.package-card {
  display: flex;
  flex-direction: column;
  /* height: 100%; */
}

.package-cta {
  margin-top: auto;
  align-self: flex-start;
}

.package-line {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 0.75rem;
}

.package-line:first-child {
  border-top: 0;
  padding-top: 0;
}

.package-line span {
  font-weight: 600;
  opacity: 0.76;
}

.service-page-shell {
  position: relative;
}

.service-page-shell::before {
  content: "";
  position: absolute;
  inset: -7rem auto auto 50%;
  width: min(74rem, 100vw);
  height: 36rem;
  transform: translateX(-50%);
  /* border-radius: 999px; */
  background: radial-gradient(
    circle at 50% 34%,
    rgba(226, 163, 54, 0.22) 0%,
    rgba(226, 163, 54, 0.12) 36%,
    rgba(226, 163, 54, 0) 78%
  );
  mask-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1) 14%,
    rgba(0, 0, 0, 1) 72%,
    rgba(0, 0, 0, 0) 100%
  );
  pointer-events: none;
}

.service-back-link {
  transition:
    transform 0.2s ease,
    color 0.2s ease;
}

.service-back-link:hover {
  transform: translateX(-4px);
  color: var(--ink);
}

.service-hero-title {
  color: var(--gold);
  text-shadow: 0 14px 34px rgba(226, 163, 54, 0.18);
}

.service-intro-panel,
.service-stat-panel,
.service-topic-row,
.service-partner-card,
.service-importance-item {
  border: 1px solid rgba(15, 15, 16, 0.08);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 30px 80px -60px rgba(15, 15, 16, 0.42);
}

.service-intro-panel,
.service-stat-panel,
.service-topic-row,
.service-partner-card {
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.service-intro-panel:hover,
.service-stat-panel:hover,
.service-topic-row:hover,
.service-partner-card:hover {
  transform: translateY(-4px);
  border-color: rgba(226, 163, 54, 0.24);
  box-shadow: 0 36px 90px -58px rgba(15, 15, 16, 0.52);
}

.service-partner-card {
  display: grid;
  grid-template-rows:
    auto minmax(5.5rem, auto) minmax(4.75rem, auto) minmax(6rem, auto)
    1fr;
  height: 100%;
  min-height: 32rem;
}

.service-partner-title {
  align-self: end;
  min-height: 5.5rem;
}

.service-partner-offer {
  min-height: 4.75rem;
}

.service-partner-divider {
  border-top: 1px solid rgba(15, 15, 16, 0.08);
  min-height: 6rem;
}

.service-partner-meta {
  display: grid;
  gap: 0.85rem;
  align-content: start;
  background: linear-gradient(
    180deg,
    rgba(247, 241, 230, 0.95),
    rgba(244, 234, 216, 0.72)
  );
  border: 1px solid rgba(226, 163, 54, 0.14);
}

.service-partner-meta-row {
  display: grid;
  gap: 0.2rem;
}

.service-partner-meta-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(15, 15, 16, 0.42);
}

.service-partner-link {
  transition: color 0.2s ease;
  font-weight: 700;
}

.service-partner-link:hover {
  color: var(--gold);
}

@media (max-width: 767px) {
  .service-partner-card {
    min-height: auto;
    grid-template-rows: auto auto auto auto auto;
  }

  .service-partner-title,
  .service-partner-offer,
  .service-partner-divider {
    min-height: auto;
  }
}

.service-importance-grid {
  position: relative;
}

.service-importance-grid::before {
  content: "";
  position: absolute;
  left: -1.25rem;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 1px;
  background: linear-gradient(
    180deg,
    rgba(226, 163, 54, 0),
    rgba(226, 163, 54, 0.5),
    rgba(226, 163, 54, 0)
  );
}

@media (max-width: 639px) {
  .service-importance-grid::before {
    display: none;
  }
}

@keyframes heroFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(1.5rem, -1rem, 0) scale(1.08);
  }
}

@media (min-width: 1024px) {
  .process-track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .process-node::after {
    content: "";
    display: block;
    position: absolute;
    top: 2.7rem;
    right: -0.75rem;
    width: 1.2rem;
    height: 0.85rem;
    background:
      linear-gradient(90deg, rgba(226, 163, 54, 0.7), rgba(226, 163, 54, 0.2))
        top/100% 2px no-repeat,
      linear-gradient(90deg, rgba(226, 163, 54, 0.5), rgba(226, 163, 54, 0.12))
        bottom/100% 2px no-repeat;
  }

  .process-node:last-child::after {
    display: none;
  }

  .services-atelier {
    grid-auto-rows: minmax(13rem, auto);
  }
}
