:root {
  --bg: #06071d;
  --band: #18112e;
  --violet: #8975c6;
  --blush: #dcb8c0;
  --grad: linear-gradient(107deg, #8975c6 0%, #dcb8c0 100%);
  --line: rgba(255, 255, 255, 0.16);
  --line-soft: rgba(255, 255, 255, 0.1);
  --text: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.72);
  --head: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.5 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 600; letter-spacing: -0.01em; }
ul { list-style: none; margin: 0; padding: 0; }

.container { max-width: 1330px; margin: 0 auto; padding: 0 15px; }
.section { padding: 110px 0; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.h-xl { font-size: clamp(2.1rem, 3.6vw, 3.3rem); line-height: 1.1; }
.h-lg { font-size: clamp(1.9rem, 3.3vw, 3rem); line-height: 1.1; }

/* "double border" frame used around most cards */
.ring {
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 8px);
  padding: 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 7px 22px 7px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--head);
  font-size: 1.2rem;
  line-height: 1.2;
}
.badge img { width: 17px; height: 17px; }
.badge span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.section-head { text-align: center; max-width: 1000px; margin: 0 auto 55px; }
.section-head .h-xl { margin-top: 26px; }
.section-head p:last-child:not(.badge) { margin-top: 22px; }

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  border-bottom: 1px solid var(--line-soft);
}
.header-inner { height: 128px; display: flex; align-items: center; justify-content: space-between; padding: 0 5px 0 0; }
.logo img { width: 153px; height: auto; }
.header-cta {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--violet);
  display: grid; place-items: center;
  transition: transform 0.2s ease, background 0.2s ease;
}
.header-cta:hover { transform: scale(1.06); background: #9a87d4; }
.header-cta svg { width: 22px; height: 22px; color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 305px 0 110px; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: #0a0822; overflow: hidden; }
.hero-bg span {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  animation: drift 22s ease-in-out infinite alternate;
}
.hero-bg span:nth-child(1) { width: 60vw; height: 45vw; left: -18vw; top: 8%; background: #4a2182; }
.hero-bg span:nth-child(2) { width: 50vw; height: 40vw; right: -14vw; top: -12%; background: #2a1560; animation-duration: 28s; }
.hero-bg span:nth-child(3) { width: 45vw; height: 35vw; left: 25vw; top: 38%; background: #3b1a74; animation-duration: 25s; animation-delay: -8s; }
.hero-bg span:nth-child(4) { width: 55vw; height: 30vw; right: -10vw; bottom: -6%; background: #5a2a8f; opacity: 0.4; animation-duration: 30s; animation-delay: -14s; }
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(6, 7, 29, 0) 70%, rgba(6, 7, 29, 0.6) 100%);
}
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(6vw, -4vw) scale(1.12); }
  100% { transform: translate(-5vw, 5vw) scale(0.95); }
}

.hero-inner { text-align: center; }
.hero-title {
  font-size: clamp(2.6rem, 6.1vw, 5.6rem);
  line-height: 1.1;
  max-width: 1300px;
  margin: 0 auto;
}
.hero-title .grad-text { display: inline-block; }

.yt-facade {
  position: relative;
  width: min(884px, 100%);
  aspect-ratio: 16 / 9;
  margin: 118px auto 0;
  background: #000;
  cursor: pointer;
  overflow: hidden;
}
.yt-facade img, .yt-facade iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.yt-play {
  position: absolute; inset: 0; margin: auto;
  width: 68px; height: 48px;
  border: 0; padding: 0; background: none; cursor: pointer;
  transition: transform 0.2s ease;
}
.yt-play svg { width: 100%; height: 100%; }
.yt-facade:hover .yt-play { transform: scale(1.1); }

.hero-lede { max-width: 850px; margin: 26px auto 0; }

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
  padding: 18px 52px;
  border-radius: 999px;
  background: linear-gradient(var(--bg), var(--bg)) padding-box,
              linear-gradient(170deg, #b6a6e6, #dcb8c0) border-box;
  border: 1px solid transparent;
  font-family: var(--head);
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-pill:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(137, 117, 198, 0.35); }
.btn-pill svg { width: 16px; height: 16px; color: #fff; }

.hero-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 50px;
  text-align: left;
  align-items: stretch;
}
.hero-cards .ring { display: flex; }
.stat-card {
  flex: 1;
  border-radius: var(--radius);
  padding: 22px 26px 26px;
  background: linear-gradient(177deg, #8975c6 0%, #ac92c4 100%);
}
.stat-card-num { font-family: var(--head); font-weight: 700; font-size: 48px; line-height: 1.1; }
.stat-card h3 { font-size: 20.8px; margin: 8px 0 10px; }
.window-card {
  position: relative;
  flex: 1;
  min-height: 165px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #f5f5e6;
}
.window-card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.window-card::after {
  content: "";
  position: absolute; inset: 0 0 auto;
  height: 60%;
  background: linear-gradient(to bottom, rgba(20, 16, 40, 0.75), rgba(20, 16, 40, 0));
}
.window-card h3 { position: relative; z-index: 1; font-size: 20.8px; padding: 24px 26px; }

/* ---------- Clients marquee ---------- */
.clients {
  background: var(--band);
  border-top: 1px solid var(--line-soft);
  padding: 32px 0;
  overflow: hidden;
}
.marquee { mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 52px; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track img { width: 218px; height: 85px; object-fit: contain; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Why choose us ---------- */
.why { padding-top: 80px; padding-bottom: 50px; }
.why-panel {
  display: grid;
  grid-template-columns: 283px 1fr;
  gap: 50px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 31px;
}
.why-intro {
  text-align: center;
  padding: 26px 20px 30px;
  border-radius: var(--radius);
  background: linear-gradient(#19142f, #19142f) padding-box,
              linear-gradient(180deg, #8975c6, #dcb8c0) border-box;
  border: 1px solid transparent;
}
.why-intro h2 { font-size: 20.8px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.why-intro p { margin-top: 20px; }
.why-pill {
  display: flex;
  align-items: center;
  gap: 50px;
  max-width: 730px;
  padding: 11px 24px 11px 21px;
  border-radius: 999px;
  background: linear-gradient(90deg, #473c78 0%, #6d5a70 100%);
}
.why-pill-icon { width: 58px; height: 58px; flex: none; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.why-pill-icon svg { width: 30px; height: 30px; color: #1c1440; }
.why-pill h3 { font-size: 20.8px; }
.stats { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 20px; margin-top: 34px; }
.stats dt { font-family: var(--head); font-weight: 600; font-size: 48px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stats .suffix { color: var(--blush); margin-left: 4px; }
.stats dd { margin-top: 8px; }

/* ---------- About ---------- */
.about { padding-top: 100px; }
.about-inner { display: grid; grid-template-columns: 625px 1fr; gap: 50px; align-items: center; }
.about-media { position: relative; }
.about-media::before {
  content: "";
  position: absolute;
  top: -8px;
  right: 200px;
  width: 100vw;
  height: 76%;
  border-radius: 0 24px 24px 0;
  background: linear-gradient(90deg, #a27fc0, #d6b2c6);
  z-index: -1;
}
.about-media video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #111; }
.about-copy .h-lg { margin: 26px 0 26px; }
.about { isolation: isolate; overflow: hidden; }

/* ---------- Services ---------- */
.services { padding-top: 60px; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-grid .ring { display: flex; }
.service-card {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 25px 25px 30px;
  background: linear-gradient(180deg, #07081e 0%, #161029 100%);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.service-card:hover { transform: translateY(-4px); border-color: rgba(220, 184, 192, 0.5); }
.service-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--blush); display: grid; place-items: center; }
.service-icon img { width: 42px; height: 42px; }
.service-card h3 { font-size: 20.8px; margin: 22px 0 10px; }

/* ---------- Projects ---------- */
.projects { padding-top: 70px; }
.project + .project { margin-top: 40px; }
.project-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #0b0a22 0%, #16112d 100%);
}
.project-copy { padding-left: 1px; }
.project--flip .project-card { grid-template-columns: 1fr 1fr; }
.project--flip .project-media { order: -1; padding-left: 10px; }
.project-copy h3 { font-size: clamp(1.6rem, 2.2vw, 2rem); line-height: 1.1; }
.tags { display: flex; flex-wrap: wrap; gap: 12px 14px; margin: 22px 0 26px; }
.tags li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px 7px 14px;
  border-radius: 999px;
  background: #3a2d63;
  font-size: 15.5px;
  white-space: nowrap;
}
.tags svg { width: 17px; height: 17px; color: var(--blush); }
.project-media video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  background: #000;
}

/* ---------- Testimonials ---------- */
.testimonials { padding-top: 90px; }
.testimonials-inner { display: grid; grid-template-columns: 470px 1fr; gap: 25px; align-items: start; }
.testimonials-copy .h-xl { margin: 26px 0 26px; }
.carousel { overflow: hidden; }
.carousel-track { display: flex; gap: 16px; transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.quote-card {
  flex: 0 0 calc(50% - 8px);
  display: flex;
  flex-direction: column;
  padding: 20px 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #2a2344 0%, #221c3c 100%);
}
.stars svg { width: 100px; height: 17px; }
.quote-card blockquote { margin: 20px 0 22px; flex: 1; }
.quote-card figcaption { display: flex; align-items: center; gap: 16px; }
.quote-card figcaption img {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.08);
  object-fit: cover;
  margin-left: 7px;
}
.quote-card strong { display: block; font-family: var(--head); font-size: 18px; }
.quote-card small { color: var(--text-dim); font-size: 13px; }
.quote-mark { width: 30px; height: 30px; margin-left: auto; color: var(--blush); }

/* ---------- FAQ ---------- */
.faq { padding-top: 70px; padding-bottom: 60px; }
.faq-inner { display: grid; grid-template-columns: 805px 1fr; gap: 50px; align-items: center; }
.faq-list details + details { margin-top: 10px; }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 60px;
  padding: 0 30px 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(90deg, #8e7cc9 0%, #b99bc5 100%);
  font-family: var(--head);
  font-weight: 700;
  font-size: 17.6px;
  transition: background 0.3s ease;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before {
  content: "";
  width: 18px; height: 18px; flex: none;
  background:
    linear-gradient(#fff, #fff) center / 18px 1.5px no-repeat,
    linear-gradient(#fff, #fff) center / 1.5px 18px no-repeat;
  transition: background-size 0.25s ease;
}
.faq-list details[open] summary {
  background: linear-gradient(90deg, #221d3f 0%, #3c3158 100%);
  border-color: var(--line);
}
.faq-list details[open] summary::before { background-size: 18px 1.5px, 1.5px 0; }
.faq-list details p { padding: 30px 60px 34px 64px; }
.faq-head .h-xl { margin-top: 26px; }

/* ---------- Booking ---------- */
.booking { padding-top: 40px; padding-bottom: 60px; scroll-margin-top: 20px; }
.cal-embed { max-width: 1040px; margin: 0 auto; min-height: 540px; overflow: auto; }

/* ---------- Footer ---------- */
.site-footer { padding: 18px 0 40px; }
.site-footer p { text-align: right; padding-right: 64px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg span, .marquee-track { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .about-inner, .testimonials-inner, .faq-inner { grid-template-columns: 1fr; }
  .faq-head { order: -1; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .why-panel { grid-template-columns: 1fr; }
  .why-intro { max-width: 420px; }
  .about-media::before { right: 30%; }
}

@media (max-width: 860px) {
  .section { padding: 70px 0; }
  .header-inner { height: 96px; padding: 0 20px; }
  .logo img { width: 120px; }
  .header-cta { width: 48px; height: 48px; }
  .hero { padding: 170px 0 70px; }
  .yt-facade { margin-top: 56px; }
  .hero-cards { grid-template-columns: 1fr; }
  .window-card { min-height: 190px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .stats dt { font-size: 40px; }
  .why-pill { gap: 18px; border-radius: 28px; }
  .project-card, .project--flip .project-card { grid-template-columns: 1fr; gap: 26px; padding: 22px; }
  .project-media, .project--flip .project-media { order: -1; padding-left: 0; }
  .quote-card { flex-basis: 100%; }
  .faq-list details p { padding: 22px 20px 26px 26px; }
  .site-footer p { text-align: center; padding-right: 0; }
}

@media (max-width: 560px) {
  .service-grid { grid-template-columns: 1fr; }
  .tags li { font-size: 14.5px; padding: 6px 16px 6px 14px; }
  .faq-list summary { font-size: 16px; border-radius: 28px; padding: 14px 20px; }
  .marquee-track img { width: 160px; height: 62px; }
  .marquee-track { gap: 32px; }
}
