/* Shared responsive corrections. Images keep their own proportions. */
html{ -webkit-text-size-adjust:100%;text-size-adjust:100% }
body{overflow-wrap:break-word}
img{max-width:100%}
main,section,article,figure,form,nav,header,footer,section>div,article>div{min-width:0}
h1,h2,h3{overflow-wrap:anywhere;text-wrap:balance}
p{ text-wrap:pretty }
.button{min-height:48px;white-space:normal;text-align:center}
.button span{flex-shrink:0}
input,textarea,select{min-width:0;font-size:16px!important}
[hidden]{display:none!important}
.wrap{width:min(1360px,calc(100% - 48px))}
.header{position:relative;gap:24px}
.header nav{gap:22px}
.header .logo{width:172px}
.header nav>a{padding-block:12px}
/* The globe keeps its proportions; light trails are aligned in its coordinate space. */
.hero:has(.hero-image){min-height:460px;background:#020508}
.hero-image{inset:0 0 0 auto;width:77%;height:100%;object-fit:contain;object-position:right center;animation:hero-appear .8s ease-out both}
.hero:has(.hero-image):after{background:linear-gradient(90deg,#020508 0%,#020508e8 23%,#02050844 52%,transparent 72%)}
.hero:has(.hero-image) .hero-copy{max-width:690px;padding:48px 40px 82px}
.hero:has(.hero-image) h1{font-size:clamp(42px,4.8vw,66px);line-height:1.06}
.hero:has(.hero-image) .lead{max-width:430px;font-size:19px;line-height:1.5}
.hero-bottom{max-width:none;gap:16px;letter-spacing:.15em;left:40px;right:40px;line-height:1.7;flex-wrap:wrap}
@keyframes hero-appear{from{opacity:.5}to{opacity:1}}
/* Cards use separate text and image rows, so no text crosses faces or screens. */
.project{display:flex;flex-direction:column;min-height:0;background:#f3f4f5}
.project.education{background:#f8eeee}
.project>.card-copy{max-width:none;padding:28px 30px 20px;order:0}
.card-copy h3{font-size:42px;line-height:1.08}
.card-copy h3 a{display:inline-block}
.card-copy p:not(.eyebrow){margin:12px 0 18px}
.project>img{position:relative;inset:auto;order:1;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;z-index:0;transition:none;margin-top:auto}
.project:hover>img{transform:none}
.text-link{line-height:1.5}
.education-links{position:static;order:2;display:grid;grid-template-columns:1fr 1fr;margin:0;padding:14px;gap:12px}
.education-links a{padding:16px 12px;min-height:52px;align-items:center;font-size:14px}
.it-card{display:flex;flex-direction:column;padding:0;min-height:0}
.it-card>div:first-child{width:auto;padding:28px 30px 22px}
.it-card h3{font-size:29px}
.it-card p{font-size:16px}
.it-card>img{position:relative;inset:auto;display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;mix-blend-mode:normal;opacity:1!important;margin-top:auto}
.it-card:has(img):after{display:none}
.it-card.iphone>img{height:270px;aspect-ratio:auto;object-fit:contain;padding:16px;background:#e9eaec}
.service-hero{grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:0;gap:24px}
.service-hero>div{padding:40px 0 40px 36px}
.service-hero h1{font-size:clamp(36px,4.2vw,58px);line-height:1.1}
.service-hero figure{width:100%;max-height:none}
.service-hero img{display:block;width:100%;height:auto;aspect-ratio:auto;object-fit:contain;object-position:center;transform:none;transition:none}
.service-hero figcaption,.case-study figcaption{position:static;width:fit-content;max-width:100%;margin:8px 16px 14px;padding:0;background:none;color:#626a73;font-size:12px;line-height:1.5}
.case-study{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.case-study img{width:100%;height:auto;min-height:0;aspect-ratio:auto;object-fit:contain;transform:none!important;transition:none}
.original-app img{width:100%;max-width:260px;aspect-ratio:auto;height:auto}
.original-app figure{padding:24px}
.original-app figcaption{margin:16px auto 0}
.detail-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.process-steps{grid-template-columns:repeat(3,minmax(0,1fr))}
.process-steps li>span{flex-shrink:0}
.inquiry-form{min-width:0}
.inquiry-form input,.inquiry-form textarea{line-height:1.5}
.service-inquiry{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}
.inquiry-form .button{width:100%;border:0}
.service-links a{min-height:48px}
.footer nav{flex-wrap:wrap}
.footer nav a{display:inline-flex;align-items:center;min-height:44px}
.company{gap:28px;padding-inline:10px}
.company>div+div{padding-left:36px}
.company-label{padding-left:20px}
.in-view{animation:none}
@media(max-width:1000px){
 .header{min-height:76px}
 .header .logo{width:152px}
 .menu{display:flex;justify-content:center;align-items:center;background:#fff;border:1px solid #d7dce0;border-radius:50%;width:44px;height:44px;flex-shrink:0;color:#15171a}
 .header nav{display:none;position:absolute;top:calc(100% - 4px);left:0;right:0;background:#fff;padding:18px;border:1px solid #e4e6e8;border-radius:16px;z-index:20;box-shadow:0 16px 35px #0002;align-items:stretch;font-size:16px}
 .header nav.open{display:flex;flex-direction:column;gap:4px}
 .header nav>a{padding:13px 16px;min-height:48px}
 .service-hero{gap:12px}
 .service-hero>div{padding:28px 0 28px 26px}
 .detail-grid article{padding:24px}
 .service-inquiry{grid-template-columns:1fr;gap:24px}
 .service-inquiry>div>p{max-width:660px}
 .fields{grid-template-columns:1fr 1fr}
 .company h2{font-size:32px}
 .hero:has(.hero-image) .hero-copy{padding-left:28px;max-width:62%}
 .hero:has(.hero-image) h1{font-size:44px}
 .hero-bottom{left:28px;right:28px}
}
@media(max-width:760px){
 .wrap{width:calc(100% - 32px)}
 .hero:has(.hero-image){display:flex;flex-direction:column;align-items:stretch;min-height:0;border-radius:18px}
 .hero:has(.hero-image) .hero-copy{order:0;width:100%;max-width:none;padding:30px 24px 14px}
 .hero:has(.hero-image) h1{font-size:clamp(34px,9vw,48px);line-height:1.06;margin-bottom:20px}
 .hero:has(.hero-image) .lead{font-size:17px;line-height:1.5;max-width:540px;margin-bottom:22px}
 .hero:has(.hero-image):after{display:none}
 .hero-image{position:relative;inset:auto;order:1;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;z-index:0}
 .hero-bottom{position:static;order:2;padding:8px 24px 22px;margin:0;max-width:none;font-size:9px;gap:8px}
 .hero .eyebrow{font-size:10px;letter-spacing:.17em}
 .actions{gap:10px}
 .actions .button{flex:1 1 180px}
 .button{padding:13px 20px;gap:14px}
 .company{padding:30px 8px;gap:22px}
 .company>div+div{padding:0}
 .company h2{font-size:32px}
 .section-heading h2{font-size:32px}
 .project-grid,.it-grid{gap:20px}
 .project>.card-copy{padding:25px 24px 20px}
 .card-copy h3{font-size:38px}
 .education-links{gap:8px;padding:12px}
 .education-links a{font-size:13px;padding:14px 10px}
 .project>img{aspect-ratio:3/2;object-fit:contain}
 .it-card>div:first-child{padding:25px 24px 20px}
 .it-card>img{aspect-ratio:16/9}
 .it-card.iphone>img{height:260px}
 .service-hero{grid-template-columns:1fr;gap:4px;border-radius:18px}
 .service-hero>div{padding:28px 24px 16px}
 .service-hero h1{font-size:clamp(32px,8.7vw,44px);line-height:1.1}
 .service-hero .lead{font-size:17px;line-height:1.55}
 .service-hero figure{max-height:none}
 .service-hero img{width:100%;height:auto;aspect-ratio:auto;object-fit:contain;transform:none}
 .content-section{margin:36px 0}
 .content-section>h2,.service-inquiry h2{font-size:32px}
 .case-study{grid-template-columns:1fr;gap:0}
 .case-study>div{padding:26px 24px}
 .case-study img{height:auto;aspect-ratio:3/2;min-height:0;object-fit:contain}
 .case-study h2{font-size:30px}
 .case-study p{font-size:16px}
 .detail-grid,.process-steps,.course-grid{grid-template-columns:1fr;gap:16px}
 .detail-grid article,.course-grid article{padding:25px 24px}
 .course-grid h3{font-size:27px}
 .status-panel{padding:26px 24px}
 .status-panel h2{font-size:28px}
 .status-pill{line-height:1.5;letter-spacing:.06em}
 .service-inquiry{padding:26px 16px;gap:24px}
 .service-inquiry>div{padding:0 8px}
 .inquiry-form{padding:24px 18px}
 .inquiry-form h3{font-size:24px}
 .fields{grid-template-columns:1fr;gap:0}
 .process-section{padding-block:28px}
 .process-steps{gap:24px}
 .process-steps h3{font-size:22px}
 .card-index{margin-bottom:18px}
 .transport{padding:28px 24px;gap:14px}
 .transport h2,.future h2,.contact h2{font-size:30px}
 .future{padding:30px 24px}
 .contact{padding:28px 24px}
 .footer{gap:12px;padding:24px 4px}
 .footer nav{gap:16px}
 .footer .logo{width:140px}
 .original-app img{height:auto;aspect-ratio:auto;max-width:240px}
 /* Shopify uses the same comfortable touch sizes and uncropped visuals. */
 .site-header .header-inner{min-height:74px}
 .hero-visual img{object-fit:contain!important;aspect-ratio:3/2!important}
 .service-card>img{object-fit:contain!important}
 .inquiry-story>img{object-fit:contain!important}
 .type-option{min-height:56px}
 .dialog{max-height:calc(100dvh - 32px)}
}
@media(max-width:360px){
 .wrap{width:calc(100% - 24px)}
 .hero:has(.hero-image) .hero-copy{padding-inline:20px}
 .hero:has(.hero-image) h1{font-size:34px}
 .education-links{grid-template-columns:1fr}
 .service-hero>div{padding-inline:20px}
 .service-hero h1{font-size:32px}
 .service-inquiry{padding-inline:12px}
 .inquiry-form{padding-inline:16px}
 .footer nav{gap:12px}
}
@media(prefers-reduced-motion:reduce){.hero-image{animation:none!important}html{scroll-behavior:auto}}

/* UNEXT brand imagery and subtle orbital movement. */
.hero:has(.planet-scene){isolation:isolate}
.planet-scene{position:absolute;inset:0 0 0 auto;width:77%;z-index:0}
.planet-art{position:absolute;inset:0}
.planet-scene .hero-image{inset:0;width:100%;height:100%;object-fit:contain;object-position:right center;z-index:0;animation:none}
.planet-orbits{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}
.hero:has(.planet-scene):after{z-index:1;pointer-events:none}
.hero:has(.planet-scene) .hero-copy,.hero:has(.planet-scene) .hero-bottom{position:relative;z-index:2}
.hero:has(.planet-scene) .hero-bottom{position:absolute}
.orbit-trail{stroke:#ff6c24;stroke-width:1.5;opacity:.45}
.orbit-light{stroke:#ff8b3c;stroke-width:3;stroke-dasharray:70 930;filter:drop-shadow(0 0 5px #ff5b13);animation:orbit-travel 14s linear infinite}
.orbit-two.orbit-light{animation-duration:19s;animation-direction:reverse;animation-delay:-7s}
@keyframes orbit-travel{to{stroke-dashoffset:-1000}}
.planet-scene.is-paused .orbit-light{animation-play-state:paused}
.motion-control{position:absolute;right:14px;bottom:14px;display:grid;place-items:center;width:44px;height:44px;border:1px solid #ffffff30;border-radius:50%;background:#071019a8;color:#dbe0e3;z-index:3}
.motion-control svg{fill:currentColor}
.motion-control:hover{background:#18232d}
.motion-control .play-mark{display:none}
.motion-control[aria-pressed=true] .pause-mark{display:none}
.motion-control[aria-pressed=true] .play-mark{display:block}
.subbrand-logo,.service-hero .subbrand-logo,.case-study .subbrand-logo{display:block;width:min(100%,360px);max-width:100%;height:auto;min-height:0;aspect-ratio:auto;object-fit:contain;padding:0;transform:none;margin:0 0 22px}
.project .subbrand-logo{width:360px;margin:0}
.project.education .card-copy h3{margin-bottom:18px}
.express-feature{background:#f2f4f5}
.express-feature .subbrand-logo{margin-bottom:28px}
.it-card.iphone>img,.it-card.shop>img{height:auto;aspect-ratio:3/2;object-fit:contain;padding:0;background:#f5f4f3}
.circle-link{width:fit-content;height:auto;min-height:48px;padding:12px 20px;font-size:.875rem;font-weight:600;border-radius:40px;margin-bottom:16px}
.circle-link:hover{transform:none}
.service-dark .circle-link{color:#111}
.hero:has(.hero-visual){display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);min-height:0;gap:20px;padding-right:24px;background:#f6f3f0}
.hero:has(.hero-visual) .hero-copy{width:auto;padding:40px 0 40px 32px}
.hero:has(.hero-visual) h1{font-size:clamp(38px,4vw,58px)}
.hero-visual{position:relative;inset:auto;width:100%;height:auto;border-radius:16px;overflow:hidden}
.hero-visual img{width:100%;height:auto;aspect-ratio:3/2;object-fit:contain}
.hero-visual:after{display:none}
.image-caption{display:none}
@media(max-width:1000px){
 .hero:has(.hero-visual){gap:12px;padding-right:20px}
 .hero:has(.hero-visual) .hero-copy{padding-left:26px}
}
@media(max-width:780px){
 .hero:has(.hero-visual){grid-template-columns:1fr;padding:0;gap:8px}
 .hero:has(.hero-visual) .hero-copy{padding:30px 24px 12px}
 .hero:has(.hero-visual) h1{font-size:clamp(34px,8vw,46px)}
 .hero-visual{border-radius:0;margin:0}
}
@media(max-width:760px){
 .planet-scene{position:relative;inset:auto;order:1;width:100%;aspect-ratio:1072/941;overflow:hidden}
 .planet-art{left:auto;right:0;width:155.97%;height:100%}
 .planet-scene .hero-image{position:absolute;inset:0;aspect-ratio:auto}
 .hero:has(.planet-scene) .hero-bottom{position:static}
 .motion-control{right:12px;bottom:10px}
 .orbit-trail{stroke-width:2}
 .orbit-light{stroke-width:4}
 .subbrand-logo,.service-hero .subbrand-logo,.case-study .subbrand-logo{width:min(100%,320px);margin-bottom:20px}
 .project .subbrand-logo{margin-bottom:0}
 .it-card.iphone>img,.it-card.shop>img{height:auto;aspect-ratio:3/2;padding:0}
}
@media(prefers-reduced-motion:reduce){
 .orbit-light{animation:none!important;stroke-dasharray:none;opacity:.45}
 .motion-control{display:none}
}
