/*
Theme Name: Muse Digital
Theme URI: https://musedigital.id/
Author: Muse Digital
Description: A bespoke one-page agency theme based on the Muse Digital design system.
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 8.1
Text Domain: muse-digital
*/

:root {
  --muse-blue: #1029ba;
  --muse-blue-deep: #0a218f;
  --muse-blue-bright: #1749e7;
  --muse-yellow: #f1f500;
  --muse-pink: #ff66c9;
  --muse-ink: #08248e;
  --muse-off-white: #f4f7ff;
  --muse-white: #ffffff;
  --muse-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --muse-display: "Iosevka Charon", monospace;
  --muse-eyebrow: Inter, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: #111;
  background: var(--muse-blue);
  font-family: var(--muse-body);
  font-size: 16px;
  line-height: 1.45;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
.muse-icon { width: 1em; height: 1em; flex: 0 0 auto; display: block; }

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.muse-shell { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.muse-section-kicker {
  display: inline-flex;
  padding: 8px 20px 7px;
  border-radius: 6px;
  color: #fff;
  background: var(--muse-pink);
  font-size: clamp(14px, 1.666667vw, 32px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 5px 10px rgba(255, 102, 201, .18);
}

.muse-header {
  position: absolute;
  z-index: 30;
  top: 0;
  right: 0;
  left: 0;
  color: #fff;
}
.muse-header__inner {
  min-height: 108px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}
.muse-logo { width: 95px; flex: 0 0 95px; }
.muse-logo img { width: 100%; height: auto; }
.muse-nav { display: flex; align-items: center; gap: 47px; margin-left: auto; }
.muse-nav a {
  position: relative;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  transition: color .2s ease;
}
.muse-nav a:not(.muse-nav__cta)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--muse-yellow);
  transform: scaleX(0);
  transition: transform .2s ease;
}
.muse-nav a:hover::after, .muse-nav a:focus-visible::after { transform: scaleX(1); }
.muse-nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 20px;
  border-radius: 7px;
  background: var(--muse-pink);
  box-shadow: 0 6px 12px rgba(0, 0, 0, .14);
}
.muse-nav__arrow {
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 50%;
  color: var(--muse-blue);
  background: #fff;
  font-size: 12px;
}
.muse-nav__arrow .muse-icon { width: 13px; height: 13px; }
.muse-menu-toggle { display: none; border: 0; color: #fff; background: transparent; font-size: 28px; }

.muse-hero {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 42% 43%, rgba(74, 87, 227, .46), transparent 39%),
    linear-gradient(128deg, #3143ca 0%, #142dbd 60%, #0720a0 100%);
}
.muse-hero::before,
.muse-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.05);
}
.muse-hero::before { width: 950px; height: 430px; top: -250px; left: -110px; transform: rotate(9deg); }
.muse-hero::after { width: 880px; height: 330px; right: -330px; bottom: -160px; transform: rotate(-14deg); }
.muse-hero__inner {
  position: relative;
  z-index: 2;
  min-height: 700px;
  display: grid;
  grid-template-columns: .84fr 1.16fr;
  align-items: center;
  gap: 10px;
  padding-top: 106px;
}
.muse-hero__content { padding: 38px 0 20px 48px; }
.muse-hero__eyebrow {
  margin: 0 0 8px;
  font-family: var(--muse-eyebrow);
  font-size: clamp(17px, 1.666667vw, 32px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}
.muse-hero h1 {
  margin: 0;
  max-width: min(630px, 32.8125vw);
  color: #fff;
  font-family: var(--muse-display);
  font-size: clamp(50px, 5.208333vw, 100px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.15;
  white-space: nowrap;
  text-transform: uppercase;
}
.muse-hero h1 span { color: var(--muse-yellow); }
.muse-hero__copy { max-width: 430px; margin: 19px 0 28px; font-size: 14px; line-height: 1.55; }
.muse-actions { display: flex; align-items: center; gap: 34px; }
.muse-button {
  display: inline-flex;
  min-height: 51px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 10px 23px;
  border: 0;
  border-radius: 6px;
  color: var(--muse-ink);
  background: var(--muse-yellow);
  box-shadow: 0 5px 9px rgba(0,0,0,.16);
  font-family: var(--muse-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: transform .2s ease, box-shadow .2s ease;
}
.muse-button:hover { transform: translateY(-2px); box-shadow: 0 8px 16px rgba(0,0,0,.22); }
.muse-button--pink { color: #fff; background: var(--muse-pink); }
.muse-button .muse-icon { width: 22px; height: 22px; }
.muse-text-link { display: inline-flex; align-items: center; gap: 17px; font-size: 16px; font-weight: 500; }
.muse-text-link .muse-icon { width: 27px; height: 27px; }
.muse-hero__visual { position: relative; margin: 12px -54px 0 -38px; }
.muse-hero__visual img { width: 100%; filter: drop-shadow(0 25px 30px rgba(0,0,0,.18)); }
.muse-hero__bottom-shape {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 32px;
  background: linear-gradient(96deg, #fff 0%, #eef3fb 45%, #fff 100%);
  clip-path: polygon(0 46%, 35% 46%, 40% 100%, 100% 100%, 100% 0, 0 0);
}

.muse-about { position: relative; overflow: hidden; background: var(--muse-off-white); }
.muse-about::before {
  content: "";
  position: absolute;
  top: -95px;
  right: -120px;
  width: 740px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid #dce5fa;
  transform: rotate(-8deg);
}
.muse-about__inner {
  position: relative;
  display: grid;
  min-height: 621px;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 36px;
  padding-top: 56px;
  padding-bottom: 50px;
}
.muse-about__visual { margin-left: -30px; }
.muse-about__visual img { width: 100%; filter: drop-shadow(0 24px 26px rgba(31,43,95,.1)); }
.muse-about__content { align-self: center; padding: 26px 0 0; }
.muse-about h2 {
  margin: 20px 0 15px;
  color: var(--muse-ink);
  font-size: clamp(40px, 3.333333vw, 64px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
  text-transform: uppercase;
}
.muse-about h2 span { color: var(--muse-pink); }
.muse-about__lead { max-width: 535px; margin: 0 0 30px; font-size: 14px; line-height: 1.55; }
.muse-values { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0 32px; }
.muse-value { min-height: 155px; padding: 0 17px; text-align: center; border-right: 1px solid #cbd2df; }
.muse-value:first-child { padding-left: 0; }
.muse-value:last-child { padding-right: 0; border-right: 0; }
.muse-value svg { width: 54px; height: 54px; margin: 0 auto 9px; color: var(--muse-blue); }
.muse-value h3 { margin: 0 0 7px; color: var(--muse-ink); font-size: 15px; font-weight: 700; line-height: 1.16; text-transform: uppercase; }
.muse-value p { margin: 0; font-size: 11px; line-height: 1.34; }

.muse-clients {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 28% 40%, rgba(28,67,200,.7), transparent 43%),
    linear-gradient(145deg, #0e3da9, #062486 76%);
}
.muse-clients::after {
  content: "";
  position: absolute;
  inset: auto -12% -175px 32%;
  height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.05);
  transform: rotate(7deg);
}
.muse-clients__inner { position: relative; z-index: 2; min-height: 479px; padding-top: 44px; padding-bottom: 42px; }
.muse-clients h2 { margin: 25px 0 30px; font-size: clamp(38px, 3.333333vw, 64px); font-weight: 700; letter-spacing: 0; line-height: 1.25; text-transform: uppercase; }
.muse-clients h2 span { color: var(--muse-yellow); }
.muse-client-carousel { position: relative; width: calc(100% + 64px); margin-left: -32px; }
.muse-client-viewport { width: 100%; overflow: hidden; }
.muse-client-viewport::-webkit-scrollbar { display: none; }
.muse-client-viewport:focus-visible { outline: 3px solid var(--muse-yellow); outline-offset: 5px; }
.muse-client-track { position: relative; left: 0; width: max-content; display: flex; align-items: center; gap: 68px; will-change: left; }
.muse-client-card {
  flex: 0 0 342px;
  height: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 27px;
  background: #fff;
}
.muse-client-card img { max-width: 100%; max-height: 95px; object-fit: contain; }
.muse-carousel-button {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 2px solid rgba(255,255,255,.85);
  border-radius: 50%;
  color: var(--muse-blue);
  background: var(--muse-yellow);
  box-shadow: 0 5px 15px rgba(0,0,0,.2);
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform .2s ease, background .2s ease;
}
.muse-carousel-button:hover, .muse-carousel-button:focus-visible { background: #fff; transform: translateY(-50%) scale(1.08); }
.muse-carousel-button .muse-icon { width: 22px; height: 22px; }
.muse-carousel-button--previous { left: 13px; }
.muse-carousel-button--previous .muse-icon { transform: rotate(180deg); }
.muse-carousel-button--next { right: 13px; }
.muse-client-wordmark { color: #111; font-size: 44px; font-weight: 800; line-height: .8; letter-spacing: -3px; text-align: center; }
.muse-client-wordmark small { display: block; margin-top: 9px; font-size: 15px; font-weight: 500; letter-spacing: 0; }
.muse-client-quote { display: flex; align-items: center; justify-content: center; gap: 36px; margin: 25px 0 0; color: #fff; text-align: center; font-size: 18px; }
.muse-client-quote__copy { display: grid; gap: 1px; }
.muse-client-quote strong { color: var(--muse-yellow); font-size: clamp(20px, 2.083333vw, 40px); font-weight: 700; line-height: 1.325; text-transform: uppercase; }
.muse-client-quote__mark { color: var(--muse-pink); font-family: Georgia, serif; font-size: 70px; font-weight: 700; line-height: .55; }

.muse-services {
  position: relative;
  overflow: hidden;
  color: var(--muse-ink);
  background: var(--muse-yellow) url("assets/images/yellow-texture.jpg") center / cover;
}
.muse-services::after {
  content: "";
  position: absolute;
  right: -65px;
  bottom: -65px;
  width: 220px;
  height: 260px;
  background: var(--muse-blue-bright);
  clip-path: polygon(35% 0, 100% 20%, 73% 42%, 100% 100%, 48% 79%, 0 100%);
}
.muse-services__inner { position: relative; z-index: 2; min-height: 713px; padding-top: 48px; padding-bottom: 45px; }
.muse-services__heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 29px; }
.muse-services h2 { max-width: 754px; margin: 18px 0 0; font-size: clamp(40px, 3.333333vw, 64px); font-weight: 700; letter-spacing: 0; line-height: 1.25; text-transform: uppercase; }
.muse-services h2 span { color: #fff; white-space: nowrap; }
.muse-outline-link {
  display: inline-flex;
  min-height: 47px;
  align-items: center;
  gap: 18px;
  padding: 8px 18px;
  border: 2px solid var(--muse-ink);
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
}
.muse-outline-link .muse-icon { width: 25px; height: 25px; }
.muse-service-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; }
.muse-service-card {
  overflow: hidden;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 7px 10px rgba(0,0,0,.09);
  text-align: center;
}
.muse-service-card__image { height: 152px; overflow: hidden; }
.muse-service-card__image img { width: 100%; height: 100%; object-fit: cover; }
.muse-service-card__body { min-height: 194px; display: flex; flex-direction: column; align-items: center; padding: 17px 13px 15px; }
.muse-service-card h3 { margin: 0 0 8px; font-size: 15px; font-weight: 700; line-height: 1.12; text-transform: uppercase; }
.muse-service-card p { min-height: 51px; margin: 0 0 15px; color: #111; font-size: 11px; line-height: 1.35; }
.muse-service-card .muse-card-button {
  width: 100%;
  margin-top: auto;
  padding: 9px 8px;
  border-radius: 5px;
  color: #fff;
  background: #1250bd;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}
.muse-card-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.muse-card-button .muse-icon { width: 16px; height: 16px; }
.muse-services__cta { display: flex; justify-content: center; margin-top: 34px; }

.muse-footer {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(125deg, #0e269f 0%, #09268d 100%);
}
.muse-footer::after {
  content: "";
  position: absolute;
  right: -160px;
  bottom: -180px;
  width: 780px;
  height: 280px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.05);
  transform: rotate(9deg);
}
.muse-footer__inner { position: relative; z-index: 2; min-height: 354px; padding-top: 49px; padding-bottom: 25px; }
.muse-footer__grid { display: grid; grid-template-columns: 1.15fr .9fr 1.4fr 1.35fr; gap: 55px; align-items: start; }
.muse-footer__brand img { width: 122px; }
.muse-footer__brand p { max-width: 205px; margin: 13px 0; font-size: clamp(13px, 1.5625vw, 30px); line-height: 1.666667; }
.muse-footer h3 { margin: 3px 0 10px; font-size: clamp(15px, 1.5625vw, 30px); font-weight: 700; line-height: 1; text-transform: uppercase; }
.muse-footer ul { margin: 0; padding: 0; list-style: none; }
.muse-footer li { margin: 0 0 6px; font-size: clamp(15px, 1.5625vw, 30px); line-height: 1.666667; }
.muse-footer__contact p { margin: 0 0 6px; font-size: clamp(15px, 1.5625vw, 30px); line-height: 1.666667; }
.muse-socials { display: flex; gap: 7px; }
.muse-socials a { width: 29px; height: 29px; display: grid; place-items: center; border: 3px solid var(--muse-yellow); border-radius: 50%; color: var(--muse-yellow); font-size: 12px; font-weight: 900; }
.muse-socials .muse-icon { width: 14px; height: 14px; }
.muse-footer__bottom { margin-top: 28px; padding-top: 13px; border-top: 1px solid rgba(255,255,255,.45); font-size: 12px; }

@media (max-width: 1050px) {
  .muse-nav { gap: 24px; }
  .muse-shell { width: min(930px, calc(100% - 44px)); }
  .muse-hero__content { padding-left: 10px; }
  .muse-hero__visual { margin-right: -30px; }
  .muse-service-grid { grid-template-columns: repeat(3, 1fr); }
  .muse-services__inner { min-height: auto; }
  .muse-footer__grid { grid-template-columns: 1.1fr 1fr 1fr; }
  .muse-footer__contact { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .muse-shell { width: min(100% - 34px, 590px); }
  .muse-header__inner { min-height: 84px; }
  .muse-logo { width: 74px; flex-basis: 74px; }
  .muse-menu-toggle { display: block; }
  .muse-nav {
    position: absolute;
    top: 76px;
    right: 17px;
    left: 17px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px;
    border-radius: 10px;
    background: rgba(7,27,137,.97);
    box-shadow: 0 12px 35px rgba(0,0,0,.28);
  }
  .muse-nav.is-open { display: flex; }
  .muse-nav a { padding: 12px; text-align: center; }
  .muse-nav__cta { justify-content: center; margin-top: 7px; }
  .muse-hero, .muse-hero__inner { min-height: auto; }
  .muse-hero__inner { grid-template-columns: 1fr; padding-top: 112px; padding-bottom: 65px; }
  .muse-hero__content { padding: 0; text-align: center; }
  .muse-hero h1 { margin-inline: auto; font-size: clamp(42px, 11.5vw, 58px); }
  .muse-hero__copy { margin-inline: auto; }
  .muse-actions { justify-content: center; gap: 20px; flex-wrap: wrap; }
  .muse-hero__visual { margin: 20px -20px 0; }
  .muse-about__inner { grid-template-columns: 1fr; gap: 4px; padding-top: 70px; }
  .muse-about__visual { margin: 0 -18px; order: 2; }
  .muse-about__content { text-align: center; }
  .muse-values { gap: 0; }
  .muse-values p { font-size: 9px; }
  .muse-client-carousel { width: calc(100% + 34px); margin-left: -17px; }
  .muse-client-track { gap: 16px; padding-inline: 17px; }
  .muse-carousel-button { width: 36px; height: 36px; }
  .muse-carousel-button--previous { left: 4px; }
  .muse-carousel-button--next { right: 4px; }
  .muse-clients h2 { font-size: 34px; text-align: center; }
  .muse-client-card { flex-basis: min(78vw, 330px); height: 112px; }
  .muse-client-quote { font-size: 17px; }
  .muse-client-quote__mark { font-size: 45px; }
  .muse-services__heading { display: block; text-align: center; }
  .muse-services h2 { margin-inline: auto; font-size: 38px; }
  .muse-services h2 span { white-space: normal; }
  .muse-outline-link { margin-top: 25px; }
  .muse-service-grid { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; }
  .muse-service-card__image { height: 210px; }
  .muse-service-card__body { min-height: 175px; }
  .muse-footer__grid { grid-template-columns: 1fr 1fr; gap: 35px; }
  .muse-footer__brand, .muse-footer__contact { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
