/* 2U Memphis — solid colors, expressive geometry, a little play. */
:root{--cream:#f7f3e9;--ink:#24232b;--muted:#69666a;--coral:#f36b56;--blue:#354bd3;--yellow:#f8ce48;--mint:#78c7b2;--lavender:#d9d2f2;--peach:#f4cec3;--line:#d3cfc5;--content:1240px}
body{background:var(--cream);color:var(--ink)}
::selection{background:var(--yellow);color:var(--ink)}
:focus-visible{outline-color:var(--blue)}
h1,h2{font-family:"Dela Gothic One",sans-serif;font-weight:400;letter-spacing:.05em}
.site-header{height:108px;max-width:1440px;padding:0 60px;border-bottom:1px solid var(--line)}
.brand-mark{transform:none;font-size:48px;letter-spacing:-6px}.brand-mark>span{color:var(--blue)}.brand-mark i{background:var(--coral)}.brand-tag{border-color:var(--ink)}
.main-nav{gap:30px}.main-nav .nav-contact{background:var(--blue);border:1px solid var(--ink);border-radius:4px;box-shadow:3px 3px 0 var(--ink);padding:15px 23px;gap:22px}
.hero{display:block;isolation:isolate;position:relative;max-width:1440px;width:100%;min-height:740px;padding:87px min(7vw,100.8px) 60px;overflow:hidden;background:var(--cream)}
.hero-copy{width:56%;position:relative;z-index:2;padding:0}.hero-eyebrow{font-size:14px;letter-spacing:1.7px;margin-bottom:30px;color:var(--blue)}.status-dot{background:var(--coral);box-shadow:none;border-radius:0;width:9px;height:9px;transform:rotate(45deg)}
.hero h1{font-size:clamp(48px,5.25vw,75.6px);line-height:1.48;margin:0 0 27px}.hero-accent{color:var(--blue)}.hero-accent:after{display:none}.hero-message{line-height:2;margin-bottom:14px}.hero-description{color:var(--muted);line-height:2.1}.button-primary{background:var(--blue);color:#fff;border:1px solid var(--ink);border-radius:4px;box-shadow:4px 4px 0 var(--ink);padding:18px 23px;gap:28px}.button-primary:active{transform:translate(2px,2px);box-shadow:1px 1px 0 var(--ink)}
.memphis-scene{position:absolute;top:0;right:-5%;width:61%;height:100%;z-index:0;overflow:hidden;pointer-events:none}.memphis-scene canvas{display:block;position:absolute;inset:0;width:100%;height:100%}.memphis-scene.is-ready .memphis-fallback{visibility:hidden}.memphis-fallback{position:absolute;inset:0}.memphis-fallback i{position:absolute;display:block}.fallback-ring{width:270px;height:330px;border:70px solid var(--coral);border-radius:50%;top:27%;left:20%;transform:rotate(-25deg);box-shadow:18px 12px 0 #b74637}.fallback-ball{width:110px;height:110px;border-radius:50%;background:var(--yellow);top:14%;right:20%;box-shadow:inset -15px -12px 0 #ddae27}.fallback-block{width:150px;height:130px;background:var(--blue);bottom:20%;right:17%;transform:rotate(-15deg);box-shadow:18px 15px 0 #202e8f}.fallback-zigzag{width:110px;height:120px;border:25px solid var(--mint);border-left:0;bottom:25%;left:14%;transform:rotate(15deg)}
.hero-bottom{max-width:none;margin:0!important;background:var(--yellow);border-top:1px solid var(--ink);border-bottom:1px solid var(--ink);padding:26px max(7vw,calc((100% - 1440px)/2 + 100.8px));min-height:79px}.hero-bottom p{font-weight:600;color:var(--ink)}.hero-bottom>a{color:var(--ink);letter-spacing:1.5px}
.section{padding:104px 0}.section-eyebrow{color:var(--blue);font-size:14px;letter-spacing:1.8px;margin-bottom:23px}.section h2,.about-section h2,.contact-section h2{font-size:clamp(28px,2.9vw,40px);line-height:1.65;letter-spacing:.05em;font-weight:400}.section-heading{margin-bottom:48px;align-items:flex-end;gap:30px}.section-intro{font-size:14px;line-height:2.1}
.services-grid{gap:24px}.service-card{padding:29px 28px 24px;border:1px solid var(--ink);border-radius:0;box-shadow:5px 5px 0 var(--ink);transition:transform .25s,box-shadow .25s}.service-card--peach{background:#f6c8bb}.service-card--mint{background:#a9d8c7}.service-card--lavender{background:#ddd4ee}.service-card:hover,.template-callout:focus-visible{transform:translate(-3px,-5px);box-shadow:8px 10px 0 var(--ink)}.service-card-top{height:114px;margin-bottom:12px}.service-no{font:14px var(--latin);opacity:1;color:var(--ink)}.memphis-icon{width:100px;height:100px;margin-top:-6px;transform:rotate(-6deg);transition:transform .5s}.service-card:hover .memphis-icon{transform:rotate(8deg) translateY(-5px)}.service-en{font-size:14px;letter-spacing:1.2px;color:var(--ink);margin-bottom:17px}.service-card h3{font-size:23px;margin-bottom:18px}.service-card>p:not(.service-en){color:#524952;font-size:16px;line-height:2}.service-card-bottom{border-top:1px solid #24232b40;margin-top:31px;padding-top:24px;color:var(--ink)}
.works-section{border-top:1px solid var(--line)}.works-grid{gap:28px}.work-art{border-radius:0;border:1px solid var(--ink);box-shadow:5px 5px 0 var(--ink)}.work-art--coffee{background:#efb6a3}.work-art--yori{background:#a4ceca}.work-art--sumi{background:#c3b9df}.mini-browser{border:1px solid #24232b50;box-shadow:8px 14px 0 #24232b1a}.mini-site,.mini-browser-bar{background:#fffaf0}.work-meta{margin-top:24px}.sample-label{background:var(--yellow);color:var(--ink);border:1px solid var(--ink);border-radius:0}.work-card h3{font-size:18px}.work-card p,.demo-note{color:var(--muted)}
.about-section{position:relative;isolation:isolate;background:var(--blue);color:var(--cream);margin:0!important;padding:95px 60px;overflow:hidden}.about-inner{max-width:1240px;grid-template-columns:1fr 1fr;gap:70px}.about-art{height:440px;margin:0;transform:none}.about-copy .section-eyebrow{color:var(--yellow)}.about-copy h2{margin-bottom:30px}.about-copy>p:not(.section-eyebrow){color:var(--cream);font-size:16px;line-height:2.3}.about-spark{font-size:80px;top:0;left:auto;right:12%;color:var(--yellow);text-shadow:5px 5px 0 var(--ink);transform:rotate(12deg)}
.memphis-totem{position:absolute;inset:10px 0 30px}.memphis-totem span{position:absolute;display:block}.totem-ring{width:210px;height:210px;border:49px solid var(--coral);border-radius:50%;left:17%;top:5px;transform:rotate(-28deg) skew(-8deg);box-shadow:15px 12px 0 #b64032,inset -10px -8px 0 #b64032;z-index:4}.totem-arch{width:210px;height:145px;border:44px solid var(--yellow);border-bottom:0;border-radius:120px 120px 0 0;right:11%;top:190px;transform:rotate(12deg);box-shadow:14px 12px 0 #d6a51b;z-index:3}.totem-block{width:135px;height:140px;background:var(--mint);left:19%;top:225px;transform:skewY(-8deg);box-shadow:17px 9px 0 #41957f;z-index:2}.totem-ball{width:85px;height:85px;background:var(--cream);border-radius:50%;left:3%;top:120px;box-shadow:inset -14px -8px 0 #c4c5d3,7px 10px 0 #24232b22}.totem-step{width:110px;height:110px;right:11%;top:70px;border:23px solid var(--cream);border-right:0;transform:rotate(17deg);filter:drop-shadow(7px 7px 0 var(--ink))}
.process-grid{margin-top:52px}.process-grid>li{border-color:var(--line)}.step-number{display:grid;place-items:center;width:47px;height:47px;background:var(--yellow);border:1px solid var(--ink);color:var(--ink);font-size:15px;border-radius:50%;margin-bottom:24px}.process-grid>li:nth-child(2) .step-number{background:var(--mint);border-radius:0;transform:rotate(-7deg)}.process-grid>li:nth-child(3) .step-number{background:var(--peach);border-radius:50% 50% 0 0}.process-grid>li:nth-child(4) .step-number{background:var(--lavender);border-radius:0}.process-grid h3{font-size:26px}.process-grid p{font-size:14px;color:var(--muted)}.process-grid>li:not(:last-child):after{color:var(--blue)}
.faq-section{gap:70px;border-color:var(--line);padding-top:80px;padding-bottom:105px}.faq-list details,.faq-list details:first-child{border-color:var(--line)}.faq-list summary{font-size:16px;padding:25px 0}.faq-list summary>span{color:var(--blue)}.faq-list summary>i{background:var(--yellow);width:25px;height:25px;border:1px solid var(--ink);border-radius:50%}.faq-list summary>i:before,.faq-list summary>i:after{background:var(--ink)}.faq-list details>div{font-size:16px;color:var(--muted)}
.contact-section{isolation:isolate;max-width:none;margin:0!important;border-radius:0;padding:100px 30px;background:var(--coral);color:var(--ink);border-top:1px solid var(--ink);border-bottom:1px solid var(--ink)}.contact-section>.section-eyebrow{color:var(--ink);font-size:14px}.contact-section h2{color:var(--ink);font-size:clamp(30px,3.2vw,44px)}.contact-section>p:not(.section-eyebrow){position:relative;z-index:1;color:var(--ink);margin:24px 0 32px}.button-primary--light{background:var(--cream);color:var(--ink);position:relative;z-index:2}.contact-geometry{position:absolute;width:240px;height:310px;right:-50px;top:190px;border:64px solid var(--blue);border-radius:50%;transform:rotate(33deg);box-shadow:12px 15px 0 #253696;z-index:-1}.contact-geometry:before{content:"";position:absolute;width:75px;height:75px;background:var(--mint);right:70px;top:-170px;transform:rotate(-17deg);box-shadow:9px 9px 0 #479b85}
.site-footer{padding:64px 0 28px}.footer-top p>span,.footer-bottom{color:var(--muted)}.footer-bottom{border-color:var(--line);padding-top:26px}
.page-main h1{color:var(--ink)}.page-main .wp-block-post-content{max-width:1040px}.page-main .wp-block-post-content>.content-grid{max-width:1040px}.page-main .wp-block-post-content .content-grid>.wp-block-column{background:none;border:0;padding:0}.page-main .content-grid .detail-card{height:100%;padding:28px}.page-main .content-grid .service-en{font-size:14px;letter-spacing:1.2px;overflow-wrap:normal}.page-main .detail-card .price-number{font-size:28px}.page-main .wp-block-post-content>.sample-label{background:var(--yellow);border:1px solid var(--ink);color:var(--ink)}.page-main table th{background:#f2e5ac}.page-main table td,.page-main table th{border-color:var(--line)}.detail-card,.page-main .wp-block-columns>.wp-block-column{border:1px solid var(--ink);border-radius:0;background:var(--cream);box-shadow:4px 4px 0 #24232b15}.page-lead{color:var(--muted)}.price-number{color:var(--blue);font-size:clamp(25px,2.5vw,35px);overflow-wrap:normal;word-break:normal}.page-main .wp-element-button{background:var(--blue);border:1px solid var(--ink);border-radius:4px;box-shadow:3px 3px 0 var(--ink)}.form-notice{background:#f4e7ad;border-color:#c2a54d;color:var(--ink)}.form-field input,.form-field select,.form-field textarea{background:#fffdf8;border-color:#b5b2aa;border-radius:4px}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px #354bd31a}.form-type-options label{border-radius:4px}.form-type-options label:has(input:checked){background:#dedff4;border-color:var(--blue)}.form-type-options input[type=radio],.form-consent input[type=checkbox]{accent-color:var(--blue)}.form-field .required{color:#b83b29}.work-pagination .current{background:var(--blue)}
@media(max-width:1320px){.section,.site-footer{margin-left:60px!important;margin-right:60px!important}.hero{padding-left:60px;padding-right:60px}.hero-bottom{padding-left:60px;padding-right:60px}.hero h1{font-size:clamp(48px,5.2vw,70px)}.service-card h3{font-size:21px}}
@media(max-width:1100px){.site-header{padding:0 32px;height:96px}.main-nav{gap:18px}.main-nav .nav-contact{padding:13px 17px;gap:15px}.hero{min-height:710px;padding:85px 40px 50px}.hero h1{font-size:clamp(42px,5.2vw,58px)}.hero-copy{width:62%}.memphis-scene{right:-10%;width:63%}.hero-bottom{padding:25px 40px}.section,.site-footer{margin-left:40px!important;margin-right:40px!important}.section{padding:80px 0}.section h2,.about-section h2{font-size:30px}.services-grid{gap:18px}.service-card{padding:24px 20px}.service-card h3{font-size:18px}.memphis-icon{width:84px;height:84px}.service-en{font-size:14px}.about-section{padding:80px 40px}.about-inner{gap:40px}.about-art{transform:scale(.85);transform-origin:center}.process-grid p{font-size:14px}.faq-section{gap:40px}.page-main .content-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.page-main .content-grid>.wp-block-column:last-child:nth-child(odd){grid-column:1/-1}}
@media(max-width:900px) and (min-width:761px){.hero-copy{width:65%}.hero h1{font-size:43px}.memphis-scene{right:-14%;width:65%}.service-card h3{font-size:16px}.service-card{padding:22px 17px}.service-en{font-size:14px}.about-inner{gap:15px}.about-art{transform:scale(.72)}.about-section h2{font-size:27px}.section-intro{font-size:14px}}
@media(max-width:760px){.site-header{height:86px;padding:0 24px;margin:0;gap:20px}.brand-mark{font-size:42px}.brand-tag{font-size:14px;padding-left:12px}.brand{gap:14px}.menu-toggle{display:flex;background:var(--yellow);border:1px solid var(--ink);border-radius:0;box-shadow:2px 2px 0 var(--ink);width:42px;height:40px}.menu-toggle span{background:var(--ink)}.main-nav{top:75px;left:20px;right:20px;background:var(--cream);border:1px solid var(--ink);border-radius:0;box-shadow:5px 5px 0 var(--ink)}.hero{min-height:0;padding:42px 24px 450px}.hero-copy{width:100%}.hero-eyebrow{letter-spacing:.6px;margin-bottom:25px}.hero h1{font-size:clamp(33px,8.7vw,52px);line-height:1.5;margin-bottom:25px}.hero-message{line-height:1.95;margin-bottom:14px}.hero-description{max-width:none;line-height:2.15}.memphis-scene{top:auto;bottom:20px;right:-4%;width:108%;height:420px}.hero-bottom{padding:22px 24px;min-height:0;gap:20px;flex-direction:column;align-items:flex-start;margin:0!important}.hero-bottom>a{align-self:flex-end}.section,.site-footer{margin-left:24px!important;margin-right:24px!important}.section{padding:65px 0}.section h2,.about-section h2{font-size:27px}.section-eyebrow{font-size:14px;letter-spacing:1.4px;margin-bottom:18px}.section-heading{display:block;margin-bottom:32px}.section-intro{font-size:14px;margin-top:23px}.section-heading>.text-link{margin-top:24px}.services-grid{grid-template-columns:1fr;gap:25px}.service-card{padding:26px 28px}.service-card-top{height:104px;position:relative;right:auto;top:auto;width:100%;margin-bottom:6px}.service-card h3{font-size:24px}.service-en{font-size:14px}.service-card-bottom{margin-top:26px;padding-top:21px}.memphis-icon{width:95px;height:95px}.works-grid{grid-template-columns:1fr;gap:39px}.work-art{height:290px;padding:30px 25px}.work-card h3{font-size:19px}.work-meta{margin-top:21px}.demo-note{font-size:14px!important;line-height:2}.about-section{padding:55px 24px 65px;margin:0!important;border-radius:0}.about-inner{display:flex;flex-direction:column;gap:36px}.about-art{width:340px;max-width:100%;height:355px;transform:none;order:0;margin:0 auto}.about-copy{order:1}.memphis-totem{transform:scale(.8);transform-origin:top center;width:340px;left:calc(50% - 170px)}.about-spark{font-size:55px;right:7%}.about-copy h2{font-size:28px}.process-grid{grid-template-columns:1fr 1fr;gap:33px 0;margin-top:35px}.process-grid>li{padding:0 16px}.process-grid>li:nth-child(3){border-left:0}.process-grid h3{font-size:24px}.process-grid p{font-size:14px}.step-number{font-size:14px;width:40px;height:40px;margin-bottom:20px}.faq-section{display:block;padding-top:60px;padding-bottom:70px}.faq-heading{margin-bottom:28px}.faq-list summary{padding:23px 0;gap:12px}.faq-list summary>span{font-size:16px}.faq-list details>div{padding-left:29px;padding-right:12px}.contact-section{padding:85px 24px 75px;margin:0!important;border-radius:0}.contact-section h2{font-size:27px;position:relative;z-index:2}.contact-section>.section-eyebrow{font-size:14px;letter-spacing:1px;position:relative;z-index:2}.contact-section>p:not(.section-eyebrow){line-height:2.1}.contact-geometry{width:170px;height:220px;border-width:44px;right:-110px;top:175px}.contact-geometry:before{width:46px;height:46px;right:48px;top:-130px}.site-footer{padding:50px 0 25px}.footer-top{gap:28px}.footer-nav{gap:18px 25px}.footer-bottom{margin-top:30px}.page-main h1{font-size:30px}.page-main .content-grid{grid-template-columns:1fr}.page-main .content-grid .detail-card{padding:25px}.page-main .wp-block-post-content{max-width:100%}.page-main .content-grid .service-en{font-size:14px}.page-main .detail-card .price-number{font-size:28px}.fallback-ring{width:190px;height:230px;border-width:48px;top:22%;left:21%}.fallback-ball{width:75px;height:75px;right:18%;top:8%}.fallback-block{width:100px;height:90px;right:15%;bottom:14%}.fallback-zigzag{width:75px;height:85px;border-width:18px;left:10%;bottom:20%}}
@media(max-width:374px){.hero{padding-left:20px;padding-right:20px}.hero h1{font-size:32px}.section h2,.about-section h2{font-size:25px}.service-card{padding:23px}.service-card h3{font-size:22px}.contact-section h2{font-size:24px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.service-card:hover,.template-callout:focus-visible,.service-card:hover .memphis-icon{transform:none}}
.work-art--photo {
  height: auto;
  padding: 0;
  aspect-ratio: 8 / 5;
}
.work-art--photo img {
  object-fit: contain;
}
@media (min-width: 761px) {
  .works-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Keep the scene directly interactive below the hero copy. */
.memphis-scene{pointer-events:auto}
.faq-list summary>i:before,.faq-list summary>i:after{left:6px;top:11px;width:11px}
@media(max-width:760px){.main-nav>a:nth-child(4){display:block}}
.about-section{border-radius:0}
@media(max-width:760px){.mobile-only{display:initial}.service-no{position:static;display:block;transform:none}.service-card-top{display:flex;justify-content:space-between}.memphis-icon{margin-left:auto}}
@media(max-width:900px) and (min-width:761px){.memphis-scene{right:-5%;width:62%}}

/* The same lit, rounded 3D materials now continue through every section. */
.section-motif {
  display: block;
  position: relative;
  flex: 0 0 auto;
  isolation: isolate;
  line-height: 0;
}
.section-motif > canvas {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.section-motif > .motif-fallback { position: absolute; inset: 0; }
.section-motif.is-ready > .motif-fallback { visibility: hidden; }
.section-motif--service { width: 150px; height: 140px; margin: -12px -10px 0 auto; }
.section-motif--service .memphis-icon { width: 110px; height: 110px; margin: 15px; }
.service-card-top { height: 138px; }
.section-motif--about { position: absolute; inset: -12px -18px 24px; }
.section-motif--about .memphis-totem { inset: 10px 0 30px; }
.works-heading-title { position: relative; padding-right: 132px; }
.section-motif--works { position: absolute; right: 0; top: -8px; width: 120px; height: 108px; }
.step-visual { position: relative; width: 106px; height: 112px; margin: -8px 0 20px; }
.section-motif--step { width: 100px; height: 92px; }
.step-visual .step-number,
.process-grid > li:nth-child(n) .step-visual .step-number {
  position: absolute;
  right: 3px;
  bottom: 0;
  width: 31px;
  height: 26px;
  margin: 0;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: var(--cream);
  border-radius: 0;
  transform: none;
  font-size: 14px;
}
.section-motif--faq { width: 170px; height: 150px; margin: 22px 0 -8px; }
.faq-heading > p:not(.section-eyebrow) { color: var(--muted); font-size: 14px; }
.section-motif--contact-cube {
  position: absolute;
  width: 168px;
  height: 168px;
  left: clamp(24px, 8vw, calc((100% - 1240px) / 2 + 36px));
  top: 32px;
  z-index: -1;
  pointer-events: none;
}
.contact-cube-fallback {
  position: absolute;
  inset: 25%;
  background: conic-gradient(var(--cream) 25%, var(--ink) 0 50%, var(--cream) 0 75%, var(--ink) 0) 0 0 / 50% 50%;
  transform: rotate(-12deg);
  box-shadow: 9px 8px 0 var(--ink);
}
.section-motif--contact {
  position: absolute;
  width: 340px;
  height: 400px;
  right: -5px;
  bottom: 20px;
  z-index: -1;
  pointer-events: none;
}
.section-motif--contact .contact-geometry { top: 80px; right: -30px; }
.motif-fallback--small::before {
  content: "";
  position: absolute;
  inset: 20% 25%;
  border: 17px solid var(--mint);
  border-radius: 50%;
  transform: rotate(-25deg) skew(-10deg);
  box-shadow: 6px 6px 0 #41957f;
}
@media (max-width: 1100px) {
  .section-motif--service { width: 130px; height: 130px; }
  .service-card-top { height: 125px; }
  .works-heading-title { padding-right: 105px; }
  .section-motif--works { width: 100px; height: 100px; }
  .section-motif--contact-cube { width: 126px; height: 126px; }
  .section-motif--contact { width: 250px; height: 330px; right: -32px; bottom: 8px; }
  .section-motif--about { inset: -10px -28px 22px; }
}
@media (max-width: 900px) and (min-width: 761px) {
  .works-heading-title { padding-right: 0; }
  .section-motif--works { position: relative; top: auto; right: auto; width: 90px; height: 80px; margin: 12px 0 -16px; }
  .about-art { transform: none; }
}
@media (max-width: 760px) {
  .section-motif--service { width: 152px; height: 140px; margin: -15px -12px 0 auto; }
  .service-card-top { height: 137px; }
  .section-motif--about { inset: -5px -10px 25px; }
  .section-motif--about .memphis-totem { left: calc(50% - 170px); width: 340px; }
  .works-heading-title { padding-right: 88px; }
  .section-motif--works { width: 90px; height: 100px; top: 28px; right: -7px; }
  .step-visual { width: 96px; height: 105px; margin-bottom: 17px; }
  .section-motif--step { width: 90px; height: 85px; }
  .faq-heading { position: relative; padding-right: 74px; }
  .section-motif--faq { position: absolute; right: -14px; top: 32px; width: 105px; height: 115px; margin: 0; }
  .faq-heading > p:not(.section-eyebrow) { font-size: 14px; }
  .section-motif--contact-cube { width: 76px; height: 76px; left: 14px; top: 6px; }
  .section-motif--contact { width: 145px; height: 205px; right: -28px; bottom: -2px; }
}
@media (max-width: 374px) {
  .works-heading-title { padding-right: 75px; }
  .section-motif--works { width: 80px; right: -10px; }
  .faq-heading { padding-right: 56px; }
  .section-motif--faq { width: 88px; right: -17px; }
}
@media(max-width:760px){
  .faq-heading h2 br{display:initial}
  .process-grid>li{padding:0 6px 0 12px}
}
.section-motif>canvas[hidden]{display:none!important}
@media(min-width:1101px){.section-motif--about{inset:-40px -18px 5px}}

a[target="_blank"][href^="https://forms.gle/"]::after,
.work-detail .wp-block-post-content > p > a[target="_blank"]::after {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  flex: 0 0 1em;
  margin-inline-start: .5em;
  vertical-align: -.12em;
  background-color: currentColor;
  mask: url("../icons/new-tab.svg") center / contain no-repeat;
}

:is(.button-primary, .nav-contact, .wp-element-button)[target="_blank"][href^="https://forms.gle/"] {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
}

:is(.button-primary, .nav-contact, .wp-element-button)[target="_blank"][href^="https://forms.gle/"]::after {
  margin-inline-start: 0;
}

.scroll-arrow {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  height: 32px;
  perspective: 150px;
}

.scroll-arrow-shape {
  --depth: 6px;
  --half-depth: calc(var(--depth) / 2);
  position: relative;
  width: 22px;
  height: 28px;
  transform: rotateX(-12deg) rotateY(-28deg);
  transform-style: preserve-3d;
}

.scroll-arrow-shape::before,
.scroll-arrow-shape::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blue);
  clip-path: polygon(7px 0, 15px 0, 15px 15px, 22px 15px, 11px 28px, 0 15px, 7px 15px);
  backface-visibility: hidden;
}

.scroll-arrow-shape::before { transform: translateZ(var(--half-depth)); }
.scroll-arrow-shape::after { transform: rotateY(180deg) translateZ(var(--half-depth)); }

/* Each side starts at a vertex of the arrow's front face. */
.scroll-arrow-shape > span {
  position: absolute;
  left: var(--x);
  top: var(--y, 0px);
  width: var(--edge);
  height: var(--depth);
  background: #253696;
  transform-origin: top left;
  transform: translateZ(calc(-1 * var(--half-depth))) rotateZ(var(--angle, 0deg)) rotateX(90deg);
  backface-visibility: hidden;
}

.scroll-arrow-shape > :nth-child(1) { --x: 7px; --edge: 8px; background: #7084f3; }
.scroll-arrow-shape > :nth-child(2) { --x: 15px; --edge: 15px; --angle: 90deg; }
.scroll-arrow-shape > :nth-child(3) { --x: 15px; --y: 15px; --edge: 7px; background: #7084f3; }
.scroll-arrow-shape > :nth-child(4) { --x: 22px; --y: 15px; --edge: 17.03px; --angle: 130.24deg; }
.scroll-arrow-shape > :nth-child(5) { --x: 11px; --y: 28px; --edge: 17.03px; --angle: -130.24deg; }
.scroll-arrow-shape > :nth-child(6) { --x: 0px; --y: 15px; --edge: 7px; background: #7084f3; }
.scroll-arrow-shape > :nth-child(7) { --x: 7px; --y: 15px; --edge: 15px; --angle: -90deg; }

@keyframes scroll-arrow-spin {
  from { transform: rotateX(-12deg) rotateY(-28deg); }
  to { transform: rotateX(-12deg) rotateY(332deg); }
}

.back-top {
  --cube-size: 36px;
  --cube-depth: calc(var(--cube-size) / 2);
  display: grid;
  place-items: center;
  flex: 0 0 60px;
  height: 60px;
  margin-left: auto;
  position: relative;
  perspective: 260px;
  isolation: isolate;
}

.back-top::before {
  content: "";
  position: absolute;
  inset: auto 5px 2px;
  height: 7px;
  border-radius: 50%;
  background: #24232b26;
  filter: blur(2px);
}

.back-top-cube {
  position: relative;
  width: var(--cube-size);
  height: var(--cube-size);
  transform: rotateX(-22deg) rotateY(28deg);
  transform-style: preserve-3d;
  pointer-events: none;
}

.back-top-face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  background: var(--yellow);
  color: var(--ink);
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
  backface-visibility: hidden;
}

.back-top-face--front { transform: translateZ(var(--cube-depth)); }
.back-top-face--right { transform: rotateY(90deg) translateZ(var(--cube-depth)); background: #e0aa32; }
.back-top-face--back { transform: rotateY(180deg) translateZ(var(--cube-depth)); }
.back-top-face--left { transform: rotateY(-90deg) translateZ(var(--cube-depth)); background: #e0aa32; }
.back-top-face--top { transform: rotateX(90deg) translateZ(var(--cube-depth)); background: #ffe686; }
.back-top-face--bottom { transform: rotateX(-90deg) translateZ(var(--cube-depth)); background: #bc861b; }

@keyframes back-top-spin {
  from { transform: rotateX(-22deg) rotateY(28deg); }
  to { transform: rotateX(-22deg) rotateY(388deg); }
}

@keyframes motif-float {
  50% { translate: 0 -4px; }
}

@media (prefers-reduced-motion: no-preference) {
  .scroll-arrow,
  .back-top-cube {
    animation: motif-float 4.8s ease-in-out infinite;
  }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .hero-bottom > a:hover .scroll-arrow-shape {
    animation: scroll-arrow-spin 1.5s linear infinite;
  }
  .back-top:hover .back-top-cube {
    animation: motif-float 4.8s ease-in-out infinite, back-top-spin 1.5s linear infinite;
  }
}

/* Use the hero CTA's lift for buttons and the other action controls. */
:is(.button-primary, .nav-contact, .wp-element-button, .menu-toggle,
    .work-pagination a.page-numbers, .faq-list summary > i) {
  transition: transform .25s, box-shadow .25s;
}

@media (hover: hover) {
  :where(.button-primary, .nav-contact, .wp-element-button, .menu-toggle,
         .work-pagination a.page-numbers):hover:not(:active, :disabled),
  .faq-list summary:hover > i {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--ink);
  }
}

@media (hover: hover) and (prefers-reduced-motion: reduce) {
  :where(.button-primary, .nav-contact, .wp-element-button, .menu-toggle,
         .work-pagination a.page-numbers):hover:not(:active, :disabled),
  .faq-list summary:hover > i {
    transform: none;
  }
}
.template-callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  margin-top: 32px;
  padding: clamp(20px, 3vw, 32px);
  background: var(--yellow);
}

.template-callout h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.template-callout p {
  margin: 0;
  font-size: 16px;
}

.template-callout .service-card-bottom {
  inline-size: min(12em, 100%);
  margin: 0;
  padding: 0;
  border: 0;
}

@media (max-width: 760px) {
  .template-callout .service-card-bottom {
    inline-size: 100%;
  }
}

.wp-block-post-content .work-card-link > .work-art {
  transition: transform .25s, box-shadow .25s;
}

.wp-block-post-content .work-card-link:focus-visible > .work-art {
  box-shadow: 8px 8px 0 var(--ink);
}

@media (hover: hover) {
  .wp-block-post-content .work-card-link:hover > .work-art {
    box-shadow: 8px 8px 0 var(--ink);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .wp-block-post-content .work-card-link:focus-visible > .work-art {
    transform: translate(-3px, -3px);
  }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .wp-block-post-content .work-card-link:hover > .work-art {
    transform: translate(-3px, -3px);
  }
}

.memphis-loader:not([open]) {
  display: none;
}

.memphis-loader[open] {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100vw;
  height: 100%;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: var(--yellow);
  color: var(--ink);
  touch-action: none;
}

.memphis-loader::backdrop {
  background: transparent;
}

html:has(.memphis-loader[open]) {
  overflow: hidden;
  scrollbar-gutter: stable;
}

.memphis-loader::after {
  --tile: clamp(18px, 2.36vw, 34px);
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: var(--tile);
  background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2 2'%3E%3Cpath fill='%2324232b' d='M0 0h1v1H0zM1 1h1v1H1z'/%3E%3C/svg%3E") left bottom / var(--tile) 100% repeat-x;
}

.memphis-loader .brand-mark {
  font-size: clamp(110px, 17.36vw, 250px);
  letter-spacing: -.125em;
  padding-right: .15em;
}

.memphis-loader .brand-mark i {
  top: .05em;
  width: .15em;
  height: .15em;
}

@media (prefers-reduced-motion: no-preference) {
  .memphis-loader .brand-mark i {
    animation: memphis-loader-bounce .92s infinite;
  }

  .memphis-loader.is-leaving {
    animation: memphis-loader-exit .32s cubic-bezier(.45, 0, .25, 1) both;
  }

  .memphis-loader.is-leaving .brand-mark i {
    animation-play-state: paused;
  }
}

@keyframes memphis-loader-bounce {
  0%, 100% {
    transform: translate(0, 0);
    animation-timing-function: ease-out;
  }
  50% {
    transform: translate(-150%, -250%);
    animation-timing-function: ease-in;
  }
}

@keyframes memphis-loader-exit {
  from { transform: translateY(0); }
  to { transform: translateY(-100%); }
}
